File tree Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 89
89
<ts : syntax >1.3.6.1.4.1.1466.115.121.1.36</ts : syntax >
90
90
</ts : type >
91
91
<ts : origins >
92
- <ethereum : event type =" Approval" filter =" ${to}=${ownerAddress}" select = " to " />
92
+ <ethereum : event type =" Approval" filter =" ${to}=${ownerAddress}" />
93
93
</ts : origins >
94
94
</ts : attribute >
95
95
<ts : item-view xml : lang =" en" xmlns =" http://www.w3.org/1999/xhtml" >
103
103
</ts : card >
104
104
105
105
<ts : card type =" activity" name =" approvalObtained" >
106
- <ts : attribute name =" amount" >
107
- <ts : type >
108
- <ts : syntax >1.3.6.1.4.1.1466.115.121.1.36</ts : syntax >
109
- </ts : type >
110
- <ts : origins >
111
- <ethereum : event type =" Approval" filter =" ${to}=${ownerAddress}" select =" amount" />
112
- </ts : origins >
113
- </ts : attribute >
114
- <ts : attribute name =" from" >
115
- <ts : type >
116
- <ts : syntax >1.3.6.1.4.1.1466.115.121.1.36</ts : syntax >
117
- </ts : type >
118
- <ts : origins >
119
- <ethereum : event type =" Approval" filter =" ${to}=${ownerAddress}" select =" from" />
120
- </ts : origins >
121
- </ts : attribute >
106
+ <!-- attributes like amount, from, to shouldn't need to be
107
+ defined here because they are implied -->
108
+ <ts : source >
109
+ <!-- contract="…" is missing, this might be a problem -->
110
+ <ethereum : event type =" Approval" filter =" ${to}=${ownerAddress}" />
111
+ </ts : source >
122
112
<ts : item-view xml : lang =" en" xmlns =" http://www.w3.org/1999/xhtml" >
123
113
<style type =" text/css" >&style; </style >
124
114
<script type =" text/javascript" >&item-view-approvalObtained.en; </script >
Original file line number Diff line number Diff line change 66
66
<element name =" card" >
67
67
<complexType >
68
68
<sequence >
69
+ <element ref =" asnx:module" minOccurs =" 0" maxOccurs =" unbounded" />
69
70
<element minOccurs =" 0" name =" label" type =" ts:text" />
70
71
<element minOccurs =" 0" maxOccurs =" unbounded" ref =" ts:attribute" />
71
72
<element minOccurs =" 0" maxOccurs =" unbounded" ref =" ts:selection" />
253
254
</element >
254
255
<!-- label is not needed if the attribute is only used for selection -->
255
256
<element minOccurs =" 0" name =" label" type =" ts:text" />
256
- <element ref =" ts:origins" />
257
+ <element minOccurs = " 0 " ref =" ts:origins" />
257
258
</sequence >
258
259
<attribute name =" name" use =" required" type =" NCName" />
259
260
<attribute name =" oid" type =" NMTOKEN" />
You can’t perform that action at this time.
0 commit comments