penumbra_proto/gen/
cosmos.auth.v1beta1.rs#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BaseAccount {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub pub_key: ::core::option::Option<::pbjson_types::Any>,
#[prost(uint64, tag = "3")]
pub account_number: u64,
#[prost(uint64, tag = "4")]
pub sequence: u64,
}
impl ::prost::Name for BaseAccount {
const NAME: &'static str = "BaseAccount";
const PACKAGE: &'static str = "cosmos.auth.v1beta1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ModuleAccount {
#[prost(message, optional, tag = "1")]
pub base_account: ::core::option::Option<BaseAccount>,
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "3")]
pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for ModuleAccount {
const NAME: &'static str = "ModuleAccount";
const PACKAGE: &'static str = "cosmos.auth.v1beta1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ModuleCredential {
#[prost(string, tag = "1")]
pub module_name: ::prost::alloc::string::String,
#[prost(bytes = "vec", repeated, tag = "2")]
pub derivation_keys: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
impl ::prost::Name for ModuleCredential {
const NAME: &'static str = "ModuleCredential";
const PACKAGE: &'static str = "cosmos.auth.v1beta1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(uint64, tag = "1")]
pub max_memo_characters: u64,
#[prost(uint64, tag = "2")]
pub tx_sig_limit: u64,
#[prost(uint64, tag = "3")]
pub tx_size_cost_per_byte: u64,
#[prost(uint64, tag = "4")]
pub sig_verify_cost_ed25519: u64,
#[prost(uint64, tag = "5")]
pub sig_verify_cost_secp256k1: u64,
}
impl ::prost::Name for Params {
const NAME: &'static str = "Params";
const PACKAGE: &'static str = "cosmos.auth.v1beta1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
}
}