38 lines
807 B
Protocol Buffer
38 lines
807 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);
|
|
rpc NewBid(MsgNewBid) returns (MsgNewBidResponse);
|
|
// this line is used by starport scaffolding # proto/tx/rpc
|
|
}
|
|
|
|
message MsgNewAuction {
|
|
string creator = 1;
|
|
string name = 2;
|
|
string description = 3;
|
|
string ceiling = 4;
|
|
string denom = 5;
|
|
uint64 leaseEnd = 6;
|
|
}
|
|
|
|
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
|