Skip to content

Commit 5c260b1

Browse files
author
Weiwu Zhang
committed
apply the same RFC4912 comformation change to the default ERC scripts
1 parent c506dc1 commit 5c260b1

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

ERCs/ERC20/ERC20-TokenScript.xml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,22 @@
1919
>
2020
<asnx:module name="ERC20-Events">
2121
<namedType name="Approval">
22-
<sequence>
23-
<element name="owner" ethereum:type="address" ethereum:indexed="true"/>
24-
<element name="spender" ethereum:type="address" ethereum:indexed="true"/>
25-
<element name="value" ethereum:type="uint256" ethereum:indexed="false"/>
26-
</sequence>
22+
<type>
23+
<sequence>
24+
<element name="owner" ethereum:type="address" ethereum:indexed="true"/>
25+
<element name="spender" ethereum:type="address" ethereum:indexed="true"/>
26+
<element name="value" ethereum:type="uint256" ethereum:indexed="false"/>
27+
</sequence>
28+
</type>
2729
</namedType>
2830
<namedType name="Transfer">
29-
<sequence>
30-
<element name="from" ethereum:type="address" ethereum:indexed="true"/>
31-
<element name="to" ethereum:type="address" ethereum:indexed="true"/>
32-
<element name="value" ethereum:type="uint256" ethereum:indexed="false"/>
33-
</sequence>
31+
<type>
32+
<sequence>
33+
<element name="from" ethereum:type="address" ethereum:indexed="true"/>
34+
<element name="to" ethereum:type="address" ethereum:indexed="true"/>
35+
<element name="value" ethereum:type="uint256" ethereum:indexed="false"/>
36+
</sequence>
37+
</type>
3438
</namedType>
3539
</asnx:module>
3640
<ts:cards>

0 commit comments

Comments
 (0)