Co-authored-by: Keefer Taylor | Tessellated <keefer@tessellated.io>
This commit is contained in:
co-authored by
Keefer Taylor | Tessellated
parent
43789945e9
commit
8b5ebc310a
@@ -7,9 +7,10 @@ import "cosmos/app/v1alpha1/module.proto";
|
||||
// Module is the config object of the builder module.
|
||||
message Module {
|
||||
option (cosmos.app.v1alpha1.module) = {
|
||||
go_import: "github.com/skip-mev/pob/x/builder"
|
||||
go_import : "github.com/skip-mev/pob/x/builder"
|
||||
};
|
||||
|
||||
// Authority defines the custom module authority. If not set, defaults to the governance module.
|
||||
// Authority defines the custom module authority. If not set, defaults to the
|
||||
// governance module.
|
||||
string authority = 2;
|
||||
}
|
||||
@@ -8,9 +8,7 @@ import "amino/amino.proto";
|
||||
option go_package = "github.com/skip-mev/pob/x/builder/types";
|
||||
|
||||
// GenesisState defines the genesis state of the x/builder module.
|
||||
message GenesisState {
|
||||
Params params = 1 [(gogoproto.nullable) = false];
|
||||
}
|
||||
message GenesisState { Params params = 1 [ (gogoproto.nullable) = false ]; }
|
||||
|
||||
// Params defines the parameters of the x/builder module.
|
||||
message Params {
|
||||
@@ -22,16 +20,16 @@ message Params {
|
||||
|
||||
// escrow_account_address is the address of the account that will receive a
|
||||
// portion of the bid proceeds.
|
||||
string escrow_account_address = 2;
|
||||
bytes escrow_account_address = 2;
|
||||
|
||||
// reserve_fee specifies the bid floor for the auction.
|
||||
cosmos.base.v1beta1.Coin reserve_fee = 3
|
||||
[(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
||||
[ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ];
|
||||
|
||||
// min_bid_increment specifies the minimum amount that the next bid must be
|
||||
// greater than the previous bid.
|
||||
cosmos.base.v1beta1.Coin min_bid_increment = 4
|
||||
[(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
|
||||
[ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ];
|
||||
|
||||
// front_running_protection specifies whether front running and sandwich
|
||||
// attack protection is enabled.
|
||||
@@ -40,7 +38,7 @@ message Params {
|
||||
// proposer_fee defines the portion of the winning bid that goes to the block
|
||||
// proposer that proposed the block.
|
||||
string proposer_fee = 6 [
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user