nibiru_std/proto/buf/
nibiru.sudo.v1.rs1#[allow(clippy::derive_partial_eq_without_eq)]
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct Sudoers {
5 #[prost(string, tag="1")]
7 pub root: ::prost::alloc::string::String,
8 #[prost(string, repeated, tag="2")]
10 pub contracts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
11}
12#[allow(clippy::derive_partial_eq_without_eq)]
14#[derive(Clone, PartialEq, ::prost::Message)]
15pub struct GenesisState {
16 #[prost(message, optional, tag="1")]
17 pub sudoers: ::core::option::Option<Sudoers>,
18}
19#[allow(clippy::derive_partial_eq_without_eq)]
21#[derive(Clone, PartialEq, ::prost::Message)]
22pub struct EventUpdateSudoers {
23 #[prost(message, optional, tag="1")]
24 pub sudoers: ::core::option::Option<Sudoers>,
25 #[prost(string, tag="2")]
27 pub action: ::prost::alloc::string::String,
28}
29#[allow(clippy::derive_partial_eq_without_eq)]
30#[derive(Clone, PartialEq, ::prost::Message)]
31pub struct QuerySudoersRequest {
32}
33#[allow(clippy::derive_partial_eq_without_eq)]
35#[derive(Clone, PartialEq, ::prost::Message)]
36pub struct QuerySudoersResponse {
37 #[prost(message, optional, tag="1")]
38 pub sudoers: ::core::option::Option<Sudoers>,
39}
40#[allow(clippy::derive_partial_eq_without_eq)]
44#[derive(Clone, PartialEq, ::prost::Message)]
45pub struct MsgEditSudoers {
46 #[prost(string, tag="1")]
50 pub action: ::prost::alloc::string::String,
51 #[prost(string, repeated, tag="2")]
53 pub contracts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
54 #[prost(string, tag="3")]
56 pub sender: ::prost::alloc::string::String,
57}
58#[allow(clippy::derive_partial_eq_without_eq)]
60#[derive(Clone, PartialEq, ::prost::Message)]
61pub struct MsgEditSudoersResponse {
62}
63#[allow(clippy::derive_partial_eq_without_eq)]
67#[derive(Clone, PartialEq, ::prost::Message)]
68pub struct MsgChangeRoot {
69 #[prost(string, tag="1")]
71 pub sender: ::prost::alloc::string::String,
72 #[prost(string, tag="2")]
74 pub new_root: ::prost::alloc::string::String,
75}
76#[allow(clippy::derive_partial_eq_without_eq)]
78#[derive(Clone, PartialEq, ::prost::Message)]
79pub struct MsgChangeRootResponse {
80}
81