This PR takes a first step towards addressing #291 by refactoring the tokens section of checker.yaml and corresponding build script logic, adding fields for wtez, wctez, mock_fa2. It also reorganizes the tokens schema a bit, distinguishing between issued and in_use tokens since tokens in the former category need to allow for configurable FA2 metadata.
I also went ahead and added a field for the collateral_type switch and made the build script throw an error if it is ever not set to tez since we haven't implemented the FA2 build logic yet.
After this PR I should be able to implement the generation of a new tokenMetadata.ml module we discussed which can be used within tezWrapper.ml and wctez.ml (and other generated token modules).
This PR takes a first step towards addressing #291 by refactoring the
tokens
section ofchecker.yaml
and corresponding build script logic, adding fields forwtez
,wctez
,mock_fa2
. It also reorganizes thetokens
schema a bit, distinguishing betweenissued
andin_use
tokens since tokens in the former category need to allow for configurable FA2 metadata.I also went ahead and added a field for the
collateral_type
switch and made the build script throw an error if it is ever not set totez
since we haven't implemented the FA2 build logic yet.After this PR I should be able to implement the generation of a new
tokenMetadata.ml
module we discussed which can be used withintezWrapper.ml
andwctez.ml
(and other generated token modules).