scaffold newBid tx

This commit is contained in:
2022-08-28 17:57:06 +00:00
parent 6236887e5c
commit e219d2f42c
19 changed files with 833 additions and 51 deletions

View File

@@ -8,6 +8,7 @@ option go_package = "cosmos-test/x/cosmostest/types";
// Msg defines the Msg service.
service Msg {
rpc NewAuction(MsgNewAuction) returns (MsgNewAuctionResponse);
rpc NewBid(MsgNewBid) returns (MsgNewBidResponse);
// this line is used by starport scaffolding # proto/tx/rpc
}
@@ -22,4 +23,13 @@ message MsgNewAuctionResponse {
string auctionId = 1;
}
message MsgNewBid {
string creator = 1;
string auctionIndex = 2;
string amount = 3;
}
message MsgNewBidResponse {
}
// this line is used by starport scaffolding # proto/tx/message