Events

What is an Event?

The Events Layer adds the ability to attach timestamps to individual Items. Events can be set for any time point and can be used by other features as a method for storing custom time points.

Shared Events

The Events layer also provides the Shared Events table for storing group-wide events. Set the shared flag to true on a given Event Action to specify a shared event.

Table Breakdown

Table Name: events

Table Scope: item.serial

Create a New Event

Create a new Event with the newevent() action.

Required Authority: group.manager

Action Parameters

Examples

cleos push action {account} newevent '[ ... ]' -p {account}

Update an Event Time

Update an event timestamp with the seteventtime() action.

Required Authority: group.manager

Action Parameters

Examples

cleos push action {account} seteventtime '[ ... ]' -p {account}

Lock an Event

Lock an event with the lockevent() action.

Required Authority: group.manager

Action Parameters

Examples

cleos push action {account} lockevent '[ ... ]' -p {account}

Remove an Event

Remove an event with the rmvevent() action.

Required Authority: group.manager

Action Parameters

Examples

cleos push action {account} rmvevent '[ ... ]' -p {account}

Last updated