You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Weiwu Zhang edited this page Dec 10, 2019
·
1 revision
There are 3 uses of element.
One or more token attribute's value might either be affected by a blockchain event or have its value origin from that event.
As the user assemble a transaction, the user-agent anticipates and observes an event to evaluate if the transaction was successfully done.
For a multi-step process (think a betting game), the event indicate that a game can proceed on and related players need to act.
Considerations.
<event> will need its own tag, for notification purposes and it has to include localised strings. It might trigger the availability of actions too.
<event> might trigger multiple attributes to update, therefore it should be definable outside of attribute-type. But there are local events that are only relevant for one attribute, therefore it's nice to have <event> inside an attribute type.