22 lines
743 B
Protocol Buffer
22 lines
743 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package offchain;
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "cosmos/msg/v1/msg.proto";
|
|
import "amino/amino.proto";
|
|
|
|
option go_package = "cosmossdk.io/client/v2/offchain";
|
|
|
|
// MsgSignArbitraryData defines an arbitrary, general-purpose, off-chain message
|
|
message MsgSignArbitraryData {
|
|
option (amino.name) = "offchain/MsgSignArbitraryData";
|
|
option (cosmos.msg.v1.signer) = "signer";
|
|
// AppDomain is the application requesting off-chain message signing
|
|
string app_domain = 1;
|
|
// Signer is the sdk.AccAddress of the message signer
|
|
string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
// Data represents the raw bytes of the content that is signed (text, json, etc)
|
|
string data = 3;
|
|
}
|