Skip to content

Commit c1962a9

Browse files
committed
release 2.0.0-alpha.15
1 parent 3b218fd commit c1962a9

File tree

9 files changed

+527
-562
lines changed

9 files changed

+527
-562
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

side-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "side-proto"
3-
version = "2.0.0-alpha.14"
3+
version = "2.0.0-alpha.15"
44
edition = "2021"
55
description = "Rust Client for Side Chain"
66
readme = "README.md"

side-proto/src/prost/side/side.btcbridge.rs

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,64 @@
11
// @generated
2+
/// ParamsV1 defines the v1 parameters for the module.
3+
#[allow(clippy::derive_partial_eq_without_eq)]
4+
#[derive(Clone, PartialEq, ::prost::Message)]
5+
pub struct ParamsV1 {
6+
/// The minimum number of confirmations required for the deposit transactions
7+
#[prost(int32, tag = "1")]
8+
pub deposit_confirmation_depth: i32,
9+
/// The minimum number of confirmations required for the withdrawal transactions
10+
#[prost(int32, tag = "2")]
11+
pub withdraw_confirmation_depth: i32,
12+
/// The allowed maximum depth for bitcoin block reorganization
13+
#[prost(int32, tag = "3")]
14+
pub max_reorg_depth: i32,
15+
/// Indicates the maximum depth or distance from the latest block up to which transactions are considered for acceptance.
16+
#[prost(uint64, tag = "4")]
17+
pub max_acceptable_block_depth: u64,
18+
/// The denomination of the voucher
19+
#[prost(string, tag = "5")]
20+
pub btc_voucher_denom: ::prost::alloc::string::String,
21+
/// Indicates if deposit is enabled
22+
#[prost(bool, tag = "6")]
23+
pub deposit_enabled: bool,
24+
/// Indicates if withdrawal is enabled
25+
#[prost(bool, tag = "7")]
26+
pub withdraw_enabled: bool,
27+
/// Trusted relayers to submit bitcoin block headers
28+
#[prost(string, repeated, tag = "8")]
29+
pub trusted_btc_relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
30+
/// Trusted relayers for non-btc asset deposit
31+
#[prost(string, repeated, tag = "9")]
32+
pub trusted_non_btc_relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
33+
/// Trusted fee providers to submit bitcoin fee rate
34+
#[prost(string, repeated, tag = "10")]
35+
pub trusted_fee_providers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
36+
/// Period of validity for the fee rate
37+
#[prost(int64, tag = "11")]
38+
pub fee_rate_validity_period: i64,
39+
/// Asset vaults
40+
#[prost(message, repeated, tag = "12")]
41+
pub vaults: ::prost::alloc::vec::Vec<Vault>,
42+
/// Withdrawal params
43+
#[prost(message, optional, tag = "13")]
44+
pub withdraw_params: ::core::option::Option<WithdrawParams>,
45+
/// Protocol limitations
46+
#[prost(message, optional, tag = "14")]
47+
pub protocol_limits: ::core::option::Option<ProtocolLimits>,
48+
/// Protocol fees
49+
#[prost(message, optional, tag = "15")]
50+
pub protocol_fees: ::core::option::Option<ProtocolFees>,
51+
/// TSS params
52+
#[prost(message, optional, tag = "16")]
53+
pub tss_params: ::core::option::Option<TssParams>,
54+
}
55+
impl ::prost::Name for ParamsV1 {
56+
const NAME: &'static str = "ParamsV1";
57+
const PACKAGE: &'static str = "side.btcbridge";
58+
fn full_name() -> ::prost::alloc::string::String {
59+
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
60+
}
61+
}
262
/// Params defines the parameters for the module.
363
#[allow(clippy::derive_partial_eq_without_eq)]
464
#[derive(Clone, PartialEq, ::prost::Message)]

0 commit comments

Comments
 (0)