From 9ffd48f342e7ef5a7685fd6dc8c90ea5f58258f6 Mon Sep 17 00:00:00 2001 From: Daniel Wedul Date: Thu, 1 Jun 2023 10:55:08 -0600 Subject: [PATCH] Backport #1559 and #1563 and mark v1.15.1 in the changelog. (#1570) * Bring back some deleted proto messages. (#1559) * Add the AddMarkerProposal message back to the protos. * [1554]: Add the p8e proto stuff back. * [1554]: add the protobuf deprecated option to the AddMarkerProposal. * [1554]: Reimplement the .Content stuff for AddMarkerProposal. * [1554]: Add changelog entry. * bumped ibc-go to 6.1.1 (#1563) * bumped ibc-go to 6.1.1 * Updated changelog. * Mark v1.15.1 in the changelog. * Update the release changelog to reflect v1.15.1. --------- Co-authored-by: Matt Witkowski --- CHANGELOG.md | 16 + RELEASE_CHANGELOG.md | 71 +- docs/proto-docs.md | 582 ++ go.mod | 4 +- go.sum | 4 +- proto/buf.yaml | 3 + proto/provenance/marker/v1/proposals.proto | 21 + proto/provenance/metadata/v1/p8e/p8e.proto | 254 + proto/provenance/metadata/v1/tx.proto | 43 + x/marker/types/codec.go | 1 + x/marker/types/proposal.go | 9 + x/marker/types/proposals.pb.go | 695 ++- x/metadata/types/codec.go | 32 +- x/metadata/types/msg.go | 73 +- x/metadata/types/p8e/p8e.pb.go | 6562 ++++++++++++++++++++ x/metadata/types/tx.pb.go | 1662 ++++- 16 files changed, 9652 insertions(+), 380 deletions(-) create mode 100644 proto/provenance/metadata/v1/p8e/p8e.proto create mode 100644 x/metadata/types/p8e/p8e.pb.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 83901869dc..a8cbde9c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,22 @@ Ref: https://keepachangelog.com/en/1.0.0/ --- +## [v1.15.1](https://github.com/provenance-io/provenance/releases/tag/v1.15.1) - 2023-06-01 + +### Improvements + +* Bumped ibc-go to 6.1.1 [PR 1563](https://github.com/provenance-io/provenance/pull/1563). + +### Bug Fixes + +* Bring back some proto messages that were deleted but still needed for historical queries [#1554](https://github.com/provenance-io/provenance/issues/1554). + +### Full Commit History + +* https://github.com/provenance-io/provenance/compare/v1.15.0...v1.15.1 + +--- + ## [v1.15.0](https://github.com/provenance-io/provenance/releases/tag/v1.15.0) - 2023-05-05 ### Features diff --git a/RELEASE_CHANGELOG.md b/RELEASE_CHANGELOG.md index 47b81dde7e..59438e39d2 100644 --- a/RELEASE_CHANGELOG.md +++ b/RELEASE_CHANGELOG.md @@ -1,72 +1,27 @@ -## [v1.15.0](https://github.com/provenance-io/provenance/releases/tag/v1.15.0) - 2023-05-05 - -The Provenance Blockchain v1.15.0 release includes several new features, improvements and bug fixes. +## [v1.15.1](https://github.com/provenance-io/provenance/releases/tag/v1.15.1) - 2023-06-01 -Restricted markers can now be configured to allow transfers to accounts that have specified attributes. Such funds can be transferred using `MsgSend`. Restricted markers can also be configured to allow forced transfers. +Provenance blockchain version `v1.15.1` is a state-compatible upgrade to `v1.15.0`. Users are encouraged to upgrade to `v1.15.1` at their earliest convenience. -The `x/metadata` module has been given added WASM support. Also, now, a specification can require multiple parties with the same role but different addresses. There is also a new, alternative method of party/role/signer validation available. Scopes that require party rollup can contain optional parties and the parties in its sessions must also be noted as owners in the scope. When records are written to such scopes, there must be a signing party for each role required by the specification. - -### Features - -* Add support for tokens restricted marker sends with required attributes [#1256](https://github.com/provenance-io/provenance/issues/1256) -* Allow markers to be configured to allow forced transfers [#1368](https://github.com/provenance-io/provenance/issues/1368). -* Add support for account addresses by attribute name lookup [#1447](https://github.com/provenance-io/provenance/issues/1447). -* Add allow forced transfers support to creating markers from smart contracts [#1458](https://github.com/provenance-io/provenance/issues/1458). -* Metadata party rollup and optional parties [#1438](https://github.com/provenance-io/provenance/issues/1438). -* Repeated roles in a spec require multiple different parties [#1437](https://github.com/provenance-io/provenance/issues/1437). -* The `PROVENANCE` role can only be used by smart contract addresses, and vice versa [#1381](https://github.com/provenance-io/provenance/issues/1381). -* Add stargate query from wasm support [#1481](https://github.com/provenance-io/provenance/issues/1481). +This version updates the IBC module to address an unlikely (but possible) security issue. It also returns some protobuf messages so that the governance proposals query can work again. ### Improvements -* Add the `gci` linter that enforces import group ordering. Create a 'lint-fix' make target [PR 1366](https://github.com/provenance-io/provenance/pull/1366). -* Add gRPC query to get all contract specs and record specs for a scope spec [#677](https://github.com/provenance-io/provenance/issues/677). -* Disable `cleveldb` and `badgerdb` by default [#1411](https://github.com/provenance-io/provenance/issues/1411). - Official builds still have `cleveldb` support though. -* Expand the `additional_bindings` gRPC tag to use object form to allow for Typescript transpiling [#1405](https://github.com/provenance-io/provenance/issues/1405). -* Add attribute cli command to query account addresses by attribute name [#1451](https://github.com/provenance-io/provenance/issues/1451). -* Add removal of attributes from accounts on name deletion [#1410](https://github.com/provenance-io/provenance/issues/1410). -* Enhance ability of smart contracts to use the metadata module [#1280](https://github.com/provenance-io/provenance/issues/1280). -* Enhance the `AddMarker` endpoint to bypass some validation if issued via governance proposal [#1358](https://github.com/provenance-io/provenance/pull/1358). - This replaces the old `AddMarkerProposal` governance proposal. -* Bump wasmvm to 1.1.2 [#1484](https://github.com/provenance-io/provenance/pull/1358). -* Documented proposing a transaction [#1489](https://github.com/provenance-io/provenance/pull/1489). -* Add marker address to add marker event [#1499](https://github.com/provenance-io/provenance/issues/1499). - -### Deprecated - -* The `MsgWriteRecordRequest.parties` field has been deprecated and is ignored. The parties in question are identified by the session [PR 1453](https://github.com/provenance-io/provenance/pull/1453). +* Bumped ibc-go to 6.1.1 [PR 1563](https://github.com/provenance-io/provenance/pull/1563). ### Bug Fixes -* Fix third party Protobuf workflow checks on Provenance release steps [#1339](https://github.com/provenance-io/provenance/issues/1339) -* Fix committer email format in third party Protobuf workflow (for [#1339](https://github.com/provenance-io/provenance/issues/1339)) [PR 1385](https://github.com/provenance-io/provenance/pull/1385) -* Fix `make proto-gen` [PR 1404](https://github.com/provenance-io/provenance/pull/1404). -* Fix wasmd transactions that are run by gov module [#1414](https://github.com/provenance-io/provenance/issues/1414) -* Add support for ibc transfers of restricted tokens [#1502](https://github.com/provenance-io/provenance/issues/1502). -* Fix authz + smart contract + value owner updates being too permissive [PR 1519](https://github.com/provenance-io/provenance/pull/1519). -* Fix metadata params query path in stargate whitelist [#1514](https://github.com/provenance-io/provenance/issues/1514) +* Bring back some proto messages that were deleted but still needed for historical queries [#1554](https://github.com/provenance-io/provenance/issues/1554). -### Client Breaking - -* Removed the `WriteP8eContractSpec` and `P8eMemorializeContract` endpoints [#1402](https://github.com/provenance-io/provenance/issues/1402). -* Removed the `github.com/provenance-io/provenance/x/metadata/types/p8e` proto package [#1402](https://github.com/provenance-io/provenance/issues/1402). - Users that generate code from the Provenance protos might need to delete their `p8e/` directory. -* The `write-scope` CLI command now takes in `[owners]` as semicolon-delimited parties (instead of comma-delimited `[owner-addresses]`) [PR 1453](https://github.com/provenance-io/provenance/pull/1453). -* Removed the `AddMarkerProposal` [#1358](https://github.com/provenance-io/provenance/pull/1358). - It is replaced by putting a `MsgAddMarker` (with the `from_address` of the gov module account), in a `MsgSubmitProposal`. - -### API Breaking +### Full Commit History -* Removed the `WriteP8eContractSpec` and `P8eMemorializeContract` endpoints [#1402](https://github.com/provenance-io/provenance/issues/1402). -* Removed the `AddMarkerProposal` [#1358](https://github.com/provenance-io/provenance/pull/1358). - It is replaced by putting a `MsgAddMarker` (with the `from_address` of the gov module account), in a `MsgSubmitProposal`. +* https://github.com/provenance-io/provenance/compare/v1.15.0...v1.15.1 -### State Machine Breaking +--- -* The `AddScopeOwner` endpoint now adds a new owner party even if an owner already exists in the scope with that address [PR 1453](https://github.com/provenance-io/provenance/pull/1453). - I.e. it no longer updates the role of an existing owner with the same address. +## [v1.15.0](https://github.com/provenance-io/provenance/releases/tag/v1.15.0) - 2023-05-05 -### Full Commit History +### Features -* https://github.com/provenance-io/provenance/compare/v1.14.1...v1.15.0 +* Add support for tokens restricted marker sends with required attributes [#1256](https://github.com/provenance-io/provenance/issues/1256) +* Allow markers to be configured to allow forced transfers [#1368](https://github.com/provenance-io/provenance/issues/1368). +* Publish Provenance Protobuf API as a NPM module [#1449](https://github.com/provenance-io/provenance/issues/1449). diff --git a/docs/proto-docs.md b/docs/proto-docs.md index 03140bd5fa..f163b904f0 100644 --- a/docs/proto-docs.md +++ b/docs/proto-docs.md @@ -76,6 +76,7 @@ - [GenesisState](#provenance.marker.v1.GenesisState) - [provenance/marker/v1/proposals.proto](#provenance/marker/v1/proposals.proto) + - [AddMarkerProposal](#provenance.marker.v1.AddMarkerProposal) - [ChangeStatusProposal](#provenance.marker.v1.ChangeStatusProposal) - [RemoveAdministratorProposal](#provenance.marker.v1.RemoveAdministratorProposal) - [SetAdministratorProposal](#provenance.marker.v1.SetAdministratorProposal) @@ -207,6 +208,35 @@ - [provenance/metadata/v1/genesis.proto](#provenance/metadata/v1/genesis.proto) - [GenesisState](#provenance.metadata.v1.GenesisState) +- [provenance/metadata/v1/p8e/p8e.proto](#provenance/metadata/v1/p8e/p8e.proto) + - [Condition](#provenance.metadata.v1.p8e.Condition) + - [ConditionSpec](#provenance.metadata.v1.p8e.ConditionSpec) + - [Consideration](#provenance.metadata.v1.p8e.Consideration) + - [ConsiderationSpec](#provenance.metadata.v1.p8e.ConsiderationSpec) + - [Contract](#provenance.metadata.v1.p8e.Contract) + - [ContractSpec](#provenance.metadata.v1.p8e.ContractSpec) + - [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) + - [ExecutionResult](#provenance.metadata.v1.p8e.ExecutionResult) + - [Fact](#provenance.metadata.v1.p8e.Fact) + - [Location](#provenance.metadata.v1.p8e.Location) + - [OutputSpec](#provenance.metadata.v1.p8e.OutputSpec) + - [ProposedFact](#provenance.metadata.v1.p8e.ProposedFact) + - [ProvenanceReference](#provenance.metadata.v1.p8e.ProvenanceReference) + - [PublicKey](#provenance.metadata.v1.p8e.PublicKey) + - [Recital](#provenance.metadata.v1.p8e.Recital) + - [Recitals](#provenance.metadata.v1.p8e.Recitals) + - [Signature](#provenance.metadata.v1.p8e.Signature) + - [SignatureSet](#provenance.metadata.v1.p8e.SignatureSet) + - [SigningAndEncryptionPublicKeys](#provenance.metadata.v1.p8e.SigningAndEncryptionPublicKeys) + - [Timestamp](#provenance.metadata.v1.p8e.Timestamp) + - [UUID](#provenance.metadata.v1.p8e.UUID) + + - [DefinitionSpecType](#provenance.metadata.v1.p8e.DefinitionSpecType) + - [ExecutionResultType](#provenance.metadata.v1.p8e.ExecutionResultType) + - [PartyType](#provenance.metadata.v1.p8e.PartyType) + - [PublicKeyCurve](#provenance.metadata.v1.p8e.PublicKeyCurve) + - [PublicKeyType](#provenance.metadata.v1.p8e.PublicKeyType) + - [provenance/metadata/v1/query.proto](#provenance/metadata/v1/query.proto) - [ContractSpecificationRequest](#provenance.metadata.v1.ContractSpecificationRequest) - [ContractSpecificationResponse](#provenance.metadata.v1.ContractSpecificationResponse) @@ -288,8 +318,12 @@ - [MsgDeleteScopeSpecificationResponse](#provenance.metadata.v1.MsgDeleteScopeSpecificationResponse) - [MsgModifyOSLocatorRequest](#provenance.metadata.v1.MsgModifyOSLocatorRequest) - [MsgModifyOSLocatorResponse](#provenance.metadata.v1.MsgModifyOSLocatorResponse) + - [MsgP8eMemorializeContractRequest](#provenance.metadata.v1.MsgP8eMemorializeContractRequest) + - [MsgP8eMemorializeContractResponse](#provenance.metadata.v1.MsgP8eMemorializeContractResponse) - [MsgWriteContractSpecificationRequest](#provenance.metadata.v1.MsgWriteContractSpecificationRequest) - [MsgWriteContractSpecificationResponse](#provenance.metadata.v1.MsgWriteContractSpecificationResponse) + - [MsgWriteP8eContractSpecRequest](#provenance.metadata.v1.MsgWriteP8eContractSpecRequest) + - [MsgWriteP8eContractSpecResponse](#provenance.metadata.v1.MsgWriteP8eContractSpecResponse) - [MsgWriteRecordRequest](#provenance.metadata.v1.MsgWriteRecordRequest) - [MsgWriteRecordResponse](#provenance.metadata.v1.MsgWriteRecordResponse) - [MsgWriteRecordSpecificationRequest](#provenance.metadata.v1.MsgWriteRecordSpecificationRequest) @@ -1385,6 +1419,32 @@ GenesisState defines the account module's genesis state. + + +### AddMarkerProposal +AddMarkerProposal is deprecated and can no longer be used. +Deprecated: This message is no longer usable. It is only still included for +backwards compatibility (e.g. looking up old governance proposals). +It is replaced by providing a MsgAddMarkerRequest in a governance proposal. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `title` | [string](#string) | | | +| `description` | [string](#string) | | | +| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | +| `manager` | [string](#string) | | | +| `status` | [MarkerStatus](#provenance.marker.v1.MarkerStatus) | | | +| `marker_type` | [MarkerType](#provenance.marker.v1.MarkerType) | | | +| `access_list` | [AccessGrant](#provenance.marker.v1.AccessGrant) | repeated | | +| `supply_fixed` | [bool](#bool) | | | +| `allow_governance_control` | [bool](#bool) | | | + + + + + + ### ChangeStatusProposal @@ -3277,6 +3337,454 @@ GenesisState defines the account module's genesis state. + +

Top

+ +## provenance/metadata/v1/p8e/p8e.proto + + + + + +### Condition +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `condition_name` | [string](#string) | | | +| `result` | [ExecutionResult](#provenance.metadata.v1.p8e.ExecutionResult) | | | + + + + + + + + +### ConditionSpec +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `func_name` | [string](#string) | | | +| `input_specs` | [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) | repeated | | +| `output_spec` | [OutputSpec](#provenance.metadata.v1.p8e.OutputSpec) | | | + + + + + + + + +### Consideration +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `consideration_name` | [string](#string) | | | +| `inputs` | [ProposedFact](#provenance.metadata.v1.p8e.ProposedFact) | repeated | | +| `result` | [ExecutionResult](#provenance.metadata.v1.p8e.ExecutionResult) | | | + + + + + + + + +### ConsiderationSpec +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `func_name` | [string](#string) | | | +| `responsible_party` | [PartyType](#provenance.metadata.v1.p8e.PartyType) | | | +| `input_specs` | [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) | repeated | | +| `output_spec` | [OutputSpec](#provenance.metadata.v1.p8e.OutputSpec) | | | + + + + + + + + +### Contract +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `definition` | [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) | | | +| `spec` | [Fact](#provenance.metadata.v1.p8e.Fact) | | | +| `invoker` | [SigningAndEncryptionPublicKeys](#provenance.metadata.v1.p8e.SigningAndEncryptionPublicKeys) | | | +| `inputs` | [Fact](#provenance.metadata.v1.p8e.Fact) | repeated | | +| `conditions` | [Condition](#provenance.metadata.v1.p8e.Condition) | repeated | **Deprecated.** | +| `considerations` | [Consideration](#provenance.metadata.v1.p8e.Consideration) | repeated | | +| `recitals` | [Recital](#provenance.metadata.v1.p8e.Recital) | repeated | | +| `times_executed` | [int32](#int32) | | | +| `start_time` | [Timestamp](#provenance.metadata.v1.p8e.Timestamp) | | | +| `context` | [bytes](#bytes) | | | + + + + + + + + +### ContractSpec +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `definition` | [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) | | | +| `input_specs` | [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) | repeated | | +| `parties_involved` | [PartyType](#provenance.metadata.v1.p8e.PartyType) | repeated | | +| `condition_specs` | [ConditionSpec](#provenance.metadata.v1.p8e.ConditionSpec) | repeated | | +| `consideration_specs` | [ConsiderationSpec](#provenance.metadata.v1.p8e.ConsiderationSpec) | repeated | | + + + + + + + + +### DefinitionSpec +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `name` | [string](#string) | | | +| `resource_location` | [Location](#provenance.metadata.v1.p8e.Location) | | | +| `signature` | [Signature](#provenance.metadata.v1.p8e.Signature) | | | +| `type` | [DefinitionSpecType](#provenance.metadata.v1.p8e.DefinitionSpecType) | | | + + + + + + + + +### ExecutionResult +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `output` | [ProposedFact](#provenance.metadata.v1.p8e.ProposedFact) | | | +| `result` | [ExecutionResultType](#provenance.metadata.v1.p8e.ExecutionResultType) | | | +| `recorded_at` | [Timestamp](#provenance.metadata.v1.p8e.Timestamp) | | | +| `error_message` | [string](#string) | | | + + + + + + + + +### Fact +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `name` | [string](#string) | | | +| `data_location` | [Location](#provenance.metadata.v1.p8e.Location) | | | + + + + + + + + +### Location +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `ref` | [ProvenanceReference](#provenance.metadata.v1.p8e.ProvenanceReference) | | | +| `classname` | [string](#string) | | | + + + + + + + + +### OutputSpec +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `spec` | [DefinitionSpec](#provenance.metadata.v1.p8e.DefinitionSpec) | | | + + + + + + + + +### ProposedFact +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `name` | [string](#string) | | | +| `hash` | [string](#string) | | | +| `classname` | [string](#string) | | | +| `ancestor` | [ProvenanceReference](#provenance.metadata.v1.p8e.ProvenanceReference) | | | + + + + + + + + +### ProvenanceReference +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `scope_uuid` | [UUID](#provenance.metadata.v1.p8e.UUID) | | | +| `group_uuid` | [UUID](#provenance.metadata.v1.p8e.UUID) | | | +| `hash` | [string](#string) | | | +| `name` | [string](#string) | | | + + + + + + + + +### PublicKey +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `public_key_bytes` | [bytes](#bytes) | | | +| `type` | [PublicKeyType](#provenance.metadata.v1.p8e.PublicKeyType) | | | +| `curve` | [PublicKeyCurve](#provenance.metadata.v1.p8e.PublicKeyCurve) | | | + + + + + + + + +### Recital +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `signer_role` | [PartyType](#provenance.metadata.v1.p8e.PartyType) | | | +| `signer` | [SigningAndEncryptionPublicKeys](#provenance.metadata.v1.p8e.SigningAndEncryptionPublicKeys) | | | +| `address` | [bytes](#bytes) | | | + + + + + + + + +### Recitals +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `parties` | [Recital](#provenance.metadata.v1.p8e.Recital) | repeated | | + + + + + + + + +### Signature +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `algo` | [string](#string) | | | +| `provider` | [string](#string) | | | +| `signature` | [string](#string) | | | +| `signer` | [SigningAndEncryptionPublicKeys](#provenance.metadata.v1.p8e.SigningAndEncryptionPublicKeys) | | | + + + + + + + + +### SignatureSet +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `signatures` | [Signature](#provenance.metadata.v1.p8e.Signature) | repeated | | + + + + + + + + +### SigningAndEncryptionPublicKeys +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `signing_public_key` | [PublicKey](#provenance.metadata.v1.p8e.PublicKey) | | | +| `encryption_public_key` | [PublicKey](#provenance.metadata.v1.p8e.PublicKey) | | | + + + + + + + + +### Timestamp +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `seconds` | [int64](#int64) | | | +| `nanos` | [int32](#int32) | | | + + + + + + + + +### UUID +Deprecated: Do not use. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `value` | [string](#string) | | | + + + + + + + + + + +### DefinitionSpecType +Deprecated: Do not use. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| DEFINITION_SPEC_TYPE_UNKNOWN | 0 | Deprecated: Do not use. | +| DEFINITION_SPEC_TYPE_PROPOSED | 1 | Deprecated: Do not use. | +| DEFINITION_SPEC_TYPE_FACT | 2 | Deprecated: Do not use. | +| DEFINITION_SPEC_TYPE_FACT_LIST | 3 | Deprecated: Do not use. | + + + + + +### ExecutionResultType +Deprecated: Do not use. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| RESULT_TYPE_UNKNOWN | 0 | Deprecated: Do not use. | +| RESULT_TYPE_PASS | 1 | Deprecated: Do not use. | +| RESULT_TYPE_SKIP | 2 | Deprecated: Do not use. | +| RESULT_TYPE_FAIL | 3 | Deprecated: Do not use. | + + + + + +### PartyType +Deprecated: Do not use. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| PARTY_TYPE_UNKNOWN | 0 | Deprecated: Do not use. | +| PARTY_TYPE_ORIGINATOR | 1 | Deprecated: Do not use. | +| PARTY_TYPE_SERVICER | 2 | Deprecated: Do not use. | +| PARTY_TYPE_INVESTOR | 3 | Deprecated: Do not use. | +| PARTY_TYPE_CUSTODIAN | 4 | Deprecated: Do not use. | +| PARTY_TYPE_OWNER | 5 | Deprecated: Do not use. | +| PARTY_TYPE_AFFILIATE | 6 | Deprecated: Do not use. | +| PARTY_TYPE_OMNIBUS | 7 | Deprecated: Do not use. | +| PARTY_TYPE_PROVENANCE | 8 | Deprecated: Do not use. | +| PARTY_TYPE_MARKER | 9 | Deprecated: Do not use. | +| PARTY_TYPE_CONTROLLER | 10 | Deprecated: Do not use. | +| PARTY_TYPE_VALIDATOR | 11 | Deprecated: Do not use. | + + + + + +### PublicKeyCurve +Deprecated: Do not use. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| SECP256K1 | 0 | Deprecated: Do not use. | +| P256 | 1 | Deprecated: Do not use. | + + + + + +### PublicKeyType +Deprecated: Do not use. + +| Name | Number | Description | +| ---- | ------ | ----------- | +| ELLIPTIC | 0 | Deprecated: Do not use. | + + + + + + + + + +

Top

@@ -4531,6 +5039,46 @@ MsgModifyOSLocatorResponse is the response type for the Msg/ModifyOSLocator RPC + + +### MsgP8eMemorializeContractRequest +MsgP8eMemorializeContractRequest has been deprecated and is no longer usable. +Deprecated: This message is no longer part of any endpoint and cannot be used for anything. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `scope_id` | [string](#string) | | | +| `group_id` | [string](#string) | | | +| `scope_specification_id` | [string](#string) | | | +| `recitals` | [p8e.Recitals](#provenance.metadata.v1.p8e.Recitals) | | | +| `contract` | [p8e.Contract](#provenance.metadata.v1.p8e.Contract) | | | +| `signatures` | [p8e.SignatureSet](#provenance.metadata.v1.p8e.SignatureSet) | | | +| `invoker` | [string](#string) | | | + + + + + + + + +### MsgP8eMemorializeContractResponse +MsgP8eMemorializeContractResponse has been deprecated and is no longer usable. +Deprecated: This message is no longer part of any endpoint and cannot be used for anything. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `scope_id_info` | [ScopeIdInfo](#provenance.metadata.v1.ScopeIdInfo) | | | +| `session_id_info` | [SessionIdInfo](#provenance.metadata.v1.SessionIdInfo) | | | +| `record_id_infos` | [RecordIdInfo](#provenance.metadata.v1.RecordIdInfo) | repeated | | + + + + + + ### MsgWriteContractSpecificationRequest @@ -4563,6 +5111,40 @@ MsgWriteContractSpecificationResponse is the response type for the Msg/WriteCont + + +### MsgWriteP8eContractSpecRequest +MsgWriteP8eContractSpecRequest has been deprecated and is no longer usable. +Deprecated: This message is no longer part of any endpoint and cannot be used for anything. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `contractspec` | [p8e.ContractSpec](#provenance.metadata.v1.p8e.ContractSpec) | | | +| `signers` | [string](#string) | repeated | | + + + + + + + + +### MsgWriteP8eContractSpecResponse +MsgWriteP8eContractSpecResponse has been deprecated and is no longer usable. +Deprecated: This message is no longer part of any endpoint and cannot be used for anything. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `contract_spec_id_info` | [ContractSpecIdInfo](#provenance.metadata.v1.ContractSpecIdInfo) | | | +| `record_spec_id_infos` | [RecordSpecIdInfo](#provenance.metadata.v1.RecordSpecIdInfo) | repeated | | + + + + + + ### MsgWriteRecordRequest diff --git a/go.mod b/go.mod index 6498435b36..dfebb546ba 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/cosmos/cosmos-proto v1.0.0-beta.1 github.com/cosmos/cosmos-sdk v0.46.7 github.com/cosmos/go-bip39 v1.0.0 - github.com/cosmos/ibc-go/v6 v6.1.0 + github.com/cosmos/ibc-go/v6 v6.1.1 github.com/gogo/protobuf v1.3.3 github.com/golang/protobuf v1.5.3 github.com/google/uuid v1.3.0 @@ -187,4 +187,4 @@ replace github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0 replace github.com/CosmWasm/wasmd => github.com/provenance-io/wasmd v0.30.0-pio-4 // TODO: Required for IBC Transfer Module. Remove this when they patch it to include our changes. https://github.com/provenance-io/provenance/issues/1100 -replace github.com/cosmos/ibc-go/v6 => github.com/provenance-io/ibc-go/v6 v6.1.0-pio-1 +replace github.com/cosmos/ibc-go/v6 => github.com/provenance-io/ibc-go/v6 v6.1.1-pio-1 diff --git a/go.sum b/go.sum index 14afdb1a36..6c66ff2e1a 100644 --- a/go.sum +++ b/go.sum @@ -1002,8 +1002,8 @@ github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0ua github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/provenance-io/cosmos-sdk v0.46.10-pio-3 h1:xoDLk++pxKDiPoMb6ch+qNzaIDfnHExJQH4mK6L5FLA= github.com/provenance-io/cosmos-sdk v0.46.10-pio-3/go.mod h1:bBmYwqCTndsFE+QQs2zdIoZ3f86jEi0BmDVm6unmf3k= -github.com/provenance-io/ibc-go/v6 v6.1.0-pio-1 h1:2R9CS/FFGaOoPsdH+/8u+voFNmZqqkD6NuKsmnxMXLo= -github.com/provenance-io/ibc-go/v6 v6.1.0-pio-1/go.mod h1:CY3zh2HLfetRiW8LY6kVHMATe90Wj/UOoY8T6cuB0is= +github.com/provenance-io/ibc-go/v6 v6.1.1-pio-1 h1:jeNhAAkH7wxi0jnVo/vLtlaURU9ghCITiGF0Jzqjf7o= +github.com/provenance-io/ibc-go/v6 v6.1.1-pio-1/go.mod h1:NL17FpFAaWjRFVb1T7LUKuOoMSsATPpu+Icc4zL5/Ik= github.com/provenance-io/wasmd v0.30.0-pio-4 h1:tZzcqevPu8UoyW8wexN0F2cwS3WL+GmAsZcCcHZ+Vp8= github.com/provenance-io/wasmd v0.30.0-pio-4/go.mod h1:wEMWibeuAK2iboddVly0iVyPDRnHJJen7hf8shsFNtI= github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ= diff --git a/proto/buf.yaml b/proto/buf.yaml index 86b3ae7c37..ff6a25f2c2 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -39,4 +39,7 @@ lint: - proofs.proto ignore_only: ENUM_ZERO_VALUE_SUFFIX: + - provenance/metadata/v1/p8e/p8e.proto - provenance/marker/v1/si.proto + ENUM_VALUE_PREFIX: + - provenance/metadata/v1/p8e/p8e.proto diff --git a/proto/provenance/marker/v1/proposals.proto b/proto/provenance/marker/v1/proposals.proto index 432010fa75..e50d5b42d4 100644 --- a/proto/provenance/marker/v1/proposals.proto +++ b/proto/provenance/marker/v1/proposals.proto @@ -12,6 +12,27 @@ option go_package = "github.com/provenance-io/provenance/x/marker/types"; option java_package = "io.provenance.marker.v1"; option java_multiple_files = true; +// AddMarkerProposal is deprecated and can no longer be used. +// Deprecated: This message is no longer usable. It is only still included for +// backwards compatibility (e.g. looking up old governance proposals). +// It is replaced by providing a MsgAddMarkerRequest in a governance proposal. +message AddMarkerProposal { + option deprecated = true; + option (gogoproto.equal) = true; + + string title = 1; + string description = 2; + + cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin"]; + string manager = 4; + MarkerStatus status = 5; + MarkerType marker_type = 6; + repeated AccessGrant access_list = 7 [(gogoproto.nullable) = false]; + bool supply_fixed = 8; + bool allow_governance_control = 9; +} + // SupplyIncreaseProposal defines a governance proposal to administer a marker and increase total supply of the marker // through minting coin and placing it within the marker or assigning it directly to an account message SupplyIncreaseProposal { diff --git a/proto/provenance/metadata/v1/p8e/p8e.proto b/proto/provenance/metadata/v1/p8e/p8e.proto new file mode 100644 index 0000000000..8f0e95f5ec --- /dev/null +++ b/proto/provenance/metadata/v1/p8e/p8e.proto @@ -0,0 +1,254 @@ +syntax = "proto3"; +package provenance.metadata.v1.p8e; + +option go_package = "github.com/provenance-io/provenance/x/metadata/types/p8e"; + +option java_package = "io.provenance.metadata.v1.p8e"; +option java_multiple_files = true; + +// This stuff has been deprecated and is no longer usable. +// This contents of this file still exist for backwards compatibility (e.g. reading old transactions). + +// Deprecated: Do not use. +message Contract { + option deprecated = true; + DefinitionSpec definition = 1; + Fact spec = 2; + SigningAndEncryptionPublicKeys invoker = 3; + repeated Fact inputs = 4; + repeated Condition conditions = 5 [deprecated = true]; + repeated Consideration considerations = 6; + repeated Recital recitals = 7; + int32 times_executed = 8; + Timestamp start_time = 9; + bytes context = 10; +} + +// Deprecated: Do not use. +message DefinitionSpec { + option deprecated = true; + string name = 1; + Location resource_location = 2; + Signature signature = 3; + DefinitionSpecType type = 4; +} + +// Deprecated: Do not use. +message Fact { + option deprecated = true; + string name = 1; + Location data_location = 2; +} + +// Deprecated: Do not use. +message Condition { + option deprecated = true; + string condition_name = 1; + ExecutionResult result = 2; +} + +// Deprecated: Do not use. +message Consideration { + option deprecated = true; + string consideration_name = 1; + repeated ProposedFact inputs = 2; + ExecutionResult result = 3; +} + +// Deprecated: Do not use. +message ProposedFact { + option deprecated = true; + string name = 1; + string hash = 2; + string classname = 3; + ProvenanceReference ancestor = 4; +} + +// Deprecated: Do not use. +message ExecutionResult { + option deprecated = true; + ProposedFact output = 1; + ExecutionResultType result = 2; + Timestamp recorded_at = 3; + string error_message = 4; +} + +// Deprecated: Do not use. +message Recitals { + option deprecated = true; + repeated Recital parties = 1; +} + +// Deprecated: Do not use. +message Recital { + option deprecated = true; + PartyType signer_role = 1; + SigningAndEncryptionPublicKeys signer = 2; + bytes address = 3; +} + +// Deprecated: Do not use. +message Location { + option deprecated = true; + ProvenanceReference ref = 1; + string classname = 2; +} + +// Deprecated: Do not use. +message ProvenanceReference { + option deprecated = true; + UUID scope_uuid = 1; + UUID group_uuid = 2; + string hash = 3; + string name = 4; +} + +// Deprecated: Do not use. +message SignatureSet { + option deprecated = true; + repeated Signature signatures = 1; +} + +// Deprecated: Do not use. +message Signature { + option deprecated = true; + string algo = 1; + string provider = 2; + string signature = 3; + SigningAndEncryptionPublicKeys signer = 4; +} + +// Deprecated: Do not use. +message SigningAndEncryptionPublicKeys { + option deprecated = true; + PublicKey signing_public_key = 1; + PublicKey encryption_public_key = 2; +} + +// Deprecated: Do not use. +message PublicKey { + option deprecated = true; + bytes public_key_bytes = 1; + PublicKeyType type = 2; + PublicKeyCurve curve = 3; +} + +// Deprecated: Do not use. +message UUID { + option deprecated = true; + string value = 1; +} + +// Deprecated: Do not use. +enum DefinitionSpecType { + option deprecated = true; + // Deprecated: Do not use. + DEFINITION_SPEC_TYPE_UNKNOWN = 0; + // Deprecated: Do not use. + DEFINITION_SPEC_TYPE_PROPOSED = 1; + // Deprecated: Do not use. + DEFINITION_SPEC_TYPE_FACT = 2; + // Deprecated: Do not use. + DEFINITION_SPEC_TYPE_FACT_LIST = 3; +} + +// Deprecated: Do not use. +enum PublicKeyCurve { + option deprecated = true; + // Deprecated: Do not use. + SECP256K1 = 0; + // Deprecated: Do not use. + P256 = 1; +} + +// Deprecated: Do not use. +enum PublicKeyType { + option deprecated = true; + // Deprecated: Do not use. + ELLIPTIC = 0; +} + +// Deprecated: Do not use. +enum ExecutionResultType { + option deprecated = true; + // Deprecated: Do not use. + RESULT_TYPE_UNKNOWN = 0; + // Deprecated: Do not use. + RESULT_TYPE_PASS = 1; + // Deprecated: Do not use. + RESULT_TYPE_SKIP = 2; + // Deprecated: Do not use. + RESULT_TYPE_FAIL = 3; +} + +// Deprecated: Do not use. +enum PartyType { + option deprecated = true; + // Deprecated: Do not use. + PARTY_TYPE_UNKNOWN = 0; + // Deprecated: Do not use. + PARTY_TYPE_ORIGINATOR = 1; + // Deprecated: Do not use. + PARTY_TYPE_SERVICER = 2; + // Deprecated: Do not use. + PARTY_TYPE_INVESTOR = 3; + // Deprecated: Do not use. + PARTY_TYPE_CUSTODIAN = 4; + // Deprecated: Do not use. + PARTY_TYPE_OWNER = 5; + // Deprecated: Do not use. + PARTY_TYPE_AFFILIATE = 6; + // Deprecated: Do not use. + PARTY_TYPE_OMNIBUS = 7; + // Deprecated: Do not use. + PARTY_TYPE_PROVENANCE = 8; + // Deprecated: Do not use. + PARTY_TYPE_MARKER = 9; + // Deprecated: Do not use. + PARTY_TYPE_CONTROLLER = 10; + // Deprecated: Do not use. + PARTY_TYPE_VALIDATOR = 11; +} + +// Copied from google/protobuf/timestamp.proto into here because using that version results in generated code looking +// for methods that don't exist: MarshalToSizedBuffer, Size, and Unmarshal. + +// Deprecated: Do not use. +message Timestamp { + option deprecated = true; + int64 seconds = 1; + int32 nanos = 2; +} + +// Deprecated: Do not use. +message ContractSpec { + option deprecated = true; + DefinitionSpec definition = 1; + repeated DefinitionSpec input_specs = 2; + repeated PartyType parties_involved = 3; + repeated ConditionSpec condition_specs = 4; + repeated ConsiderationSpec consideration_specs = 5; +} + +// Deprecated: Do not use. +message ConditionSpec { + option deprecated = true; + string func_name = 1; + repeated DefinitionSpec input_specs = 2; + OutputSpec output_spec = 3; +} + +// Deprecated: Do not use. +message ConsiderationSpec { + option deprecated = true; + string func_name = 1; + PartyType responsible_party = 2; + repeated DefinitionSpec input_specs = 3; + OutputSpec output_spec = 4; +} + +// Deprecated: Do not use. +message OutputSpec { + option deprecated = true; + DefinitionSpec spec = 1; +} \ No newline at end of file diff --git a/proto/provenance/metadata/v1/tx.proto b/proto/provenance/metadata/v1/tx.proto index caccc65c87..2a8bca0230 100644 --- a/proto/provenance/metadata/v1/tx.proto +++ b/proto/provenance/metadata/v1/tx.proto @@ -4,6 +4,7 @@ package provenance.metadata.v1; import "gogoproto/gogo.proto"; import "provenance/metadata/v1/metadata.proto"; import "provenance/metadata/v1/objectstore.proto"; +import "provenance/metadata/v1/p8e/p8e.proto"; import "provenance/metadata/v1/scope.proto"; import "provenance/metadata/v1/specification.proto"; @@ -536,3 +537,45 @@ message MsgModifyOSLocatorRequest { message MsgModifyOSLocatorResponse { ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false]; } + +// MsgWriteP8eContractSpecRequest has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +message MsgWriteP8eContractSpecRequest { + option deprecated = true; + option (gogoproto.goproto_getters) = false; + p8e.ContractSpec contractspec = 1 [(gogoproto.nullable) = false]; + repeated string signers = 2; +} + +// MsgWriteP8eContractSpecResponse has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +message MsgWriteP8eContractSpecResponse { + option deprecated = true; + option (gogoproto.goproto_getters) = false; + ContractSpecIdInfo contract_spec_id_info = 1 [(gogoproto.moretags) = "yaml:\"contract_spec_id_info\""]; + repeated RecordSpecIdInfo record_spec_id_infos = 2 [(gogoproto.moretags) = "yaml:\"record_spec_id_infos\""]; +} + +// MsgP8eMemorializeContractRequest has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +message MsgP8eMemorializeContractRequest { + option deprecated = true; + option (gogoproto.goproto_getters) = false; + string scope_id = 1; + string group_id = 2; + string scope_specification_id = 3; + provenance.metadata.v1.p8e.Recitals recitals = 4; + provenance.metadata.v1.p8e.Contract contract = 5; + provenance.metadata.v1.p8e.SignatureSet signatures = 6; + string invoker = 7; +} + +// MsgP8eMemorializeContractResponse has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +message MsgP8eMemorializeContractResponse { + option deprecated = true; + option (gogoproto.goproto_getters) = false; + ScopeIdInfo scope_id_info = 1 [(gogoproto.moretags) = "yaml:\"scope_id_info\""]; + SessionIdInfo session_id_info = 2 [(gogoproto.moretags) = "yaml:\"session_id_info\""]; + repeated RecordIdInfo record_id_infos = 3 [(gogoproto.moretags) = "yaml:\"record_id_infos\""]; +} diff --git a/x/marker/types/codec.go b/x/marker/types/codec.go index fbcf241b3d..d5bc773a4b 100644 --- a/x/marker/types/codec.go +++ b/x/marker/types/codec.go @@ -30,6 +30,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { registry.RegisterImplementations( (*govtypesv1beta1.Content)(nil), + &AddMarkerProposal{}, &SupplyIncreaseProposal{}, &SupplyDecreaseProposal{}, &SetAdministratorProposal{}, diff --git a/x/marker/types/proposal.go b/x/marker/types/proposal.go index e5ba22f1ed..0c9e019a40 100644 --- a/x/marker/types/proposal.go +++ b/x/marker/types/proposal.go @@ -1,6 +1,7 @@ package types import ( + "errors" "fmt" sdk "github.com/cosmos/cosmos-sdk/types" @@ -27,6 +28,7 @@ const ( ) var ( + _ govtypesv1beta1.Content = &AddMarkerProposal{} _ govtypesv1beta1.Content = &SupplyIncreaseProposal{} _ govtypesv1beta1.Content = &SupplyDecreaseProposal{} _ govtypesv1beta1.Content = &SetAdministratorProposal{} @@ -37,6 +39,7 @@ var ( ) func init() { + // Not registering AddMarkerProposal since it's no longer usable. govtypesv1beta1.RegisterProposalType(ProposalTypeIncreaseSupply) govtypesv1beta1.RegisterProposalType(ProposalTypeDecreaseSupply) govtypesv1beta1.RegisterProposalType(ProposalTypeSetAdministrator) @@ -46,6 +49,12 @@ func init() { govtypesv1beta1.RegisterProposalType(ProposalTypeSetDenomMetadata) } +func (p AddMarkerProposal) ProposalRoute() string { return RouterKey } +func (p AddMarkerProposal) ProposalType() string { return "AddMarker" } +func (p AddMarkerProposal) ValidateBasic() error { + return errors.New("deprecated and unusable") +} + // NewSupplyIncreaseProposal creates a new proposal func NewSupplyIncreaseProposal(title, description string, amount sdk.Coin, destination string) *SupplyIncreaseProposal { return &SupplyIncreaseProposal{title, description, amount, destination} diff --git a/x/marker/types/proposals.pb.go b/x/marker/types/proposals.pb.go index f7d2ba4f47..521b2e9999 100644 --- a/x/marker/types/proposals.pb.go +++ b/x/marker/types/proposals.pb.go @@ -27,6 +27,113 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// AddMarkerProposal is deprecated and can no longer be used. +// Deprecated: This message is no longer usable. It is only still included for +// backwards compatibility (e.g. looking up old governance proposals). +// It is replaced by providing a MsgAddMarkerRequest in a governance proposal. +// +// Deprecated: Do not use. +type AddMarkerProposal struct { + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` + Manager string `protobuf:"bytes,4,opt,name=manager,proto3" json:"manager,omitempty"` + Status MarkerStatus `protobuf:"varint,5,opt,name=status,proto3,enum=provenance.marker.v1.MarkerStatus" json:"status,omitempty"` + MarkerType MarkerType `protobuf:"varint,6,opt,name=marker_type,json=markerType,proto3,enum=provenance.marker.v1.MarkerType" json:"marker_type,omitempty"` + AccessList []AccessGrant `protobuf:"bytes,7,rep,name=access_list,json=accessList,proto3" json:"access_list"` + SupplyFixed bool `protobuf:"varint,8,opt,name=supply_fixed,json=supplyFixed,proto3" json:"supply_fixed,omitempty"` + AllowGovernanceControl bool `protobuf:"varint,9,opt,name=allow_governance_control,json=allowGovernanceControl,proto3" json:"allow_governance_control,omitempty"` +} + +func (m *AddMarkerProposal) Reset() { *m = AddMarkerProposal{} } +func (m *AddMarkerProposal) String() string { return proto.CompactTextString(m) } +func (*AddMarkerProposal) ProtoMessage() {} +func (*AddMarkerProposal) Descriptor() ([]byte, []int) { + return fileDescriptor_345320af87f4ec37, []int{0} +} +func (m *AddMarkerProposal) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AddMarkerProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AddMarkerProposal.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AddMarkerProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddMarkerProposal.Merge(m, src) +} +func (m *AddMarkerProposal) XXX_Size() int { + return m.Size() +} +func (m *AddMarkerProposal) XXX_DiscardUnknown() { + xxx_messageInfo_AddMarkerProposal.DiscardUnknown(m) +} + +var xxx_messageInfo_AddMarkerProposal proto.InternalMessageInfo + +func (m *AddMarkerProposal) GetTitle() string { + if m != nil { + return m.Title + } + return "" +} + +func (m *AddMarkerProposal) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *AddMarkerProposal) GetManager() string { + if m != nil { + return m.Manager + } + return "" +} + +func (m *AddMarkerProposal) GetStatus() MarkerStatus { + if m != nil { + return m.Status + } + return StatusUndefined +} + +func (m *AddMarkerProposal) GetMarkerType() MarkerType { + if m != nil { + return m.MarkerType + } + return MarkerType_Unknown +} + +func (m *AddMarkerProposal) GetAccessList() []AccessGrant { + if m != nil { + return m.AccessList + } + return nil +} + +func (m *AddMarkerProposal) GetSupplyFixed() bool { + if m != nil { + return m.SupplyFixed + } + return false +} + +func (m *AddMarkerProposal) GetAllowGovernanceControl() bool { + if m != nil { + return m.AllowGovernanceControl + } + return false +} + // SupplyIncreaseProposal defines a governance proposal to administer a marker and increase total supply of the marker // through minting coin and placing it within the marker or assigning it directly to an account type SupplyIncreaseProposal struct { @@ -39,7 +146,7 @@ type SupplyIncreaseProposal struct { func (m *SupplyIncreaseProposal) Reset() { *m = SupplyIncreaseProposal{} } func (*SupplyIncreaseProposal) ProtoMessage() {} func (*SupplyIncreaseProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{0} + return fileDescriptor_345320af87f4ec37, []int{1} } func (m *SupplyIncreaseProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -100,7 +207,7 @@ type SupplyDecreaseProposal struct { func (m *SupplyDecreaseProposal) Reset() { *m = SupplyDecreaseProposal{} } func (*SupplyDecreaseProposal) ProtoMessage() {} func (*SupplyDecreaseProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{1} + return fileDescriptor_345320af87f4ec37, []int{2} } func (m *SupplyDecreaseProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -155,7 +262,7 @@ type SetAdministratorProposal struct { func (m *SetAdministratorProposal) Reset() { *m = SetAdministratorProposal{} } func (*SetAdministratorProposal) ProtoMessage() {} func (*SetAdministratorProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{2} + return fileDescriptor_345320af87f4ec37, []int{3} } func (m *SetAdministratorProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -224,7 +331,7 @@ type RemoveAdministratorProposal struct { func (m *RemoveAdministratorProposal) Reset() { *m = RemoveAdministratorProposal{} } func (*RemoveAdministratorProposal) ProtoMessage() {} func (*RemoveAdministratorProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{3} + return fileDescriptor_345320af87f4ec37, []int{4} } func (m *RemoveAdministratorProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -292,7 +399,7 @@ type ChangeStatusProposal struct { func (m *ChangeStatusProposal) Reset() { *m = ChangeStatusProposal{} } func (*ChangeStatusProposal) ProtoMessage() {} func (*ChangeStatusProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{4} + return fileDescriptor_345320af87f4ec37, []int{5} } func (m *ChangeStatusProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -361,7 +468,7 @@ type WithdrawEscrowProposal struct { func (m *WithdrawEscrowProposal) Reset() { *m = WithdrawEscrowProposal{} } func (*WithdrawEscrowProposal) ProtoMessage() {} func (*WithdrawEscrowProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{5} + return fileDescriptor_345320af87f4ec37, []int{6} } func (m *WithdrawEscrowProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -435,7 +542,7 @@ type SetDenomMetadataProposal struct { func (m *SetDenomMetadataProposal) Reset() { *m = SetDenomMetadataProposal{} } func (*SetDenomMetadataProposal) ProtoMessage() {} func (*SetDenomMetadataProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_345320af87f4ec37, []int{6} + return fileDescriptor_345320af87f4ec37, []int{7} } func (m *SetDenomMetadataProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -479,6 +586,7 @@ func (m *SetDenomMetadataProposal) GetDescription() string { } func init() { + proto.RegisterType((*AddMarkerProposal)(nil), "provenance.marker.v1.AddMarkerProposal") proto.RegisterType((*SupplyIncreaseProposal)(nil), "provenance.marker.v1.SupplyIncreaseProposal") proto.RegisterType((*SupplyDecreaseProposal)(nil), "provenance.marker.v1.SupplyDecreaseProposal") proto.RegisterType((*SetAdministratorProposal)(nil), "provenance.marker.v1.SetAdministratorProposal") @@ -493,48 +601,109 @@ func init() { } var fileDescriptor_345320af87f4ec37 = []byte{ - // 614 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x94, 0x4f, 0x6b, 0x13, 0x4f, - 0x1c, 0xc6, 0x33, 0xbf, 0xfc, 0xa1, 0x99, 0xf0, 0x8b, 0x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0x11, 0x8a, 0x11, 0x36, 0x41, 0x0d, 0x34, 0x8a, 0xae, 0x9a, 0x18, 0x35, 0x58, 0xf2, 0x31, - 0xf7, 0x58, 0x18, 0x8b, 0x90, 0x12, 0xf3, 0x3f, 0xb9, 0x97, 0x5e, 0x32, 0xfa, 0xb0, 0x80, 0x22, - 0x3a, 0x26, 0xc2, 0xcc, 0xd6, 0x40, 0xa3, 0xd4, 0xba, 0x67, 0x2b, 0x1c, 0x3b, 0xc1, 0xb1, 0x35, - 0x8e, 0x7d, 0x40, 0x43, 0xd2, 0x75, 0x2e, 0xae, 0xaa, 0x99, 0xaf, 0x57, 0xd5, 0xbd, 0x20, 0x14, - 0x83, 0x71, 0xdf, 0xf6, 0x68, 0xe4, 0x68, 0x76, 0xf5, 0xd9, 0xe7, 0xfe, 0xd0, 0x11, 0x67, 0x31, - 0xe6, 0xf2, 0x80, 0xab, 0xff, 0x6c, 0x3c, 0x82, 0x65, 0x81, 0x58, 0x80, 0xc5, 0x09, 0xf2, 0x7d, - 0x86, 0x39, 0x37, 0x73, 0xd2, 0xc8, 0xff, 0x6a, 0xb5, 0xa3, 0x16, 0xdb, 0x5b, 0x6f, 0xcf, 0xab, - 0x99, 0x9f, 0xe7, 0x55, 0x50, 0xff, 0xb4, 0xe4, 0x3c, 0xc4, 0xff, 0x0e, 0x67, 0x0a, 0xe0, 0x23, - 0x80, 0x66, 0x2f, 0x21, 0x8b, 0x42, 0x12, 0x72, 0xc1, 0x90, 0xa0, 0xec, 0xc6, 0x08, 0x15, 0x98, - 0xf7, 0x31, 0xa1, 0x91, 0x24, 0x28, 0xba, 0x6a, 0x62, 0x3c, 0x83, 0x05, 0x15, 0x14, 0x33, 0x57, - 0xcb, 0x36, 0x4a, 0xad, 0x5d, 0x7b, 0x5d, 0xb6, 0xed, 0x8e, 0xd4, 0xbc, 0x48, 0xc2, 0xd4, 0xcd, - 0x25, 0x80, 0xae, 0x3e, 0x96, 0x72, 0xfd, 0x0e, 0xc0, 0xf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 0xba, - 0x36, 0x25, 0xc7, 0xe0, 0x75, 0xba, 0xf0, 0x4a, 0xb2, 0x1f, 0xd2, 0xd4, 0xcc, 0x39, 0x5d, 0x3c, - 0xfe, 0xd2, 0x41, 0xbf, 0x20, 0x1f, 0xfd, 0xa7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x4a, 0xe2, - 0x7b, 0x57, 0xd3, 0x06, 0x00, 0x00, -} + // 752 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcf, 0x6b, 0x13, 0x41, + 0x14, 0xce, 0x98, 0x1f, 0x4d, 0x26, 0x5a, 0x71, 0x09, 0x75, 0xad, 0x98, 0xa4, 0x41, 0x6d, 0x2e, + 0xdd, 0x35, 0xf1, 0x22, 0xb9, 0x48, 0xd2, 0x6a, 0x15, 0x2c, 0x94, 0xad, 0x20, 0x78, 0x09, 0x93, + 0xdd, 0x71, 0xbb, 0x24, 0x3b, 0xb3, 0xcc, 0x4c, 0x92, 0xf6, 0xbf, 0xf0, 0xe8, 0x49, 0x7a, 0xf6, + 0x26, 0xde, 0x3d, 0xf7, 0x66, 0x8f, 0xe2, 0xa1, 0x4a, 0x8b, 0xe0, 0x7f, 0xe0, 0xc5, 0x83, 0xec, + 0xcc, 0x24, 0x0d, 0x34, 0x84, 0x4a, 0xa9, 0xd0, 0xd3, 0xee, 0xbc, 0xf7, 0xbd, 0x1f, 0xdf, 0xcc, + 0xf7, 0x66, 0xe0, 0xdd, 0x88, 0xd1, 0x01, 0x26, 0x88, 0xb8, 0xd8, 0x0e, 0x11, 0xeb, 0x62, 0x66, + 0x0f, 0x6a, 0x76, 0xc4, 0x68, 0x44, 0x39, 0xea, 0x71, 0x2b, 0x62, 0x54, 0x50, 0xa3, 0x70, 0x82, + 0xb2, 0x14, 0xca, 0x1a, 0xd4, 0x16, 0x0b, 0x3e, 0xf5, 0xa9, 0x04, 0xd8, 0xf1, 0x9f, 0xc2, 0x2e, + 0x16, 0x5d, 0xca, 0x43, 0xca, 0xed, 0x0e, 0x22, 0x5d, 0x7b, 0x50, 0xeb, 0x60, 0x81, 0x6a, 0x72, + 0x71, 0xca, 0xcf, 0xf1, 0xd8, 0xef, 0xd2, 0x80, 0x68, 0xff, 0xd2, 0xd4, 0x8e, 0x74, 0x55, 0x05, + 0xb9, 0x3f, 0x15, 0x82, 0x5c, 0x17, 0x73, 0xee, 0x33, 0x44, 0x84, 0xc2, 0x55, 0x7e, 0x27, 0xe1, + 0x8d, 0xa6, 0xe7, 0x6d, 0x48, 0xc8, 0xa6, 0xe6, 0x64, 0x14, 0x60, 0x5a, 0x04, 0xa2, 0x87, 0x4d, + 0x50, 0x06, 0xd5, 0x9c, 0xa3, 0x16, 0x46, 0x19, 0xe6, 0x3d, 0xcc, 0x5d, 0x16, 0x44, 0x22, 0xa0, + 0xc4, 0xbc, 0x22, 0x7d, 0x93, 0x26, 0xa3, 0x03, 0x33, 0x28, 0xa4, 0x7d, 0x22, 0xcc, 0x64, 0x19, + 0x54, 0xf3, 0xf5, 0x5b, 0x96, 0x62, 0x62, 0xc5, 0x4c, 0x2c, 0xcd, 0xc4, 0x5a, 0xa5, 0x01, 0x69, + 0xd9, 0xfb, 0x87, 0xa5, 0xc4, 0xb7, 0xc3, 0xd2, 0xb2, 0x1f, 0x88, 0xed, 0x7e, 0xc7, 0x72, 0x69, + 0x68, 0x6b, 0xda, 0xea, 0xb3, 0xc2, 0xbd, 0xae, 0x2d, 0x76, 0x23, 0xcc, 0x65, 0x80, 0xa3, 0x33, + 0x1b, 0x26, 0x9c, 0x0b, 0x11, 0x41, 0x3e, 0x66, 0x66, 0x4a, 0x76, 0x30, 0x5a, 0x1a, 0x0d, 0x98, + 0xe1, 0x02, 0x89, 0x3e, 0x37, 0xd3, 0x65, 0x50, 0x9d, 0xaf, 0x57, 0xac, 0x69, 0x67, 0x62, 0x29, + 0xae, 0x5b, 0x12, 0xe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bf, + 0x7f, 0x54, 0x04, 0x07, 0x47, 0x45, 0xf0, 0xe3, 0xa8, 0x08, 0xde, 0x1e, 0x17, 0x13, 0x07, 0xc7, + 0xc5, 0xc4, 0xd7, 0xe3, 0x62, 0x02, 0xde, 0x0c, 0xe8, 0x54, 0x95, 0x6c, 0x82, 0xd7, 0x93, 0x85, + 0x4f, 0x20, 0x2b, 0x01, 0x9d, 0x58, 0xd9, 0x3b, 0xa3, 0x67, 0x5f, 0x76, 0xd0, 0xc9, 0xc8, 0xe7, + 0xfe, 0xe1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x08, 0x22, 0x77, 0xee, 0xcd, 0x08, 0x00, 0x00, +} + +func (this *AddMarkerProposal) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + that1, ok := that.(*AddMarkerProposal) + if !ok { + that2, ok := that.(AddMarkerProposal) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Title != that1.Title { + return false + } + if this.Description != that1.Description { + return false + } + if !this.Amount.Equal(that1.Amount) { + return false + } + if this.Manager != that1.Manager { + return false + } + if this.Status != that1.Status { + return false + } + if this.MarkerType != that1.MarkerType { + return false + } + if len(this.AccessList) != len(that1.AccessList) { + return false + } + for i := range this.AccessList { + if !this.AccessList[i].Equal(&that1.AccessList[i]) { + return false + } + } + if this.SupplyFixed != that1.SupplyFixed { + return false + } + if this.AllowGovernanceControl != that1.AllowGovernanceControl { + return false + } + return true +} func (this *SupplyIncreaseProposal) Equal(that interface{}) bool { if that == nil { return this == nil @@ -748,6 +917,104 @@ func (this *WithdrawEscrowProposal) Equal(that interface{}) bool { } return true } +func (m *AddMarkerProposal) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AddMarkerProposal) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AddMarkerProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AllowGovernanceControl { + i-- + if m.AllowGovernanceControl { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if m.SupplyFixed { + i-- + if m.SupplyFixed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if len(m.AccessList) > 0 { + for iNdEx := len(m.AccessList) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AccessList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintProposals(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } + if m.MarkerType != 0 { + i = encodeVarintProposals(dAtA, i, uint64(m.MarkerType)) + i-- + dAtA[i] = 0x30 + } + if m.Status != 0 { + i = encodeVarintProposals(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x28 + } + if len(m.Manager) > 0 { + i -= len(m.Manager) + copy(dAtA[i:], m.Manager) + i = encodeVarintProposals(dAtA, i, uint64(len(m.Manager))) + i-- + dAtA[i] = 0x22 + } + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintProposals(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintProposals(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x12 + } + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintProposals(dAtA, i, uint64(len(m.Title))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *SupplyIncreaseProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1132,6 +1399,47 @@ func encodeVarintProposals(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *AddMarkerProposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovProposals(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovProposals(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovProposals(uint64(l)) + l = len(m.Manager) + if l > 0 { + n += 1 + l + sovProposals(uint64(l)) + } + if m.Status != 0 { + n += 1 + sovProposals(uint64(m.Status)) + } + if m.MarkerType != 0 { + n += 1 + sovProposals(uint64(m.MarkerType)) + } + if len(m.AccessList) > 0 { + for _, e := range m.AccessList { + l = e.Size() + n += 1 + l + sovProposals(uint64(l)) + } + } + if m.SupplyFixed { + n += 2 + } + if m.AllowGovernanceControl { + n += 2 + } + return n +} + func (m *SupplyIncreaseProposal) Size() (n int) { if m == nil { return 0 @@ -1308,6 +1616,297 @@ func sovProposals(x uint64) (n int) { func sozProposals(x uint64) (n int) { return sovProposals(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (m *AddMarkerProposal) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AddMarkerProposal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AddMarkerProposal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProposals + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProposals + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Title = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProposals + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProposals + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProposals + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProposals + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProposals + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProposals + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Manager = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= MarkerStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MarkerType", wireType) + } + m.MarkerType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MarkerType |= MarkerType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProposals + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProposals + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccessList = append(m.AccessList, AccessGrant{}) + if err := m.AccessList[len(m.AccessList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SupplyFixed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SupplyFixed = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowGovernanceControl", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProposals + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowGovernanceControl = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipProposals(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthProposals + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *SupplyIncreaseProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/metadata/types/codec.go b/x/metadata/types/codec.go index 858307ebe2..0d2e3dd60a 100644 --- a/x/metadata/types/codec.go +++ b/x/metadata/types/codec.go @@ -1,6 +1,8 @@ package types import ( + "github.com/gogo/protobuf/proto" + "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -9,29 +11,15 @@ import ( // RegisterInterfaces registers implementations for the tx messages func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { - registry.RegisterImplementations((*sdk.Msg)(nil), - &MsgWriteScopeRequest{}, - &MsgDeleteScopeRequest{}, - &MsgAddScopeDataAccessRequest{}, - &MsgDeleteScopeDataAccessRequest{}, - &MsgAddScopeOwnerRequest{}, - &MsgDeleteScopeOwnerRequest{}, - &MsgWriteSessionRequest{}, - &MsgWriteRecordRequest{}, - &MsgDeleteRecordRequest{}, + messages := make([]proto.Message, len(allRequestMsgs)) + for i, msg := range allRequestMsgs { + messages[i] = msg + } + registry.RegisterImplementations((*sdk.Msg)(nil), messages...) - &MsgWriteScopeSpecificationRequest{}, - &MsgDeleteScopeSpecificationRequest{}, - &MsgWriteContractSpecificationRequest{}, - &MsgDeleteContractSpecificationRequest{}, - &MsgAddContractSpecToScopeSpecRequest{}, - &MsgDeleteContractSpecFromScopeSpecRequest{}, - &MsgWriteRecordSpecificationRequest{}, - &MsgDeleteRecordSpecificationRequest{}, - - &MsgBindOSLocatorRequest{}, - &MsgModifyOSLocatorRequest{}, - &MsgDeleteOSLocatorRequest{}, + registry.RegisterImplementations((*sdk.Msg)(nil), + (*MsgWriteP8EContractSpecRequest)(nil), + (*MsgP8EMemorializeContractRequest)(nil), ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } diff --git a/x/metadata/types/msg.go b/x/metadata/types/msg.go index ceabefb862..a0787f4508 100644 --- a/x/metadata/types/msg.go +++ b/x/metadata/types/msg.go @@ -43,28 +43,39 @@ type MetadataMsg interface { GetSignerStrs() []string } -// Compile time interface checks. +// allRequestMsgs defines all the Msg*Request messages. +var allRequestMsgs = []MetadataMsg{ + (*MsgWriteScopeRequest)(nil), + (*MsgDeleteScopeRequest)(nil), + (*MsgAddScopeDataAccessRequest)(nil), + (*MsgDeleteScopeDataAccessRequest)(nil), + (*MsgAddScopeOwnerRequest)(nil), + (*MsgDeleteScopeOwnerRequest)(nil), + (*MsgWriteSessionRequest)(nil), + (*MsgWriteRecordRequest)(nil), + (*MsgDeleteRecordRequest)(nil), + + (*MsgWriteScopeSpecificationRequest)(nil), + (*MsgDeleteScopeSpecificationRequest)(nil), + (*MsgWriteContractSpecificationRequest)(nil), + (*MsgDeleteContractSpecificationRequest)(nil), + (*MsgAddContractSpecToScopeSpecRequest)(nil), + (*MsgDeleteContractSpecFromScopeSpecRequest)(nil), + (*MsgWriteRecordSpecificationRequest)(nil), + (*MsgDeleteRecordSpecificationRequest)(nil), + + // omitting MsgWriteP8EContractSpecRequest and MsgP8EMemorializeContractRequest + // since they're deprecated and no longer usable. + + (*MsgBindOSLocatorRequest)(nil), + (*MsgDeleteOSLocatorRequest)(nil), + (*MsgModifyOSLocatorRequest)(nil), +} + +// We still need these deprecated messages to be sdk.Msg for the codec. var ( - _ MetadataMsg = (*MsgWriteScopeRequest)(nil) - _ MetadataMsg = (*MsgDeleteScopeRequest)(nil) - _ MetadataMsg = (*MsgAddScopeDataAccessRequest)(nil) - _ MetadataMsg = (*MsgDeleteScopeDataAccessRequest)(nil) - _ MetadataMsg = (*MsgAddScopeOwnerRequest)(nil) - _ MetadataMsg = (*MsgDeleteScopeOwnerRequest)(nil) - _ MetadataMsg = (*MsgWriteSessionRequest)(nil) - _ MetadataMsg = (*MsgWriteRecordRequest)(nil) - _ MetadataMsg = (*MsgDeleteRecordRequest)(nil) - _ MetadataMsg = (*MsgWriteScopeSpecificationRequest)(nil) - _ MetadataMsg = (*MsgDeleteScopeSpecificationRequest)(nil) - _ MetadataMsg = (*MsgWriteContractSpecificationRequest)(nil) - _ MetadataMsg = (*MsgDeleteContractSpecificationRequest)(nil) - _ MetadataMsg = (*MsgAddContractSpecToScopeSpecRequest)(nil) - _ MetadataMsg = (*MsgDeleteContractSpecFromScopeSpecRequest)(nil) - _ MetadataMsg = (*MsgWriteRecordSpecificationRequest)(nil) - _ MetadataMsg = (*MsgDeleteRecordSpecificationRequest)(nil) - _ MetadataMsg = (*MsgBindOSLocatorRequest)(nil) - _ MetadataMsg = (*MsgDeleteOSLocatorRequest)(nil) - _ MetadataMsg = (*MsgModifyOSLocatorRequest)(nil) + _ sdk.Msg = (*MsgWriteP8EContractSpecRequest)(nil) + _ sdk.Msg = (*MsgP8EMemorializeContractRequest)(nil) ) // stringsToAccAddresses converts an array of strings into an array of Acc Addresses. @@ -768,6 +779,26 @@ func (msg MsgDeleteRecordSpecificationRequest) ValidateBasic() error { return nil } +// ------------------ MsgWriteP8EContractSpecRequest ------------------ + +func (msg MsgWriteP8EContractSpecRequest) GetSigners() []sdk.AccAddress { + return stringsToAccAddresses(msg.Signers) +} + +func (msg MsgWriteP8EContractSpecRequest) ValidateBasic() error { + return errors.New("deprecated and unusable") +} + +// ------------------ MsgP8EMemorializeContractRequest ------------------ + +func (msg MsgP8EMemorializeContractRequest) GetSigners() []sdk.AccAddress { + return []sdk.AccAddress{sdk.MustAccAddressFromBech32(msg.Invoker)} +} + +func (msg MsgP8EMemorializeContractRequest) ValidateBasic() error { + return errors.New("deprecated and unusable") +} + // ------------------ MsgBindOSLocatorRequest ------------------ // NewMsgBindOSLocatorRequest creates a new msg instance diff --git a/x/metadata/types/p8e/p8e.pb.go b/x/metadata/types/p8e/p8e.pb.go new file mode 100644 index 0000000000..8bb09400b7 --- /dev/null +++ b/x/metadata/types/p8e/p8e.pb.go @@ -0,0 +1,6562 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: provenance/metadata/v1/p8e/p8e.proto + +package p8e + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Deprecated: Do not use. +type DefinitionSpecType int32 // Deprecated: Do not use. +const ( + // Deprecated: Do not use. + DefinitionSpecType_DEFINITION_SPEC_TYPE_UNKNOWN DefinitionSpecType = 0 + // Deprecated: Do not use. + DefinitionSpecType_DEFINITION_SPEC_TYPE_PROPOSED DefinitionSpecType = 1 + // Deprecated: Do not use. + DefinitionSpecType_DEFINITION_SPEC_TYPE_FACT DefinitionSpecType = 2 + // Deprecated: Do not use. + DefinitionSpecType_DEFINITION_SPEC_TYPE_FACT_LIST DefinitionSpecType = 3 +) + +var DefinitionSpecType_name = map[int32]string{ + 0: "DEFINITION_SPEC_TYPE_UNKNOWN", + 1: "DEFINITION_SPEC_TYPE_PROPOSED", + 2: "DEFINITION_SPEC_TYPE_FACT", + 3: "DEFINITION_SPEC_TYPE_FACT_LIST", +} + +var DefinitionSpecType_value = map[string]int32{ + "DEFINITION_SPEC_TYPE_UNKNOWN": 0, + "DEFINITION_SPEC_TYPE_PROPOSED": 1, + "DEFINITION_SPEC_TYPE_FACT": 2, + "DEFINITION_SPEC_TYPE_FACT_LIST": 3, +} + +func (x DefinitionSpecType) String() string { + return proto.EnumName(DefinitionSpecType_name, int32(x)) +} + +func (DefinitionSpecType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{0} +} + +// Deprecated: Do not use. +type PublicKeyCurve int32 // Deprecated: Do not use. +const ( + // Deprecated: Do not use. + PublicKeyCurve_SECP256K1 PublicKeyCurve = 0 + // Deprecated: Do not use. + PublicKeyCurve_P256 PublicKeyCurve = 1 +) + +var PublicKeyCurve_name = map[int32]string{ + 0: "SECP256K1", + 1: "P256", +} + +var PublicKeyCurve_value = map[string]int32{ + "SECP256K1": 0, + "P256": 1, +} + +func (x PublicKeyCurve) String() string { + return proto.EnumName(PublicKeyCurve_name, int32(x)) +} + +func (PublicKeyCurve) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{1} +} + +// Deprecated: Do not use. +type PublicKeyType int32 // Deprecated: Do not use. +const ( + // Deprecated: Do not use. + PublicKeyType_ELLIPTIC PublicKeyType = 0 +) + +var PublicKeyType_name = map[int32]string{ + 0: "ELLIPTIC", +} + +var PublicKeyType_value = map[string]int32{ + "ELLIPTIC": 0, +} + +func (x PublicKeyType) String() string { + return proto.EnumName(PublicKeyType_name, int32(x)) +} + +func (PublicKeyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{2} +} + +// Deprecated: Do not use. +type ExecutionResultType int32 // Deprecated: Do not use. +const ( + // Deprecated: Do not use. + ExecutionResultType_RESULT_TYPE_UNKNOWN ExecutionResultType = 0 + // Deprecated: Do not use. + ExecutionResultType_RESULT_TYPE_PASS ExecutionResultType = 1 + // Deprecated: Do not use. + ExecutionResultType_RESULT_TYPE_SKIP ExecutionResultType = 2 + // Deprecated: Do not use. + ExecutionResultType_RESULT_TYPE_FAIL ExecutionResultType = 3 +) + +var ExecutionResultType_name = map[int32]string{ + 0: "RESULT_TYPE_UNKNOWN", + 1: "RESULT_TYPE_PASS", + 2: "RESULT_TYPE_SKIP", + 3: "RESULT_TYPE_FAIL", +} + +var ExecutionResultType_value = map[string]int32{ + "RESULT_TYPE_UNKNOWN": 0, + "RESULT_TYPE_PASS": 1, + "RESULT_TYPE_SKIP": 2, + "RESULT_TYPE_FAIL": 3, +} + +func (x ExecutionResultType) String() string { + return proto.EnumName(ExecutionResultType_name, int32(x)) +} + +func (ExecutionResultType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{3} +} + +// Deprecated: Do not use. +type PartyType int32 // Deprecated: Do not use. +const ( + // Deprecated: Do not use. + PartyType_PARTY_TYPE_UNKNOWN PartyType = 0 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_ORIGINATOR PartyType = 1 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_SERVICER PartyType = 2 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_INVESTOR PartyType = 3 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_CUSTODIAN PartyType = 4 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_OWNER PartyType = 5 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_AFFILIATE PartyType = 6 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_OMNIBUS PartyType = 7 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_PROVENANCE PartyType = 8 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_MARKER PartyType = 9 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_CONTROLLER PartyType = 10 + // Deprecated: Do not use. + PartyType_PARTY_TYPE_VALIDATOR PartyType = 11 +) + +var PartyType_name = map[int32]string{ + 0: "PARTY_TYPE_UNKNOWN", + 1: "PARTY_TYPE_ORIGINATOR", + 2: "PARTY_TYPE_SERVICER", + 3: "PARTY_TYPE_INVESTOR", + 4: "PARTY_TYPE_CUSTODIAN", + 5: "PARTY_TYPE_OWNER", + 6: "PARTY_TYPE_AFFILIATE", + 7: "PARTY_TYPE_OMNIBUS", + 8: "PARTY_TYPE_PROVENANCE", + 9: "PARTY_TYPE_MARKER", + 10: "PARTY_TYPE_CONTROLLER", + 11: "PARTY_TYPE_VALIDATOR", +} + +var PartyType_value = map[string]int32{ + "PARTY_TYPE_UNKNOWN": 0, + "PARTY_TYPE_ORIGINATOR": 1, + "PARTY_TYPE_SERVICER": 2, + "PARTY_TYPE_INVESTOR": 3, + "PARTY_TYPE_CUSTODIAN": 4, + "PARTY_TYPE_OWNER": 5, + "PARTY_TYPE_AFFILIATE": 6, + "PARTY_TYPE_OMNIBUS": 7, + "PARTY_TYPE_PROVENANCE": 8, + "PARTY_TYPE_MARKER": 9, + "PARTY_TYPE_CONTROLLER": 10, + "PARTY_TYPE_VALIDATOR": 11, +} + +func (x PartyType) String() string { + return proto.EnumName(PartyType_name, int32(x)) +} + +func (PartyType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{4} +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Contract struct { + Definition *DefinitionSpec `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"` + Spec *Fact `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Invoker *SigningAndEncryptionPublicKeys `protobuf:"bytes,3,opt,name=invoker,proto3" json:"invoker,omitempty"` + Inputs []*Fact `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"` + Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` // Deprecated: Do not use. + Considerations []*Consideration `protobuf:"bytes,6,rep,name=considerations,proto3" json:"considerations,omitempty"` + Recitals []*Recital `protobuf:"bytes,7,rep,name=recitals,proto3" json:"recitals,omitempty"` + TimesExecuted int32 `protobuf:"varint,8,opt,name=times_executed,json=timesExecuted,proto3" json:"times_executed,omitempty"` + StartTime *Timestamp `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + Context []byte `protobuf:"bytes,10,opt,name=context,proto3" json:"context,omitempty"` +} + +func (m *Contract) Reset() { *m = Contract{} } +func (m *Contract) String() string { return proto.CompactTextString(m) } +func (*Contract) ProtoMessage() {} +func (*Contract) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{0} +} +func (m *Contract) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Contract.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Contract) XXX_Merge(src proto.Message) { + xxx_messageInfo_Contract.Merge(m, src) +} +func (m *Contract) XXX_Size() int { + return m.Size() +} +func (m *Contract) XXX_DiscardUnknown() { + xxx_messageInfo_Contract.DiscardUnknown(m) +} + +var xxx_messageInfo_Contract proto.InternalMessageInfo + +func (m *Contract) GetDefinition() *DefinitionSpec { + if m != nil { + return m.Definition + } + return nil +} + +func (m *Contract) GetSpec() *Fact { + if m != nil { + return m.Spec + } + return nil +} + +func (m *Contract) GetInvoker() *SigningAndEncryptionPublicKeys { + if m != nil { + return m.Invoker + } + return nil +} + +func (m *Contract) GetInputs() []*Fact { + if m != nil { + return m.Inputs + } + return nil +} + +// Deprecated: Do not use. +func (m *Contract) GetConditions() []*Condition { + if m != nil { + return m.Conditions + } + return nil +} + +func (m *Contract) GetConsiderations() []*Consideration { + if m != nil { + return m.Considerations + } + return nil +} + +func (m *Contract) GetRecitals() []*Recital { + if m != nil { + return m.Recitals + } + return nil +} + +func (m *Contract) GetTimesExecuted() int32 { + if m != nil { + return m.TimesExecuted + } + return 0 +} + +func (m *Contract) GetStartTime() *Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *Contract) GetContext() []byte { + if m != nil { + return m.Context + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type DefinitionSpec struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ResourceLocation *Location `protobuf:"bytes,2,opt,name=resource_location,json=resourceLocation,proto3" json:"resource_location,omitempty"` + Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` + Type DefinitionSpecType `protobuf:"varint,4,opt,name=type,proto3,enum=provenance.metadata.v1.p8e.DefinitionSpecType" json:"type,omitempty"` +} + +func (m *DefinitionSpec) Reset() { *m = DefinitionSpec{} } +func (m *DefinitionSpec) String() string { return proto.CompactTextString(m) } +func (*DefinitionSpec) ProtoMessage() {} +func (*DefinitionSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{1} +} +func (m *DefinitionSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DefinitionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DefinitionSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DefinitionSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DefinitionSpec.Merge(m, src) +} +func (m *DefinitionSpec) XXX_Size() int { + return m.Size() +} +func (m *DefinitionSpec) XXX_DiscardUnknown() { + xxx_messageInfo_DefinitionSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_DefinitionSpec proto.InternalMessageInfo + +func (m *DefinitionSpec) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *DefinitionSpec) GetResourceLocation() *Location { + if m != nil { + return m.ResourceLocation + } + return nil +} + +func (m *DefinitionSpec) GetSignature() *Signature { + if m != nil { + return m.Signature + } + return nil +} + +func (m *DefinitionSpec) GetType() DefinitionSpecType { + if m != nil { + return m.Type + } + return DefinitionSpecType_DEFINITION_SPEC_TYPE_UNKNOWN +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Fact struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + DataLocation *Location `protobuf:"bytes,2,opt,name=data_location,json=dataLocation,proto3" json:"data_location,omitempty"` +} + +func (m *Fact) Reset() { *m = Fact{} } +func (m *Fact) String() string { return proto.CompactTextString(m) } +func (*Fact) ProtoMessage() {} +func (*Fact) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{2} +} +func (m *Fact) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Fact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Fact.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Fact) XXX_Merge(src proto.Message) { + xxx_messageInfo_Fact.Merge(m, src) +} +func (m *Fact) XXX_Size() int { + return m.Size() +} +func (m *Fact) XXX_DiscardUnknown() { + xxx_messageInfo_Fact.DiscardUnknown(m) +} + +var xxx_messageInfo_Fact proto.InternalMessageInfo + +func (m *Fact) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Fact) GetDataLocation() *Location { + if m != nil { + return m.DataLocation + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Condition struct { + ConditionName string `protobuf:"bytes,1,opt,name=condition_name,json=conditionName,proto3" json:"condition_name,omitempty"` + Result *ExecutionResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` +} + +func (m *Condition) Reset() { *m = Condition{} } +func (m *Condition) String() string { return proto.CompactTextString(m) } +func (*Condition) ProtoMessage() {} +func (*Condition) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{3} +} +func (m *Condition) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Condition.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Condition) XXX_Merge(src proto.Message) { + xxx_messageInfo_Condition.Merge(m, src) +} +func (m *Condition) XXX_Size() int { + return m.Size() +} +func (m *Condition) XXX_DiscardUnknown() { + xxx_messageInfo_Condition.DiscardUnknown(m) +} + +var xxx_messageInfo_Condition proto.InternalMessageInfo + +func (m *Condition) GetConditionName() string { + if m != nil { + return m.ConditionName + } + return "" +} + +func (m *Condition) GetResult() *ExecutionResult { + if m != nil { + return m.Result + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Consideration struct { + ConsiderationName string `protobuf:"bytes,1,opt,name=consideration_name,json=considerationName,proto3" json:"consideration_name,omitempty"` + Inputs []*ProposedFact `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` + Result *ExecutionResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` +} + +func (m *Consideration) Reset() { *m = Consideration{} } +func (m *Consideration) String() string { return proto.CompactTextString(m) } +func (*Consideration) ProtoMessage() {} +func (*Consideration) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{4} +} +func (m *Consideration) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Consideration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Consideration.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Consideration) XXX_Merge(src proto.Message) { + xxx_messageInfo_Consideration.Merge(m, src) +} +func (m *Consideration) XXX_Size() int { + return m.Size() +} +func (m *Consideration) XXX_DiscardUnknown() { + xxx_messageInfo_Consideration.DiscardUnknown(m) +} + +var xxx_messageInfo_Consideration proto.InternalMessageInfo + +func (m *Consideration) GetConsiderationName() string { + if m != nil { + return m.ConsiderationName + } + return "" +} + +func (m *Consideration) GetInputs() []*ProposedFact { + if m != nil { + return m.Inputs + } + return nil +} + +func (m *Consideration) GetResult() *ExecutionResult { + if m != nil { + return m.Result + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type ProposedFact struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` + Classname string `protobuf:"bytes,3,opt,name=classname,proto3" json:"classname,omitempty"` + Ancestor *ProvenanceReference `protobuf:"bytes,4,opt,name=ancestor,proto3" json:"ancestor,omitempty"` +} + +func (m *ProposedFact) Reset() { *m = ProposedFact{} } +func (m *ProposedFact) String() string { return proto.CompactTextString(m) } +func (*ProposedFact) ProtoMessage() {} +func (*ProposedFact) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{5} +} +func (m *ProposedFact) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProposedFact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProposedFact.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProposedFact) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProposedFact.Merge(m, src) +} +func (m *ProposedFact) XXX_Size() int { + return m.Size() +} +func (m *ProposedFact) XXX_DiscardUnknown() { + xxx_messageInfo_ProposedFact.DiscardUnknown(m) +} + +var xxx_messageInfo_ProposedFact proto.InternalMessageInfo + +func (m *ProposedFact) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ProposedFact) GetHash() string { + if m != nil { + return m.Hash + } + return "" +} + +func (m *ProposedFact) GetClassname() string { + if m != nil { + return m.Classname + } + return "" +} + +func (m *ProposedFact) GetAncestor() *ProvenanceReference { + if m != nil { + return m.Ancestor + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type ExecutionResult struct { + Output *ProposedFact `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` + Result ExecutionResultType `protobuf:"varint,2,opt,name=result,proto3,enum=provenance.metadata.v1.p8e.ExecutionResultType" json:"result,omitempty"` + RecordedAt *Timestamp `protobuf:"bytes,3,opt,name=recorded_at,json=recordedAt,proto3" json:"recorded_at,omitempty"` + ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` +} + +func (m *ExecutionResult) Reset() { *m = ExecutionResult{} } +func (m *ExecutionResult) String() string { return proto.CompactTextString(m) } +func (*ExecutionResult) ProtoMessage() {} +func (*ExecutionResult) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{6} +} +func (m *ExecutionResult) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExecutionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExecutionResult.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExecutionResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExecutionResult.Merge(m, src) +} +func (m *ExecutionResult) XXX_Size() int { + return m.Size() +} +func (m *ExecutionResult) XXX_DiscardUnknown() { + xxx_messageInfo_ExecutionResult.DiscardUnknown(m) +} + +var xxx_messageInfo_ExecutionResult proto.InternalMessageInfo + +func (m *ExecutionResult) GetOutput() *ProposedFact { + if m != nil { + return m.Output + } + return nil +} + +func (m *ExecutionResult) GetResult() ExecutionResultType { + if m != nil { + return m.Result + } + return ExecutionResultType_RESULT_TYPE_UNKNOWN +} + +func (m *ExecutionResult) GetRecordedAt() *Timestamp { + if m != nil { + return m.RecordedAt + } + return nil +} + +func (m *ExecutionResult) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Recitals struct { + Parties []*Recital `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"` +} + +func (m *Recitals) Reset() { *m = Recitals{} } +func (m *Recitals) String() string { return proto.CompactTextString(m) } +func (*Recitals) ProtoMessage() {} +func (*Recitals) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{7} +} +func (m *Recitals) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Recitals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Recitals.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Recitals) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recitals.Merge(m, src) +} +func (m *Recitals) XXX_Size() int { + return m.Size() +} +func (m *Recitals) XXX_DiscardUnknown() { + xxx_messageInfo_Recitals.DiscardUnknown(m) +} + +var xxx_messageInfo_Recitals proto.InternalMessageInfo + +func (m *Recitals) GetParties() []*Recital { + if m != nil { + return m.Parties + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Recital struct { + SignerRole PartyType `protobuf:"varint,1,opt,name=signer_role,json=signerRole,proto3,enum=provenance.metadata.v1.p8e.PartyType" json:"signer_role,omitempty"` + Signer *SigningAndEncryptionPublicKeys `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` +} + +func (m *Recital) Reset() { *m = Recital{} } +func (m *Recital) String() string { return proto.CompactTextString(m) } +func (*Recital) ProtoMessage() {} +func (*Recital) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{8} +} +func (m *Recital) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Recital) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Recital.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Recital) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recital.Merge(m, src) +} +func (m *Recital) XXX_Size() int { + return m.Size() +} +func (m *Recital) XXX_DiscardUnknown() { + xxx_messageInfo_Recital.DiscardUnknown(m) +} + +var xxx_messageInfo_Recital proto.InternalMessageInfo + +func (m *Recital) GetSignerRole() PartyType { + if m != nil { + return m.SignerRole + } + return PartyType_PARTY_TYPE_UNKNOWN +} + +func (m *Recital) GetSigner() *SigningAndEncryptionPublicKeys { + if m != nil { + return m.Signer + } + return nil +} + +func (m *Recital) GetAddress() []byte { + if m != nil { + return m.Address + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Location struct { + Ref *ProvenanceReference `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` + Classname string `protobuf:"bytes,2,opt,name=classname,proto3" json:"classname,omitempty"` +} + +func (m *Location) Reset() { *m = Location{} } +func (m *Location) String() string { return proto.CompactTextString(m) } +func (*Location) ProtoMessage() {} +func (*Location) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{9} +} +func (m *Location) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Location.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Location) XXX_Merge(src proto.Message) { + xxx_messageInfo_Location.Merge(m, src) +} +func (m *Location) XXX_Size() int { + return m.Size() +} +func (m *Location) XXX_DiscardUnknown() { + xxx_messageInfo_Location.DiscardUnknown(m) +} + +var xxx_messageInfo_Location proto.InternalMessageInfo + +func (m *Location) GetRef() *ProvenanceReference { + if m != nil { + return m.Ref + } + return nil +} + +func (m *Location) GetClassname() string { + if m != nil { + return m.Classname + } + return "" +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type ProvenanceReference struct { + ScopeUuid *UUID `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty"` + GroupUuid *UUID `protobuf:"bytes,2,opt,name=group_uuid,json=groupUuid,proto3" json:"group_uuid,omitempty"` + Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (m *ProvenanceReference) Reset() { *m = ProvenanceReference{} } +func (m *ProvenanceReference) String() string { return proto.CompactTextString(m) } +func (*ProvenanceReference) ProtoMessage() {} +func (*ProvenanceReference) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{10} +} +func (m *ProvenanceReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProvenanceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProvenanceReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProvenanceReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProvenanceReference.Merge(m, src) +} +func (m *ProvenanceReference) XXX_Size() int { + return m.Size() +} +func (m *ProvenanceReference) XXX_DiscardUnknown() { + xxx_messageInfo_ProvenanceReference.DiscardUnknown(m) +} + +var xxx_messageInfo_ProvenanceReference proto.InternalMessageInfo + +func (m *ProvenanceReference) GetScopeUuid() *UUID { + if m != nil { + return m.ScopeUuid + } + return nil +} + +func (m *ProvenanceReference) GetGroupUuid() *UUID { + if m != nil { + return m.GroupUuid + } + return nil +} + +func (m *ProvenanceReference) GetHash() string { + if m != nil { + return m.Hash + } + return "" +} + +func (m *ProvenanceReference) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type SignatureSet struct { + Signatures []*Signature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` +} + +func (m *SignatureSet) Reset() { *m = SignatureSet{} } +func (m *SignatureSet) String() string { return proto.CompactTextString(m) } +func (*SignatureSet) ProtoMessage() {} +func (*SignatureSet) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{11} +} +func (m *SignatureSet) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignatureSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignatureSet.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignatureSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignatureSet.Merge(m, src) +} +func (m *SignatureSet) XXX_Size() int { + return m.Size() +} +func (m *SignatureSet) XXX_DiscardUnknown() { + xxx_messageInfo_SignatureSet.DiscardUnknown(m) +} + +var xxx_messageInfo_SignatureSet proto.InternalMessageInfo + +func (m *SignatureSet) GetSignatures() []*Signature { + if m != nil { + return m.Signatures + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Signature struct { + Algo string `protobuf:"bytes,1,opt,name=algo,proto3" json:"algo,omitempty"` + Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` + Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` + Signer *SigningAndEncryptionPublicKeys `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"` +} + +func (m *Signature) Reset() { *m = Signature{} } +func (m *Signature) String() string { return proto.CompactTextString(m) } +func (*Signature) ProtoMessage() {} +func (*Signature) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{12} +} +func (m *Signature) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Signature.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Signature) XXX_Merge(src proto.Message) { + xxx_messageInfo_Signature.Merge(m, src) +} +func (m *Signature) XXX_Size() int { + return m.Size() +} +func (m *Signature) XXX_DiscardUnknown() { + xxx_messageInfo_Signature.DiscardUnknown(m) +} + +var xxx_messageInfo_Signature proto.InternalMessageInfo + +func (m *Signature) GetAlgo() string { + if m != nil { + return m.Algo + } + return "" +} + +func (m *Signature) GetProvider() string { + if m != nil { + return m.Provider + } + return "" +} + +func (m *Signature) GetSignature() string { + if m != nil { + return m.Signature + } + return "" +} + +func (m *Signature) GetSigner() *SigningAndEncryptionPublicKeys { + if m != nil { + return m.Signer + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type SigningAndEncryptionPublicKeys struct { + SigningPublicKey *PublicKey `protobuf:"bytes,1,opt,name=signing_public_key,json=signingPublicKey,proto3" json:"signing_public_key,omitempty"` + EncryptionPublicKey *PublicKey `protobuf:"bytes,2,opt,name=encryption_public_key,json=encryptionPublicKey,proto3" json:"encryption_public_key,omitempty"` +} + +func (m *SigningAndEncryptionPublicKeys) Reset() { *m = SigningAndEncryptionPublicKeys{} } +func (m *SigningAndEncryptionPublicKeys) String() string { return proto.CompactTextString(m) } +func (*SigningAndEncryptionPublicKeys) ProtoMessage() {} +func (*SigningAndEncryptionPublicKeys) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{13} +} +func (m *SigningAndEncryptionPublicKeys) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SigningAndEncryptionPublicKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SigningAndEncryptionPublicKeys.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SigningAndEncryptionPublicKeys) XXX_Merge(src proto.Message) { + xxx_messageInfo_SigningAndEncryptionPublicKeys.Merge(m, src) +} +func (m *SigningAndEncryptionPublicKeys) XXX_Size() int { + return m.Size() +} +func (m *SigningAndEncryptionPublicKeys) XXX_DiscardUnknown() { + xxx_messageInfo_SigningAndEncryptionPublicKeys.DiscardUnknown(m) +} + +var xxx_messageInfo_SigningAndEncryptionPublicKeys proto.InternalMessageInfo + +func (m *SigningAndEncryptionPublicKeys) GetSigningPublicKey() *PublicKey { + if m != nil { + return m.SigningPublicKey + } + return nil +} + +func (m *SigningAndEncryptionPublicKeys) GetEncryptionPublicKey() *PublicKey { + if m != nil { + return m.EncryptionPublicKey + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type PublicKey struct { + PublicKeyBytes []byte `protobuf:"bytes,1,opt,name=public_key_bytes,json=publicKeyBytes,proto3" json:"public_key_bytes,omitempty"` + Type PublicKeyType `protobuf:"varint,2,opt,name=type,proto3,enum=provenance.metadata.v1.p8e.PublicKeyType" json:"type,omitempty"` + Curve PublicKeyCurve `protobuf:"varint,3,opt,name=curve,proto3,enum=provenance.metadata.v1.p8e.PublicKeyCurve" json:"curve,omitempty"` +} + +func (m *PublicKey) Reset() { *m = PublicKey{} } +func (m *PublicKey) String() string { return proto.CompactTextString(m) } +func (*PublicKey) ProtoMessage() {} +func (*PublicKey) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{14} +} +func (m *PublicKey) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PublicKey.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PublicKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublicKey.Merge(m, src) +} +func (m *PublicKey) XXX_Size() int { + return m.Size() +} +func (m *PublicKey) XXX_DiscardUnknown() { + xxx_messageInfo_PublicKey.DiscardUnknown(m) +} + +var xxx_messageInfo_PublicKey proto.InternalMessageInfo + +func (m *PublicKey) GetPublicKeyBytes() []byte { + if m != nil { + return m.PublicKeyBytes + } + return nil +} + +func (m *PublicKey) GetType() PublicKeyType { + if m != nil { + return m.Type + } + return PublicKeyType_ELLIPTIC +} + +func (m *PublicKey) GetCurve() PublicKeyCurve { + if m != nil { + return m.Curve + } + return PublicKeyCurve_SECP256K1 +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type UUID struct { + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *UUID) Reset() { *m = UUID{} } +func (m *UUID) String() string { return proto.CompactTextString(m) } +func (*UUID) ProtoMessage() {} +func (*UUID) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{15} +} +func (m *UUID) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UUID.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UUID) XXX_Merge(src proto.Message) { + xxx_messageInfo_UUID.Merge(m, src) +} +func (m *UUID) XXX_Size() int { + return m.Size() +} +func (m *UUID) XXX_DiscardUnknown() { + xxx_messageInfo_UUID.DiscardUnknown(m) +} + +var xxx_messageInfo_UUID proto.InternalMessageInfo + +func (m *UUID) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type Timestamp struct { + Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` +} + +func (m *Timestamp) Reset() { *m = Timestamp{} } +func (m *Timestamp) String() string { return proto.CompactTextString(m) } +func (*Timestamp) ProtoMessage() {} +func (*Timestamp) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{16} +} +func (m *Timestamp) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Timestamp.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Timestamp) XXX_Merge(src proto.Message) { + xxx_messageInfo_Timestamp.Merge(m, src) +} +func (m *Timestamp) XXX_Size() int { + return m.Size() +} +func (m *Timestamp) XXX_DiscardUnknown() { + xxx_messageInfo_Timestamp.DiscardUnknown(m) +} + +var xxx_messageInfo_Timestamp proto.InternalMessageInfo + +func (m *Timestamp) GetSeconds() int64 { + if m != nil { + return m.Seconds + } + return 0 +} + +func (m *Timestamp) GetNanos() int32 { + if m != nil { + return m.Nanos + } + return 0 +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type ContractSpec struct { + Definition *DefinitionSpec `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"` + InputSpecs []*DefinitionSpec `protobuf:"bytes,2,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` + PartiesInvolved []PartyType `protobuf:"varint,3,rep,packed,name=parties_involved,json=partiesInvolved,proto3,enum=provenance.metadata.v1.p8e.PartyType" json:"parties_involved,omitempty"` + ConditionSpecs []*ConditionSpec `protobuf:"bytes,4,rep,name=condition_specs,json=conditionSpecs,proto3" json:"condition_specs,omitempty"` + ConsiderationSpecs []*ConsiderationSpec `protobuf:"bytes,5,rep,name=consideration_specs,json=considerationSpecs,proto3" json:"consideration_specs,omitempty"` +} + +func (m *ContractSpec) Reset() { *m = ContractSpec{} } +func (m *ContractSpec) String() string { return proto.CompactTextString(m) } +func (*ContractSpec) ProtoMessage() {} +func (*ContractSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{17} +} +func (m *ContractSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContractSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContractSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContractSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContractSpec.Merge(m, src) +} +func (m *ContractSpec) XXX_Size() int { + return m.Size() +} +func (m *ContractSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ContractSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ContractSpec proto.InternalMessageInfo + +func (m *ContractSpec) GetDefinition() *DefinitionSpec { + if m != nil { + return m.Definition + } + return nil +} + +func (m *ContractSpec) GetInputSpecs() []*DefinitionSpec { + if m != nil { + return m.InputSpecs + } + return nil +} + +func (m *ContractSpec) GetPartiesInvolved() []PartyType { + if m != nil { + return m.PartiesInvolved + } + return nil +} + +func (m *ContractSpec) GetConditionSpecs() []*ConditionSpec { + if m != nil { + return m.ConditionSpecs + } + return nil +} + +func (m *ContractSpec) GetConsiderationSpecs() []*ConsiderationSpec { + if m != nil { + return m.ConsiderationSpecs + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type ConditionSpec struct { + FuncName string `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"` + InputSpecs []*DefinitionSpec `protobuf:"bytes,2,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` + OutputSpec *OutputSpec `protobuf:"bytes,3,opt,name=output_spec,json=outputSpec,proto3" json:"output_spec,omitempty"` +} + +func (m *ConditionSpec) Reset() { *m = ConditionSpec{} } +func (m *ConditionSpec) String() string { return proto.CompactTextString(m) } +func (*ConditionSpec) ProtoMessage() {} +func (*ConditionSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{18} +} +func (m *ConditionSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConditionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConditionSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConditionSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConditionSpec.Merge(m, src) +} +func (m *ConditionSpec) XXX_Size() int { + return m.Size() +} +func (m *ConditionSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ConditionSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ConditionSpec proto.InternalMessageInfo + +func (m *ConditionSpec) GetFuncName() string { + if m != nil { + return m.FuncName + } + return "" +} + +func (m *ConditionSpec) GetInputSpecs() []*DefinitionSpec { + if m != nil { + return m.InputSpecs + } + return nil +} + +func (m *ConditionSpec) GetOutputSpec() *OutputSpec { + if m != nil { + return m.OutputSpec + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type ConsiderationSpec struct { + FuncName string `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"` + ResponsibleParty PartyType `protobuf:"varint,2,opt,name=responsible_party,json=responsibleParty,proto3,enum=provenance.metadata.v1.p8e.PartyType" json:"responsible_party,omitempty"` + InputSpecs []*DefinitionSpec `protobuf:"bytes,3,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` + OutputSpec *OutputSpec `protobuf:"bytes,4,opt,name=output_spec,json=outputSpec,proto3" json:"output_spec,omitempty"` +} + +func (m *ConsiderationSpec) Reset() { *m = ConsiderationSpec{} } +func (m *ConsiderationSpec) String() string { return proto.CompactTextString(m) } +func (*ConsiderationSpec) ProtoMessage() {} +func (*ConsiderationSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{19} +} +func (m *ConsiderationSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConsiderationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConsiderationSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConsiderationSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConsiderationSpec.Merge(m, src) +} +func (m *ConsiderationSpec) XXX_Size() int { + return m.Size() +} +func (m *ConsiderationSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ConsiderationSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ConsiderationSpec proto.InternalMessageInfo + +func (m *ConsiderationSpec) GetFuncName() string { + if m != nil { + return m.FuncName + } + return "" +} + +func (m *ConsiderationSpec) GetResponsibleParty() PartyType { + if m != nil { + return m.ResponsibleParty + } + return PartyType_PARTY_TYPE_UNKNOWN +} + +func (m *ConsiderationSpec) GetInputSpecs() []*DefinitionSpec { + if m != nil { + return m.InputSpecs + } + return nil +} + +func (m *ConsiderationSpec) GetOutputSpec() *OutputSpec { + if m != nil { + return m.OutputSpec + } + return nil +} + +// Deprecated: Do not use. +// +// Deprecated: Do not use. +type OutputSpec struct { + Spec *DefinitionSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` +} + +func (m *OutputSpec) Reset() { *m = OutputSpec{} } +func (m *OutputSpec) String() string { return proto.CompactTextString(m) } +func (*OutputSpec) ProtoMessage() {} +func (*OutputSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_92e2ab9f03ad9d0c, []int{20} +} +func (m *OutputSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *OutputSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_OutputSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *OutputSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_OutputSpec.Merge(m, src) +} +func (m *OutputSpec) XXX_Size() int { + return m.Size() +} +func (m *OutputSpec) XXX_DiscardUnknown() { + xxx_messageInfo_OutputSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_OutputSpec proto.InternalMessageInfo + +func (m *OutputSpec) GetSpec() *DefinitionSpec { + if m != nil { + return m.Spec + } + return nil +} + +func init() { + proto.RegisterEnum("provenance.metadata.v1.p8e.DefinitionSpecType", DefinitionSpecType_name, DefinitionSpecType_value) + proto.RegisterEnum("provenance.metadata.v1.p8e.PublicKeyCurve", PublicKeyCurve_name, PublicKeyCurve_value) + proto.RegisterEnum("provenance.metadata.v1.p8e.PublicKeyType", PublicKeyType_name, PublicKeyType_value) + proto.RegisterEnum("provenance.metadata.v1.p8e.ExecutionResultType", ExecutionResultType_name, ExecutionResultType_value) + proto.RegisterEnum("provenance.metadata.v1.p8e.PartyType", PartyType_name, PartyType_value) + proto.RegisterType((*Contract)(nil), "provenance.metadata.v1.p8e.Contract") + proto.RegisterType((*DefinitionSpec)(nil), "provenance.metadata.v1.p8e.DefinitionSpec") + proto.RegisterType((*Fact)(nil), "provenance.metadata.v1.p8e.Fact") + proto.RegisterType((*Condition)(nil), "provenance.metadata.v1.p8e.Condition") + proto.RegisterType((*Consideration)(nil), "provenance.metadata.v1.p8e.Consideration") + proto.RegisterType((*ProposedFact)(nil), "provenance.metadata.v1.p8e.ProposedFact") + proto.RegisterType((*ExecutionResult)(nil), "provenance.metadata.v1.p8e.ExecutionResult") + proto.RegisterType((*Recitals)(nil), "provenance.metadata.v1.p8e.Recitals") + proto.RegisterType((*Recital)(nil), "provenance.metadata.v1.p8e.Recital") + proto.RegisterType((*Location)(nil), "provenance.metadata.v1.p8e.Location") + proto.RegisterType((*ProvenanceReference)(nil), "provenance.metadata.v1.p8e.ProvenanceReference") + proto.RegisterType((*SignatureSet)(nil), "provenance.metadata.v1.p8e.SignatureSet") + proto.RegisterType((*Signature)(nil), "provenance.metadata.v1.p8e.Signature") + proto.RegisterType((*SigningAndEncryptionPublicKeys)(nil), "provenance.metadata.v1.p8e.SigningAndEncryptionPublicKeys") + proto.RegisterType((*PublicKey)(nil), "provenance.metadata.v1.p8e.PublicKey") + proto.RegisterType((*UUID)(nil), "provenance.metadata.v1.p8e.UUID") + proto.RegisterType((*Timestamp)(nil), "provenance.metadata.v1.p8e.Timestamp") + proto.RegisterType((*ContractSpec)(nil), "provenance.metadata.v1.p8e.ContractSpec") + proto.RegisterType((*ConditionSpec)(nil), "provenance.metadata.v1.p8e.ConditionSpec") + proto.RegisterType((*ConsiderationSpec)(nil), "provenance.metadata.v1.p8e.ConsiderationSpec") + proto.RegisterType((*OutputSpec)(nil), "provenance.metadata.v1.p8e.OutputSpec") +} + +func init() { + proto.RegisterFile("provenance/metadata/v1/p8e/p8e.proto", fileDescriptor_92e2ab9f03ad9d0c) +} + +var fileDescriptor_92e2ab9f03ad9d0c = []byte{ + // 1655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4b, 0x6f, 0xdb, 0xc6, + 0x16, 0x36, 0x25, 0xd9, 0x16, 0x8f, 0x65, 0x85, 0x1e, 0x27, 0xf7, 0x32, 0xb9, 0x89, 0xa0, 0xbc, + 0x2e, 0x9c, 0x5c, 0x58, 0x46, 0x7c, 0x1f, 0x30, 0x02, 0xe4, 0x26, 0xb2, 0x4c, 0x07, 0xac, 0x65, + 0x89, 0x19, 0xca, 0x0e, 0xdc, 0x45, 0x09, 0x9a, 0x1a, 0x3b, 0x44, 0x64, 0x92, 0xe0, 0xc3, 0x88, + 0xd0, 0x6d, 0xd1, 0x5d, 0x81, 0xfe, 0x82, 0xa2, 0x9b, 0xfe, 0x80, 0x6e, 0x0b, 0x74, 0x55, 0xa0, + 0x68, 0x77, 0x59, 0x74, 0xd1, 0x65, 0x91, 0xfc, 0x91, 0x62, 0x86, 0x4f, 0x31, 0x0e, 0x23, 0x37, + 0x5e, 0x08, 0xe0, 0x9c, 0x39, 0xdf, 0x77, 0x1e, 0x73, 0xe6, 0xcc, 0x8c, 0xe0, 0x8e, 0xe3, 0xda, + 0xa7, 0xc4, 0xd2, 0x2d, 0x83, 0xac, 0x9d, 0x10, 0x5f, 0x1f, 0xea, 0xbe, 0xbe, 0x76, 0xfa, 0x60, + 0xcd, 0xd9, 0x20, 0xf4, 0xd7, 0x72, 0x5c, 0xdb, 0xb7, 0xd1, 0xb5, 0x54, 0xab, 0x15, 0x6b, 0xb5, + 0x4e, 0x1f, 0xb4, 0x9c, 0x0d, 0x72, 0xeb, 0xcb, 0x59, 0xa8, 0x76, 0x6c, 0xcb, 0x77, 0x75, 0xc3, + 0x47, 0x9f, 0x00, 0x0c, 0xc9, 0x91, 0x69, 0x99, 0xbe, 0x69, 0x5b, 0x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0x5a, 0xfc, 0x9a, + 0x60, 0x57, 0xb8, 0x8b, 0x7c, 0x51, 0xec, 0xc0, 0x02, 0x3b, 0xb9, 0x35, 0xfa, 0x52, 0x88, 0x8f, + 0xfd, 0x73, 0x91, 0x31, 0x38, 0xfd, 0xf4, 0x90, 0x02, 0x42, 0xd4, 0xbb, 0x35, 0xfa, 0x4a, 0x18, + 0x9d, 0x92, 0xa1, 0x58, 0x6e, 0x96, 0xa7, 0xef, 0xd2, 0x97, 0x22, 0xb8, 0x1c, 0xa1, 0x11, 0x86, + 0x4b, 0xe9, 0x0d, 0x2a, 0x74, 0xb1, 0x32, 0xd5, 0x05, 0x7f, 0x98, 0x7a, 0x98, 0xde, 0xc1, 0x42, + 0x2f, 0x3f, 0x83, 0xe5, 0xc9, 0x3b, 0x51, 0xc8, 0x1b, 0xbe, 0x43, 0x56, 0xa7, 0x7e, 0x38, 0x30, + 0xee, 0xc9, 0xdb, 0x15, 0xe3, 0x67, 0x6b, 0xf6, 0x73, 0x78, 0x13, 0x4b, 0xcd, 0xa2, 0x7f, 0x00, + 0x7f, 0x14, 0x58, 0x46, 0xf6, 0x02, 0x56, 0xa5, 0x82, 0x5e, 0x78, 0x2b, 0xb9, 0xc0, 0x55, 0x78, + 0x0a, 0x0b, 0xe1, 0x2d, 0x82, 0xb1, 0x45, 0x47, 0xfe, 0x3f, 0x8b, 0xc8, 0xfa, 0x4c, 0x3d, 0x24, + 0xb2, 0x93, 0x6f, 0x16, 0xc8, 0x37, 0x25, 0x58, 0x7a, 0x27, 0xec, 0xe2, 0x60, 0x30, 0x7b, 0x4d, + 0x38, 0x14, 0x74, 0x38, 0x22, 0x1a, 0x5d, 0xd2, 0x71, 0xb4, 0x49, 0xa7, 0x2c, 0x03, 0x21, 0x83, + 0x67, 0xd2, 0x7c, 0x82, 0xca, 0x17, 0x99, 0xa0, 0xca, 0x47, 0x25, 0x48, 0x01, 0x48, 0x67, 0xd1, + 0xff, 0xa3, 0x07, 0xfa, 0xf9,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, 0x35, + 0x67, 0x83, 0x1c, 0xce, 0xb1, 0x3f, 0xe0, 0xfe, 0xfd, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x48, + 0xb6, 0x14, 0x83, 0xa8, 0x13, 0x00, 0x00, +} + +func (m *Contract) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Contract) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Context) > 0 { + i -= len(m.Context) + copy(dAtA[i:], m.Context) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Context))) + i-- + dAtA[i] = 0x52 + } + if m.StartTime != nil { + { + size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.TimesExecuted != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.TimesExecuted)) + i-- + dAtA[i] = 0x40 + } + if len(m.Recitals) > 0 { + for iNdEx := len(m.Recitals) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Recitals[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } + if len(m.Considerations) > 0 { + for iNdEx := len(m.Considerations) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Considerations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if len(m.Inputs) > 0 { + for iNdEx := len(m.Inputs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Inputs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if m.Invoker != nil { + { + size, err := m.Invoker.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Definition != nil { + { + size, err := m.Definition.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DefinitionSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DefinitionSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DefinitionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Type != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x20 + } + if m.Signature != nil { + { + size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.ResourceLocation != nil { + { + size, err := m.ResourceLocation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Fact) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Fact) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Fact) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DataLocation != nil { + { + size, err := m.DataLocation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Condition) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Condition) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ConditionName) > 0 { + i -= len(m.ConditionName) + copy(dAtA[i:], m.ConditionName) + i = encodeVarintP8E(dAtA, i, uint64(len(m.ConditionName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Consideration) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Consideration) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Consideration) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Inputs) > 0 { + for iNdEx := len(m.Inputs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Inputs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.ConsiderationName) > 0 { + i -= len(m.ConsiderationName) + copy(dAtA[i:], m.ConsiderationName) + i = encodeVarintP8E(dAtA, i, uint64(len(m.ConsiderationName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ProposedFact) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProposedFact) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposedFact) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Ancestor != nil { + { + size, err := m.Ancestor.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Classname) > 0 { + i -= len(m.Classname) + copy(dAtA[i:], m.Classname) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Classname))) + i-- + dAtA[i] = 0x1a + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExecutionResult) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExecutionResult) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExecutionResult) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ErrorMessage) > 0 { + i -= len(m.ErrorMessage) + copy(dAtA[i:], m.ErrorMessage) + i = encodeVarintP8E(dAtA, i, uint64(len(m.ErrorMessage))) + i-- + dAtA[i] = 0x22 + } + if m.RecordedAt != nil { + { + size, err := m.RecordedAt.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Result != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.Result)) + i-- + dAtA[i] = 0x10 + } + if m.Output != nil { + { + size, err := m.Output.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Recitals) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Recitals) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recitals) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Parties) > 0 { + for iNdEx := len(m.Parties) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Parties[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Recital) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Recital) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recital) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x1a + } + if m.Signer != nil { + { + size, err := m.Signer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.SignerRole != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.SignerRole)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Location) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Location) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Classname) > 0 { + i -= len(m.Classname) + copy(dAtA[i:], m.Classname) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Classname))) + i-- + dAtA[i] = 0x12 + } + if m.Ref != nil { + { + size, err := m.Ref.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ProvenanceReference) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProvenanceReference) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProvenanceReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x22 + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0x1a + } + if m.GroupUuid != nil { + { + size, err := m.GroupUuid.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.ScopeUuid != nil { + { + size, err := m.ScopeUuid.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SignatureSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignatureSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignatureSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Signatures) > 0 { + for iNdEx := len(m.Signatures) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Signatures[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Signature) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Signature) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Signer != nil { + { + size, err := m.Signer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Signature) > 0 { + i -= len(m.Signature) + copy(dAtA[i:], m.Signature) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Signature))) + i-- + dAtA[i] = 0x1a + } + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0x12 + } + if len(m.Algo) > 0 { + i -= len(m.Algo) + copy(dAtA[i:], m.Algo) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Algo))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SigningAndEncryptionPublicKeys) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SigningAndEncryptionPublicKeys) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SigningAndEncryptionPublicKeys) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EncryptionPublicKey != nil { + { + size, err := m.EncryptionPublicKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.SigningPublicKey != nil { + { + size, err := m.SigningPublicKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PublicKey) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PublicKey) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Curve != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.Curve)) + i-- + dAtA[i] = 0x18 + } + if m.Type != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x10 + } + if len(m.PublicKeyBytes) > 0 { + i -= len(m.PublicKeyBytes) + copy(dAtA[i:], m.PublicKeyBytes) + i = encodeVarintP8E(dAtA, i, uint64(len(m.PublicKeyBytes))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UUID) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UUID) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UUID) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintP8E(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Timestamp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Nanos != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.Nanos)) + i-- + dAtA[i] = 0x10 + } + if m.Seconds != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.Seconds)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ContractSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContractSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContractSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ConsiderationSpecs) > 0 { + for iNdEx := len(m.ConsiderationSpecs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ConsiderationSpecs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if len(m.ConditionSpecs) > 0 { + for iNdEx := len(m.ConditionSpecs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ConditionSpecs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.PartiesInvolved) > 0 { + dAtA21 := make([]byte, len(m.PartiesInvolved)*10) + var j20 int + for _, num := range m.PartiesInvolved { + for num >= 1<<7 { + dAtA21[j20] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j20++ + } + dAtA21[j20] = uint8(num) + j20++ + } + i -= j20 + copy(dAtA[i:], dAtA21[:j20]) + i = encodeVarintP8E(dAtA, i, uint64(j20)) + i-- + dAtA[i] = 0x1a + } + if len(m.InputSpecs) > 0 { + for iNdEx := len(m.InputSpecs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.InputSpecs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Definition != nil { + { + size, err := m.Definition.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConditionSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConditionSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConditionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OutputSpec != nil { + { + size, err := m.OutputSpec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.InputSpecs) > 0 { + for iNdEx := len(m.InputSpecs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.InputSpecs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.FuncName) > 0 { + i -= len(m.FuncName) + copy(dAtA[i:], m.FuncName) + i = encodeVarintP8E(dAtA, i, uint64(len(m.FuncName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConsiderationSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConsiderationSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConsiderationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OutputSpec != nil { + { + size, err := m.OutputSpec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.InputSpecs) > 0 { + for iNdEx := len(m.InputSpecs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.InputSpecs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.ResponsibleParty != 0 { + i = encodeVarintP8E(dAtA, i, uint64(m.ResponsibleParty)) + i-- + dAtA[i] = 0x10 + } + if len(m.FuncName) > 0 { + i -= len(m.FuncName) + copy(dAtA[i:], m.FuncName) + i = encodeVarintP8E(dAtA, i, uint64(len(m.FuncName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *OutputSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *OutputSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *OutputSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintP8E(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintP8E(dAtA []byte, offset int, v uint64) int { + offset -= sovP8E(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Contract) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Definition != nil { + l = m.Definition.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.Invoker != nil { + l = m.Invoker.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if len(m.Inputs) > 0 { + for _, e := range m.Inputs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if len(m.Considerations) > 0 { + for _, e := range m.Considerations { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if len(m.Recitals) > 0 { + for _, e := range m.Recitals { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if m.TimesExecuted != 0 { + n += 1 + sovP8E(uint64(m.TimesExecuted)) + } + if m.StartTime != nil { + l = m.StartTime.Size() + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Context) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *DefinitionSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.ResourceLocation != nil { + l = m.ResourceLocation.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.Signature != nil { + l = m.Signature.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.Type != 0 { + n += 1 + sovP8E(uint64(m.Type)) + } + return n +} + +func (m *Fact) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.DataLocation != nil { + l = m.DataLocation.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *Condition) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ConditionName) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *Consideration) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ConsiderationName) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if len(m.Inputs) > 0 { + for _, e := range m.Inputs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *ProposedFact) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Hash) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Classname) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.Ancestor != nil { + l = m.Ancestor.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *ExecutionResult) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Output != nil { + l = m.Output.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.Result != 0 { + n += 1 + sovP8E(uint64(m.Result)) + } + if m.RecordedAt != nil { + l = m.RecordedAt.Size() + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.ErrorMessage) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *Recitals) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Parties) > 0 { + for _, e := range m.Parties { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + return n +} + +func (m *Recital) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SignerRole != 0 { + n += 1 + sovP8E(uint64(m.SignerRole)) + } + if m.Signer != nil { + l = m.Signer.Size() + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *Location) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ref != nil { + l = m.Ref.Size() + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Classname) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *ProvenanceReference) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScopeUuid != nil { + l = m.ScopeUuid.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.GroupUuid != nil { + l = m.GroupUuid.Size() + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Hash) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *SignatureSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Signatures) > 0 { + for _, e := range m.Signatures { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + return n +} + +func (m *Signature) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Algo) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Provider) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + l = len(m.Signature) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.Signer != nil { + l = m.Signer.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *SigningAndEncryptionPublicKeys) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SigningPublicKey != nil { + l = m.SigningPublicKey.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if m.EncryptionPublicKey != nil { + l = m.EncryptionPublicKey.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *PublicKey) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PublicKeyBytes) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.Type != 0 { + n += 1 + sovP8E(uint64(m.Type)) + } + if m.Curve != 0 { + n += 1 + sovP8E(uint64(m.Curve)) + } + return n +} + +func (m *UUID) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *Timestamp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Seconds != 0 { + n += 1 + sovP8E(uint64(m.Seconds)) + } + if m.Nanos != 0 { + n += 1 + sovP8E(uint64(m.Nanos)) + } + return n +} + +func (m *ContractSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Definition != nil { + l = m.Definition.Size() + n += 1 + l + sovP8E(uint64(l)) + } + if len(m.InputSpecs) > 0 { + for _, e := range m.InputSpecs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if len(m.PartiesInvolved) > 0 { + l = 0 + for _, e := range m.PartiesInvolved { + l += sovP8E(uint64(e)) + } + n += 1 + sovP8E(uint64(l)) + l + } + if len(m.ConditionSpecs) > 0 { + for _, e := range m.ConditionSpecs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if len(m.ConsiderationSpecs) > 0 { + for _, e := range m.ConsiderationSpecs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + return n +} + +func (m *ConditionSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FuncName) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if len(m.InputSpecs) > 0 { + for _, e := range m.InputSpecs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if m.OutputSpec != nil { + l = m.OutputSpec.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *ConsiderationSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FuncName) + if l > 0 { + n += 1 + l + sovP8E(uint64(l)) + } + if m.ResponsibleParty != 0 { + n += 1 + sovP8E(uint64(m.ResponsibleParty)) + } + if len(m.InputSpecs) > 0 { + for _, e := range m.InputSpecs { + l = e.Size() + n += 1 + l + sovP8E(uint64(l)) + } + } + if m.OutputSpec != nil { + l = m.OutputSpec.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func (m *OutputSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovP8E(uint64(l)) + } + return n +} + +func sovP8E(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozP8E(x uint64) (n int) { + return sovP8E(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Contract) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Contract: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Contract: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Definition", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Definition == nil { + m.Definition = &DefinitionSpec{} + } + if err := m.Definition.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &Fact{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Invoker", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Invoker == nil { + m.Invoker = &SigningAndEncryptionPublicKeys{} + } + if err := m.Invoker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inputs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inputs = append(m.Inputs, &Fact{}) + if err := m.Inputs[len(m.Inputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Conditions = append(m.Conditions, &Condition{}) + if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Considerations", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Considerations = append(m.Considerations, &Consideration{}) + if err := m.Considerations[len(m.Considerations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Recitals", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Recitals = append(m.Recitals, &Recital{}) + if err := m.Recitals[len(m.Recitals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimesExecuted", wireType) + } + m.TimesExecuted = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimesExecuted |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartTime == nil { + m.StartTime = &Timestamp{} + } + if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Context = append(m.Context[:0], dAtA[iNdEx:postIndex]...) + if m.Context == nil { + m.Context = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DefinitionSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DefinitionSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DefinitionSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceLocation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ResourceLocation == nil { + m.ResourceLocation = &Location{} + } + if err := m.ResourceLocation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signature == nil { + m.Signature = &Signature{} + } + if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= DefinitionSpecType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Fact) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Fact: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Fact: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataLocation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DataLocation == nil { + m.DataLocation = &Location{} + } + if err := m.DataLocation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Condition) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Condition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Condition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConditionName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConditionName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &ExecutionResult{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Consideration) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Consideration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Consideration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsiderationName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConsiderationName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inputs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inputs = append(m.Inputs, &ProposedFact{}) + if err := m.Inputs[len(m.Inputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &ExecutionResult{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposedFact) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProposedFact: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposedFact: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Classname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Classname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ancestor", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Ancestor == nil { + m.Ancestor = &ProvenanceReference{} + } + if err := m.Ancestor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExecutionResult) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExecutionResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExecutionResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Output == nil { + m.Output = &ProposedFact{} + } + if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + m.Result = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Result |= ExecutionResultType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RecordedAt", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RecordedAt == nil { + m.RecordedAt = &Timestamp{} + } + if err := m.RecordedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ErrorMessage = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Recitals) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Recitals: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Recitals: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parties", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Parties = append(m.Parties, &Recital{}) + if err := m.Parties[len(m.Parties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Recital) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Recital: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Recital: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SignerRole", wireType) + } + m.SignerRole = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SignerRole |= PartyType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signer == nil { + m.Signer = &SigningAndEncryptionPublicKeys{} + } + if err := m.Signer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = append(m.Address[:0], dAtA[iNdEx:postIndex]...) + if m.Address == nil { + m.Address = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Location) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Location: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Location: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Ref == nil { + m.Ref = &ProvenanceReference{} + } + if err := m.Ref.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Classname", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Classname = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProvenanceReference) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProvenanceReference: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProvenanceReference: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScopeUuid", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScopeUuid == nil { + m.ScopeUuid = &UUID{} + } + if err := m.ScopeUuid.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupUuid", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GroupUuid == nil { + m.GroupUuid = &UUID{} + } + if err := m.GroupUuid.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignatureSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignatureSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignatureSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signatures", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signatures = append(m.Signatures, &Signature{}) + if err := m.Signatures[len(m.Signatures)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Signature) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Signature: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Signature: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Algo", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Algo = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Provider = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signature = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signer == nil { + m.Signer = &SigningAndEncryptionPublicKeys{} + } + if err := m.Signer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SigningAndEncryptionPublicKeys) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SigningAndEncryptionPublicKeys: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SigningAndEncryptionPublicKeys: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SigningPublicKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SigningPublicKey == nil { + m.SigningPublicKey = &PublicKey{} + } + if err := m.SigningPublicKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EncryptionPublicKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.EncryptionPublicKey == nil { + m.EncryptionPublicKey = &PublicKey{} + } + if err := m.EncryptionPublicKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PublicKey) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PublicKey: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PublicKey: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PublicKeyBytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PublicKeyBytes = append(m.PublicKeyBytes[:0], dAtA[iNdEx:postIndex]...) + if m.PublicKeyBytes == nil { + m.PublicKeyBytes = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= PublicKeyType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Curve", wireType) + } + m.Curve = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Curve |= PublicKeyCurve(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UUID) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UUID: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UUID: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Timestamp) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Timestamp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType) + } + m.Seconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType) + } + m.Nanos = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nanos |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ContractSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContractSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContractSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Definition", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Definition == nil { + m.Definition = &DefinitionSpec{} + } + if err := m.Definition.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InputSpecs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InputSpecs = append(m.InputSpecs, &DefinitionSpec{}) + if err := m.InputSpecs[len(m.InputSpecs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType == 0 { + var v PartyType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= PartyType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PartiesInvolved = append(m.PartiesInvolved, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.PartiesInvolved) == 0 { + m.PartiesInvolved = make([]PartyType, 0, elementCount) + } + for iNdEx < postIndex { + var v PartyType + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= PartyType(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PartiesInvolved = append(m.PartiesInvolved, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PartiesInvolved", wireType) + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConditionSpecs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConditionSpecs = append(m.ConditionSpecs, &ConditionSpec{}) + if err := m.ConditionSpecs[len(m.ConditionSpecs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsiderationSpecs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConsiderationSpecs = append(m.ConsiderationSpecs, &ConsiderationSpec{}) + if err := m.ConsiderationSpecs[len(m.ConsiderationSpecs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConditionSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConditionSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConditionSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FuncName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FuncName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InputSpecs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InputSpecs = append(m.InputSpecs, &DefinitionSpec{}) + if err := m.InputSpecs[len(m.InputSpecs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutputSpec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutputSpec == nil { + m.OutputSpec = &OutputSpec{} + } + if err := m.OutputSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConsiderationSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConsiderationSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConsiderationSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FuncName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FuncName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ResponsibleParty", wireType) + } + m.ResponsibleParty = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ResponsibleParty |= PartyType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InputSpecs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InputSpecs = append(m.InputSpecs, &DefinitionSpec{}) + if err := m.InputSpecs[len(m.InputSpecs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutputSpec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutputSpec == nil { + m.OutputSpec = &OutputSpec{} + } + if err := m.OutputSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *OutputSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: OutputSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: OutputSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowP8E + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthP8E + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthP8E + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &DefinitionSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipP8E(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthP8E + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipP8E(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowP8E + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowP8E + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowP8E + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthP8E + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupP8E + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthP8E + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthP8E = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowP8E = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupP8E = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/metadata/types/tx.pb.go b/x/metadata/types/tx.pb.go index cc65f4105d..34fc27572f 100644 --- a/x/metadata/types/tx.pb.go +++ b/x/metadata/types/tx.pb.go @@ -9,6 +9,7 @@ import ( _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + p8e "github.com/provenance-io/provenance/x/metadata/types/p8e" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -1836,6 +1837,180 @@ func (m *MsgModifyOSLocatorResponse) GetLocator() ObjectStoreLocator { return ObjectStoreLocator{} } +// MsgWriteP8eContractSpecRequest has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +// +// Deprecated: Do not use. +type MsgWriteP8EContractSpecRequest struct { + Contractspec p8e.ContractSpec `protobuf:"bytes,1,opt,name=contractspec,proto3" json:"contractspec"` + Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` +} + +func (m *MsgWriteP8EContractSpecRequest) Reset() { *m = MsgWriteP8EContractSpecRequest{} } +func (m *MsgWriteP8EContractSpecRequest) String() string { return proto.CompactTextString(m) } +func (*MsgWriteP8EContractSpecRequest) ProtoMessage() {} +func (*MsgWriteP8EContractSpecRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3a3a0892f91e3036, []int{41} +} +func (m *MsgWriteP8EContractSpecRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgWriteP8EContractSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgWriteP8EContractSpecRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgWriteP8EContractSpecRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgWriteP8EContractSpecRequest.Merge(m, src) +} +func (m *MsgWriteP8EContractSpecRequest) XXX_Size() int { + return m.Size() +} +func (m *MsgWriteP8EContractSpecRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MsgWriteP8EContractSpecRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgWriteP8EContractSpecRequest proto.InternalMessageInfo + +// MsgWriteP8eContractSpecResponse has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +// +// Deprecated: Do not use. +type MsgWriteP8EContractSpecResponse struct { + ContractSpecIdInfo *ContractSpecIdInfo `protobuf:"bytes,1,opt,name=contract_spec_id_info,json=contractSpecIdInfo,proto3" json:"contract_spec_id_info,omitempty" yaml:"contract_spec_id_info"` + RecordSpecIdInfos []*RecordSpecIdInfo `protobuf:"bytes,2,rep,name=record_spec_id_infos,json=recordSpecIdInfos,proto3" json:"record_spec_id_infos,omitempty" yaml:"record_spec_id_infos"` +} + +func (m *MsgWriteP8EContractSpecResponse) Reset() { *m = MsgWriteP8EContractSpecResponse{} } +func (m *MsgWriteP8EContractSpecResponse) String() string { return proto.CompactTextString(m) } +func (*MsgWriteP8EContractSpecResponse) ProtoMessage() {} +func (*MsgWriteP8EContractSpecResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3a3a0892f91e3036, []int{42} +} +func (m *MsgWriteP8EContractSpecResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgWriteP8EContractSpecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgWriteP8EContractSpecResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgWriteP8EContractSpecResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgWriteP8EContractSpecResponse.Merge(m, src) +} +func (m *MsgWriteP8EContractSpecResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgWriteP8EContractSpecResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgWriteP8EContractSpecResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgWriteP8EContractSpecResponse proto.InternalMessageInfo + +// MsgP8eMemorializeContractRequest has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +// +// Deprecated: Do not use. +type MsgP8EMemorializeContractRequest struct { + ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"` + GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ScopeSpecificationId string `protobuf:"bytes,3,opt,name=scope_specification_id,json=scopeSpecificationId,proto3" json:"scope_specification_id,omitempty"` + Recitals *p8e.Recitals `protobuf:"bytes,4,opt,name=recitals,proto3" json:"recitals,omitempty"` + Contract *p8e.Contract `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"` + Signatures *p8e.SignatureSet `protobuf:"bytes,6,opt,name=signatures,proto3" json:"signatures,omitempty"` + Invoker string `protobuf:"bytes,7,opt,name=invoker,proto3" json:"invoker,omitempty"` +} + +func (m *MsgP8EMemorializeContractRequest) Reset() { *m = MsgP8EMemorializeContractRequest{} } +func (m *MsgP8EMemorializeContractRequest) String() string { return proto.CompactTextString(m) } +func (*MsgP8EMemorializeContractRequest) ProtoMessage() {} +func (*MsgP8EMemorializeContractRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3a3a0892f91e3036, []int{43} +} +func (m *MsgP8EMemorializeContractRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgP8EMemorializeContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgP8EMemorializeContractRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgP8EMemorializeContractRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgP8EMemorializeContractRequest.Merge(m, src) +} +func (m *MsgP8EMemorializeContractRequest) XXX_Size() int { + return m.Size() +} +func (m *MsgP8EMemorializeContractRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MsgP8EMemorializeContractRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgP8EMemorializeContractRequest proto.InternalMessageInfo + +// MsgP8eMemorializeContractResponse has been deprecated and is no longer usable. +// Deprecated: This message is no longer part of any endpoint and cannot be used for anything. +// +// Deprecated: Do not use. +type MsgP8EMemorializeContractResponse struct { + ScopeIdInfo *ScopeIdInfo `protobuf:"bytes,1,opt,name=scope_id_info,json=scopeIdInfo,proto3" json:"scope_id_info,omitempty" yaml:"scope_id_info"` + SessionIdInfo *SessionIdInfo `protobuf:"bytes,2,opt,name=session_id_info,json=sessionIdInfo,proto3" json:"session_id_info,omitempty" yaml:"session_id_info"` + RecordIdInfos []*RecordIdInfo `protobuf:"bytes,3,rep,name=record_id_infos,json=recordIdInfos,proto3" json:"record_id_infos,omitempty" yaml:"record_id_infos"` +} + +func (m *MsgP8EMemorializeContractResponse) Reset() { *m = MsgP8EMemorializeContractResponse{} } +func (m *MsgP8EMemorializeContractResponse) String() string { return proto.CompactTextString(m) } +func (*MsgP8EMemorializeContractResponse) ProtoMessage() {} +func (*MsgP8EMemorializeContractResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3a3a0892f91e3036, []int{44} +} +func (m *MsgP8EMemorializeContractResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgP8EMemorializeContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgP8EMemorializeContractResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgP8EMemorializeContractResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgP8EMemorializeContractResponse.Merge(m, src) +} +func (m *MsgP8EMemorializeContractResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgP8EMemorializeContractResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgP8EMemorializeContractResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgP8EMemorializeContractResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgWriteScopeRequest)(nil), "provenance.metadata.v1.MsgWriteScopeRequest") proto.RegisterType((*MsgWriteScopeResponse)(nil), "provenance.metadata.v1.MsgWriteScopeResponse") @@ -1878,121 +2053,142 @@ func init() { proto.RegisterType((*MsgDeleteOSLocatorResponse)(nil), "provenance.metadata.v1.MsgDeleteOSLocatorResponse") proto.RegisterType((*MsgModifyOSLocatorRequest)(nil), "provenance.metadata.v1.MsgModifyOSLocatorRequest") proto.RegisterType((*MsgModifyOSLocatorResponse)(nil), "provenance.metadata.v1.MsgModifyOSLocatorResponse") + proto.RegisterType((*MsgWriteP8EContractSpecRequest)(nil), "provenance.metadata.v1.MsgWriteP8eContractSpecRequest") + proto.RegisterType((*MsgWriteP8EContractSpecResponse)(nil), "provenance.metadata.v1.MsgWriteP8eContractSpecResponse") + proto.RegisterType((*MsgP8EMemorializeContractRequest)(nil), "provenance.metadata.v1.MsgP8eMemorializeContractRequest") + proto.RegisterType((*MsgP8EMemorializeContractResponse)(nil), "provenance.metadata.v1.MsgP8eMemorializeContractResponse") } func init() { proto.RegisterFile("provenance/metadata/v1/tx.proto", fileDescriptor_3a3a0892f91e3036) } var fileDescriptor_3a3a0892f91e3036 = []byte{ - // 1733 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xdd, 0x6f, 0x14, 0x55, - 0x14, 0xef, 0x6d, 0x81, 0xb6, 0xa7, 0xad, 0x2d, 0xb7, 0x5f, 0xdb, 0x81, 0xee, 0xd4, 0x81, 0x42, - 0x29, 0xb0, 0x6b, 0x0b, 0x8a, 0x14, 0xd0, 0x74, 0x41, 0x43, 0x95, 0x06, 0x32, 0x55, 0x89, 0x26, - 0xa6, 0x59, 0x66, 0xa6, 0x65, 0xb4, 0x9d, 0xbb, 0xcc, 0x4c, 0x81, 0xea, 0x03, 0x21, 0x31, 0xc6, - 0x90, 0x98, 0x90, 0x98, 0x18, 0x49, 0x8c, 0xe1, 0x91, 0xc4, 0x8f, 0x47, 0xe3, 0x5f, 0x60, 0xf0, - 0x8d, 0x17, 0x8d, 0x31, 0x66, 0x63, 0xca, 0x8b, 0xcf, 0xfb, 0x17, 0x98, 0x99, 0xb9, 0xb3, 0x73, - 0xef, 0xce, 0x67, 0xb7, 0xb5, 0xc1, 0xc4, 0xb7, 0x9d, 0x99, 0xf3, 0xf5, 0x3b, 0xf7, 0x77, 0xcf, - 0x39, 0xf7, 0x66, 0x41, 0xac, 0x98, 0xe4, 0xa6, 0x66, 0x94, 0x0d, 0x45, 0x2b, 0xae, 0x6a, 0x76, - 0x59, 0x2d, 0xdb, 0xe5, 0xe2, 0xcd, 0xa9, 0xa2, 0x7d, 0xbb, 0x50, 0x31, 0x89, 0x4d, 0xf0, 0x50, - 0x20, 0x50, 0xf0, 0x05, 0x0a, 0x37, 0xa7, 0x84, 0x81, 0x65, 0xb2, 0x4c, 0x5c, 0x91, 0xa2, 0xf3, - 0xcb, 0x93, 0x16, 0xc6, 0x63, 0xcc, 0xd5, 0x35, 0x3d, 0xb1, 0x89, 0x18, 0x31, 0x72, 0xed, 0x03, - 0x4d, 0xb1, 0x2d, 0x9b, 0x98, 0x1a, 0x95, 0x94, 0x62, 0x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c0, - 0x89, 0x9e, 0x63, 0x06, 0xd8, 0xd2, 0x87, 0x8f, 0x37, 0xf2, 0xe8, 0xc9, 0x46, 0x1e, 0xfd, 0xb5, - 0x91, 0x47, 0xf7, 0x9f, 0xe6, 0x5b, 0x9e, 0x3c, 0xcd, 0xb7, 0xfc, 0xfe, 0x34, 0xdf, 0x02, 0x23, - 0x3a, 0x89, 0xb1, 0x77, 0x05, 0xbd, 0x77, 0x72, 0x59, 0xb7, 0xaf, 0xaf, 0x5d, 0x2b, 0x28, 0x64, - 0xb5, 0x18, 0x08, 0x1d, 0xd7, 0x09, 0xf3, 0x54, 0xbc, 0x1d, 0xfc, 0xa3, 0xc4, 0x5e, 0xaf, 0x68, - 0xd6, 0xb5, 0x3d, 0xee, 0xff, 0x48, 0x4e, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x23, 0x77, - 0x0b, 0x39, 0x23, 0x00, 0x00, + // 2001 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xdd, 0x6f, 0x1c, 0x57, + 0x15, 0xf7, 0x5d, 0x37, 0xb6, 0xf7, 0xd8, 0xc6, 0xce, 0x8d, 0x3f, 0x76, 0x27, 0xcd, 0x8e, 0x99, + 0x26, 0xad, 0xeb, 0x34, 0xbb, 0xc4, 0x0d, 0xd4, 0x75, 0x13, 0x20, 0xdb, 0x82, 0x62, 0xa8, 0x95, + 0x68, 0x0c, 0x54, 0x20, 0xa1, 0x68, 0xb2, 0x73, 0xbd, 0x1e, 0x6a, 0xcf, 0xdd, 0xce, 0x8c, 0x9d, + 0x38, 0x3c, 0x54, 0x95, 0x10, 0x42, 0x95, 0x90, 0x2a, 0x21, 0x55, 0x54, 0x42, 0x28, 0x4f, 0x28, + 0x12, 0x1f, 0x8f, 0x88, 0xbf, 0x00, 0x95, 0xb7, 0xbc, 0x80, 0x10, 0x42, 0x2b, 0x64, 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0x7a, 0xa6, 0xe7, 0x94, 0x9b, + 0x76, 0xf3, 0xfd, 0xcf, 0x0f, 0x6a, 0xe8, 0xd9, 0x41, 0x0d, 0xfd, 0xeb, 0xa0, 0x86, 0x3e, 0x39, + 0xac, 0x0d, 0x3d, 0x3b, 0xac, 0x0d, 0xfd, 0xfd, 0xb0, 0x36, 0x04, 0x55, 0x83, 0xa6, 0xd8, 0xbb, + 0x87, 0x7e, 0x70, 0xa3, 0x6d, 0x38, 0x5b, 0xbb, 0x0f, 0xea, 0x2d, 0xba, 0xd3, 0x88, 0x84, 0xae, + 0x19, 0x94, 0x7b, 0x6a, 0x3c, 0x8a, 0xfe, 0xf4, 0xcd, 0xd9, 0xef, 0x10, 0xfb, 0xc1, 0x88, 0xf7, + 0x07, 0x6f, 0xaf, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x4d, 0xea, 0xbf, 0x08, 0x28, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4389,125 +4585,364 @@ func (m *MsgModifyOSLocatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MsgWriteScopeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Scope.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.Signers) > 0 { - for _, s := range m.Signers { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } - } - l = len(m.ScopeUuid) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SpecUuid) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgWriteP8EContractSpecRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgWriteScopeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ScopeIdInfo != nil { - l = m.ScopeIdInfo.Size() - n += 1 + l + sovTx(uint64(l)) - } - return n +func (m *MsgWriteP8EContractSpecRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgDeleteScopeRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgWriteP8EContractSpecRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.ScopeId.Size() - n += 1 + l + sovTx(uint64(l)) if len(m.Signers) > 0 { - for _, s := range m.Signers { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + for iNdEx := len(m.Signers) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Signers[iNdEx]) + copy(dAtA[i:], m.Signers[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signers[iNdEx]))) + i-- + dAtA[i] = 0x12 } } - return n + { + size, err := m.Contractspec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *MsgDeleteScopeResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgWriteP8EContractSpecResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgAddScopeDataAccessRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgWriteP8EContractSpecResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgWriteP8EContractSpecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.ScopeId.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.DataAccess) > 0 { - for _, s := range m.DataAccess { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + if len(m.RecordSpecIdInfos) > 0 { + for iNdEx := len(m.RecordSpecIdInfos) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.RecordSpecIdInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } } - if len(m.Signers) > 0 { - for _, s := range m.Signers { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + if m.ContractSpecIdInfo != nil { + { + size, err := m.ContractSpecIdInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgAddScopeDataAccessResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgP8EMemorializeContractRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgDeleteScopeDataAccessRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgP8EMemorializeContractRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgP8EMemorializeContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.ScopeId.Size() - n += 1 + l + sovTx(uint64(l)) - if len(m.DataAccess) > 0 { - for _, s := range m.DataAccess { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + if len(m.Invoker) > 0 { + i -= len(m.Invoker) + copy(dAtA[i:], m.Invoker) + i = encodeVarintTx(dAtA, i, uint64(len(m.Invoker))) + i-- + dAtA[i] = 0x3a + } + if m.Signatures != nil { + { + size, err := m.Signatures.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Contract != nil { + { + size, err := m.Contract.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Recitals != nil { + { + size, err := m.Recitals.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.ScopeSpecificationId) > 0 { + i -= len(m.ScopeSpecificationId) + copy(dAtA[i:], m.ScopeSpecificationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ScopeSpecificationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GroupId) > 0 { + i -= len(m.GroupId) + copy(dAtA[i:], m.GroupId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GroupId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ScopeId) > 0 { + i -= len(m.ScopeId) + copy(dAtA[i:], m.ScopeId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ScopeId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgP8EMemorializeContractResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgP8EMemorializeContractResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgP8EMemorializeContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.RecordIdInfos) > 0 { + for iNdEx := len(m.RecordIdInfos) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.RecordIdInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.SessionIdInfo != nil { + { + size, err := m.SessionIdInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.ScopeIdInfo != nil { + { + size, err := m.ScopeIdInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgWriteScopeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Scope.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.Signers) > 0 { + for _, s := range m.Signers { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.ScopeUuid) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.SpecUuid) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgWriteScopeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScopeIdInfo != nil { + l = m.ScopeIdInfo.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgDeleteScopeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.ScopeId.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.Signers) > 0 { + for _, s := range m.Signers { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgDeleteScopeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgAddScopeDataAccessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.ScopeId.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.DataAccess) > 0 { + for _, s := range m.DataAccess { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.Signers) > 0 { + for _, s := range m.Signers { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgAddScopeDataAccessResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgDeleteScopeDataAccessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.ScopeId.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.DataAccess) > 0 { + for _, s := range m.DataAccess { + l = len(s) + n += 1 + l + sovTx(uint64(l)) } } if len(m.Signers) > 0 { @@ -5038,34 +5473,130 @@ func (m *MsgModifyOSLocatorResponse) Size() (n int) { return n } -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func (m *MsgWriteP8EContractSpecRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Contractspec.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.Signers) > 0 { + for _, s := range m.Signers { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n } -func (m *MsgWriteScopeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + +func (m *MsgWriteP8EContractSpecResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ContractSpecIdInfo != nil { + l = m.ContractSpecIdInfo.Size() + n += 1 + l + sovTx(uint64(l)) + } + if len(m.RecordSpecIdInfos) > 0 { + for _, e := range m.RecordSpecIdInfos { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) + } + return n +} + +func (m *MsgP8EMemorializeContractRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ScopeId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GroupId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ScopeSpecificationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Recitals != nil { + l = m.Recitals.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.Contract != nil { + l = m.Contract.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.Signatures != nil { + l = m.Signatures.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Invoker) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgP8EMemorializeContractResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScopeIdInfo != nil { + l = m.ScopeIdInfo.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.SessionIdInfo != nil { + l = m.SessionIdInfo.Size() + n += 1 + l + sovTx(uint64(l)) + } + if len(m.RecordIdInfos) > 0 { + for _, e := range m.RecordIdInfos { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgWriteScopeRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MsgWriteScopeRequest: wiretype end group for non-group") } @@ -9235,6 +9766,683 @@ func (m *MsgModifyOSLocatorResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgWriteP8EContractSpecRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgWriteP8eContractSpecRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgWriteP8eContractSpecRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contractspec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Contractspec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signers", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signers = append(m.Signers, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgWriteP8EContractSpecResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgWriteP8eContractSpecResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgWriteP8eContractSpecResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractSpecIdInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ContractSpecIdInfo == nil { + m.ContractSpecIdInfo = &ContractSpecIdInfo{} + } + if err := m.ContractSpecIdInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RecordSpecIdInfos", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RecordSpecIdInfos = append(m.RecordSpecIdInfos, &RecordSpecIdInfo{}) + if err := m.RecordSpecIdInfos[len(m.RecordSpecIdInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgP8EMemorializeContractRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgP8eMemorializeContractRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgP8eMemorializeContractRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScopeId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ScopeId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScopeSpecificationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ScopeSpecificationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Recitals", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Recitals == nil { + m.Recitals = &p8e.Recitals{} + } + if err := m.Recitals.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Contract == nil { + m.Contract = &p8e.Contract{} + } + if err := m.Contract.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signatures", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signatures == nil { + m.Signatures = &p8e.SignatureSet{} + } + if err := m.Signatures.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Invoker", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Invoker = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgP8EMemorializeContractResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgP8eMemorializeContractResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgP8eMemorializeContractResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScopeIdInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScopeIdInfo == nil { + m.ScopeIdInfo = &ScopeIdInfo{} + } + if err := m.ScopeIdInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionIdInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SessionIdInfo == nil { + m.SessionIdInfo = &SessionIdInfo{} + } + if err := m.SessionIdInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RecordIdInfos", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RecordIdInfos = append(m.RecordIdInfos, &RecordIdInfo{}) + if err := m.RecordIdInfos[len(m.RecordIdInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0