26 lines
585 B
Protocol Buffer
26 lines
585 B
Protocol Buffer
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 {
|
|
rpc NewAuction(MsgNewAuction) returns (MsgNewAuctionResponse);
|
|
// 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;
|
|
}
|
|
|
|
// this line is used by starport scaffolding # proto/tx/message
|