Problem description
When various sustainability-related tokens are created by the Guaridan in compliance with a particular policy they can have a relationship with other tokens created by:
- a different version of the same policy (most of the time the relationship is of equivalence)
- a different policy of the same Root Authority
- a different policy of a different Root Authority
The type of the relationship can be:
- equivalence (they are 'the same', i.e. substitutable for one another)
- opposite equivalence - 'matched assets' (they are exactly the opposite, i.e. they can cancel each other)
- a variations of the above with the 'exchange rate' (e.g. 1 tokens of one type can be 'cancelled' by 2 tokens of the other type).
There should be a way to specify in the Policy and enforce the above relationship via Hedera blockchain.
This ticket is concerned only with the 'opposite equivalence' relationship between the tokens issued by the same RootAuthority.
Requirements
- create Policy language elements required to specify the 'matched' of the relationships of the Policy-generated tokens with other tokens issued by the same RootAuthority
- implement the corresponding UI and API functionality to view the specifics of token relationships
- implement smart contract functionality to verify and enforce the 'matching'
DOD
- Acceptance criteria fulfilled
- Demo scripts and documentation updated
Acceptance criteria
- Policy creators can specify rules for which tokens are a match for the tokens issued by the policy
- UI and API contain provisions to display/select specific tokens that are 'a match' for the token in question
Problem description
When various sustainability-related tokens are created by the Guaridan in compliance with a particular policy they can have a relationship with other tokens created by:
The type of the relationship can be:
There should be a way to specify in the Policy and enforce the above relationship via Hedera blockchain.
This ticket is concerned only with the 'opposite equivalence' relationship between the tokens issued by the same RootAuthority.
Requirements
DOD
Acceptance criteria