mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 06:24:26 -08:00
add bid arr in auction type
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user