#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AbstractAccount {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub account_number: u64,
#[prost(uint64, tag = "3")]
pub sequence: u64,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Actor {
Pluginregistry = 0,
}
impl Actor {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Pluginregistry => "pluginregistry",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"pluginregistry" => Some(Self::Pluginregistry),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Authenticator {
Webauthn = 0,
}
impl Authenticator {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Webauthn => "webauthn",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"webauthn" => Some(Self::Webauthn),
_ => None,
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(uint64, tag = "1")]
pub max_gas_before: u64,
#[prost(uint64, tag = "2")]
pub max_gas_after: u64,
#[prost(string, tag = "3")]
pub bech32_prefix: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventAccountRegistered {
#[prost(string, tag = "1")]
pub creator: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub code_id: u64,
#[prost(string, tag = "3")]
pub contract_addr: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventUpdatedActor {
#[prost(string, tag = "1")]
pub actor: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub contract_addr: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventUpdatedAuthenticator {
#[prost(string, tag = "1")]
pub authenticator: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub contract_addr: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventUpdatedSupportedProxies {
#[prost(uint64, repeated, tag = "1")]
pub code_ids: ::prost::alloc::vec::Vec<u64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventUpdatedParams {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
#[prost(uint64, tag = "2")]
pub next_account_id: u64,
#[prost(map = "uint64, bytes", tag = "3")]
pub actors: ::std::collections::HashMap<u64, ::prost::alloc::vec::Vec<u8>>,
#[prost(map = "uint64, bytes", tag = "4")]
pub authenticators: ::std::collections::HashMap<u64, ::prost::alloc::vec::Vec<u8>>,
#[prost(uint64, repeated, tag = "5")]
pub supported_proxies: ::prost::alloc::vec::Vec<u64>,
#[prost(bool, tag = "6")]
pub exported: bool,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryActorAddressRequest {
#[prost(string, tag = "1")]
pub actor: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryActorAddressResponse {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAuthenticatorAddressRequest {
#[prost(string, tag = "1")]
pub authenticator: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAuthenticatorAddressResponse {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QuerySupportedProxiesRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySupportedProxiesResponse {
#[prost(uint64, repeated, tag = "1")]
pub proxies: ::prost::alloc::vec::Vec<u64>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryGetAuthorityRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryGetAuthorityResponse {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParams {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgUpdateParamsResponse {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgRegisterAccount {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub code_id: u64,
#[prost(bytes = "vec", tag = "3")]
pub msg: ::prost::alloc::vec::Vec<u8>,
#[prost(message, repeated, tag = "4")]
pub funds: ::prost::alloc::vec::Vec<super::super::super::cosmos::base::v1beta1::Coin>,
#[prost(bytes = "vec", tag = "5")]
pub salt: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgRegisterAccountResponse {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(bytes = "vec", tag = "2")]
pub data: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateActor {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub actor: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub address: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgUpdateActorResponse {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateAuthenticator {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub authenticator: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub address: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgUpdateAuthenticatorResponse {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateSupportedProxies {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(map = "uint64, bool", tag = "2")]
pub proxies: ::std::collections::HashMap<u64, bool>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgUpdateSupportedProxiesResponse {}
include!("d.abstractaccount.v1.tonic.rs");