-
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
f45c35d
commit 813f9e0
Showing
4 changed files
with
54 additions
and
22 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 @@ | ||
3357d418e391c14e1a4800ab640932896ed93fe8 | ||
a6eae66545df6e128da2c7cac81ff4c1c02deb7b |
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
31 changes: 31 additions & 0 deletions
31
packages/neutron-sdk/src/proto_types/osmosis.tokenfactory.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,31 @@ | ||
// @generated | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct WhitelistedHook { | ||
#[prost(uint64, tag = "1")] | ||
pub code_id: u64, | ||
#[prost(string, tag = "2")] | ||
pub denom_creator: ::prost::alloc::string::String, | ||
} | ||
/// Params defines the parameters for the tokenfactory module. | ||
#[derive(Clone, PartialEq, ::prost::Message)] | ||
pub struct Params { | ||
/// DenomCreationFee defines the fee to be charged on the creation of a new | ||
/// denom. The fee is drawn from the MsgCreateDenom's sender account, and | ||
/// transferred to the community pool. | ||
#[prost(message, repeated, tag = "1")] | ||
pub denom_creation_fee: ::prost::alloc::vec::Vec<cosmos_sdk_proto::cosmos::base::v1beta1::Coin>, | ||
/// DenomCreationGasConsume defines the gas cost for creating a new denom. | ||
/// This is intended as a spam deterrence mechanism. | ||
/// | ||
/// See: <https://github.com/CosmWasm/token-factory/issues/11> | ||
#[prost(uint64, tag = "2")] | ||
pub denom_creation_gas_consume: u64, | ||
/// FeeCollectorAddress is the address where fees collected from denom creation | ||
/// are sent to | ||
#[prost(string, tag = "3")] | ||
pub fee_collector_address: ::prost::alloc::string::String, | ||
/// HookWhitelist is the list of hooks which are allowed to be added and executed | ||
#[prost(message, repeated, tag = "4")] | ||
pub whitelisted_hooks: ::prost::alloc::vec::Vec<WhitelistedHook>, | ||
} | ||
// @@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