-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26b102b
commit 5d90d20
Showing
49 changed files
with
15,991 additions
and
4,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v6.3.1 | ||
v8.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// @generated | ||
// @@protoc_insertion_point(module) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// @generated | ||
/// Capability defines an implementation of an object capability. The index | ||
/// provided to a Capability must be globally unique. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct Capability { | ||
#[prost(uint64, tag = "1")] | ||
pub index: u64, | ||
} | ||
/// Owner defines a single capability owner. An owner is defined by the name of | ||
/// capability and the module name. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct Owner { | ||
#[prost(string, tag = "1")] | ||
pub module: ::prost::alloc::string::String, | ||
#[prost(string, tag = "2")] | ||
pub name: ::prost::alloc::string::String, | ||
} | ||
/// CapabilityOwners defines a set of owners of a single Capability. The set of | ||
/// owners must be unique. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct CapabilityOwners { | ||
#[prost(message, repeated, tag = "1")] | ||
pub owners: ::prost::alloc::vec::Vec<Owner>, | ||
} | ||
/// GenesisOwners defines the capability owners with their corresponding index. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct GenesisOwners { | ||
/// index is the index of the capability owner. | ||
#[prost(uint64, tag = "1")] | ||
pub index: u64, | ||
/// index_owners are the owners at the given index. | ||
#[prost(message, optional, tag = "2")] | ||
pub index_owners: ::core::option::Option<CapabilityOwners>, | ||
} | ||
/// GenesisState defines the capability module's genesis state. | ||
#[allow(clippy::derive_partial_eq_without_eq)] | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct GenesisState { | ||
/// index is the capability global index. | ||
#[prost(uint64, tag = "1")] | ||
pub index: u64, | ||
/// owners represents a map from index to owners of the capability index | ||
/// index key is string to allow amino marshalling. | ||
#[prost(message, repeated, tag = "2")] | ||
pub owners: ::prost::alloc::vec::Vec<GenesisOwners>, | ||
} | ||
include!("capability.v1.serde.rs"); | ||
// @@protoc_insertion_point(module) |
Oops, something went wrong.