Skip to content

Commit

Permalink
Merging release version change (2.8.0) and documentation from Develop…
Browse files Browse the repository at this point in the history
… to Main (#1622)

* moved keys from topic and token to vault

Signed-off-by: artembuslaev <[email protected]>

* Create readme.md

Policy for cynk.io

* fix

Signed-off-by: artembuslaev <[email protected]>

* update topic keys

Signed-off-by: artembuslaev <[email protected]>

* Added Agricultural soils of Western Australia MRV

Signed-off-by: Matt Smithies <[email protected]>

* Update artifacts readme

Signed-off-by: Matt Smithies <[email protected]>

* Add Rothc MRV

Signed-off-by: Matt Smithies <[email protected]>

* Update DOVU readme

Signed-off-by: Matt Smithies <[email protected]>

* Add MIMICS MRV

Signed-off-by: Matt Smithies <[email protected]>

* Add GHG MRV

Signed-off-by: Matt Smithies <[email protected]>

* Updated number of MRVs from DOVU

Signed-off-by: Matt Smithies <[email protected]>

* using custom context url in vcs

Signed-off-by: artembuslaev <[email protected]>

* Updated Demo Artifacts ReadMe

* Create README.md

* added policy + process overview

Signed-off-by: Gerhard Seuchter <[email protected]>

* changed cynk io folder

Signed-off-by: artembuslaev <[email protected]>

* GitBook: [#201] Policy created token

* GitBook: [#202] create token using UI

* fixing moving block issues in policy configuration

Signed-off-by: artembuslaev <[email protected]>

* Create README.md

* Tolam Earth Policy

* Delete README.md

* added readme, small fixed in policy

Signed-off-by: Gerhard Seuchter <[email protected]>

* add events

* added get file from ipfs endpoint

Signed-off-by: artembuslaev <[email protected]>

* exclude ipfs-client from required services

Signed-off-by: artembuslaev <[email protected]>

* fixed editing for ipfs key setting

Signed-off-by: artembuslaev <[email protected]>

* added spinner for loading remote enum values in schema form

Signed-off-by: artembuslaev <[email protected]>

* fix error handling

Signed-off-by: simvalery <[email protected]>

* update settings in worker

Signed-off-by: artembuslaev <[email protected]>

* Create README.md

* Delete Demo Artifacts/GHG Methodology/GHG Scope II directory

* Updated ReadMe

* fix after merge

Signed-off-by: simvalery <[email protected]>

* fix typo

Signed-off-by: simvalery <[email protected]>

* #1476

* fix

* fix freeze token

* update api

* update error message

* fix migrations

* fix migrations

* fix error message

* fix

* disabled  external event

* fix

* update test

* fix save keys

Signed-off-by: Stepan Kiryakov <[email protected]>

* added move actions to policy configuration

Signed-off-by: artembuslaev <[email protected]>

* #1506 fixed work with strings

Signed-off-by: Stepan Kiryakov <[email protected]>

* update draw events

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix move action displaying in dryrun/publish status

Signed-off-by: artembuslaev <[email protected]>

* fix dry run

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix import keys from DB

Signed-off-by: simvalery <[email protected]>

* fix import keys from DB

Signed-off-by: simvalery <[email protected]>

* #1505

* add doc

* Updated iREC ReadMe

* Updated iREC ReadMe

* always use mongodb version 6

Signed-off-by: simvalery <[email protected]>

* replace ipfs url

Signed-off-by: artembuslaev <[email protected]>

* fix migrations, code version in schema message

Signed-off-by: artembuslaev <[email protected]>

* fix dry run

* fix duration type validation

Signed-off-by: artembuslaev <[email protected]>

* fix schema migrations

Signed-off-by: artembuslaev <[email protected]>

* fix restored vcs validation

Signed-off-by: artembuslaev <[email protected]>

* update external events

* fix

* add event

* disabled chance policyId in schemas

* update env docker files

Signed-off-by: artembuslaev <[email protected]>

* #1508

* fix

* GitBook: [#204] Restoring from DB and Hashicorp vault

* GitBook: [#205] updated ipfs url in schema type

* GitBook: [#206] added iREC 5 demo

* GitBook: [#208] iREC 7 UI Demo

* update block actions visibility

Signed-off-by: artembuslaev <[email protected]>

* updating package versions

Signed-off-by: artembuslaev <[email protected]>

* #228

Signed-off-by: Stepan Kiryakov <[email protected]>

* GitBook: [#209] Updated high res image of splitting logic

* update topic tonfig

* preset readonly fields validation

Signed-off-by: artembuslaev <[email protected]>

* publishing utility services

Signed-off-by: artembuslaev <[email protected]>

* added api-docs service

Signed-off-by: artembuslaev <[email protected]>

* add message

* Bump engine.io and socket.io in /frontend

Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.3 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](socketio/engine.io@6.1.3...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](socketio/socket.io@4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* add messages

* fix unexciting did

Signed-off-by: simvalery <[email protected]>

* remove console.log

Signed-off-by: simvalery <[email protected]>

* fix unexisting vc

Signed-off-by: simvalery <[email protected]>

* fixed displaying demo account in development

Signed-off-by: artembuslaev <[email protected]>

* fix user topic restore

Signed-off-by: simvalery <[email protected]>

* fix lint

Signed-off-by: simvalery <[email protected]>

* add job

* restore topic keys

Signed-off-by: simvalery <[email protected]>

* restore tokens

Signed-off-by: simvalery <[email protected]>

* GitBook: [#210] rearranging the pages

* GitBook: [#211] creating token using UI

* Updated Timestamp of Remote Workflow Policy

* add user topic select

Signed-off-by: simvalery <[email protected]>

* fix lint

Signed-off-by: simvalery <[email protected]>

* fix validation

Signed-off-by: simvalery <[email protected]>

* fix lint

Signed-off-by: simvalery <[email protected]>

* fix validation

Signed-off-by: simvalery <[email protected]>

* update messages

* update

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix typo

Signed-off-by: simvalery <[email protected]>

* tmp

Signed-off-by: simvalery <[email protected]>

* implement local ipfs node
remove ipfs client

Signed-off-by: simvalery <[email protected]>

* update moment.js version

Signed-off-by: simvalery <[email protected]>

* update message format

* fix readonly fields in request block

Signed-off-by: artembuslaev <[email protected]>

* fix

* fix

* update log

* fix readonly fields
fix save topic keys

* fix lint

* GitBook: [#212] added description to token parameters

* fix save key

* fix

* update swagger

* bump version

Signed-off-by: simvalery <[email protected]>

* aggregate documents by custom fields

Signed-off-by: artembuslaev <[email protected]>

* update Dovu policy (fix schemas)

* update validation errors

Signed-off-by: Stepan Kiryakov <[email protected]>

* update validation errors

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* GitBook: [#213] Added GroupByFields property in aggregateBlock

* GitBook: [#214] Setting up local IPFS Node

* Setting Local IPFS node updated in ReadMe

* GitBook: [#215] Added Multi Policy APIs

* update Dovu policy (fix schemas)

* update validation errors

Signed-off-by: Stepan Kiryakov <[email protected]>

* update validation errors

Signed-off-by: Stepan Kiryakov <[email protected]>

* fix

Signed-off-by: Stepan Kiryakov <[email protected]>

* GitBook: [#213] Added GroupByFields property in aggregateBlock

* GitBook: [#214] Setting up local IPFS Node

* Setting Local IPFS node updated in ReadMe

* GitBook: [#215] Added Multi Policy APIs

* MBP projects

* bump version

Signed-off-by: simvalery <[email protected]>

* change hedera explorer

Signed-off-by: artembuslaev <[email protected]>

* always display delete action on selected block

Signed-off-by: artembuslaev <[email protected]>

* update hedera-sdk

Signed-off-by: simvalery <[email protected]>

* GitBook: [#220] Multi Policy UI

* GitBook: [#221] corrected local node files

* added message chunk setting

Signed-off-by: artembuslaev <[email protected]>

* #1014 MBP projects

* update schemas

* rename

* Updated Verra Timestamp

* added settings to change body request size

Signed-off-by: artembuslaev <[email protected]>

* add demo policy

* GitBook: [#224] Changed DragonGlass to Ledger Works in FAQs

* GitBook: [#225] how to change Explorer URL

* add additional events

* update lint

* GitBook: [#227] ImpactAddon block added

* GitBook: [#228] UI Automation Tests

* GitBook: [#229] added AddiitonalMintEvent

* GitBook: [#230] Added Impacts section in ReportBlock

* fix display token type

* fix dependency

Signed-off-by: simvalery <[email protected]>

* added IREC 8.1,8.2 in ReadMe

* GitBook: [#231] Added IREC and Verra Intro

* GitBook: [#232] Remote GHG Policy added

* GitBook: [#233] Remote GHG Policy Demo images

* GitBook: [#234] Artifacts APIs added

* http request block config

Signed-off-by: simvalery <[email protected]>

* http-request-block

Signed-off-by: simvalery <[email protected]>

* fix lint

Signed-off-by: simvalery <[email protected]>

* add validation

Signed-off-by: simvalery <[email protected]>

* fix

Signed-off-by: simvalery <[email protected]>

* custom logic worker

Signed-off-by: simvalery <[email protected]>

* tokens retirement

Signed-off-by: artembuslaev <[email protected]>

* fixed endpoints, changed labels

Signed-off-by: artembuslaev <[email protected]>

* tokens retirement fixes

Signed-off-by: artembuslaev <[email protected]>

* up version

Signed-off-by: simvalery <[email protected]>

* fix

Signed-off-by: artembuslaev <[email protected]>

* fixed issue with double publishing retire schema

Signed-off-by: artembuslaev <[email protected]>

* fix deps

Signed-off-by: simvalery <[email protected]>

* GitBook: [#235] Retirement UI and APIs added

* fix updating token balance in retirement process

Signed-off-by: artembuslaev <[email protected]>

* GitBook: [#236] corrected typo in retirement

* added max transaction fee setting to worker

Signed-off-by: artembuslaev <[email protected]>

* update default max fee

Signed-off-by: artembuslaev <[email protected]>

* GitBook: [#237] Updated env parameters in installation

* up version

Signed-off-by: simvalery <[email protected]>

Signed-off-by: artembuslaev <[email protected]>
Signed-off-by: Matt Smithies <[email protected]>
Signed-off-by: Gerhard Seuchter <[email protected]>
Signed-off-by: simvalery <[email protected]>
Signed-off-by: Stepan Kiryakov <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: jacopostrada-tamu <[email protected]>
Co-authored-by: artembuslaev <[email protected]>
Co-authored-by: Matt Smithies <[email protected]>
Co-authored-by: prernaadev01 <[email protected]>
Co-authored-by: Atma Dev <[email protected]>
Co-authored-by: prernaa.agarwal <[email protected]>
Co-authored-by: Stepan Kiryakov <[email protected]>
Co-authored-by: Stepan Kirjakov <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
11 people authored Dec 28, 2022
1 parent c6e0e61 commit dc2e5b1
Show file tree
Hide file tree
Showing 106 changed files with 838 additions and 95 deletions.
5 changes: 2 additions & 3 deletions api-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-docs",
"version": "2.8.0-prerelease",
"version": "2.8.0",
"description": "Swagger Documentation",
"main": "dist/index.js",
"scripts": {
Expand All @@ -23,6 +23,5 @@
"@types/swagger-ui-express": "^4.1.3",
"tslint": "^6.1.3",
"typescript": "^4.6.3"
},
"stableVersion": "2.7.0"
}
}
7 changes: 3 additions & 4 deletions api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"author": "Envision Blockchain Solutions <[email protected]>",
"dependencies": {
"@guardian/common": "^2.8.0-prerelease",
"@guardian/interfaces": "^2.8.0-prerelease",
"@guardian/common": "^2.8.0",
"@guardian/interfaces": "^2.8.0",
"@types/express-fileupload": "^1.4.1",
"dotenv": "^16.0.0",
"express": "^4.17.1",
Expand Down Expand Up @@ -51,6 +51,5 @@
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.8.0-prerelease",
"stableVersion": "2.7.0"
"version": "2.8.0"
}
3 changes: 1 addition & 2 deletions api-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "api-tests",
"version": "2.8.0-prerelease",
"stableVersion": "2.7.0",
"version": "2.8.0",
"description": "API Tests",
"main": "index.js",
"scripts": {
Expand Down
7 changes: 3 additions & 4 deletions auth-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"author": "Envision Blockchain Solutions <[email protected]>",
"dependencies": {
"@guardian/common": "^2.8.0-prerelease",
"@guardian/interfaces": "^2.8.0-prerelease",
"@guardian/common": "^2.8.0",
"@guardian/interfaces": "^2.8.0",
"@mikro-orm/core": "~5.3.0",
"@mikro-orm/mongodb": "~5.3.0",
"dotenv": "^16.0.0",
Expand Down Expand Up @@ -46,6 +46,5 @@
"start": "node dist/index.js",
"test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml"
},
"version": "2.8.0-prerelease",
"stableVersion": "2.7.0"
"version": "2.8.0"
}
5 changes: 2 additions & 3 deletions common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Envision Blockchain Solutions <[email protected]>",
"dependencies": {
"@guardian/interfaces": "^2.8.0-prerelease",
"@guardian/interfaces": "^2.8.0",
"@mikro-orm/core": "~5.3.0",
"@mikro-orm/migrations-mongodb": "~5.3.0",
"@mikro-orm/mongodb": "~5.3.0",
Expand Down Expand Up @@ -34,6 +34,5 @@
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "2.8.0-prerelease",
"stableVersion": "2.7.0"
"version": "2.8.0"
}
Binary file added docs/.gitbook/assets/image (1) (1) (1) (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (1) (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (10) (3) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (10) (3).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (10).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (11) (2) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (11) (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (11).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (12) (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (12).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (13) (1) (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (13) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (13).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (14) (3).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (14).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (15) (1) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (15) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (15).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (16) (3) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (16) (3).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (16).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (17) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/image (17).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/image (18) (3).png
Binary file modified docs/.gitbook/assets/image (18).png
Binary file added docs/.gitbook/assets/image (19) (3).png
Binary file modified docs/.gitbook/assets/image (19).png
Binary file added docs/.gitbook/assets/image (2) (1) (1) (2).png
Binary file modified docs/.gitbook/assets/image (2) (1) (1).png
Binary file modified docs/.gitbook/assets/image (2) (1).png
Binary file modified docs/.gitbook/assets/image (2).png
Binary file added docs/.gitbook/assets/image (20) (2).png
Binary file modified docs/.gitbook/assets/image (20).png
Binary file added docs/.gitbook/assets/image (21) (3).png
Binary file modified docs/.gitbook/assets/image (21).png
Binary file added docs/.gitbook/assets/image (22) (2).png
Binary file modified docs/.gitbook/assets/image (22).png
Binary file added docs/.gitbook/assets/image (3) (1) (2) (1).png
Binary file modified docs/.gitbook/assets/image (3) (1) (2).png
Binary file modified docs/.gitbook/assets/image (3) (1).png
Binary file modified docs/.gitbook/assets/image (3).png
Binary file added docs/.gitbook/assets/image (4) (1) (2).png
Binary file modified docs/.gitbook/assets/image (4) (1).png
Binary file modified docs/.gitbook/assets/image (4).png
Binary file added docs/.gitbook/assets/image (5) (1) (1) (1).png
Binary file modified docs/.gitbook/assets/image (5) (1) (1).png
Binary file modified docs/.gitbook/assets/image (5) (1).png
Binary file modified docs/.gitbook/assets/image (5).png
Binary file added docs/.gitbook/assets/image (6) (1) (1) (1).png
Binary file modified docs/.gitbook/assets/image (6) (1).png
Binary file modified docs/.gitbook/assets/image (6).png
Binary file modified docs/.gitbook/assets/image.png
17 changes: 17 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,23 @@
* [Policy Review](policy-related-apis-for-asynchronous-execution/policy-review.md)
* [💻 Creating Roles and Groups using Policy Configurator UI](multi-user-roles/roles-and-groups.md)
* [💻 Configuring Multi Policy using UI](guardian/standard-registry/policies/page-1.md)
* [📔 Retirement Contract](guardian/standard-registry/retirement-contract/README.md)
* [💻 Creating / Importing Contract UI](guardian/standard-registry/retirement-contract/creating-importing-contract-ui.md)
* [💻 Creating Token Pair UI](guardian/standard-registry/retirement-contract/creating-token-pair-ui.md)
* [🧑 Adding User to Contract UI](guardian/standard-registry/retirement-contract/adding-user-to-contract-ui.md)
* [⚒ Creating Retire Request](guardian/standard-registry/retirement-contract/creating-retire-request.md)
* [⚙ Retirement APIs](guardian/standard-registry/retirement-contract/retirement-apis/README.md)
* [Returns all contracts](guardian/standard-registry/retirement-contract/retirement-apis/returns-all-contracts.md)
* [Creating new Contract](guardian/standard-registry/retirement-contract/retirement-apis/creating-new-contract.md)
* [Importing new Contract](guardian/standard-registry/retirement-contract/retirement-apis/importing-new-contract.md)
* [Adding User to Contract](guardian/standard-registry/retirement-contract/retirement-apis/adding-user-to-contract.md)
* [Updating Contract Status](guardian/standard-registry/retirement-contract/retirement-apis/updating-contract-status.md)
* [Creating new contract pair](guardian/standard-registry/retirement-contract/retirement-apis/creating-new-contract-pair.md)
* [Returning Contract Pairs](guardian/standard-registry/retirement-contract/retirement-apis/returning-contract-pairs.md)
* [Creating new Retire Request](guardian/standard-registry/retirement-contract/retirement-apis/creating-new-retire-request.md)
* [Returning all contract requests](guardian/standard-registry/retirement-contract/retirement-apis/returning-all-contract-requests.md)
* [Deleting Contract Requests](guardian/standard-registry/retirement-contract/retirement-apis/deleting-contract-requests.md)
* [Retiring Tokens](guardian/standard-registry/retirement-contract/retirement-apis/retiring-tokens.md)
* [📒 Artifacts](guardian/standard-registry/artifacts/README.md)
* [💻 Importing/Deleting Artifacts using UI](artifacts-demo/how-to-import-delete-artifacts.md)
* [⚙ Artifacts APIs](guardian/standard-registry/artifacts/artifacts-apis/README.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/available-policy-workflow-blocks/multisignblock.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ This block provides a way to specify multiple signators for a single VC document

4.1.1 multiSignBlock must be used with Groups.

<figure><img src="../.gitbook/assets/image (13).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/image (13) (1).png" alt=""><figcaption></figcaption></figure>

4.1.2 multiSignBlock must be child block of grid block to receive all data it requires to operate.

Expand All @@ -92,7 +92,7 @@ This block provides a way to specify multiple signators for a single VC document

We have an option of Signing/ Declining the document by clicking on "Sign" or "Decline" button for the document as shown below:

<figure><img src="../.gitbook/assets/image (20).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/image (20) (2).png" alt=""><figcaption></figcaption></figure>

#### 5.2 Threshold Display

Expand All @@ -104,7 +104,7 @@ Number of users, who have signed or declined the document can be displayed with

To get detailed information on Signature status, we have an info icon near the threshold as shown below:

<figure><img src="../.gitbook/assets/image (19).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/image (19) (3).png" alt=""><figcaption></figcaption></figure>

#### 5.4 Final Signature Result

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

We have added new Impacts Section to display Primary/Secondary Impacts token details in Trustchain:

<figure><img src="../.gitbook/assets/image (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/image (1) (1).png" alt=""><figcaption></figcaption></figure>

In the case when multiple linked mint blocks are used then the system displays all linked VPs as shown below:

<figure><img src="../.gitbook/assets/image (2).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../.gitbook/assets/image (2) (1).png" alt=""><figcaption></figcaption></figure>

#### 2.1 Data Format:

Expand Down
2 changes: 1 addition & 1 deletion docs/available-policy-workflow-blocks/tokenactionblock.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This block is responsible in performing automatic actions on the token.



![](<../.gitbook/assets/image (12).png>)
![](<../.gitbook/assets/image (12) (2).png>)

![](<../.gitbook/assets/image (3) (5).png>)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Following are the steps to follow to generate Web3.Storage API Key:

4\. Once, token is created, Token Key can be copied and pasted as IPFS\__Storage\__API\_Key in `ipfs-client/.env` or `ipfs-client/.env/docker`.

<figure><img src="../../.gitbook/assets/image (11).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/image (11) (2).png" alt=""><figcaption></figcaption></figure>
12 changes: 8 additions & 4 deletions docs/getting-started/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ npm run test
Once [http://localhost:3000](http://localhost:3000) is launched, we need to first generate Operator ID and Operator Key by clicking on Generate button as shown below:
<figure><img src="../../.gitbook/assets/image (18).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/image (18) (3).png" alt=""><figcaption></figcaption></figure>
Once you generated Operator ID and Operator Key, we can either click on Next or restore the Data, by selecting Restore Data from the Next button dropdown to setup Registry as shown below.
Expand Down Expand Up @@ -402,7 +402,7 @@ Where the list of `attributes` is extendable, and all attributes in it are **opt
| law | Country Law | USA |
| tags | Policy Tags | Verra, iREC |
### .env Parameters
### .env / .env.docker Parameters in `guardian-service`
| Parameter | Purpose | Example |
| -------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------- |
Expand All @@ -418,9 +418,13 @@ Where the list of `attributes` is extendable, and all attributes in it are **opt
| LOCALNODE\_ADDRESS | The address of the localnode server. This can be its IP address or a domain name | 1.1.1.1 |
| LOCALNODE\_PROTOCOL | Communication protocol for interactions with the local node, can be http or https. | http/https |
| HEDERA\_NET | Type of the Hedera node to transact with | testnet, localnode, mainnet |
| INITIALIZATION\__TOPIC\_ID_ | The ID of the initialisation topic. | 0.0.46022543 |
| INITIALIZATION\__TOPIC\_ID_ | The ID of the initialization topic. | 0.0.46022543 |
| MESSAGE\_LANG | Language of the message text of all messages | en-US |
| LOG\_LEVEL | level of the Logs | 2 |
| LOG\_LEVEL | Level of the Logs | 2 |
| SEND\_KEYS\_TO\_VAULT | Checked if keys to be sent to vault | True/False |
| MULTI\_POLICY\_SCHEDULER | to set custom cron mask (timer mask) for sync job | 0 0 \* \* \* |
| CONTRACT\_FILE\_ID | Defines the file identifier in hedera to create smart-contract. | 0.0.49153795 |
| MQ\_MESSAGE\_CHUNK | To set up the message chunk size | 500000 |
### Restoring account from Database/Hashicorp vault during Setup.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ and then select test under ui-tests/specs/policies

Finally, all the selected test runs and you can see the key components of the Test Runner that you need to pay attention to when executing tests.

<figure><img src="../../.gitbook/assets/image (2) (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../.gitbook/assets/image (2) (1) (1).png" alt=""><figcaption></figcaption></figure>

**Test Status Menu:** The menu shows a summary of the number of tests passed, passed, failed, or incomplete, and the time spent on the test.&#x20;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Heating and cooling energy consumption defaults were calculated based on Energy

The workflow begins with each employee completing a survey to help refine their GHG estimates based on location; actual office, heating, and cooling equipment; and other important variables. Based on the responses, a verified credentials (VC) document is created. Then, employees track hours worked and GHG emissions are auto-calculated by customized schemas featuring built-in equations, defaults, and emission factors. Workforce emissions are calculated as the sum of all employee emissions and the resulting emissions are tokenized.

<figure><img src="../../../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../../.gitbook/assets/image (18).png" alt=""><figcaption></figcaption></figure>
10 changes: 5 additions & 5 deletions docs/guardian/standard-registry/policies/page-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ The tokens are only minted when the necessary quorum of approvals (by the ‘sec

Step 1: Need to click on the linking icon for the policy, which you wanted to be a primary one as shown below:

<figure><img src="../../../.gitbook/assets/image (4).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (4) (1).png" alt=""><figcaption></figcaption></figure>

Step 2: We get a policy linking pop up to create a link for the primary policy or joining an existing policy:

<figure><img src="../../../.gitbook/assets/image (6).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (6) (1).png" alt=""><figcaption></figcaption></figure>

After the ‘primary’ policy is registered a special ‘link’ becomes accessible which can be used to ‘connect’ additional ‘secondary’ policies.

<figure><img src="../../../.gitbook/assets/image (2) (1) (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (2) (1) (1) (2).png" alt=""><figcaption></figcaption></figure>

### 2. Connecting Secondary Policies

Step 1: We click again on the linking icon for secondary policy and will get a linking pop up as shown below:

<figure><img src="../../../.gitbook/assets/image (3).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (3) (1).png" alt=""><figcaption></figcaption></figure>

Step 2: In order to make the policy as secondary, we will click on Join button and link with the primary policy.

Step 3: Once, linking is performed successfully, you will get below message:

<figure><img src="../../../.gitbook/assets/image (5).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (5) (1).png" alt=""><figcaption></figcaption></figure>

### 3. **Message Format**

Expand Down
2 changes: 2 additions & 0 deletions docs/guardian/standard-registry/retirement-contract/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 📔 Retirement Contract

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 🧑 Adding User to Contract UI

We can add user to contract so that users can use this particular contract to retire their tokens.

In order to add user to the contract, we need to select second option, Add User from the operations drop down of the particular contract as shown below:

<figure><img src="../../../.gitbook/assets/image (19).png" alt=""><figcaption></figcaption></figure>

Once, we click on Add User button, we get a pop up to enter User Hedera Identifier as shown:

<figure><img src="../../../.gitbook/assets/image (1).png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
User Identifier can be found in the Profile tab of the User login.
{% endhint %}

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 💻 Creating / Importing Contract UI

We have new Contracts tab added in the menu option for Standard Registry. This option is used to create, import, add pair, approve retire requests contract as shown below:

<figure><img src="../../../.gitbook/assets/image (11).png" alt=""><figcaption></figcaption></figure>

### 1. Creating Contract

To create new contract, we need to click on Create Contract button and add a Name/Description to the contract as shown below:

<figure><img src="../../../.gitbook/assets/image (5).png" alt=""><figcaption></figcaption></figure>

<figure><img src="../../../.gitbook/assets/image (22).png" alt=""><figcaption></figcaption></figure>

### 2. Importing Contract

To import the already created contract, we need to click on Import contract button as shown below:

<figure><img src="../../../.gitbook/assets/image (3).png" alt=""><figcaption></figcaption></figure>

When clicked on Import Contract button, we need to enter Hedera Contract Id and Description to import it successfully.

<figure><img src="../../../.gitbook/assets/image (14).png" alt=""><figcaption></figcaption></figure>



Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# ⚒ Creating Retire Request

Once Standard Registry creates Token Pairs, Users can perform token retirement by clicking on Retire tab:

<figure><img src="../../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>

Users can create Retire Request by clicking on Create Retire Request.

<figure><img src="../../../.gitbook/assets/image (2).png" alt=""><figcaption></figcaption></figure>

Users can choose interested tokens, which they want to retire from the drop down:

<figure><img src="../../../.gitbook/assets/image (17).png" alt=""><figcaption></figcaption></figure>

Once tokens are selected, user needs to select the respective contract depending on the ratio needed.&#x20;

<figure><img src="../../../.gitbook/assets/image (12).png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:**

Contract in the drop down is only available if the user is added to the contract by Standard Registry.
{% endhint %}

Once, contract is selected, the third and final step is to select the base token and opposite token serials to perform retirement of tokens.

<figure><img src="../../../.gitbook/assets/image (13).png" alt=""><figcaption></figcaption></figure>

In addition to creation of requests, Users also can see created requests, they can cancel created requests (by clicking on “Cancel Request” button) and return their tokens from contract account before it will be approved by SR. If request is already approved users can see details of retire VC.

<figure><img src="../../../.gitbook/assets/image (10).png" alt=""><figcaption></figcaption></figure>

Standard Registry can see all retire requests by each contract. He can also view VC if it is already approved, or approve retire by clicking on “Retire Tokens” button.

<figure><img src="../../../.gitbook/assets/image (4).png" alt=""><figcaption></figcaption></figure>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 💻 Creating Token Pair UI

Once the contract is created, we have an option to create Token Pair by selecting first option in the Operations drop down:

<figure><img src="../../../.gitbook/assets/image (15).png" alt=""><figcaption></figcaption></figure>

Once clicked, Standard Registry can create token pair and can also set ratio between two tokens as shown below:

<figure><img src="../../../.gitbook/assets/image (21).png" alt=""><figcaption></figcaption></figure>

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ⚙ Retirement APIs

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Adding User to Contract

{% swagger method="post" path="" baseUrl=" /contracts/{contractId}/user" summary="Add new contract user" %}
{% swagger-description %}
Add new contract user. Only users with the Standard Registry role are allowed to make the request.
{% endswagger-description %}

{% swagger-parameter in="path" name="contractId" type="String" required="true" %}
Contract identifier
{% endswagger-parameter %}

{% swagger-parameter in="body" name="userId" type="String" %}
Request Object Parameters
{% endswagger-parameter %}

{% swagger-response status="200: OK" description="Successful Operation" %}
```javascript
{
application/json:
schema:
type: boolean
}
```
{% endswagger-response %}

{% swagger-response status="401: Unauthorized" description="Unauthorized" %}
```javascript
{
// Response
}
```
{% endswagger-response %}

{% swagger-response status="403: Forbidden" description="Forbidden" %}
```javascript
{
// Response
}
```
{% endswagger-response %}

{% swagger-response status="500: Internal Server Error" description="Internal Server Error" %}
```javascript
{
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
}
```
{% endswagger-response %}
{% endswagger %}
Loading

0 comments on commit dc2e5b1

Please sign in to comment.