-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging release version change (2.8.0) and documentation from Develop…
… 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
1 parent
c6e0e61
commit dc2e5b1
Showing
106 changed files
with
838 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
|
@@ -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" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
docs/guardian/standard-registry/retirement-contract/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# 📔 Retirement Contract | ||
|
16 changes: 16 additions & 0 deletions
16
docs/guardian/standard-registry/retirement-contract/adding-user-to-contract-ui.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 %} | ||
|
26 changes: 26 additions & 0 deletions
26
...uardian/standard-registry/retirement-contract/creating-importing-contract-ui.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> | ||
|
||
|
||
|
35 changes: 35 additions & 0 deletions
35
docs/guardian/standard-registry/retirement-contract/creating-retire-request.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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.  | ||
|
||
<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> |
10 changes: 10 additions & 0 deletions
10
docs/guardian/standard-registry/retirement-contract/creating-token-pair-ui.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> | ||
|
2 changes: 2 additions & 0 deletions
2
docs/guardian/standard-registry/retirement-contract/retirement-apis/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ⚙ Retirement APIs | ||
|
52 changes: 52 additions & 0 deletions
52
...tandard-registry/retirement-contract/retirement-apis/adding-user-to-contract.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 %} |
Oops, something went wrong.