Open SmartLayer opened 4 years ago
Below are the list of possible elements where "contract" attribute occurs. Now need to update the schema to check if its respective <ts:contract name="" .../> element should occur in XML.
<ts:ethereum contract="unicon"/>
<ethereum:call function="redeemed" contract="unicon" as="bool">
<ethereum:transaction function="setText" contract="PublicResolver" as="bool">
<ethereum:event type="NameRegistered" contract="ETHRegistrarController" filter="label=${tokenId}" select="name"/>
- contract name keyref is not set up. This is completed and tested with changes - https://github.com/darakhbharat/TokenScript/commit/38a09be60023b2262f540ec7abad977248cca294
Added ts:contract/@name reference check for above mentioned elements.
We can directly merge this changes to master as these works on schema 1.0 and are independent of XSD 1.1 validation.