2022-01-08 00:39:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.auction.v1beta1;
|
|
|
|
|
|
|
|
import "cosmos/base/v1beta1/coin.proto";
|
2022-11-22 23:22:07 +00:00
|
|
|
import "gogoproto/gogo.proto";
|
2022-01-08 00:39:27 +00:00
|
|
|
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
|
|
|
|
|
|
|
// Msg defines the auction Msg service.
|
|
|
|
service Msg {
|
|
|
|
// PlaceBid message type used by bidders to place bids on auctions
|
|
|
|
rpc PlaceBid(MsgPlaceBid) returns (MsgPlaceBidResponse);
|
|
|
|
}
|
|
|
|
|
|
|
|
// MsgPlaceBid represents a message used by bidders to place bids on auctions
|
|
|
|
message MsgPlaceBid {
|
2022-11-22 23:22:07 +00:00
|
|
|
option (gogoproto.equal) = false;
|
2022-01-08 00:39:27 +00:00
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
|
|
|
|
uint64 auction_id = 1;
|
|
|
|
|
|
|
|
string bidder = 2;
|
|
|
|
|
|
|
|
cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false];
|
|
|
|
}
|
|
|
|
|
|
|
|
// MsgPlaceBidResponse defines the Msg/PlaceBid response type.
|
|
|
|
message MsgPlaceBidResponse {}
|