syntax = "proto3";
package x.apps;

import "gogoproto/gogo.proto";

option go_package = "github.com/pokt-network/pocket-core/x/apps/types";

message MsgProtoStake {
	option (gogoproto.equal) = true;
	option (gogoproto.goproto_stringer) = true;
	option (gogoproto.goproto_getters) = false;
	option (gogoproto.messagename) = true;

	bytes pub_key = 1 [(gogoproto.jsontag) = "pubkey", (gogoproto.moretags) = "yaml:\"pubkey\""];
	repeated string chains = 2 [(gogoproto.jsontag) = "chains", (gogoproto.moretags) = "yaml:\"chains\""];
	string value = 3 [(gogoproto.customtype) = "github.com/pokt-network/pocket-core/types.BigInt", (gogoproto.nullable) = false, (gogoproto.jsontag) = "value", (gogoproto.moretags) = "yaml:\"value\""];
}

message MsgBeginUnstake {
	option (gogoproto.equal) = true;
	option (gogoproto.goproto_stringer) = true;
	option (gogoproto.goproto_getters) = false;
	option (gogoproto.messagename) = true;

	bytes Address = 1 [(gogoproto.casttype) = "github.com/pokt-network/pocket-core/types.Address", (gogoproto.jsontag) = "application_address", (gogoproto.moretags) = "yaml:\"application_address\""];
}

message MsgUnjail {
	option (gogoproto.equal) = true;
	option (gogoproto.goproto_stringer) = true;
	option (gogoproto.goproto_getters) = false;
	option (gogoproto.messagename) = true;

	bytes AppAddr = 1 [(gogoproto.casttype) = "github.com/pokt-network/pocket-core/types.Address", (gogoproto.jsontag) = "address", (gogoproto.moretags) = "yaml:\"address\""];
}
