mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-09-13 11:50:11 +00:00

* Fix liuqid notarization (#191) * Fix liuqid notarization - 2nd part (#193) * fixed missing unmarshaling * fixed message formatting issue * fixed config parsing issue (#194) * [util] Supply fees But only where we want to see the transaction succeed. The other ones we let in a broken state. * Added logger a logger struct to log with a TAG (#198) Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> Signed-off-by: Julian Strobl <jmastr@mailbox.org> Co-authored-by: Jürgen Eckel <eckelj@users.noreply.github.com>
38 lines
997 B
Protocol Buffer
38 lines
997 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package planetmintgo.machine;
|
|
|
|
import "planetmintgo/machine/machine.proto";
|
|
import "planetmintgo/machine/trust_anchor.proto";
|
|
import "planetmintgo/machine/liquid_asset.proto";
|
|
|
|
option go_package = "github.com/planetmint/planetmint-go/x/machine/types";
|
|
|
|
// Msg defines the Msg service.
|
|
service Msg {
|
|
rpc AttestMachine (MsgAttestMachine ) returns (MsgAttestMachineResponse );
|
|
rpc RegisterTrustAnchor (MsgRegisterTrustAnchor) returns (MsgRegisterTrustAnchorResponse);
|
|
rpc NotarizeLiquidAsset (MsgNotarizeLiquidAsset) returns (MsgNotarizeLiquidAssetResponse);
|
|
}
|
|
message MsgAttestMachine {
|
|
string creator = 1;
|
|
Machine machine = 2;
|
|
}
|
|
|
|
message MsgAttestMachineResponse {}
|
|
|
|
message MsgRegisterTrustAnchor {
|
|
string creator = 1;
|
|
TrustAnchor trustAnchor = 2;
|
|
}
|
|
|
|
message MsgRegisterTrustAnchorResponse {}
|
|
|
|
message MsgNotarizeLiquidAsset {
|
|
string creator = 1;
|
|
LiquidAsset notarization = 2;
|
|
}
|
|
|
|
message MsgNotarizeLiquidAssetResponse {}
|
|
|