mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
ffef832d45
- Upgrade cosmos-sdk to v0.44.5 from v0.39.2 - Add Legacy Tx Endpoint for backwards compatibility - Add IBC v1.2.3 Support Co-authored-by: DracoLi <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: denalimarsh <denalimarsh@gmail.com> Co-authored-by: Draco Li <draco@kava.io> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Denali Marsh <denali@kava.io>
39 lines
1.3 KiB
Protocol Buffer
39 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
package kava.auction.v1beta1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/any.proto";
|
|
import "cosmos_proto/cosmos.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 {
|
|
|
|
google.protobuf.Duration max_auction_duration = 1 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true];
|
|
|
|
google.protobuf.Duration bid_duration = 2 [(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];
|
|
}
|