-
Notifications
You must be signed in to change notification settings - Fork 6
App Tracking
NIK edited this page Aug 21, 2020
·
3 revisions
Organization has a few functions to create and ban an app
ACTION registerapp(name owner, name organization, name appname, string applongname);
ACTION banapp(name appname);
Requires org owner permission
And one action for app use
ACTION appuse(name appname, name account);
Requires 'account' permission
So this action is best to append to some other action, ie transactions.
There's no effect of calling it more than 1x per day.
-
- Create an org account if you don't have one
-
- Register your app with the org - only org owner can do this right now
-
- Inside the app, start calling appuse action to track a use of the app
The contract will collect statistics on daily average use of the app based on calls into appuse