This page should provide the procedures and tables for each contract in the selected Architectures Exploration and Processes & Permissions . It also describes the necessary kwil features for this design to be implemented.
system_streams
data_provider (composite primary key)stream_id (composite primary key)accepted_atrevoked_atget_record(data_provider, stream_id, date_from, date_to?, frozen_at?) - checks from system_streams first.get_index(data_provider, stream_id, date_from, date_to?, frozen_at?) - checks from system_streams first.get_unsafe_record(data_provider, stream_id, date_from, date_to?, frozen_at?) - bypasses the system_streams table.get_unsafe_index(data_provider, stream_id, date_from, date_to?, frozen_at?) - bypasses the system_streams table.is_official_stream(data_provider, stream_id)accept_stream(data_provider, stream_id) [contract owner-only]revoke_stream(data_provider, stream_id) [contract owner-only]Notes:
frozen_at argument is optional. If provided, the procedure should return the stream's state at the given time. If not provided, it should return the current state of the stream. If start is provided, the first value for each should be returned as if it was never overridden.