mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-09-13 03:40:10 +00:00
40 lines
976 B
Protocol Buffer
40 lines
976 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package planetmintgo.dao;
|
|
|
|
import "planetmintgo/dao/mint_request.proto";
|
|
|
|
option go_package = "github.com/planetmint/planetmint-go/x/dao/types";
|
|
|
|
// Msg defines the Msg service.
|
|
service Msg {
|
|
rpc ReissueRDDLProposal (MsgReissueRDDLProposal) returns (MsgReissueRDDLProposalResponse);
|
|
rpc MintToken (MsgMintToken ) returns (MsgMintTokenResponse );
|
|
rpc ReissueRDDLResult (MsgReissueRDDLResult ) returns (MsgReissueRDDLResultResponse );
|
|
}
|
|
message MsgReissueRDDLProposal {
|
|
string creator = 1;
|
|
string proposer = 2;
|
|
string tx = 3;
|
|
uint64 blockheight = 4;
|
|
}
|
|
|
|
message MsgReissueRDDLProposalResponse {}
|
|
|
|
message MsgMintToken {
|
|
string creator = 1;
|
|
MintRequest mintRequest = 2;
|
|
}
|
|
|
|
message MsgMintTokenResponse {}
|
|
|
|
message MsgReissueRDDLResult {
|
|
string creator = 1;
|
|
string proposer = 2;
|
|
string txId = 3;
|
|
uint64 blockHeight = 4;
|
|
}
|
|
|
|
message MsgReissueRDDLResultResponse {}
|
|
|