2022-01-08 00:39:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.auction.v1beta1;
|
|
|
|
|
2022-11-22 23:22:07 +00:00
|
|
|
import "cosmos_proto/cosmos.proto";
|
2022-01-08 00:39:27 +00:00
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "google/protobuf/any.proto";
|
|
|
|
import "google/protobuf/duration.proto";
|
|
|
|
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
|
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
|
|
|
|
// GenesisState defines the auction module's genesis state.
|
|
|
|
message GenesisState {
|
|
|
|
uint64 next_auction_id = 1;
|
|
|
|
|
|
|
|
Params params = 2 [(gogoproto.nullable) = false];
|
|
|
|
|
|
|
|
// Genesis auctions
|
|
|
|
repeated google.protobuf.Any auctions = 3 [(cosmos_proto.accepts_interface) = "GenesisAuction"];
|
|
|
|
}
|
|
|
|
|
|
|
|
// Params defines the parameters for the issuance module.
|
|
|
|
message Params {
|
2022-04-22 18:36:05 +00:00
|
|
|
reserved 2;
|
|
|
|
reserved "bid_duration";
|
2022-01-08 00:39:27 +00:00
|
|
|
|
2022-11-22 23:22:07 +00:00
|
|
|
google.protobuf.Duration max_auction_duration = 1 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.stdduration) = true
|
|
|
|
];
|
|
|
|
|
|
|
|
google.protobuf.Duration forward_bid_duration = 6 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.stdduration) = true
|
|
|
|
];
|
|
|
|
google.protobuf.Duration reverse_bid_duration = 7 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.stdduration) = true
|
|
|
|
];
|
|
|
|
|
|
|
|
bytes increment_surplus = 3 [
|
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
|
|
|
|
bytes increment_debt = 4 [
|
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
|
|
|
|
|
|
|
bytes increment_collateral = 5 [
|
|
|
|
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-01-08 00:39:27 +00:00
|
|
|
}
|