nibiru_std/proto/buf/
cosmos.vesting.v1beta1.rs

1// @generated
2/// BaseVestingAccount implements the VestingAccount interface. It contains all
3/// the necessary fields needed for any vesting account implementation.
4#[allow(clippy::derive_partial_eq_without_eq)]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct BaseVestingAccount {
7    #[prost(message, optional, tag="1")]
8    pub base_account: ::core::option::Option<crate::proto::cosmos::auth::v1beta1::BaseAccount>,
9    #[prost(message, repeated, tag="2")]
10    pub original_vesting: ::prost::alloc::vec::Vec<crate::proto::cosmos::base::v1beta1::Coin>,
11    #[prost(message, repeated, tag="3")]
12    pub delegated_free: ::prost::alloc::vec::Vec<crate::proto::cosmos::base::v1beta1::Coin>,
13    #[prost(message, repeated, tag="4")]
14    pub delegated_vesting: ::prost::alloc::vec::Vec<crate::proto::cosmos::base::v1beta1::Coin>,
15    /// Vesting end time, as unix timestamp (in seconds).
16    #[prost(int64, tag="5")]
17    pub end_time: i64,
18}
19/// ContinuousVestingAccount implements the VestingAccount interface. It
20/// continuously vests by unlocking coins linearly with respect to time.
21#[allow(clippy::derive_partial_eq_without_eq)]
22#[derive(Clone, PartialEq, ::prost::Message)]
23pub struct ContinuousVestingAccount {
24    #[prost(message, optional, tag="1")]
25    pub base_vesting_account: ::core::option::Option<BaseVestingAccount>,
26    /// Vesting start time, as unix timestamp (in seconds).
27    #[prost(int64, tag="2")]
28    pub start_time: i64,
29}
30/// DelayedVestingAccount implements the VestingAccount interface. It vests all
31/// coins after a specific time, but non prior. In other words, it keeps them
32/// locked until a specified time.
33#[allow(clippy::derive_partial_eq_without_eq)]
34#[derive(Clone, PartialEq, ::prost::Message)]
35pub struct DelayedVestingAccount {
36    #[prost(message, optional, tag="1")]
37    pub base_vesting_account: ::core::option::Option<BaseVestingAccount>,
38}
39/// Period defines a length of time and amount of coins that will vest.
40#[allow(clippy::derive_partial_eq_without_eq)]
41#[derive(Clone, PartialEq, ::prost::Message)]
42pub struct Period {
43    /// Period duration in seconds.
44    #[prost(int64, tag="1")]
45    pub length: i64,
46    #[prost(message, repeated, tag="2")]
47    pub amount: ::prost::alloc::vec::Vec<crate::proto::cosmos::base::v1beta1::Coin>,
48}
49/// PeriodicVestingAccount implements the VestingAccount interface. It
50/// periodically vests by unlocking coins during each specified period.
51#[allow(clippy::derive_partial_eq_without_eq)]
52#[derive(Clone, PartialEq, ::prost::Message)]
53pub struct PeriodicVestingAccount {
54    #[prost(message, optional, tag="1")]
55    pub base_vesting_account: ::core::option::Option<BaseVestingAccount>,
56    #[prost(int64, tag="2")]
57    pub start_time: i64,
58    #[prost(message, repeated, tag="3")]
59    pub vesting_periods: ::prost::alloc::vec::Vec<Period>,
60}
61/// PermanentLockedAccount implements the VestingAccount interface. It does
62/// not ever release coins, locking them indefinitely. Coins in this account can
63/// still be used for delegating and for governance votes even while locked.
64///
65/// Since: cosmos-sdk 0.43
66#[allow(clippy::derive_partial_eq_without_eq)]
67#[derive(Clone, PartialEq, ::prost::Message)]
68pub struct PermanentLockedAccount {
69    #[prost(message, optional, tag="1")]
70    pub base_vesting_account: ::core::option::Option<BaseVestingAccount>,
71}
72/// MsgCreateVestingAccount defines a message that enables creating a vesting
73/// account.
74#[allow(clippy::derive_partial_eq_without_eq)]
75#[derive(Clone, PartialEq, ::prost::Message)]
76pub struct MsgCreateVestingAccount {
77    #[prost(string, tag="1")]
78    pub from_address: ::prost::alloc::string::String,
79    #[prost(string, tag="2")]
80    pub to_address: ::prost::alloc::string::String,
81    #[prost(message, repeated, tag="3")]
82    pub amount: ::prost::alloc::vec::Vec<crate::proto::cosmos::base::v1beta1::Coin>,
83    /// end of vesting as unix time (in seconds).
84    #[prost(int64, tag="4")]
85    pub end_time: i64,
86    #[prost(bool, tag="5")]
87    pub delayed: bool,
88}
89/// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type.
90#[allow(clippy::derive_partial_eq_without_eq)]
91#[derive(Clone, PartialEq, ::prost::Message)]
92pub struct MsgCreateVestingAccountResponse {
93}
94/// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent
95/// locked account.
96///
97/// Since: cosmos-sdk 0.46
98#[allow(clippy::derive_partial_eq_without_eq)]
99#[derive(Clone, PartialEq, ::prost::Message)]
100pub struct MsgCreatePermanentLockedAccount {
101    #[prost(string, tag="1")]
102    pub from_address: ::prost::alloc::string::String,
103    #[prost(string, tag="2")]
104    pub to_address: ::prost::alloc::string::String,
105    #[prost(message, repeated, tag="3")]
106    pub amount: ::prost::alloc::vec::Vec<crate::proto::cosmos::base::v1beta1::Coin>,
107}
108/// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type.
109///
110/// Since: cosmos-sdk 0.46
111#[allow(clippy::derive_partial_eq_without_eq)]
112#[derive(Clone, PartialEq, ::prost::Message)]
113pub struct MsgCreatePermanentLockedAccountResponse {
114}
115/// MsgCreateVestingAccount defines a message that enables creating a vesting
116/// account.
117///
118/// Since: cosmos-sdk 0.46
119#[allow(clippy::derive_partial_eq_without_eq)]
120#[derive(Clone, PartialEq, ::prost::Message)]
121pub struct MsgCreatePeriodicVestingAccount {
122    #[prost(string, tag="1")]
123    pub from_address: ::prost::alloc::string::String,
124    #[prost(string, tag="2")]
125    pub to_address: ::prost::alloc::string::String,
126    /// start of vesting as unix time (in seconds).
127    #[prost(int64, tag="3")]
128    pub start_time: i64,
129    #[prost(message, repeated, tag="4")]
130    pub vesting_periods: ::prost::alloc::vec::Vec<Period>,
131}
132/// MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount
133/// response type.
134///
135/// Since: cosmos-sdk 0.46
136#[allow(clippy::derive_partial_eq_without_eq)]
137#[derive(Clone, PartialEq, ::prost::Message)]
138pub struct MsgCreatePeriodicVestingAccountResponse {
139}
140// @@protoc_insertion_point(module)