gpu-compute-chain/proto/cosmostest/tx.proto

36 lines
762 B
Protocol Buffer
Raw Normal View History

2022-08-25 16:51:14 -07:00
syntax = "proto3";
package cosmostest.cosmostest;
// this line is used by starport scaffolding # proto/tx/import
option go_package = "cosmos-test/x/cosmostest/types";
// Msg defines the Msg service.
service Msg {
2022-08-27 14:19:03 -07:00
rpc NewAuction(MsgNewAuction) returns (MsgNewAuctionResponse);
2022-08-28 10:57:06 -07:00
rpc NewBid(MsgNewBid) returns (MsgNewBidResponse);
2022-08-27 14:19:03 -07:00
// this line is used by starport scaffolding # proto/tx/rpc
}
message MsgNewAuction {
string creator = 1;
string owner = 2;
string name = 3;
string description = 4;
}
message MsgNewAuctionResponse {
string auctionId = 1;
2022-08-25 16:51:14 -07:00
}
2022-08-28 10:57:06 -07:00
message MsgNewBid {
string creator = 1;
string auctionIndex = 2;
string amount = 3;
}
message MsgNewBidResponse {
}
2022-08-25 16:51:14 -07:00
// this line is used by starport scaffolding # proto/tx/message