add bid arr in auction type

This commit is contained in:
2022-08-28 02:32:06 +00:00
parent 4246f768a1
commit fcc85ec520
6 changed files with 166 additions and 52 deletions

View File

@@ -3,11 +3,13 @@ package cosmostest.cosmostest;
option go_package = "cosmos-test/x/cosmostest/types";
import "cosmostest/bid.proto";
message Auction {
string index = 1;
string name = 2;
string description = 3;
uint32 bids = 4;
uint32 highestBid = 5;
repeated Bid bids = 4;
uint32 highestBid = 5; // INDEX of highest bid
}