Sha256: 900f653da2053a978318f70967e46f9b952da936ae9902e9c74b0e7426859a78

Contents?: true

Size: 925 Bytes

Versions: 6

Compression:

Stored size: 925 Bytes

Contents

// Copyright (c) The Libra Core Contributors
// SPDX-License-Identifier: Apache-2.0

// This file contains proto definitions related to events.  Events are emitted
// by smart contract execution.  These could include events such as received
// transactions, sent transactions, etc.

syntax = "proto3";

package types;

import "access_path.proto";
import "proof.proto";

// An event emitted from a smart contract
message Event {
    AccessPath access_path = 1;
    uint64 sequence_number = 2;
    bytes event_data = 3;
}

// An event along with the proof for the event
message EventWithProof {
  uint64 transaction_version = 1;
  uint64 event_index = 2;
  Event event = 3;
  EventProof proof = 4;
}

// A list of events.
message EventsList {
  repeated Event events = 1;
}

// A list of EventList's, each representing all events for a transaction.
message EventsForVersions {
    repeated EventsList events_for_version = 1;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libra_client-0.1.6 protos/events.proto
libra_client-0.1.5 protos/events.proto
libra_client-0.1.3 protos/events.proto
libra_client-0.1.2 protos/events.proto
libra_client-0.1.1 protos/events.proto
libra_client-0.1.0 protos/events.proto