diff --git a/api/gen/csharp/Gnonativetypes.cs b/api/gen/csharp/Gnonativetypes.cs
index 3646b7d2..214f40f3 100644
--- a/api/gen/csharp/Gnonativetypes.cs
+++ b/api/gen/csharp/Gnonativetypes.cs
@@ -90,34 +90,44 @@ static GnonativetypesReflection() {
"aW9uGAIgASgJUgpleHByZXNzaW9uIicKDVFFdmFsUmVzcG9uc2USFgoGcmVz",
"dWx0GAEgASgJUgZyZXN1bHQiZgoHTXNnQ2FsbBIhCgxwYWNrYWdlX3BhdGgY",
"ASABKAlSC3BhY2thZ2VQYXRoEhAKA2ZuYxgCIAEoCVIDZm5jEhIKBGFyZ3MY",
- "AyADKAlSBGFyZ3MSEgoEc2VuZBgEIAEoCVIEc2VuZCKNAQoLQ2FsbFJlcXVl",
+ "AyADKAlSBGFyZ3MSEgoEc2VuZBgEIAEoCVIEc2VuZCK0AQoLQ2FsbFJlcXVl",
"c3QSFwoHZ2FzX2ZlZRgBIAEoCVIGZ2FzRmVlEh0KCmdhc193YW50ZWQYAiAB",
- "KBJSCWdhc1dhbnRlZBISCgRtZW1vGAMgASgJUgRtZW1vEjIKBG1zZ3MYBCAD",
- "KAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuTXNnQ2FsbFIETXNncyImCgxD",
- "YWxsUmVzcG9uc2USFgoGcmVzdWx0GAEgASgMUgZyZXN1bHQiPAoHTXNnU2Vu",
- "ZBIdCgp0b19hZGRyZXNzGAEgASgMUgl0b0FkZHJlc3MSEgoEc2VuZBgCIAEo",
- "CVIEc2VuZCKNAQoLU2VuZFJlcXVlc3QSFwoHZ2FzX2ZlZRgBIAEoCVIGZ2Fz",
- "RmVlEh0KCmdhc193YW50ZWQYAiABKBJSCWdhc1dhbnRlZBISCgRtZW1vGAMg",
- "ASgJUgRtZW1vEjIKBG1zZ3MYBCADKAsyHi5sYW5kLmduby5nbm9uYXRpdmUu",
- "djEuTXNnU2VuZFIETXNncyIOCgxTZW5kUmVzcG9uc2UiNgoGTXNnUnVuEhgK",
- "B3BhY2thZ2UYASABKAlSB3BhY2thZ2USEgoEc2VuZBgCIAEoCVIEc2VuZCKL",
- "AQoKUnVuUmVxdWVzdBIXCgdnYXNfZmVlGAEgASgJUgZnYXNGZWUSHQoKZ2Fz",
- "X3dhbnRlZBgCIAEoElIJZ2FzV2FudGVkEhIKBG1lbW8YAyABKAlSBG1lbW8S",
- "MQoEbXNncxgEIAMoCzIdLmxhbmQuZ25vLmdub25hdGl2ZS52MS5Nc2dSdW5S",
- "BE1zZ3MiJQoLUnVuUmVzcG9uc2USFgoGcmVzdWx0GAEgASgJUgZyZXN1bHQi",
- "MgoWQWRkcmVzc1RvQmVjaDMyUmVxdWVzdBIYCgdhZGRyZXNzGAEgASgMUgdh",
- "ZGRyZXNzIkAKF0FkZHJlc3NUb0JlY2gzMlJlc3BvbnNlEiUKDmJlY2gzMl9h",
- "ZGRyZXNzGAEgASgJUg1iZWNoMzJBZGRyZXNzIkEKGEFkZHJlc3NGcm9tQmVj",
- "aDMyUmVxdWVzdBIlCg5iZWNoMzJfYWRkcmVzcxgBIAEoCVINYmVjaDMyQWRk",
- "cmVzcyI1ChlBZGRyZXNzRnJvbUJlY2gzMlJlc3BvbnNlEhgKB2FkZHJlc3MY",
- "ASABKAxSB2FkZHJlc3MiOAoaQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QS",
- "GgoIbW5lbW9uaWMYASABKAlSCG1uZW1vbmljIjcKG0FkZHJlc3NGcm9tTW5l",
- "bW9uaWNSZXNwb25zZRIYCgdhZGRyZXNzGAEgASgMUgdhZGRyZXNzIiIKDEhl",
- "bGxvUmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIisKDUhlbGxvUmVzcG9u",
- "c2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nIigKEkhlbGxvU3RyZWFt",
- "UmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIjEKE0hlbGxvU3RyZWFtUmVz",
- "cG9uc2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nQilaJ2dpdGh1Yi5j",
- "b20vZ25vbGFuZy9nbm9uYXRpdmUvYXBpL2dlbi9nb2IGcHJvdG8z"));
+ "KBJSCWdhc1dhbnRlZBISCgRtZW1vGAMgASgJUgRtZW1vEiUKDmNhbGxlcl9h",
+ "ZGRyZXNzGAQgASgMUg1jYWxsZXJBZGRyZXNzEjIKBG1zZ3MYBSADKAsyHi5s",
+ "YW5kLmduby5nbm9uYXRpdmUudjEuTXNnQ2FsbFIETXNncyImCgxDYWxsUmVz",
+ "cG9uc2USFgoGcmVzdWx0GAEgASgMUgZyZXN1bHQiPAoHTXNnU2VuZBIdCgp0",
+ "b19hZGRyZXNzGAEgASgMUgl0b0FkZHJlc3MSEgoEc2VuZBgCIAEoCVIEc2Vu",
+ "ZCK0AQoLU2VuZFJlcXVlc3QSFwoHZ2FzX2ZlZRgBIAEoCVIGZ2FzRmVlEh0K",
+ "Cmdhc193YW50ZWQYAiABKBJSCWdhc1dhbnRlZBISCgRtZW1vGAMgASgJUgRt",
+ "ZW1vEiUKDmNhbGxlcl9hZGRyZXNzGAQgASgMUg1jYWxsZXJBZGRyZXNzEjIK",
+ "BG1zZ3MYBSADKAsyHi5sYW5kLmduby5nbm9uYXRpdmUudjEuTXNnU2VuZFIE",
+ "TXNncyIOCgxTZW5kUmVzcG9uc2UiNgoGTXNnUnVuEhgKB3BhY2thZ2UYASAB",
+ "KAlSB3BhY2thZ2USEgoEc2VuZBgCIAEoCVIEc2VuZCKyAQoKUnVuUmVxdWVz",
+ "dBIXCgdnYXNfZmVlGAEgASgJUgZnYXNGZWUSHQoKZ2FzX3dhbnRlZBgCIAEo",
+ "ElIJZ2FzV2FudGVkEhIKBG1lbW8YAyABKAlSBG1lbW8SJQoOY2FsbGVyX2Fk",
+ "ZHJlc3MYBCABKAxSDWNhbGxlckFkZHJlc3MSMQoEbXNncxgFIAMoCzIdLmxh",
+ "bmQuZ25vLmdub25hdGl2ZS52MS5Nc2dSdW5SBE1zZ3MiJQoLUnVuUmVzcG9u",
+ "c2USFgoGcmVzdWx0GAEgASgJUgZyZXN1bHQiKQoOTWFrZVR4UmVzcG9uc2US",
+ "FwoHdHhfanNvbhgBIAEoCVIGdHhKc29uIngKDVNpZ25UeFJlcXVlc3QSFwoH",
+ "dHhfanNvbhgBIAEoCVIGdHhKc29uEiUKDmFjY291bnRfbnVtYmVyGAIgASgE",
+ "Ug1hY2NvdW50TnVtYmVyEicKD3NlcXVlbmNlX251bWJlchgDIAEoBFIOc2Vx",
+ "dWVuY2VOdW1iZXIiMQoOU2lnblR4UmVzcG9uc2USHwoOc2lnbmVkX3R4X2pz",
+ "b24YASABKAlSB3R4X2pzb24iOwoYQnJvYWRjYXN0VHhDb21taXRSZXF1ZXN0",
+ "Eh8KDnNpZ25lZF90eF9qc29uGAEgASgJUgd0eF9qc29uIjMKGUJyb2FkY2Fz",
+ "dFR4Q29tbWl0UmVzcG9uc2USFgoGcmVzdWx0GAEgASgMUgZyZXN1bHQiMgoW",
+ "QWRkcmVzc1RvQmVjaDMyUmVxdWVzdBIYCgdhZGRyZXNzGAEgASgMUgdhZGRy",
+ "ZXNzIkAKF0FkZHJlc3NUb0JlY2gzMlJlc3BvbnNlEiUKDmJlY2gzMl9hZGRy",
+ "ZXNzGAEgASgJUg1iZWNoMzJBZGRyZXNzIkEKGEFkZHJlc3NGcm9tQmVjaDMy",
+ "UmVxdWVzdBIlCg5iZWNoMzJfYWRkcmVzcxgBIAEoCVINYmVjaDMyQWRkcmVz",
+ "cyI1ChlBZGRyZXNzRnJvbUJlY2gzMlJlc3BvbnNlEhgKB2FkZHJlc3MYASAB",
+ "KAxSB2FkZHJlc3MiOAoaQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QSGgoI",
+ "bW5lbW9uaWMYASABKAlSCG1uZW1vbmljIjcKG0FkZHJlc3NGcm9tTW5lbW9u",
+ "aWNSZXNwb25zZRIYCgdhZGRyZXNzGAEgASgMUgdhZGRyZXNzIiIKDEhlbGxv",
+ "UmVxdWVzdBISCgRuYW1lGAEgASgJUgROYW1lIisKDUhlbGxvUmVzcG9uc2US",
+ "GgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nIigKEkhlbGxvU3RyZWFtUmVx",
+ "dWVzdBISCgRuYW1lGAEgASgJUgROYW1lIjEKE0hlbGxvU3RyZWFtUmVzcG9u",
+ "c2USGgoIZ3JlZXRpbmcYASABKAlSCEdyZWV0aW5nQilaJ2dpdGh1Yi5jb20v",
+ "Z25vbGFuZy9nbm9uYXRpdmUvYXBpL2dlbi9nb2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
@@ -167,14 +177,19 @@ static GnonativetypesReflection() {
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.QEvalRequest), global::Land.Gno.Gnonative.V1.QEvalRequest.Parser, new[]{ "PackagePath", "Expression" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.QEvalResponse), global::Land.Gno.Gnonative.V1.QEvalResponse.Parser, new[]{ "Result" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.MsgCall), global::Land.Gno.Gnonative.V1.MsgCall.Parser, new[]{ "PackagePath", "Fnc", "Args", "Send" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CallRequest), global::Land.Gno.Gnonative.V1.CallRequest.Parser, new[]{ "GasFee", "GasWanted", "Memo", "Msgs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CallRequest), global::Land.Gno.Gnonative.V1.CallRequest.Parser, new[]{ "GasFee", "GasWanted", "Memo", "CallerAddress", "Msgs" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CallResponse), global::Land.Gno.Gnonative.V1.CallResponse.Parser, new[]{ "Result" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.MsgSend), global::Land.Gno.Gnonative.V1.MsgSend.Parser, new[]{ "ToAddress", "Send" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.SendRequest), global::Land.Gno.Gnonative.V1.SendRequest.Parser, new[]{ "GasFee", "GasWanted", "Memo", "Msgs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.SendRequest), global::Land.Gno.Gnonative.V1.SendRequest.Parser, new[]{ "GasFee", "GasWanted", "Memo", "CallerAddress", "Msgs" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.SendResponse), global::Land.Gno.Gnonative.V1.SendResponse.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.MsgRun), global::Land.Gno.Gnonative.V1.MsgRun.Parser, new[]{ "Package", "Send" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.RunRequest), global::Land.Gno.Gnonative.V1.RunRequest.Parser, new[]{ "GasFee", "GasWanted", "Memo", "Msgs" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.RunRequest), global::Land.Gno.Gnonative.V1.RunRequest.Parser, new[]{ "GasFee", "GasWanted", "Memo", "CallerAddress", "Msgs" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.RunResponse), global::Land.Gno.Gnonative.V1.RunResponse.Parser, new[]{ "Result" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.MakeTxResponse), global::Land.Gno.Gnonative.V1.MakeTxResponse.Parser, new[]{ "TxJson" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.SignTxRequest), global::Land.Gno.Gnonative.V1.SignTxRequest.Parser, new[]{ "TxJson", "AccountNumber", "SequenceNumber" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.SignTxResponse), global::Land.Gno.Gnonative.V1.SignTxResponse.Parser, new[]{ "SignedTxJson" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.BroadcastTxCommitRequest), global::Land.Gno.Gnonative.V1.BroadcastTxCommitRequest.Parser, new[]{ "SignedTxJson" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.BroadcastTxCommitResponse), global::Land.Gno.Gnonative.V1.BroadcastTxCommitResponse.Parser, new[]{ "Result" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.AddressToBech32Request), global::Land.Gno.Gnonative.V1.AddressToBech32Request.Parser, new[]{ "Address" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.AddressToBech32Response), global::Land.Gno.Gnonative.V1.AddressToBech32Response.Parser, new[]{ "Bech32Address" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.AddressFromBech32Request), global::Land.Gno.Gnonative.V1.AddressFromBech32Request.Parser, new[]{ "Bech32Address" }, null, null, null, null),
@@ -9935,6 +9950,7 @@ public CallRequest(CallRequest other) : this() {
gasFee_ = other.gasFee_;
gasWanted_ = other.gasWanted_;
memo_ = other.memo_;
+ callerAddress_ = other.callerAddress_;
msgs_ = other.msgs_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -9981,10 +9997,25 @@ public string Memo {
}
}
+ /// Field number for the "caller_address" field.
+ public const int CallerAddressFieldNumber = 4;
+ private pb::ByteString callerAddress_ = pb::ByteString.Empty;
+ ///
+ /// If CallerAddress is empty then get it from the active account
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString CallerAddress {
+ get { return callerAddress_; }
+ set {
+ callerAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
/// Field number for the "msgs" field.
- public const int MsgsFieldNumber = 4;
+ public const int MsgsFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_msgs_codec
- = pb::FieldCodec.ForMessage(34, global::Land.Gno.Gnonative.V1.MsgCall.Parser);
+ = pb::FieldCodec.ForMessage(42, global::Land.Gno.Gnonative.V1.MsgCall.Parser);
private readonly pbc::RepeatedField msgs_ = new pbc::RepeatedField();
///
/// list of calls to make in one transaction
@@ -10013,6 +10044,7 @@ public bool Equals(CallRequest other) {
if (GasFee != other.GasFee) return false;
if (GasWanted != other.GasWanted) return false;
if (Memo != other.Memo) return false;
+ if (CallerAddress != other.CallerAddress) return false;
if(!msgs_.Equals(other.msgs_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -10024,6 +10056,7 @@ public override int GetHashCode() {
if (GasFee.Length != 0) hash ^= GasFee.GetHashCode();
if (GasWanted != 0L) hash ^= GasWanted.GetHashCode();
if (Memo.Length != 0) hash ^= Memo.GetHashCode();
+ if (CallerAddress.Length != 0) hash ^= CallerAddress.GetHashCode();
hash ^= msgs_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
@@ -10055,6 +10088,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(Memo);
}
+ if (CallerAddress.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(CallerAddress);
+ }
msgs_.WriteTo(output, _repeated_msgs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -10078,6 +10115,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(Memo);
}
+ if (CallerAddress.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(CallerAddress);
+ }
msgs_.WriteTo(ref output, _repeated_msgs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -10098,6 +10139,9 @@ public int CalculateSize() {
if (Memo.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Memo);
}
+ if (CallerAddress.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(CallerAddress);
+ }
size += msgs_.CalculateSize(_repeated_msgs_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -10120,6 +10164,9 @@ public void MergeFrom(CallRequest other) {
if (other.Memo.Length != 0) {
Memo = other.Memo;
}
+ if (other.CallerAddress.Length != 0) {
+ CallerAddress = other.CallerAddress;
+ }
msgs_.Add(other.msgs_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -10153,6 +10200,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 34: {
+ CallerAddress = input.ReadBytes();
+ break;
+ }
+ case 42: {
msgs_.AddEntriesFrom(input, _repeated_msgs_codec);
break;
}
@@ -10188,6 +10239,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 34: {
+ CallerAddress = input.ReadBytes();
+ break;
+ }
+ case 42: {
msgs_.AddEntriesFrom(ref input, _repeated_msgs_codec);
break;
}
@@ -10676,6 +10731,7 @@ public SendRequest(SendRequest other) : this() {
gasFee_ = other.gasFee_;
gasWanted_ = other.gasWanted_;
memo_ = other.memo_;
+ callerAddress_ = other.callerAddress_;
msgs_ = other.msgs_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -10725,10 +10781,25 @@ public string Memo {
}
}
+ /// Field number for the "caller_address" field.
+ public const int CallerAddressFieldNumber = 4;
+ private pb::ByteString callerAddress_ = pb::ByteString.Empty;
+ ///
+ /// If CallerAddress is empty then get it from the active account
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString CallerAddress {
+ get { return callerAddress_; }
+ set {
+ callerAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
/// Field number for the "msgs" field.
- public const int MsgsFieldNumber = 4;
+ public const int MsgsFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_msgs_codec
- = pb::FieldCodec.ForMessage(34, global::Land.Gno.Gnonative.V1.MsgSend.Parser);
+ = pb::FieldCodec.ForMessage(42, global::Land.Gno.Gnonative.V1.MsgSend.Parser);
private readonly pbc::RepeatedField msgs_ = new pbc::RepeatedField();
///
/// list of send operations to make in one transaction
@@ -10757,6 +10828,7 @@ public bool Equals(SendRequest other) {
if (GasFee != other.GasFee) return false;
if (GasWanted != other.GasWanted) return false;
if (Memo != other.Memo) return false;
+ if (CallerAddress != other.CallerAddress) return false;
if(!msgs_.Equals(other.msgs_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -10768,6 +10840,7 @@ public override int GetHashCode() {
if (GasFee.Length != 0) hash ^= GasFee.GetHashCode();
if (GasWanted != 0L) hash ^= GasWanted.GetHashCode();
if (Memo.Length != 0) hash ^= Memo.GetHashCode();
+ if (CallerAddress.Length != 0) hash ^= CallerAddress.GetHashCode();
hash ^= msgs_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
@@ -10799,6 +10872,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(Memo);
}
+ if (CallerAddress.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(CallerAddress);
+ }
msgs_.WriteTo(output, _repeated_msgs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -10822,6 +10899,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(Memo);
}
+ if (CallerAddress.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(CallerAddress);
+ }
msgs_.WriteTo(ref output, _repeated_msgs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -10842,6 +10923,9 @@ public int CalculateSize() {
if (Memo.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Memo);
}
+ if (CallerAddress.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(CallerAddress);
+ }
size += msgs_.CalculateSize(_repeated_msgs_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -10864,6 +10948,9 @@ public void MergeFrom(SendRequest other) {
if (other.Memo.Length != 0) {
Memo = other.Memo;
}
+ if (other.CallerAddress.Length != 0) {
+ CallerAddress = other.CallerAddress;
+ }
msgs_.Add(other.msgs_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -10897,6 +10984,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 34: {
+ CallerAddress = input.ReadBytes();
+ break;
+ }
+ case 42: {
msgs_.AddEntriesFrom(input, _repeated_msgs_codec);
break;
}
@@ -10932,6 +11023,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 34: {
+ CallerAddress = input.ReadBytes();
+ break;
+ }
+ case 42: {
msgs_.AddEntriesFrom(ref input, _repeated_msgs_codec);
break;
}
@@ -11383,6 +11478,7 @@ public RunRequest(RunRequest other) : this() {
gasFee_ = other.gasFee_;
gasWanted_ = other.gasWanted_;
memo_ = other.memo_;
+ callerAddress_ = other.callerAddress_;
msgs_ = other.msgs_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -11432,10 +11528,25 @@ public string Memo {
}
}
+ /// Field number for the "caller_address" field.
+ public const int CallerAddressFieldNumber = 4;
+ private pb::ByteString callerAddress_ = pb::ByteString.Empty;
+ ///
+ /// If CallerAddress is empty then get it from the active account
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString CallerAddress {
+ get { return callerAddress_; }
+ set {
+ callerAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
/// Field number for the "msgs" field.
- public const int MsgsFieldNumber = 4;
+ public const int MsgsFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_msgs_codec
- = pb::FieldCodec.ForMessage(34, global::Land.Gno.Gnonative.V1.MsgRun.Parser);
+ = pb::FieldCodec.ForMessage(42, global::Land.Gno.Gnonative.V1.MsgRun.Parser);
private readonly pbc::RepeatedField msgs_ = new pbc::RepeatedField();
///
/// list of run operations to make in one transaction
@@ -11464,6 +11575,7 @@ public bool Equals(RunRequest other) {
if (GasFee != other.GasFee) return false;
if (GasWanted != other.GasWanted) return false;
if (Memo != other.Memo) return false;
+ if (CallerAddress != other.CallerAddress) return false;
if(!msgs_.Equals(other.msgs_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -11475,6 +11587,7 @@ public override int GetHashCode() {
if (GasFee.Length != 0) hash ^= GasFee.GetHashCode();
if (GasWanted != 0L) hash ^= GasWanted.GetHashCode();
if (Memo.Length != 0) hash ^= Memo.GetHashCode();
+ if (CallerAddress.Length != 0) hash ^= CallerAddress.GetHashCode();
hash ^= msgs_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
@@ -11506,6 +11619,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(Memo);
}
+ if (CallerAddress.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(CallerAddress);
+ }
msgs_.WriteTo(output, _repeated_msgs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -11529,6 +11646,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(26);
output.WriteString(Memo);
}
+ if (CallerAddress.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(CallerAddress);
+ }
msgs_.WriteTo(ref output, _repeated_msgs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -11549,6 +11670,9 @@ public int CalculateSize() {
if (Memo.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Memo);
}
+ if (CallerAddress.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(CallerAddress);
+ }
size += msgs_.CalculateSize(_repeated_msgs_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -11571,6 +11695,9 @@ public void MergeFrom(RunRequest other) {
if (other.Memo.Length != 0) {
Memo = other.Memo;
}
+ if (other.CallerAddress.Length != 0) {
+ CallerAddress = other.CallerAddress;
+ }
msgs_.Add(other.msgs_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -11604,6 +11731,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 34: {
+ CallerAddress = input.ReadBytes();
+ break;
+ }
+ case 42: {
msgs_.AddEntriesFrom(input, _repeated_msgs_codec);
break;
}
@@ -11639,6 +11770,10 @@ public void MergeFrom(pb::CodedInputStream input) {
break;
}
case 34: {
+ CallerAddress = input.ReadBytes();
+ break;
+ }
+ case 42: {
msgs_.AddEntriesFrom(ref input, _repeated_msgs_codec);
break;
}
@@ -11851,16 +11986,16 @@ public void MergeFrom(pb::CodedInputStream input) {
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
- public sealed partial class AddressToBech32Request : pb::IMessage
+ public sealed partial class MakeTxResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressToBech32Request());
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MakeTxResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser Parser { get { return _parser; } }
+ public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -11876,7 +12011,7 @@ public sealed partial class AddressToBech32Request : pb::IMessageField number for the "address" field.
- public const int AddressFieldNumber = 1;
- private pb::ByteString address_ = pb::ByteString.Empty;
+ /// Field number for the "tx_json" field.
+ public const int TxJsonFieldNumber = 1;
+ private string txJson_ = "";
+ ///
+ /// The JSON encoding of the unsigned transaction
+ ///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pb::ByteString Address {
- get { return address_; }
+ public string TxJson {
+ get { return txJson_; }
set {
- address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ txJson_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
- return Equals(other as AddressToBech32Request);
+ return Equals(other as MakeTxResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(AddressToBech32Request other) {
+ public bool Equals(MakeTxResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
- if (Address != other.Address) return false;
+ if (TxJson != other.TxJson) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -11930,7 +12068,7 @@ public bool Equals(AddressToBech32Request other) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
- if (Address.Length != 0) hash ^= Address.GetHashCode();
+ if (TxJson.Length != 0) hash ^= TxJson.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -11949,9 +12087,9 @@ public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
- if (Address.Length != 0) {
+ if (TxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteBytes(Address);
+ output.WriteString(TxJson);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -11963,9 +12101,9 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Address.Length != 0) {
+ if (TxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteBytes(Address);
+ output.WriteString(TxJson);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -11977,8 +12115,8 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
- if (Address.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Address);
+ if (TxJson.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(TxJson);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -11988,12 +12126,12 @@ public int CalculateSize() {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(AddressToBech32Request other) {
+ public void MergeFrom(MakeTxResponse other) {
if (other == null) {
return;
}
- if (other.Address.Length != 0) {
- Address = other.Address;
+ if (other.TxJson.Length != 0) {
+ TxJson = other.TxJson;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -12015,7 +12153,7 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
- Address = input.ReadBytes();
+ TxJson = input.ReadString();
break;
}
}
@@ -12038,7 +12176,7 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
- Address = input.ReadBytes();
+ TxJson = input.ReadString();
break;
}
}
@@ -12049,16 +12187,16 @@ public void MergeFrom(pb::CodedInputStream input) {
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
- public sealed partial class AddressToBech32Response : pb::IMessage
+ public sealed partial class SignTxRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressToBech32Response());
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignTxRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser Parser { get { return _parser; } }
+ public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -12074,7 +12212,7 @@ public sealed partial class AddressToBech32Response : pb::IMessageField number for the "bech32_address" field.
- public const int Bech32AddressFieldNumber = 1;
- private string bech32Address_ = "";
+ /// Field number for the "tx_json" field.
+ public const int TxJsonFieldNumber = 1;
+ private string txJson_ = "";
+ ///
+ /// The JSON encoding of the unsigned transaction (from MakeCallTx, etc.)
+ ///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string Bech32Address {
- get { return bech32Address_; }
+ public string TxJson {
+ get { return txJson_; }
set {
- bech32Address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ txJson_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "account_number" field.
+ public const int AccountNumberFieldNumber = 2;
+ private ulong accountNumber_;
+ ///
+ /// The signer's account number on the blockchain. If 0 then query the blockchain for the value.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ulong AccountNumber {
+ get { return accountNumber_; }
+ set {
+ accountNumber_ = value;
+ }
+ }
+
+ /// Field number for the "sequence_number" field.
+ public const int SequenceNumberFieldNumber = 3;
+ private ulong sequenceNumber_;
+ ///
+ /// The sequence number of the signer's transactions on the blockchain. If 0 then query the blockchain for the value.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public ulong SequenceNumber {
+ get { return sequenceNumber_; }
+ set {
+ sequenceNumber_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
- return Equals(other as AddressToBech32Response);
+ return Equals(other as SignTxRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(AddressToBech32Response other) {
+ public bool Equals(SignTxRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
- if (Bech32Address != other.Bech32Address) return false;
+ if (TxJson != other.TxJson) return false;
+ if (AccountNumber != other.AccountNumber) return false;
+ if (SequenceNumber != other.SequenceNumber) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -12128,7 +12303,9 @@ public bool Equals(AddressToBech32Response other) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
- if (Bech32Address.Length != 0) hash ^= Bech32Address.GetHashCode();
+ if (TxJson.Length != 0) hash ^= TxJson.GetHashCode();
+ if (AccountNumber != 0UL) hash ^= AccountNumber.GetHashCode();
+ if (SequenceNumber != 0UL) hash ^= SequenceNumber.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -12147,9 +12324,17 @@ public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
- if (Bech32Address.Length != 0) {
+ if (TxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteString(Bech32Address);
+ output.WriteString(TxJson);
+ }
+ if (AccountNumber != 0UL) {
+ output.WriteRawTag(16);
+ output.WriteUInt64(AccountNumber);
+ }
+ if (SequenceNumber != 0UL) {
+ output.WriteRawTag(24);
+ output.WriteUInt64(SequenceNumber);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -12161,9 +12346,17 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Bech32Address.Length != 0) {
+ if (TxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteString(Bech32Address);
+ output.WriteString(TxJson);
+ }
+ if (AccountNumber != 0UL) {
+ output.WriteRawTag(16);
+ output.WriteUInt64(AccountNumber);
+ }
+ if (SequenceNumber != 0UL) {
+ output.WriteRawTag(24);
+ output.WriteUInt64(SequenceNumber);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -12175,8 +12368,14 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
- if (Bech32Address.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Bech32Address);
+ if (TxJson.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(TxJson);
+ }
+ if (AccountNumber != 0UL) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AccountNumber);
+ }
+ if (SequenceNumber != 0UL) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SequenceNumber);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -12186,12 +12385,18 @@ public int CalculateSize() {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(AddressToBech32Response other) {
+ public void MergeFrom(SignTxRequest other) {
if (other == null) {
return;
}
- if (other.Bech32Address.Length != 0) {
- Bech32Address = other.Bech32Address;
+ if (other.TxJson.Length != 0) {
+ TxJson = other.TxJson;
+ }
+ if (other.AccountNumber != 0UL) {
+ AccountNumber = other.AccountNumber;
+ }
+ if (other.SequenceNumber != 0UL) {
+ SequenceNumber = other.SequenceNumber;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -12213,7 +12418,15 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
- Bech32Address = input.ReadString();
+ TxJson = input.ReadString();
+ break;
+ }
+ case 16: {
+ AccountNumber = input.ReadUInt64();
+ break;
+ }
+ case 24: {
+ SequenceNumber = input.ReadUInt64();
break;
}
}
@@ -12236,7 +12449,15 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
- Bech32Address = input.ReadString();
+ TxJson = input.ReadString();
+ break;
+ }
+ case 16: {
+ AccountNumber = input.ReadUInt64();
+ break;
+ }
+ case 24: {
+ SequenceNumber = input.ReadUInt64();
break;
}
}
@@ -12247,16 +12468,16 @@ public void MergeFrom(pb::CodedInputStream input) {
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
- public sealed partial class AddressFromBech32Request : pb::IMessage
+ public sealed partial class SignTxResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressFromBech32Request());
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignTxResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser Parser { get { return _parser; } }
+ public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -12272,7 +12493,7 @@ public sealed partial class AddressFromBech32Request : pb::IMessageField number for the "bech32_address" field.
- public const int Bech32AddressFieldNumber = 1;
- private string bech32Address_ = "";
+ /// Field number for the "signed_tx_json" field.
+ public const int SignedTxJsonFieldNumber = 1;
+ private string signedTxJson_ = "";
+ ///
+ /// The JSON encoding of the signed transaction (to use in BroadcastTx)
+ ///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string Bech32Address {
- get { return bech32Address_; }
+ public string SignedTxJson {
+ get { return signedTxJson_; }
set {
- bech32Address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ signedTxJson_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
- return Equals(other as AddressFromBech32Request);
+ return Equals(other as SignTxResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(AddressFromBech32Request other) {
+ public bool Equals(SignTxResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
- if (Bech32Address != other.Bech32Address) return false;
+ if (SignedTxJson != other.SignedTxJson) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -12326,7 +12550,7 @@ public bool Equals(AddressFromBech32Request other) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
- if (Bech32Address.Length != 0) hash ^= Bech32Address.GetHashCode();
+ if (SignedTxJson.Length != 0) hash ^= SignedTxJson.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -12345,9 +12569,9 @@ public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
- if (Bech32Address.Length != 0) {
+ if (SignedTxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteString(Bech32Address);
+ output.WriteString(SignedTxJson);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -12359,9 +12583,9 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Bech32Address.Length != 0) {
+ if (SignedTxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteString(Bech32Address);
+ output.WriteString(SignedTxJson);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -12373,8 +12597,8 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
- if (Bech32Address.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Bech32Address);
+ if (SignedTxJson.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SignedTxJson);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -12384,12 +12608,12 @@ public int CalculateSize() {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(AddressFromBech32Request other) {
+ public void MergeFrom(SignTxResponse other) {
if (other == null) {
return;
}
- if (other.Bech32Address.Length != 0) {
- Bech32Address = other.Bech32Address;
+ if (other.SignedTxJson.Length != 0) {
+ SignedTxJson = other.SignedTxJson;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -12411,7 +12635,7 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
- Bech32Address = input.ReadString();
+ SignedTxJson = input.ReadString();
break;
}
}
@@ -12434,7 +12658,7 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
- Bech32Address = input.ReadString();
+ SignedTxJson = input.ReadString();
break;
}
}
@@ -12445,16 +12669,16 @@ public void MergeFrom(pb::CodedInputStream input) {
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
- public sealed partial class AddressFromBech32Response : pb::IMessage
+ public sealed partial class BroadcastTxCommitRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressFromBech32Response());
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BroadcastTxCommitRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser Parser { get { return _parser; } }
+ public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -12470,7 +12694,7 @@ public sealed partial class AddressFromBech32Response : pb::IMessageField number for the "address" field.
- public const int AddressFieldNumber = 1;
- private pb::ByteString address_ = pb::ByteString.Empty;
+ /// Field number for the "signed_tx_json" field.
+ public const int SignedTxJsonFieldNumber = 1;
+ private string signedTxJson_ = "";
+ ///
+ /// The JSON encoding of the signed transaction (from SignTx)
+ ///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public pb::ByteString Address {
- get { return address_; }
+ public string SignedTxJson {
+ get { return signedTxJson_; }
set {
- address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ signedTxJson_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
- return Equals(other as AddressFromBech32Response);
+ return Equals(other as BroadcastTxCommitRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public bool Equals(AddressFromBech32Response other) {
+ public bool Equals(BroadcastTxCommitRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
- if (Address != other.Address) return false;
+ if (SignedTxJson != other.SignedTxJson) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -12524,7 +12751,7 @@ public bool Equals(AddressFromBech32Response other) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
- if (Address.Length != 0) hash ^= Address.GetHashCode();
+ if (SignedTxJson.Length != 0) hash ^= SignedTxJson.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -12543,9 +12770,9 @@ public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
- if (Address.Length != 0) {
+ if (SignedTxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteBytes(Address);
+ output.WriteString(SignedTxJson);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
@@ -12557,9 +12784,9 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
- if (Address.Length != 0) {
+ if (SignedTxJson.Length != 0) {
output.WriteRawTag(10);
- output.WriteBytes(Address);
+ output.WriteString(SignedTxJson);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
@@ -12571,8 +12798,8 @@ public void WriteTo(pb::CodedOutputStream output) {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
- if (Address.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(Address);
+ if (SignedTxJson.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SignedTxJson);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
@@ -12582,12 +12809,12 @@ public int CalculateSize() {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public void MergeFrom(AddressFromBech32Response other) {
+ public void MergeFrom(BroadcastTxCommitRequest other) {
if (other == null) {
return;
}
- if (other.Address.Length != 0) {
- Address = other.Address;
+ if (other.SignedTxJson.Length != 0) {
+ SignedTxJson = other.SignedTxJson;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -12609,7 +12836,7 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
- Address = input.ReadBytes();
+ SignedTxJson = input.ReadString();
break;
}
}
@@ -12632,7 +12859,7 @@ public void MergeFrom(pb::CodedInputStream input) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
- Address = input.ReadBytes();
+ SignedTxJson = input.ReadString();
break;
}
}
@@ -12643,16 +12870,16 @@ public void MergeFrom(pb::CodedInputStream input) {
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
- public sealed partial class AddressFromMnemonicRequest : pb::IMessage
+ public sealed partial class BroadcastTxCommitResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressFromMnemonicRequest());
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BroadcastTxCommitResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser Parser { get { return _parser; } }
+ public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
@@ -12668,7 +12895,7 @@ public sealed partial class AddressFromMnemonicRequest : pb::IMessageField number for the "mnemonic" field.
- public const int MnemonicFieldNumber = 1;
- private string mnemonic_ = "";
+ /// Field number for the "result" field.
+ public const int ResultFieldNumber = 1;
+ private pb::ByteString result_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string Mnemonic {
- get { return mnemonic_; }
+ public pb::ByteString Result {
+ get { return result_; }
set {
- mnemonic_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as BroadcastTxCommitResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(BroadcastTxCommitResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Result != other.Result) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Result.Length != 0) hash ^= Result.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Result.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(Result);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Result.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(Result);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Result.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Result);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(BroadcastTxCommitResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Result.Length != 0) {
+ Result = other.Result;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Result = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Result = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class AddressToBech32Request : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressToBech32Request());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[59]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressToBech32Request() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressToBech32Request(AddressToBech32Request other) : this() {
+ address_ = other.address_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressToBech32Request Clone() {
+ return new AddressToBech32Request(this);
+ }
+
+ /// Field number for the "address" field.
+ public const int AddressFieldNumber = 1;
+ private pb::ByteString address_ = pb::ByteString.Empty;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString Address {
+ get { return address_; }
+ set {
+ address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as AddressToBech32Request);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(AddressToBech32Request other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Address != other.Address) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Address.Length != 0) hash ^= Address.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Address.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Address);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(AddressToBech32Request other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Address.Length != 0) {
+ Address = other.Address;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Address = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Address = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class AddressToBech32Response : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressToBech32Response());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[60]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressToBech32Response() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressToBech32Response(AddressToBech32Response other) : this() {
+ bech32Address_ = other.bech32Address_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressToBech32Response Clone() {
+ return new AddressToBech32Response(this);
+ }
+
+ /// Field number for the "bech32_address" field.
+ public const int Bech32AddressFieldNumber = 1;
+ private string bech32Address_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Bech32Address {
+ get { return bech32Address_; }
+ set {
+ bech32Address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as AddressToBech32Response);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(AddressToBech32Response other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Bech32Address != other.Bech32Address) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Bech32Address.Length != 0) hash ^= Bech32Address.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Bech32Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Bech32Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Bech32Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Bech32Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Bech32Address.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Bech32Address);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(AddressToBech32Response other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Bech32Address.Length != 0) {
+ Bech32Address = other.Bech32Address;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Bech32Address = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Bech32Address = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class AddressFromBech32Request : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressFromBech32Request());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[61]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromBech32Request() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromBech32Request(AddressFromBech32Request other) : this() {
+ bech32Address_ = other.bech32Address_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromBech32Request Clone() {
+ return new AddressFromBech32Request(this);
+ }
+
+ /// Field number for the "bech32_address" field.
+ public const int Bech32AddressFieldNumber = 1;
+ private string bech32Address_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Bech32Address {
+ get { return bech32Address_; }
+ set {
+ bech32Address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as AddressFromBech32Request);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(AddressFromBech32Request other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Bech32Address != other.Bech32Address) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Bech32Address.Length != 0) hash ^= Bech32Address.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Bech32Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Bech32Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Bech32Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Bech32Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Bech32Address.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Bech32Address);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(AddressFromBech32Request other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Bech32Address.Length != 0) {
+ Bech32Address = other.Bech32Address;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Bech32Address = input.ReadString();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Bech32Address = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class AddressFromBech32Response : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressFromBech32Response());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[62]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromBech32Response() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromBech32Response(AddressFromBech32Response other) : this() {
+ address_ = other.address_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromBech32Response Clone() {
+ return new AddressFromBech32Response(this);
+ }
+
+ /// Field number for the "address" field.
+ public const int AddressFieldNumber = 1;
+ private pb::ByteString address_ = pb::ByteString.Empty;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public pb::ByteString Address {
+ get { return address_; }
+ set {
+ address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override bool Equals(object other) {
+ return Equals(other as AddressFromBech32Response);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public bool Equals(AddressFromBech32Response other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Address != other.Address) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Address.Length != 0) hash ^= Address.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void WriteTo(pb::CodedOutputStream output) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ output.WriteRawMessage(this);
+ #else
+ if (Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
+ if (Address.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteBytes(Address);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public int CalculateSize() {
+ int size = 0;
+ if (Address.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Address);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(AddressFromBech32Response other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Address.Length != 0) {
+ Address = other.Address;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public void MergeFrom(pb::CodedInputStream input) {
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ input.ReadRawMessage(this);
+ #else
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ Address = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ #endif
+ }
+
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ if ((tag & 7) == 4) {
+ // Abort on any end group tag.
+ return;
+ }
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
+ break;
+ case 10: {
+ Address = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
+ public sealed partial class AddressFromMnemonicRequest : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddressFromMnemonicRequest());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[63]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromMnemonicRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromMnemonicRequest(AddressFromMnemonicRequest other) : this() {
+ mnemonic_ = other.mnemonic_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public AddressFromMnemonicRequest Clone() {
+ return new AddressFromMnemonicRequest(this);
+ }
+
+ /// Field number for the "mnemonic" field.
+ public const int MnemonicFieldNumber = 1;
+ private string mnemonic_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
+ public string Mnemonic {
+ get { return mnemonic_; }
+ set {
+ mnemonic_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
@@ -12855,7 +14072,7 @@ public sealed partial class AddressFromMnemonicResponse : pb::IMessage
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
- get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[60]; }
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[65]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -13251,7 +14468,7 @@ public sealed partial class HelloResponse : pb::IMessage
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
- get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[61]; }
+ get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[66]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -13449,7 +14666,7 @@ public sealed partial class HelloStreamRequest : pb::IMessage(grpc::DeserializationContext context, gl
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_RunResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.RunResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_MakeTxResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.MakeTxResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_SignTxRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.SignTxRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_SignTxResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.SignTxResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_BroadcastTxCommitRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.BroadcastTxCommitRequest.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_BroadcastTxCommitResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.BroadcastTxCommitResponse.Parser));
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_AddressToBech32Request = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.AddressToBech32Request.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_AddressToBech32Response = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.AddressToBech32Response.Parser));
@@ -357,6 +367,46 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl
__Marshaller_land_gno_gnonative_v1_RunRequest,
__Marshaller_land_gno_gnonative_v1_RunResponse);
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_MakeCallTx = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "MakeCallTx",
+ __Marshaller_land_gno_gnonative_v1_CallRequest,
+ __Marshaller_land_gno_gnonative_v1_MakeTxResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_MakeSendTx = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "MakeSendTx",
+ __Marshaller_land_gno_gnonative_v1_SendRequest,
+ __Marshaller_land_gno_gnonative_v1_MakeTxResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_MakeRunTx = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "MakeRunTx",
+ __Marshaller_land_gno_gnonative_v1_RunRequest,
+ __Marshaller_land_gno_gnonative_v1_MakeTxResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_SignTx = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "SignTx",
+ __Marshaller_land_gno_gnonative_v1_SignTxRequest,
+ __Marshaller_land_gno_gnonative_v1_SignTxResponse);
+
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ static readonly grpc::Method __Method_BroadcastTxCommit = new grpc::Method(
+ grpc::MethodType.ServerStreaming,
+ __ServiceName,
+ "BroadcastTxCommit",
+ __Marshaller_land_gno_gnonative_v1_BroadcastTxCommitRequest,
+ __Marshaller_land_gno_gnonative_v1_BroadcastTxCommitResponse);
+
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_AddressToBech32 = new grpc::Method(
grpc::MethodType.Unary,
@@ -743,6 +793,69 @@ public abstract partial class GnoNativeServiceBase
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
+ ///
+ /// Make an unsigned transaction to call a specific realm function.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task MakeCallTx(global::Land.Gno.Gnonative.V1.CallRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Make an unsigned transaction to send currency to an account on the blockchain.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task MakeSendTx(global::Land.Gno.Gnonative.V1.SendRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task MakeRunTx(global::Land.Gno.Gnonative.V1.RunRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Sign the transaction using the active account.
+ /// If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
+ /// If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task SignTx(global::Land.Gno.Gnonative.V1.SignTxRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.
+ ///
+ /// The request received from the client.
+ /// Used for sending responses back to the client.
+ /// The context of the server-side call handler being invoked.
+ /// A task indicating completion of the handler.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::System.Threading.Tasks.Task BroadcastTxCommit(global::Land.Gno.Gnonative.V1.BroadcastTxCommitRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
///
/// Convert a byte array address to a bech32 string address.
///
@@ -2080,6 +2193,230 @@ protected GnoNativeServiceClient(ClientBaseConfiguration configuration) : base(c
return CallInvoker.AsyncServerStreamingCall(__Method_Run, null, options, request);
}
///
+ /// Make an unsigned transaction to call a specific realm function.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.MakeTxResponse MakeCallTx(global::Land.Gno.Gnonative.V1.CallRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return MakeCallTx(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Make an unsigned transaction to call a specific realm function.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.MakeTxResponse MakeCallTx(global::Land.Gno.Gnonative.V1.CallRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_MakeCallTx, null, options, request);
+ }
+ ///
+ /// Make an unsigned transaction to call a specific realm function.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall MakeCallTxAsync(global::Land.Gno.Gnonative.V1.CallRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return MakeCallTxAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Make an unsigned transaction to call a specific realm function.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall MakeCallTxAsync(global::Land.Gno.Gnonative.V1.CallRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_MakeCallTx, null, options, request);
+ }
+ ///
+ /// Make an unsigned transaction to send currency to an account on the blockchain.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.MakeTxResponse MakeSendTx(global::Land.Gno.Gnonative.V1.SendRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return MakeSendTx(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Make an unsigned transaction to send currency to an account on the blockchain.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.MakeTxResponse MakeSendTx(global::Land.Gno.Gnonative.V1.SendRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_MakeSendTx, null, options, request);
+ }
+ ///
+ /// Make an unsigned transaction to send currency to an account on the blockchain.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall MakeSendTxAsync(global::Land.Gno.Gnonative.V1.SendRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return MakeSendTxAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Make an unsigned transaction to send currency to an account on the blockchain.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall MakeSendTxAsync(global::Land.Gno.Gnonative.V1.SendRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_MakeSendTx, null, options, request);
+ }
+ ///
+ /// Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.MakeTxResponse MakeRunTx(global::Land.Gno.Gnonative.V1.RunRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return MakeRunTx(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.MakeTxResponse MakeRunTx(global::Land.Gno.Gnonative.V1.RunRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_MakeRunTx, null, options, request);
+ }
+ ///
+ /// Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall MakeRunTxAsync(global::Land.Gno.Gnonative.V1.RunRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return MakeRunTxAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall MakeRunTxAsync(global::Land.Gno.Gnonative.V1.RunRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_MakeRunTx, null, options, request);
+ }
+ ///
+ /// Sign the transaction using the active account.
+ /// If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
+ /// If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.SignTxResponse SignTx(global::Land.Gno.Gnonative.V1.SignTxRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return SignTx(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Sign the transaction using the active account.
+ /// If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
+ /// If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual global::Land.Gno.Gnonative.V1.SignTxResponse SignTx(global::Land.Gno.Gnonative.V1.SignTxRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_SignTx, null, options, request);
+ }
+ ///
+ /// Sign the transaction using the active account.
+ /// If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
+ /// If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall SignTxAsync(global::Land.Gno.Gnonative.V1.SignTxRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return SignTxAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Sign the transaction using the active account.
+ /// If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
+ /// If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncUnaryCall SignTxAsync(global::Land.Gno.Gnonative.V1.SignTxRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_SignTx, null, options, request);
+ }
+ ///
+ /// Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncServerStreamingCall BroadcastTxCommit(global::Land.Gno.Gnonative.V1.BroadcastTxCommitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ return BroadcastTxCommit(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
+ public virtual grpc::AsyncServerStreamingCall BroadcastTxCommit(global::Land.Gno.Gnonative.V1.BroadcastTxCommitRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncServerStreamingCall(__Method_BroadcastTxCommit, null, options, request);
+ }
+ ///
/// Convert a byte array address to a bech32 string address.
///
/// The request to send to the server.
@@ -2333,6 +2670,11 @@ protected override GnoNativeServiceClient NewInstance(ClientBaseConfiguration co
.AddMethod(__Method_Call, serviceImpl.Call)
.AddMethod(__Method_Send, serviceImpl.Send)
.AddMethod(__Method_Run, serviceImpl.Run)
+ .AddMethod(__Method_MakeCallTx, serviceImpl.MakeCallTx)
+ .AddMethod(__Method_MakeSendTx, serviceImpl.MakeSendTx)
+ .AddMethod(__Method_MakeRunTx, serviceImpl.MakeRunTx)
+ .AddMethod(__Method_SignTx, serviceImpl.SignTx)
+ .AddMethod(__Method_BroadcastTxCommit, serviceImpl.BroadcastTxCommit)
.AddMethod(__Method_AddressToBech32, serviceImpl.AddressToBech32)
.AddMethod(__Method_AddressFromBech32, serviceImpl.AddressFromBech32)
.AddMethod(__Method_AddressFromMnemonic, serviceImpl.AddressFromMnemonic)
@@ -2371,6 +2713,11 @@ public static void BindService(grpc::ServiceBinderBase serviceBinder, GnoNativeS
serviceBinder.AddMethod(__Method_Call, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.Call));
serviceBinder.AddMethod(__Method_Send, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.Send));
serviceBinder.AddMethod(__Method_Run, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.Run));
+ serviceBinder.AddMethod(__Method_MakeCallTx, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.MakeCallTx));
+ serviceBinder.AddMethod(__Method_MakeSendTx, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.MakeSendTx));
+ serviceBinder.AddMethod(__Method_MakeRunTx, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.MakeRunTx));
+ serviceBinder.AddMethod(__Method_SignTx, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SignTx));
+ serviceBinder.AddMethod(__Method_BroadcastTxCommit, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.BroadcastTxCommit));
serviceBinder.AddMethod(__Method_AddressToBech32, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.AddressToBech32));
serviceBinder.AddMethod(__Method_AddressFromBech32, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.AddressFromBech32));
serviceBinder.AddMethod(__Method_AddressFromMnemonic, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.AddressFromMnemonic));
diff --git a/api/gen/es/gnonativetypes_pb.d.ts b/api/gen/es/gnonativetypes_pb.d.ts
index 343baa87..b02926c5 100644
--- a/api/gen/es/gnonativetypes_pb.d.ts
+++ b/api/gen/es/gnonativetypes_pb.d.ts
@@ -1,275 +1,189 @@
-// @generated by protoc-gen-es v1.10.0
+// @generated by protoc-gen-es v2.0.0
// @generated from file gnonativetypes.proto (package land.gno.gnonative.v1, syntax proto3)
/* eslint-disable */
-// @ts-nocheck
-import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
-import { Message, proto3 } from "@bufbuild/protobuf";
+import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
+import type { Message } from "@bufbuild/protobuf";
+
+/**
+ * Describes the file gnonativetypes.proto.
+ */
+export declare const file_gnonativetypes: GenFile;
/**
* messages
*
* @generated from message land.gno.gnonative.v1.SetRemoteRequest
*/
-export declare class SetRemoteRequest extends Message {
+export declare type SetRemoteRequest = Message<"land.gno.gnonative.v1.SetRemoteRequest"> & {
/**
* @generated from field: string remote = 1;
*/
remote: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetRemoteRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetRemoteRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetRemoteRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SetRemoteRequest;
-
- static equals(a: SetRemoteRequest | PlainMessage | undefined, b: SetRemoteRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.SetRemoteRequest.
+ * Use `create(SetRemoteRequestSchema)` to create a new message.
+ */
+export declare const SetRemoteRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.SetRemoteResponse
*/
-export declare class SetRemoteResponse extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetRemoteResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetRemoteResponse;
+export declare type SetRemoteResponse = Message<"land.gno.gnonative.v1.SetRemoteResponse"> & {
+};
- static fromJson(jsonValue: JsonValue, options?: Partial): SetRemoteResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): SetRemoteResponse;
-
- static equals(a: SetRemoteResponse | PlainMessage | undefined, b: SetRemoteResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.SetRemoteResponse.
+ * Use `create(SetRemoteResponseSchema)` to create a new message.
+ */
+export declare const SetRemoteResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.GetRemoteRequest
*/
-export declare class GetRemoteRequest extends Message {
- constructor(data?: PartialMessage);
+export declare type GetRemoteRequest = Message<"land.gno.gnonative.v1.GetRemoteRequest"> & {
+};
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetRemoteRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetRemoteRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetRemoteRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetRemoteRequest;
-
- static equals(a: GetRemoteRequest | PlainMessage | undefined, b: GetRemoteRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.GetRemoteRequest.
+ * Use `create(GetRemoteRequestSchema)` to create a new message.
+ */
+export declare const GetRemoteRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.GetRemoteResponse
*/
-export declare class GetRemoteResponse extends Message {
+export declare type GetRemoteResponse = Message<"land.gno.gnonative.v1.GetRemoteResponse"> & {
/**
* @generated from field: string remote = 1;
*/
remote: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetRemoteResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetRemoteResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetRemoteResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetRemoteResponse;
-
- static equals(a: GetRemoteResponse | PlainMessage | undefined, b: GetRemoteResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.GetRemoteResponse.
+ * Use `create(GetRemoteResponseSchema)` to create a new message.
+ */
+export declare const GetRemoteResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.SetChainIDRequest
*/
-export declare class SetChainIDRequest extends Message {
+export declare type SetChainIDRequest = Message<"land.gno.gnonative.v1.SetChainIDRequest"> & {
/**
* @generated from field: string chain_id = 1;
*/
chainId: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetChainIDRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetChainIDRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetChainIDRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SetChainIDRequest;
-
- static equals(a: SetChainIDRequest | PlainMessage | undefined, b: SetChainIDRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.SetChainIDRequest.
+ * Use `create(SetChainIDRequestSchema)` to create a new message.
+ */
+export declare const SetChainIDRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.SetChainIDResponse
*/
-export declare class SetChainIDResponse extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetChainIDResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetChainIDResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetChainIDResponse;
+export declare type SetChainIDResponse = Message<"land.gno.gnonative.v1.SetChainIDResponse"> & {
+};
- static fromJsonString(jsonString: string, options?: Partial): SetChainIDResponse;
-
- static equals(a: SetChainIDResponse | PlainMessage | undefined, b: SetChainIDResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.SetChainIDResponse.
+ * Use `create(SetChainIDResponseSchema)` to create a new message.
+ */
+export declare const SetChainIDResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.GetChainIDRequest
*/
-export declare class GetChainIDRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetChainIDRequest";
- static readonly fields: FieldList;
+export declare type GetChainIDRequest = Message<"land.gno.gnonative.v1.GetChainIDRequest"> & {
+};
- static fromBinary(bytes: Uint8Array, options?: Partial): GetChainIDRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetChainIDRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GetChainIDRequest;
-
- static equals(a: GetChainIDRequest | PlainMessage | undefined, b: GetChainIDRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.GetChainIDRequest.
+ * Use `create(GetChainIDRequestSchema)` to create a new message.
+ */
+export declare const GetChainIDRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.GetChainIDResponse
*/
-export declare class GetChainIDResponse extends Message {
+export declare type GetChainIDResponse = Message<"land.gno.gnonative.v1.GetChainIDResponse"> & {
/**
* @generated from field: string chain_id = 1;
*/
chainId: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GetChainIDResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GetChainIDResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GetChainIDResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GetChainIDResponse;
-
- static equals(a: GetChainIDResponse | PlainMessage | undefined, b: GetChainIDResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.GetChainIDResponse.
+ * Use `create(GetChainIDResponseSchema)` to create a new message.
+ */
+export declare const GetChainIDResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.SetPasswordRequest
*/
-export declare class SetPasswordRequest extends Message {
+export declare type SetPasswordRequest = Message<"land.gno.gnonative.v1.SetPasswordRequest"> & {
/**
* @generated from field: string password = 1;
*/
password: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetPasswordRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetPasswordRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetPasswordRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): SetPasswordRequest;
-
- static equals(a: SetPasswordRequest | PlainMessage | undefined, b: SetPasswordRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.SetPasswordRequest.
+ * Use `create(SetPasswordRequestSchema)` to create a new message.
+ */
+export declare const SetPasswordRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.SetPasswordResponse
*/
-export declare class SetPasswordResponse extends Message {
- constructor(data?: PartialMessage);
+export declare type SetPasswordResponse = Message<"land.gno.gnonative.v1.SetPasswordResponse"> & {
+};
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.SetPasswordResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): SetPasswordResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): SetPasswordResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): SetPasswordResponse;
-
- static equals(a: SetPasswordResponse | PlainMessage | undefined, b: SetPasswordResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.SetPasswordResponse.
+ * Use `create(SetPasswordResponseSchema)` to create a new message.
+ */
+export declare const SetPasswordResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest
*/
-export declare class GenerateRecoveryPhraseRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GenerateRecoveryPhraseRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GenerateRecoveryPhraseRequest;
+export declare type GenerateRecoveryPhraseRequest = Message<"land.gno.gnonative.v1.GenerateRecoveryPhraseRequest"> & {
+};
- static fromJson(jsonValue: JsonValue, options?: Partial): GenerateRecoveryPhraseRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): GenerateRecoveryPhraseRequest;
-
- static equals(a: GenerateRecoveryPhraseRequest | PlainMessage | undefined, b: GenerateRecoveryPhraseRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.GenerateRecoveryPhraseRequest.
+ * Use `create(GenerateRecoveryPhraseRequestSchema)` to create a new message.
+ */
+export declare const GenerateRecoveryPhraseRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse
*/
-export declare class GenerateRecoveryPhraseResponse extends Message {
+export declare type GenerateRecoveryPhraseResponse = Message<"land.gno.gnonative.v1.GenerateRecoveryPhraseResponse"> & {
/**
* @generated from field: string phrase = 1;
*/
phrase: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.GenerateRecoveryPhraseResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): GenerateRecoveryPhraseResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): GenerateRecoveryPhraseResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): GenerateRecoveryPhraseResponse;
-
- static equals(a: GenerateRecoveryPhraseResponse | PlainMessage | undefined, b: GenerateRecoveryPhraseResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.GenerateRecoveryPhraseResponse.
+ * Use `create(GenerateRecoveryPhraseResponseSchema)` to create a new message.
+ */
+export declare const GenerateRecoveryPhraseResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.KeyInfo
*/
-export declare class KeyInfo extends Message {
+export declare type KeyInfo = Message<"land.gno.gnonative.v1.KeyInfo"> & {
/**
* 0: local, 1: ledger, 2: offline, 3: multi
*
@@ -291,21 +205,13 @@ export declare class KeyInfo extends Message {
* @generated from field: bytes address = 4;
*/
address: Uint8Array;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.KeyInfo";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): KeyInfo;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): KeyInfo;
-
- static fromJsonString(jsonString: string, options?: Partial): KeyInfo;
-
- static equals(a: KeyInfo | PlainMessage | undefined, b: KeyInfo | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.KeyInfo.
+ * Use `create(KeyInfoSchema)` to create a new message.
+ */
+export declare const KeyInfoSchema: GenMessage;
/**
* Coin holds some amount of one currency.
@@ -313,7 +219,7 @@ export declare class KeyInfo extends Message {
*
* @generated from message land.gno.gnonative.v1.Coin
*/
-export declare class Coin extends Message {
+export declare type Coin = Message<"land.gno.gnonative.v1.Coin"> & {
/**
* @generated from field: string denom = 1;
*/
@@ -323,26 +229,18 @@ export declare class Coin extends Message {
* @generated from field: sint64 amount = 2;
*/
amount: bigint;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.Coin";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): Coin;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): Coin;
-
- static fromJsonString(jsonString: string, options?: Partial): Coin;
-
- static equals(a: Coin | PlainMessage | undefined, b: Coin | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.Coin.
+ * Use `create(CoinSchema)` to create a new message.
+ */
+export declare const CoinSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.BaseAccount
*/
-export declare class BaseAccount extends Message {
+export declare type BaseAccount = Message<"land.gno.gnonative.v1.BaseAccount"> & {
/**
* @generated from field: bytes address = 1;
*/
@@ -367,357 +265,238 @@ export declare class BaseAccount extends Message {
* @generated from field: uint64 sequence = 5;
*/
sequence: bigint;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.BaseAccount";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): BaseAccount;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): BaseAccount;
-
- static fromJsonString(jsonString: string, options?: Partial): BaseAccount;
-
- static equals(a: BaseAccount | PlainMessage | undefined, b: BaseAccount | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.BaseAccount.
+ * Use `create(BaseAccountSchema)` to create a new message.
+ */
+export declare const BaseAccountSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.ListKeyInfoRequest
*/
-export declare class ListKeyInfoRequest extends Message {
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.ListKeyInfoRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): ListKeyInfoRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): ListKeyInfoRequest;
+export declare type ListKeyInfoRequest = Message<"land.gno.gnonative.v1.ListKeyInfoRequest"> & {
+};
- static fromJsonString(jsonString: string, options?: Partial): ListKeyInfoRequest;
-
- static equals(a: ListKeyInfoRequest | PlainMessage | undefined, b: ListKeyInfoRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.ListKeyInfoRequest.
+ * Use `create(ListKeyInfoRequestSchema)` to create a new message.
+ */
+export declare const ListKeyInfoRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.ListKeyInfoResponse
*/
-export declare class ListKeyInfoResponse extends Message {
+export declare type ListKeyInfoResponse = Message<"land.gno.gnonative.v1.ListKeyInfoResponse"> & {
/**
* @generated from field: repeated land.gno.gnonative.v1.KeyInfo keys = 1 [json_name = "key_info"];
*/
keys: KeyInfo[];
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.ListKeyInfoResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): ListKeyInfoResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): ListKeyInfoResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): ListKeyInfoResponse;
-
- static equals(a: ListKeyInfoResponse | PlainMessage | undefined, b: ListKeyInfoResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.ListKeyInfoResponse.
+ * Use `create(ListKeyInfoResponseSchema)` to create a new message.
+ */
+export declare const ListKeyInfoResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.HasKeyByNameRequest
*/
-export declare class HasKeyByNameRequest extends Message {
+export declare type HasKeyByNameRequest = Message<"land.gno.gnonative.v1.HasKeyByNameRequest"> & {
/**
* @generated from field: string name = 1;
*/
name: string;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByNameRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByNameRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByNameRequest;
-
- static equals(a: HasKeyByNameRequest | PlainMessage | undefined, b: HasKeyByNameRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameRequest.
+ * Use `create(HasKeyByNameRequestSchema)` to create a new message.
+ */
+export declare const HasKeyByNameRequestSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.HasKeyByNameResponse
*/
-export declare class HasKeyByNameResponse extends Message {
+export declare type HasKeyByNameResponse = Message<"land.gno.gnonative.v1.HasKeyByNameResponse"> & {
/**
* @generated from field: bool has = 1;
*/
has: boolean;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByNameResponse";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByNameResponse;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByNameResponse;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByNameResponse;
-
- static equals(a: HasKeyByNameResponse | PlainMessage | undefined, b: HasKeyByNameResponse | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.HasKeyByNameResponse.
+ * Use `create(HasKeyByNameResponseSchema)` to create a new message.
+ */
+export declare const HasKeyByNameResponseSchema: GenMessage;
/**
* @generated from message land.gno.gnonative.v1.HasKeyByAddressRequest
*/
-export declare class HasKeyByAddressRequest extends Message {
+export declare type HasKeyByAddressRequest = Message<"land.gno.gnonative.v1.HasKeyByAddressRequest"> & {
/**
* @generated from field: bytes address = 1;
*/
address: Uint8Array;
+};
- constructor(data?: PartialMessage);
-
- static readonly runtime: typeof proto3;
- static readonly typeName = "land.gno.gnonative.v1.HasKeyByAddressRequest";
- static readonly fields: FieldList;
-
- static fromBinary(bytes: Uint8Array, options?: Partial): HasKeyByAddressRequest;
-
- static fromJson(jsonValue: JsonValue, options?: Partial): HasKeyByAddressRequest;
-
- static fromJsonString(jsonString: string, options?: Partial): HasKeyByAddressRequest;
-
- static equals(a: HasKeyByAddressRequest | PlainMessage | undefined, b: HasKeyByAddressRequest | PlainMessage | undefined): boolean;
-}
+/**
+ * Describes the message land.gno.gnonative.v1.HasKeyByAddressRequest.
+ * Use `create(HasKeyByAddressRequestSchema)` to create a new message.
+ */
+export declare const HasKeyByAddressRequestSchema: GenMessage