-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e7e83d
commit 81ddf95
Showing
8 changed files
with
105 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a6eae66545df6e128da2c7cac81ff4c1c02deb7b | ||
7bfbbe2c88648620bde41b80e3d9ce41883115a4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @generated | ||
/// Params defines the parameters for the module. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct Params { | ||
#[prost(uint64, repeated, tag = "1")] | ||
pub fee_tiers: ::prost::alloc::vec::Vec<u64>, | ||
#[prost(string, tag = "2")] | ||
pub max_true_taker_spread: ::prost::alloc::string::String, | ||
} | ||
// @@protoc_insertion_point(module) |
44 changes: 44 additions & 0 deletions
44
packages/neutron-sdk/src/proto_types/neutron.dynamicfees.v1.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// @generated | ||
/// Params defines the parameters for the module. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct Params { | ||
/// List of asset prices by the NTRN | ||
/// it's used in cooperation with feemarket module | ||
/// ntrn_prices is a data source to convert gas_price from feemarket's base_denom (untrn) | ||
/// into a given asset | ||
#[prost(message, repeated, tag = "1")] | ||
pub ntrn_prices: ::prost::alloc::vec::Vec<cosmos_sdk_proto::cosmos::base::v1beta1::DecCoin>, | ||
} | ||
/// GenesisState defines the dynamicfees module's genesis state. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct GenesisState { | ||
#[prost(message, optional, tag = "1")] | ||
pub params: ::core::option::Option<Params>, | ||
} | ||
/// QueryParamsRequest is request type for the Query/Params RPC method. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct QueryParamsRequest {} | ||
/// QueryParamsResponse is response type for the Query/Params RPC method. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct QueryParamsResponse { | ||
/// params holds all the parameters of this module. | ||
#[prost(message, optional, tag = "1")] | ||
pub params: ::core::option::Option<Params>, | ||
} | ||
/// MsgUpdateParams is the MsgUpdateParams request type. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct MsgUpdateParams { | ||
/// Authority is the address of the governance account. | ||
#[prost(string, tag = "1")] | ||
pub authority: ::prost::alloc::string::String, | ||
/// params defines the x/dynamicfees parameters to update. | ||
/// | ||
/// NOTE: All parameters must be supplied. | ||
#[prost(message, optional, tag = "2")] | ||
pub params: ::core::option::Option<Params>, | ||
} | ||
/// MsgUpdateParamsResponse defines the response structure for executing a | ||
/// MsgUpdateParams message. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct MsgUpdateParamsResponse {} | ||
// @@protoc_insertion_point(module) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters