github.com/InjectiveLabs/sdk-go@v1.53.0/proto/injective/auction/v1beta1/auction.proto (about)

     1  syntax = "proto3";
     2  package injective.auction.v1beta1;
     3  
     4  import "gogoproto/gogo.proto";
     5  import "cosmos/base/v1beta1/coin.proto";
     6  import "amino/amino.proto";
     7  
     8  option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types";
     9  
    10  message Params {
    11    option (gogoproto.equal) = true;
    12    option (amino.name) = "auction/Params";
    13  
    14    // auction_period_duration defines the auction period duration
    15    int64 auction_period = 1;
    16    // min_next_bid_increment_rate defines the minimum increment rate for new bids
    17    string min_next_bid_increment_rate = 2 [
    18      (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
    19      (gogoproto.nullable) = false
    20    ];
    21  }
    22  
    23  message Bid {
    24    string bidder = 1 [
    25      (gogoproto.jsontag) = "bidder",
    26      (gogoproto.moretags) = "yaml:\"bidder\""
    27    ];
    28  
    29    string amount = 2 [
    30      (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin",
    31      (gogoproto.nullable) = false
    32    ];
    33  }
    34  
    35  message LastAuctionResult {
    36    // winner describes the address of the winner
    37    string winner = 1;
    38    // amount describes the amount the winner get from the auction
    39    string amount = 2 [
    40      (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin",
    41      (gogoproto.nullable) = false
    42    ];
    43    // round defines the round number of auction
    44    uint64 round = 3;
    45  }
    46  
    47  message EventBid {
    48    // bidder describes the address of bidder
    49    string bidder = 1;
    50    // amount describes the amount the bidder put on the auction
    51    string amount = 2 [
    52      (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin",
    53      (gogoproto.nullable) = false
    54    ];
    55    // round defines the round number of auction
    56    uint64 round = 3;
    57  }
    58  
    59  message EventAuctionResult {
    60    // winner describes the address of the winner
    61    string winner = 1;
    62    // amount describes the amount the winner get from the auction
    63    string amount = 2 [
    64      (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin",
    65      (gogoproto.nullable) = false
    66    ];
    67    // round defines the round number of auction
    68    uint64 round = 3;
    69  }
    70  
    71  message EventAuctionStart {
    72    // round defines the round number of auction
    73    uint64 round = 1;
    74    // ending_timestamp describes auction end time
    75    int64 ending_timestamp = 2;
    76    // new_basket describes auction module balance at the time of new auction
    77    // start
    78    repeated cosmos.base.v1beta1.Coin new_basket = 3 [
    79      (gogoproto.nullable) = false,
    80      (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
    81    ];
    82  }