diff --git a/api/gen/csharp/Gnonativetypes.cs b/api/gen/csharp/Gnonativetypes.cs index d9c0980..17b1816 100644 --- a/api/gen/csharp/Gnonativetypes.cs +++ b/api/gen/csharp/Gnonativetypes.cs @@ -70,87 +70,92 @@ static GnonativetypesReflection() { "YXNzd29yZBgEIAEoCVIIcGFzc3dvcmQSGAoHYWNjb3VudBgFIAEoDVIHYWNj", "b3VudBIUCgVpbmRleBgGIAEoDVIFaW5kZXgiTgoVQ3JlYXRlQWNjb3VudFJl", "c3BvbnNlEjUKA2tleRgBIAEoCzIeLmxhbmQuZ25vLmdub25hdGl2ZS52MS5L", - "ZXlJbmZvUghrZXlfaW5mbyI+ChZBY3RpdmF0ZUFjY291bnRSZXF1ZXN0EiQK", - "Dm5hbWVfb3JfYmVjaDMyGAEgASgJUgxuYW1lT3JCZWNoMzIicwoXQWN0aXZh", - "dGVBY2NvdW50UmVzcG9uc2USNQoDa2V5GAEgASgLMh4ubGFuZC5nbm8uZ25v", - "bmF0aXZlLnYxLktleUluZm9SCGtleV9pbmZvEiEKDGhhc19wYXNzd29yZBgC", - "IAEoCFILaGFzUGFzc3dvcmQiNgoaR2V0QWN0aXZhdGVkQWNjb3VudFJlcXVl", - "c3QSGAoHYWRkcmVzcxgBIAEoDFIHYWRkcmVzcyJ3ChtHZXRBY3RpdmF0ZWRB", - "Y2NvdW50UmVzcG9uc2USNQoDa2V5GAEgASgLMh4ubGFuZC5nbm8uZ25vbmF0", - "aXZlLnYxLktleUluZm9SCGtleV9pbmZvEiEKDGhhc19wYXNzd29yZBgCIAEo", - "CFILaGFzUGFzc3dvcmQiLwoTUXVlcnlBY2NvdW50UmVxdWVzdBIYCgdhZGRy", - "ZXNzGAEgASgMUgdhZGRyZXNzIl0KFFF1ZXJ5QWNjb3VudFJlc3BvbnNlEkUK", - "DGFjY291bnRfaW5mbxgBIAEoCzIiLmxhbmQuZ25vLmdub25hdGl2ZS52MS5C", - "YXNlQWNjb3VudFILYWNjb3VudEluZm8ifQoUR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Vs", + "bG9TdHJlYW1SZXNwb25zZRIaCghncmVldGluZxgBIAEoCVIIR3JlZXRpbmci", + "MAoYR05PTkFUSVZFVFlQRVNfQnl0ZXNMaXN0EhQKBVZhbHVlGAEgAygMUgVW", + "YWx1ZUIsWipnaXRodWIuY29tL2dub2xhbmcvZ25vbmF0aXZlL3Y0L2FwaS9n", + "ZW4vZ29iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -187,6 +192,8 @@ static GnonativetypesReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.GetKeyInfoByNameOrAddressResponse), global::Land.Gno.Gnonative.V1.GetKeyInfoByNameOrAddressResponse.Parser, new[]{ "Key" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CreateAccountRequest), global::Land.Gno.Gnonative.V1.CreateAccountRequest.Parser, new[]{ "NameOrBech32", "Mnemonic", "Bip39Passwd", "Password", "Account", "Index" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CreateAccountResponse), global::Land.Gno.Gnonative.V1.CreateAccountResponse.Parser, new[]{ "Key" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CreateLedgerRequest), global::Land.Gno.Gnonative.V1.CreateLedgerRequest.Parser, new[]{ "Name", "Algorithm", "Hrp", "Account", "Index" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.CreateLedgerResponse), global::Land.Gno.Gnonative.V1.CreateLedgerResponse.Parser, new[]{ "Key" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.ActivateAccountRequest), global::Land.Gno.Gnonative.V1.ActivateAccountRequest.Parser, new[]{ "NameOrBech32" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.ActivateAccountResponse), global::Land.Gno.Gnonative.V1.ActivateAccountResponse.Parser, new[]{ "Key", "HasPassword" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Land.Gno.Gnonative.V1.GetActivatedAccountRequest), global::Land.Gno.Gnonative.V1.GetActivatedAccountRequest.Parser, new[]{ "Address" }, null, null, null, null), @@ -6316,12 +6323,602 @@ public GetKeyInfoByNameOrAddressResponse Clone() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GetKeyInfoByNameOrAddressResponse); + return Equals(other as GetKeyInfoByNameOrAddressResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetKeyInfoByNameOrAddressResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Key, other.Key)) 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 (key_ != null) hash ^= Key.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 (key_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Key); + } + 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 (key_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Key); + } + 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 (key_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Key); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetKeyInfoByNameOrAddressResponse other) { + if (other == null) { + return; + } + if (other.key_ != null) { + if (key_ == null) { + Key = new global::Land.Gno.Gnonative.V1.KeyInfo(); + } + Key.MergeFrom(other.Key); + } + _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: { + if (key_ == null) { + Key = new global::Land.Gno.Gnonative.V1.KeyInfo(); + } + input.ReadMessage(Key); + 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: { + if (key_ == null) { + Key = new global::Land.Gno.Gnonative.V1.KeyInfo(); + } + input.ReadMessage(Key); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateAccountRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAccountRequest()); + 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[31]; } + } + + [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 CreateAccountRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAccountRequest(CreateAccountRequest other) : this() { + nameOrBech32_ = other.nameOrBech32_; + mnemonic_ = other.mnemonic_; + bip39Passwd_ = other.bip39Passwd_; + password_ = other.password_; + account_ = other.account_; + index_ = other.index_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAccountRequest Clone() { + return new CreateAccountRequest(this); + } + + /// Field number for the "name_or_bech32" field. + public const int NameOrBech32FieldNumber = 1; + private string nameOrBech32_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NameOrBech32 { + get { return nameOrBech32_; } + set { + nameOrBech32_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "mnemonic" field. + public const int MnemonicFieldNumber = 2; + 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"); + } + } + + /// Field number for the "bip39_passwd" field. + public const int Bip39PasswdFieldNumber = 3; + private string bip39Passwd_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bip39Passwd { + get { return bip39Passwd_; } + set { + bip39Passwd_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "password" field. + public const int PasswordFieldNumber = 4; + private string password_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Password { + get { return password_; } + set { + password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 5; + private uint account_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Account { + get { return account_; } + set { + account_ = value; + } + } + + /// Field number for the "index" field. + public const int IndexFieldNumber = 6; + private uint index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return index_; } + set { + index_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateAccountRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateAccountRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NameOrBech32 != other.NameOrBech32) return false; + if (Mnemonic != other.Mnemonic) return false; + if (Bip39Passwd != other.Bip39Passwd) return false; + if (Password != other.Password) return false; + if (Account != other.Account) return false; + if (Index != other.Index) 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 (NameOrBech32.Length != 0) hash ^= NameOrBech32.GetHashCode(); + if (Mnemonic.Length != 0) hash ^= Mnemonic.GetHashCode(); + if (Bip39Passwd.Length != 0) hash ^= Bip39Passwd.GetHashCode(); + if (Password.Length != 0) hash ^= Password.GetHashCode(); + if (Account != 0) hash ^= Account.GetHashCode(); + if (Index != 0) hash ^= Index.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 (NameOrBech32.Length != 0) { + output.WriteRawTag(10); + output.WriteString(NameOrBech32); + } + if (Mnemonic.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Mnemonic); + } + if (Bip39Passwd.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Bip39Passwd); + } + if (Password.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Password); + } + if (Account != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Account); + } + if (Index != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Index); + } + 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 (NameOrBech32.Length != 0) { + output.WriteRawTag(10); + output.WriteString(NameOrBech32); + } + if (Mnemonic.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Mnemonic); + } + if (Bip39Passwd.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Bip39Passwd); + } + if (Password.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Password); + } + if (Account != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Account); + } + if (Index != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Index); + } + 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 (NameOrBech32.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NameOrBech32); + } + if (Mnemonic.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Mnemonic); + } + if (Bip39Passwd.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bip39Passwd); + } + if (Password.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); + } + if (Account != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Account); + } + if (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateAccountRequest other) { + if (other == null) { + return; + } + if (other.NameOrBech32.Length != 0) { + NameOrBech32 = other.NameOrBech32; + } + if (other.Mnemonic.Length != 0) { + Mnemonic = other.Mnemonic; + } + if (other.Bip39Passwd.Length != 0) { + Bip39Passwd = other.Bip39Passwd; + } + if (other.Password.Length != 0) { + Password = other.Password; + } + if (other.Account != 0) { + Account = other.Account; + } + if (other.Index != 0) { + Index = other.Index; + } + _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: { + NameOrBech32 = input.ReadString(); + break; + } + case 18: { + Mnemonic = input.ReadString(); + break; + } + case 26: { + Bip39Passwd = input.ReadString(); + break; + } + case 34: { + Password = input.ReadString(); + break; + } + case 40: { + Account = input.ReadUInt32(); + break; + } + case 48: { + Index = input.ReadUInt32(); + 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: { + NameOrBech32 = input.ReadString(); + break; + } + case 18: { + Mnemonic = input.ReadString(); + break; + } + case 26: { + Bip39Passwd = input.ReadString(); + break; + } + case 34: { + Password = input.ReadString(); + break; + } + case 40: { + Account = input.ReadUInt32(); + break; + } + case 48: { + Index = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateAccountResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAccountResponse()); + 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[32]; } + } + + [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 CreateAccountResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAccountResponse(CreateAccountResponse other) : this() { + key_ = other.key_ != null ? other.key_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAccountResponse Clone() { + return new CreateAccountResponse(this); + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 1; + private global::Land.Gno.Gnonative.V1.KeyInfo key_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Land.Gno.Gnonative.V1.KeyInfo Key { + get { return key_; } + set { + key_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateAccountResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GetKeyInfoByNameOrAddressResponse other) { + public bool Equals(CreateAccountResponse other) { if (ReferenceEquals(other, null)) { return false; } @@ -6394,7 +6991,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GetKeyInfoByNameOrAddressResponse other) { + public void MergeFrom(CreateAccountResponse other) { if (other == null) { return; } @@ -6464,21 +7061,21 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CreateAccountRequest : pb::IMessage + public sealed partial class CreateLedgerRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAccountRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateLedgerRequest()); 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)] public static pbr::MessageDescriptor Descriptor { - get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[31]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[33]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6489,7 +7086,7 @@ public sealed partial class CreateAccountRequest : pb::IMessageField number for the "name_or_bech32" field. - public const int NameOrBech32FieldNumber = 1; - private string nameOrBech32_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NameOrBech32 { - get { return nameOrBech32_; } - set { - nameOrBech32_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public CreateLedgerRequest Clone() { + return new CreateLedgerRequest(this); } - /// Field number for the "mnemonic" field. - public const int MnemonicFieldNumber = 2; - private string mnemonic_ = ""; + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Mnemonic { - get { return mnemonic_; } + public string Name { + get { return name_; } set { - mnemonic_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "bip39_passwd" field. - public const int Bip39PasswdFieldNumber = 3; - private string bip39Passwd_ = ""; + /// Field number for the "algorithm" field. + public const int AlgorithmFieldNumber = 2; + private string algorithm_ = ""; + /// + /// Supported algorithm is "secp256k1" + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bip39Passwd { - get { return bip39Passwd_; } + public string Algorithm { + get { return algorithm_; } set { - bip39Passwd_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + algorithm_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "password" field. - public const int PasswordFieldNumber = 4; - private string password_ = ""; + /// Field number for the "hrp" field. + public const int HrpFieldNumber = 3; + private string hrp_ = ""; + /// + /// The human readable part of the address. Example: "g" + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Password { - get { return password_; } + public string Hrp { + get { return hrp_; } set { - password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + hrp_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "account" field. - public const int AccountFieldNumber = 5; + public const int AccountFieldNumber = 4; private uint account_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6574,7 +7164,7 @@ public uint Account { } /// Field number for the "index" field. - public const int IndexFieldNumber = 6; + public const int IndexFieldNumber = 5; private uint index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6588,22 +7178,21 @@ public uint Index { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as CreateAccountRequest); + return Equals(other as CreateLedgerRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CreateAccountRequest other) { + public bool Equals(CreateLedgerRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (NameOrBech32 != other.NameOrBech32) return false; - if (Mnemonic != other.Mnemonic) return false; - if (Bip39Passwd != other.Bip39Passwd) return false; - if (Password != other.Password) return false; + if (Name != other.Name) return false; + if (Algorithm != other.Algorithm) return false; + if (Hrp != other.Hrp) return false; if (Account != other.Account) return false; if (Index != other.Index) return false; return Equals(_unknownFields, other._unknownFields); @@ -6613,10 +7202,9 @@ public bool Equals(CreateAccountRequest other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (NameOrBech32.Length != 0) hash ^= NameOrBech32.GetHashCode(); - if (Mnemonic.Length != 0) hash ^= Mnemonic.GetHashCode(); - if (Bip39Passwd.Length != 0) hash ^= Bip39Passwd.GetHashCode(); - if (Password.Length != 0) hash ^= Password.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Algorithm.Length != 0) hash ^= Algorithm.GetHashCode(); + if (Hrp.Length != 0) hash ^= Hrp.GetHashCode(); if (Account != 0) hash ^= Account.GetHashCode(); if (Index != 0) hash ^= Index.GetHashCode(); if (_unknownFields != null) { @@ -6637,28 +7225,24 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (NameOrBech32.Length != 0) { + if (Name.Length != 0) { output.WriteRawTag(10); - output.WriteString(NameOrBech32); + output.WriteString(Name); } - if (Mnemonic.Length != 0) { + if (Algorithm.Length != 0) { output.WriteRawTag(18); - output.WriteString(Mnemonic); + output.WriteString(Algorithm); } - if (Bip39Passwd.Length != 0) { + if (Hrp.Length != 0) { output.WriteRawTag(26); - output.WriteString(Bip39Passwd); - } - if (Password.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Password); + output.WriteString(Hrp); } if (Account != 0) { - output.WriteRawTag(40); + output.WriteRawTag(32); output.WriteUInt32(Account); } if (Index != 0) { - output.WriteRawTag(48); + output.WriteRawTag(40); output.WriteUInt32(Index); } if (_unknownFields != null) { @@ -6671,28 +7255,24 @@ 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 (NameOrBech32.Length != 0) { + if (Name.Length != 0) { output.WriteRawTag(10); - output.WriteString(NameOrBech32); + output.WriteString(Name); } - if (Mnemonic.Length != 0) { + if (Algorithm.Length != 0) { output.WriteRawTag(18); - output.WriteString(Mnemonic); + output.WriteString(Algorithm); } - if (Bip39Passwd.Length != 0) { + if (Hrp.Length != 0) { output.WriteRawTag(26); - output.WriteString(Bip39Passwd); - } - if (Password.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Password); + output.WriteString(Hrp); } if (Account != 0) { - output.WriteRawTag(40); + output.WriteRawTag(32); output.WriteUInt32(Account); } if (Index != 0) { - output.WriteRawTag(48); + output.WriteRawTag(40); output.WriteUInt32(Index); } if (_unknownFields != null) { @@ -6705,17 +7285,14 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (NameOrBech32.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NameOrBech32); - } - if (Mnemonic.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Mnemonic); + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } - if (Bip39Passwd.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bip39Passwd); + if (Algorithm.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Algorithm); } - if (Password.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); + if (Hrp.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Hrp); } if (Account != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Account); @@ -6731,21 +7308,18 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CreateAccountRequest other) { + public void MergeFrom(CreateLedgerRequest other) { if (other == null) { return; } - if (other.NameOrBech32.Length != 0) { - NameOrBech32 = other.NameOrBech32; - } - if (other.Mnemonic.Length != 0) { - Mnemonic = other.Mnemonic; + if (other.Name.Length != 0) { + Name = other.Name; } - if (other.Bip39Passwd.Length != 0) { - Bip39Passwd = other.Bip39Passwd; + if (other.Algorithm.Length != 0) { + Algorithm = other.Algorithm; } - if (other.Password.Length != 0) { - Password = other.Password; + if (other.Hrp.Length != 0) { + Hrp = other.Hrp; } if (other.Account != 0) { Account = other.Account; @@ -6773,26 +7347,22 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - NameOrBech32 = input.ReadString(); + Name = input.ReadString(); break; } case 18: { - Mnemonic = input.ReadString(); + Algorithm = input.ReadString(); break; } case 26: { - Bip39Passwd = input.ReadString(); + Hrp = input.ReadString(); break; } - case 34: { - Password = input.ReadString(); - break; - } - case 40: { + case 32: { Account = input.ReadUInt32(); break; } - case 48: { + case 40: { Index = input.ReadUInt32(); break; } @@ -6816,26 +7386,22 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - NameOrBech32 = input.ReadString(); + Name = input.ReadString(); break; } case 18: { - Mnemonic = input.ReadString(); + Algorithm = input.ReadString(); break; } case 26: { - Bip39Passwd = input.ReadString(); - break; - } - case 34: { - Password = input.ReadString(); + Hrp = input.ReadString(); break; } - case 40: { + case 32: { Account = input.ReadUInt32(); break; } - case 48: { + case 40: { Index = input.ReadUInt32(); break; } @@ -6847,21 +7413,21 @@ public void MergeFrom(pb::CodedInputStream input) { } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CreateAccountResponse : pb::IMessage + public sealed partial class CreateLedgerResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAccountResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateLedgerResponse()); 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)] public static pbr::MessageDescriptor Descriptor { - get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[32]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6872,7 +7438,7 @@ public sealed partial class CreateAccountResponse : pb::IMessageField number for the "key" field. @@ -6906,12 +7472,12 @@ public CreateAccountResponse Clone() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as CreateAccountResponse); + return Equals(other as CreateLedgerResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CreateAccountResponse other) { + public bool Equals(CreateLedgerResponse other) { if (ReferenceEquals(other, null)) { return false; } @@ -6984,7 +7550,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CreateAccountResponse other) { + public void MergeFrom(CreateLedgerResponse other) { if (other == null) { return; } @@ -7068,7 +7634,7 @@ public sealed partial class ActivateAccountRequest : 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[41]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[43]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9037,7 +9603,7 @@ public sealed partial class QueryResponse : 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[42]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[44]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9235,7 +9801,7 @@ public sealed partial class RenderRequest : 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[43]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[45]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9476,7 +10042,7 @@ public sealed partial class RenderResponse : 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[44]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9677,7 +10243,7 @@ public sealed partial class QEvalRequest : 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[45]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9918,7 +10484,7 @@ public sealed partial class QEvalResponse : 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[46]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10119,7 +10685,7 @@ public sealed partial class MsgCall : 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[47]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[49]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10416,7 +10982,7 @@ public sealed partial class CallRequest : 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[48]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[50]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10757,7 +11323,7 @@ public sealed partial class CallResponse : 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[49]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[51]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11035,7 +11601,7 @@ public sealed partial class MsgSend : 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[50]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[52]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11266,7 +11832,7 @@ public sealed partial class SendRequest : 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[51]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[53]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11610,7 +12176,7 @@ public sealed partial class SendResponse : 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[52]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[54]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11851,7 +12417,7 @@ public sealed partial class MsgRun : 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[53]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[55]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12093,7 +12659,7 @@ public sealed partial class RunRequest : 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[54]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[56]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12437,7 +13003,7 @@ public sealed partial class RunResponse : 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[55]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[57]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12718,7 +13284,7 @@ public sealed partial class MakeTxResponse : 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[56]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[58]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12919,7 +13485,7 @@ public sealed partial class SignTxRequest : 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[57]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[59]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13240,7 +13806,7 @@ public sealed partial class SignTxResponse : 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[58]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[60]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13441,7 +14007,7 @@ public sealed partial class EstimateGasRequest : 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[73]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[75]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16742,7 +17308,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[74]; } + get { return global::Land.Gno.Gnonative.V1.GnonativetypesReflection.Descriptor.MessageTypes[76]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16940,7 +17506,7 @@ public sealed partial class HelloStreamRequest : pb::IMessage __Marshaller_land_gno_gnonative_v1_CreateAccountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.CreateAccountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_CreateLedgerRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.CreateLedgerRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_CreateLedgerResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.CreateLedgerResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_ActivateAccountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.ActivateAccountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_land_gno_gnonative_v1_ActivateAccountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Land.Gno.Gnonative.V1.ActivateAccountResponse.Parser)); @@ -295,6 +299,14 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl __Marshaller_land_gno_gnonative_v1_CreateAccountRequest, __Marshaller_land_gno_gnonative_v1_CreateAccountResponse); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateLedger = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateLedger", + __Marshaller_land_gno_gnonative_v1_CreateLedgerRequest, + __Marshaller_land_gno_gnonative_v1_CreateLedgerResponse); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_ActivateAccount = new grpc::Method( grpc::MethodType.Unary, @@ -662,7 +674,8 @@ public abstract partial class GnoNativeServiceBase } /// - /// Create a new account in the keybase using the name and password specified by SetAccount. + /// Create a new account in the keybase using the name and password. + /// To use this key, you must call SetPassword. /// If an account with the same name already exists in the keybase, /// this replaces it. (If you don't want to replace it, then it's your responsibility /// to use GetKeyInfoByName to check if it exists before calling this.) @@ -676,6 +689,24 @@ public abstract partial class GnoNativeServiceBase throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } + /// + /// Get the key info from the Ledger and create an entry in the keybase using the name. + /// The Ledger must be unlocked and running the Cosmos app. + /// Future signing with this key will use the Ledger. + /// (To use this key, it is not necessary to call SetPassword.) + /// If an account with the same name already exists in the keybase, + /// this replaces it. (If you don't want to replace it, then it's your responsibility + /// to use GetKeyInfoByName to check if it exists before calling this.) + /// + /// 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 CreateLedger(global::Land.Gno.Gnonative.V1.CreateLedgerRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + /// /// Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is /// false, then you should call SetPassword before using a method which needs it. @@ -1674,7 +1705,8 @@ protected GnoNativeServiceClient(ClientBaseConfiguration configuration) : base(c return CallInvoker.AsyncUnaryCall(__Method_GetKeyInfoByNameOrAddress, null, options, request); } /// - /// Create a new account in the keybase using the name and password specified by SetAccount. + /// Create a new account in the keybase using the name and password. + /// To use this key, you must call SetPassword. /// If an account with the same name already exists in the keybase, /// this replaces it. (If you don't want to replace it, then it's your responsibility /// to use GetKeyInfoByName to check if it exists before calling this.) @@ -1690,7 +1722,8 @@ protected GnoNativeServiceClient(ClientBaseConfiguration configuration) : base(c return CreateAccount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new account in the keybase using the name and password specified by SetAccount. + /// Create a new account in the keybase using the name and password. + /// To use this key, you must call SetPassword. /// If an account with the same name already exists in the keybase, /// this replaces it. (If you don't want to replace it, then it's your responsibility /// to use GetKeyInfoByName to check if it exists before calling this.) @@ -1704,7 +1737,8 @@ protected GnoNativeServiceClient(ClientBaseConfiguration configuration) : base(c return CallInvoker.BlockingUnaryCall(__Method_CreateAccount, null, options, request); } /// - /// Create a new account in the keybase using the name and password specified by SetAccount. + /// Create a new account in the keybase using the name and password. + /// To use this key, you must call SetPassword. /// If an account with the same name already exists in the keybase, /// this replaces it. (If you don't want to replace it, then it's your responsibility /// to use GetKeyInfoByName to check if it exists before calling this.) @@ -1720,7 +1754,8 @@ protected GnoNativeServiceClient(ClientBaseConfiguration configuration) : base(c return CreateAccountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Create a new account in the keybase using the name and password specified by SetAccount. + /// Create a new account in the keybase using the name and password. + /// To use this key, you must call SetPassword. /// If an account with the same name already exists in the keybase, /// this replaces it. (If you don't want to replace it, then it's your responsibility /// to use GetKeyInfoByName to check if it exists before calling this.) @@ -1734,6 +1769,78 @@ protected GnoNativeServiceClient(ClientBaseConfiguration configuration) : base(c return CallInvoker.AsyncUnaryCall(__Method_CreateAccount, null, options, request); } /// + /// Get the key info from the Ledger and create an entry in the keybase using the name. + /// The Ledger must be unlocked and running the Cosmos app. + /// Future signing with this key will use the Ledger. + /// (To use this key, it is not necessary to call SetPassword.) + /// If an account with the same name already exists in the keybase, + /// this replaces it. (If you don't want to replace it, then it's your responsibility + /// to use GetKeyInfoByName to check if it exists before calling this.) + /// + /// 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.CreateLedgerResponse CreateLedger(global::Land.Gno.Gnonative.V1.CreateLedgerRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateLedger(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Get the key info from the Ledger and create an entry in the keybase using the name. + /// The Ledger must be unlocked and running the Cosmos app. + /// Future signing with this key will use the Ledger. + /// (To use this key, it is not necessary to call SetPassword.) + /// If an account with the same name already exists in the keybase, + /// this replaces it. (If you don't want to replace it, then it's your responsibility + /// to use GetKeyInfoByName to check if it exists before calling this.) + /// + /// 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.CreateLedgerResponse CreateLedger(global::Land.Gno.Gnonative.V1.CreateLedgerRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateLedger, null, options, request); + } + /// + /// Get the key info from the Ledger and create an entry in the keybase using the name. + /// The Ledger must be unlocked and running the Cosmos app. + /// Future signing with this key will use the Ledger. + /// (To use this key, it is not necessary to call SetPassword.) + /// If an account with the same name already exists in the keybase, + /// this replaces it. (If you don't want to replace it, then it's your responsibility + /// to use GetKeyInfoByName to check if it exists before calling this.) + /// + /// 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 CreateLedgerAsync(global::Land.Gno.Gnonative.V1.CreateLedgerRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateLedgerAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Get the key info from the Ledger and create an entry in the keybase using the name. + /// The Ledger must be unlocked and running the Cosmos app. + /// Future signing with this key will use the Ledger. + /// (To use this key, it is not necessary to call SetPassword.) + /// If an account with the same name already exists in the keybase, + /// this replaces it. (If you don't want to replace it, then it's your responsibility + /// to use GetKeyInfoByName to check if it exists before calling this.) + /// + /// 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 CreateLedgerAsync(global::Land.Gno.Gnonative.V1.CreateLedgerRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateLedger, null, options, request); + } + /// /// Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is /// false, then you should call SetPassword before using a method which needs it. /// If the account is already activated, return its info. @@ -2980,6 +3087,7 @@ protected override GnoNativeServiceClient NewInstance(ClientBaseConfiguration co .AddMethod(__Method_GetKeyInfoByAddress, serviceImpl.GetKeyInfoByAddress) .AddMethod(__Method_GetKeyInfoByNameOrAddress, serviceImpl.GetKeyInfoByNameOrAddress) .AddMethod(__Method_CreateAccount, serviceImpl.CreateAccount) + .AddMethod(__Method_CreateLedger, serviceImpl.CreateLedger) .AddMethod(__Method_ActivateAccount, serviceImpl.ActivateAccount) .AddMethod(__Method_SetPassword, serviceImpl.SetPassword) .AddMethod(__Method_RotatePassword, serviceImpl.RotatePassword) @@ -3027,6 +3135,7 @@ public static void BindService(grpc::ServiceBinderBase serviceBinder, GnoNativeS serviceBinder.AddMethod(__Method_GetKeyInfoByAddress, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetKeyInfoByAddress)); serviceBinder.AddMethod(__Method_GetKeyInfoByNameOrAddress, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetKeyInfoByNameOrAddress)); serviceBinder.AddMethod(__Method_CreateAccount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateAccount)); + serviceBinder.AddMethod(__Method_CreateLedger, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateLedger)); serviceBinder.AddMethod(__Method_ActivateAccount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ActivateAccount)); serviceBinder.AddMethod(__Method_SetPassword, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SetPassword)); serviceBinder.AddMethod(__Method_RotatePassword, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.RotatePassword)); diff --git a/api/gen/es/gnonativetypes_pb.ts b/api/gen/es/gnonativetypes_pb.ts index 7d08a5b..75d7147 100644 --- a/api/gen/es/gnonativetypes_pb.ts +++ b/api/gen/es/gnonativetypes_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file gnonativetypes.proto. */ export const file_gnonativetypes: GenFile = /*@__PURE__*/ - fileDesc("ChRnbm9uYXRpdmV0eXBlcy5wcm90bxIVbGFuZC5nbm8uZ25vbmF0aXZlLnYxIiIKEFNldFJlbW90ZVJlcXVlc3QSDgoGcmVtb3RlGAEgASgJIhMKEVNldFJlbW90ZVJlc3BvbnNlIhIKEEdldFJlbW90ZVJlcXVlc3QiIwoRR2V0UmVtb3RlUmVzcG9uc2USDgoGcmVtb3RlGAEgASgJIiUKEVNldENoYWluSURSZXF1ZXN0EhAKCGNoYWluX2lkGAEgASgJIhQKElNldENoYWluSURSZXNwb25zZSITChFHZXRDaGFpbklEUmVxdWVzdCImChJHZXRDaGFpbklEUmVzcG9uc2USEAoIY2hhaW5faWQYASABKAkiNwoSU2V0UGFzc3dvcmRSZXF1ZXN0EhAKCHBhc3N3b3JkGAEgASgJEg8KB2FkZHJlc3MYAiABKAwiFQoTU2V0UGFzc3dvcmRSZXNwb25zZSJAChVSb3RhdGVQYXNzd29yZFJlcXVlc3QSFAoMbmV3X3Bhc3N3b3JkGAEgASgJEhEKCWFkZHJlc3NlcxgCIAMoDCIYChZSb3RhdGVQYXNzd29yZFJlc3BvbnNlIh8KHUdlbmVyYXRlUmVjb3ZlcnlQaHJhc2VSZXF1ZXN0IjAKHkdlbmVyYXRlUmVjb3ZlcnlQaHJhc2VSZXNwb25zZRIOCgZwaHJhc2UYASABKAkiRwoHS2V5SW5mbxIMCgR0eXBlGAEgASgNEgwKBG5hbWUYAiABKAkSDwoHcHViX2tleRgDIAEoDBIPCgdhZGRyZXNzGAQgASgMIiUKBENvaW4SDQoFZGVub20YASABKAkSDgoGYW1vdW50G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XZlL3Y0L2FwaS9nZW4vZ29iBnByb3RvMw"); /** * messages @@ -629,6 +629,64 @@ export type CreateAccountResponse = Message<"land.gno.gnonative.v1.CreateAccount export const CreateAccountResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_gnonativetypes, 32); +/** + * @generated from message land.gno.gnonative.v1.CreateLedgerRequest + */ +export type CreateLedgerRequest = Message<"land.gno.gnonative.v1.CreateLedgerRequest"> & { + /** + * @generated from field: string name = 1; + */ + name: string; + + /** + * Supported algorithm is "secp256k1" + * + * @generated from field: string algorithm = 2; + */ + algorithm: string; + + /** + * The human readable part of the address. Example: "g" + * + * @generated from field: string hrp = 3; + */ + hrp: string; + + /** + * @generated from field: uint32 account = 4; + */ + account: number; + + /** + * @generated from field: uint32 index = 5; + */ + index: number; +}; + +/** + * Describes the message land.gno.gnonative.v1.CreateLedgerRequest. + * Use `create(CreateLedgerRequestSchema)` to create a new message. + */ +export const CreateLedgerRequestSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_gnonativetypes, 33); + +/** + * @generated from message land.gno.gnonative.v1.CreateLedgerResponse + */ +export type CreateLedgerResponse = Message<"land.gno.gnonative.v1.CreateLedgerResponse"> & { + /** + * @generated from field: land.gno.gnonative.v1.KeyInfo key = 1 [json_name = "key_info"]; + */ + key?: KeyInfo; +}; + +/** + * Describes the message land.gno.gnonative.v1.CreateLedgerResponse. + * Use `create(CreateLedgerResponseSchema)` to create a new message. + */ +export const CreateLedgerResponseSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_gnonativetypes, 34); + /** * @generated from message land.gno.gnonative.v1.ActivateAccountRequest */ @@ -644,7 +702,7 @@ export type ActivateAccountRequest = Message<"land.gno.gnonative.v1.ActivateAcco * Use `create(ActivateAccountRequestSchema)` to create a new message. */ export const ActivateAccountRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 33); + messageDesc(file_gnonativetypes, 35); /** * @generated from message land.gno.gnonative.v1.ActivateAccountResponse @@ -668,7 +726,7 @@ export type ActivateAccountResponse = Message<"land.gno.gnonative.v1.ActivateAcc * Use `create(ActivateAccountResponseSchema)` to create a new message. */ export const ActivateAccountResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 34); + messageDesc(file_gnonativetypes, 36); /** * @generated from message land.gno.gnonative.v1.GetActivatedAccountRequest @@ -685,7 +743,7 @@ export type GetActivatedAccountRequest = Message<"land.gno.gnonative.v1.GetActiv * Use `create(GetActivatedAccountRequestSchema)` to create a new message. */ export const GetActivatedAccountRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 35); + messageDesc(file_gnonativetypes, 37); /** * @generated from message land.gno.gnonative.v1.GetActivatedAccountResponse @@ -709,7 +767,7 @@ export type GetActivatedAccountResponse = Message<"land.gno.gnonative.v1.GetActi * Use `create(GetActivatedAccountResponseSchema)` to create a new message. */ export const GetActivatedAccountResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 36); + messageDesc(file_gnonativetypes, 38); /** * @generated from message land.gno.gnonative.v1.QueryAccountRequest @@ -726,7 +784,7 @@ export type QueryAccountRequest = Message<"land.gno.gnonative.v1.QueryAccountReq * Use `create(QueryAccountRequestSchema)` to create a new message. */ export const QueryAccountRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 37); + messageDesc(file_gnonativetypes, 39); /** * @generated from message land.gno.gnonative.v1.QueryAccountResponse @@ -743,7 +801,7 @@ export type QueryAccountResponse = Message<"land.gno.gnonative.v1.QueryAccountRe * Use `create(QueryAccountResponseSchema)` to create a new message. */ export const QueryAccountResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 38); + messageDesc(file_gnonativetypes, 40); /** * @generated from message land.gno.gnonative.v1.DeleteAccountRequest @@ -770,7 +828,7 @@ export type DeleteAccountRequest = Message<"land.gno.gnonative.v1.DeleteAccountR * Use `create(DeleteAccountRequestSchema)` to create a new message. */ export const DeleteAccountRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 39); + messageDesc(file_gnonativetypes, 41); /** * @generated from message land.gno.gnonative.v1.DeleteAccountResponse @@ -783,7 +841,7 @@ export type DeleteAccountResponse = Message<"land.gno.gnonative.v1.DeleteAccount * Use `create(DeleteAccountResponseSchema)` to create a new message. */ export const DeleteAccountResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 40); + messageDesc(file_gnonativetypes, 42); /** * @generated from message land.gno.gnonative.v1.QueryRequest @@ -809,7 +867,7 @@ export type QueryRequest = Message<"land.gno.gnonative.v1.QueryRequest"> & { * Use `create(QueryRequestSchema)` to create a new message. */ export const QueryRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 41); + messageDesc(file_gnonativetypes, 43); /** * @generated from message land.gno.gnonative.v1.QueryResponse @@ -826,7 +884,7 @@ export type QueryResponse = Message<"land.gno.gnonative.v1.QueryResponse"> & { * Use `create(QueryResponseSchema)` to create a new message. */ export const QueryResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 42); + messageDesc(file_gnonativetypes, 44); /** * @generated from message land.gno.gnonative.v1.RenderRequest @@ -852,7 +910,7 @@ export type RenderRequest = Message<"land.gno.gnonative.v1.RenderRequest"> & { * Use `create(RenderRequestSchema)` to create a new message. */ export const RenderRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 43); + messageDesc(file_gnonativetypes, 45); /** * @generated from message land.gno.gnonative.v1.RenderResponse @@ -871,7 +929,7 @@ export type RenderResponse = Message<"land.gno.gnonative.v1.RenderResponse"> & { * Use `create(RenderResponseSchema)` to create a new message. */ export const RenderResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 44); + messageDesc(file_gnonativetypes, 46); /** * @generated from message land.gno.gnonative.v1.QEvalRequest @@ -897,7 +955,7 @@ export type QEvalRequest = Message<"land.gno.gnonative.v1.QEvalRequest"> & { * Use `create(QEvalRequestSchema)` to create a new message. */ export const QEvalRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 45); + messageDesc(file_gnonativetypes, 47); /** * @generated from message land.gno.gnonative.v1.QEvalResponse @@ -916,7 +974,7 @@ export type QEvalResponse = Message<"land.gno.gnonative.v1.QEvalResponse"> & { * Use `create(QEvalResponseSchema)` to create a new message. */ export const QEvalResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 46); + messageDesc(file_gnonativetypes, 48); /** * @generated from message land.gno.gnonative.v1.MsgCall @@ -955,7 +1013,7 @@ export type MsgCall = Message<"land.gno.gnonative.v1.MsgCall"> & { * Use `create(MsgCallSchema)` to create a new message. */ export const MsgCallSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 47); + messageDesc(file_gnonativetypes, 49); /** * @generated from message land.gno.gnonative.v1.CallRequest @@ -996,7 +1054,7 @@ export type CallRequest = Message<"land.gno.gnonative.v1.CallRequest"> & { * Use `create(CallRequestSchema)` to create a new message. */ export const CallRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 48); + messageDesc(file_gnonativetypes, 50); /** * @generated from message land.gno.gnonative.v1.CallResponse @@ -1027,7 +1085,7 @@ export type CallResponse = Message<"land.gno.gnonative.v1.CallResponse"> & { * Use `create(CallResponseSchema)` to create a new message. */ export const CallResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 49); + messageDesc(file_gnonativetypes, 51); /** * @generated from message land.gno.gnonative.v1.MsgSend @@ -1054,7 +1112,7 @@ export type MsgSend = Message<"land.gno.gnonative.v1.MsgSend"> & { * Use `create(MsgSendSchema)` to create a new message. */ export const MsgSendSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 50); + messageDesc(file_gnonativetypes, 52); /** * @generated from message land.gno.gnonative.v1.SendRequest @@ -1097,7 +1155,7 @@ export type SendRequest = Message<"land.gno.gnonative.v1.SendRequest"> & { * Use `create(SendRequestSchema)` to create a new message. */ export const SendRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 51); + messageDesc(file_gnonativetypes, 53); /** * @generated from message land.gno.gnonative.v1.SendResponse @@ -1123,7 +1181,7 @@ export type SendResponse = Message<"land.gno.gnonative.v1.SendResponse"> & { * Use `create(SendResponseSchema)` to create a new message. */ export const SendResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 52); + messageDesc(file_gnonativetypes, 54); /** * @generated from message land.gno.gnonative.v1.MsgRun @@ -1150,7 +1208,7 @@ export type MsgRun = Message<"land.gno.gnonative.v1.MsgRun"> & { * Use `create(MsgRunSchema)` to create a new message. */ export const MsgRunSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 53); + messageDesc(file_gnonativetypes, 55); /** * @generated from message land.gno.gnonative.v1.RunRequest @@ -1193,7 +1251,7 @@ export type RunRequest = Message<"land.gno.gnonative.v1.RunRequest"> & { * Use `create(RunRequestSchema)` to create a new message. */ export const RunRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 54); + messageDesc(file_gnonativetypes, 56); /** * @generated from message land.gno.gnonative.v1.RunResponse @@ -1226,7 +1284,7 @@ export type RunResponse = Message<"land.gno.gnonative.v1.RunResponse"> & { * Use `create(RunResponseSchema)` to create a new message. */ export const RunResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 55); + messageDesc(file_gnonativetypes, 57); /** * @generated from message land.gno.gnonative.v1.MakeTxResponse @@ -1245,7 +1303,7 @@ export type MakeTxResponse = Message<"land.gno.gnonative.v1.MakeTxResponse"> & { * Use `create(MakeTxResponseSchema)` to create a new message. */ export const MakeTxResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 56); + messageDesc(file_gnonativetypes, 58); /** * @generated from message land.gno.gnonative.v1.SignTxRequest @@ -1285,7 +1343,7 @@ export type SignTxRequest = Message<"land.gno.gnonative.v1.SignTxRequest"> & { * Use `create(SignTxRequestSchema)` to create a new message. */ export const SignTxRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 57); + messageDesc(file_gnonativetypes, 59); /** * @generated from message land.gno.gnonative.v1.SignTxResponse @@ -1304,7 +1362,7 @@ export type SignTxResponse = Message<"land.gno.gnonative.v1.SignTxResponse"> & { * Use `create(SignTxResponseSchema)` to create a new message. */ export const SignTxResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 58); + messageDesc(file_gnonativetypes, 60); /** * @generated from message land.gno.gnonative.v1.EstimateGasRequest @@ -1360,7 +1418,7 @@ export type EstimateGasRequest = Message<"land.gno.gnonative.v1.EstimateGasReque * Use `create(EstimateGasRequestSchema)` to create a new message. */ export const EstimateGasRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 59); + messageDesc(file_gnonativetypes, 61); /** * @generated from message land.gno.gnonative.v1.EstimateGasResponse @@ -1386,7 +1444,7 @@ export type EstimateGasResponse = Message<"land.gno.gnonative.v1.EstimateGasResp * Use `create(EstimateGasResponseSchema)` to create a new message. */ export const EstimateGasResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 60); + messageDesc(file_gnonativetypes, 62); /** * @generated from message land.gno.gnonative.v1.BroadcastTxCommitRequest @@ -1405,7 +1463,7 @@ export type BroadcastTxCommitRequest = Message<"land.gno.gnonative.v1.BroadcastT * Use `create(BroadcastTxCommitRequestSchema)` to create a new message. */ export const BroadcastTxCommitRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 61); + messageDesc(file_gnonativetypes, 63); /** * @generated from message land.gno.gnonative.v1.BroadcastTxCommitResponse @@ -1436,7 +1494,7 @@ export type BroadcastTxCommitResponse = Message<"land.gno.gnonative.v1.Broadcast * Use `create(BroadcastTxCommitResponseSchema)` to create a new message. */ export const BroadcastTxCommitResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 62); + messageDesc(file_gnonativetypes, 64); /** * @generated from message land.gno.gnonative.v1.AddressToBech32Request @@ -1453,7 +1511,7 @@ export type AddressToBech32Request = Message<"land.gno.gnonative.v1.AddressToBec * Use `create(AddressToBech32RequestSchema)` to create a new message. */ export const AddressToBech32RequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 63); + messageDesc(file_gnonativetypes, 65); /** * @generated from message land.gno.gnonative.v1.AddressToBech32Response @@ -1470,7 +1528,7 @@ export type AddressToBech32Response = Message<"land.gno.gnonative.v1.AddressToBe * Use `create(AddressToBech32ResponseSchema)` to create a new message. */ export const AddressToBech32ResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 64); + messageDesc(file_gnonativetypes, 66); /** * @generated from message land.gno.gnonative.v1.AddressFromBech32Request @@ -1487,7 +1545,7 @@ export type AddressFromBech32Request = Message<"land.gno.gnonative.v1.AddressFro * Use `create(AddressFromBech32RequestSchema)` to create a new message. */ export const AddressFromBech32RequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 65); + messageDesc(file_gnonativetypes, 67); /** * @generated from message land.gno.gnonative.v1.AddressFromBech32Response @@ -1504,7 +1562,7 @@ export type AddressFromBech32Response = Message<"land.gno.gnonative.v1.AddressFr * Use `create(AddressFromBech32ResponseSchema)` to create a new message. */ export const AddressFromBech32ResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 66); + messageDesc(file_gnonativetypes, 68); /** * @generated from message land.gno.gnonative.v1.AddressFromMnemonicRequest @@ -1521,7 +1579,7 @@ export type AddressFromMnemonicRequest = Message<"land.gno.gnonative.v1.AddressF * Use `create(AddressFromMnemonicRequestSchema)` to create a new message. */ export const AddressFromMnemonicRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 67); + messageDesc(file_gnonativetypes, 69); /** * @generated from message land.gno.gnonative.v1.AddressFromMnemonicResponse @@ -1538,7 +1596,7 @@ export type AddressFromMnemonicResponse = Message<"land.gno.gnonative.v1.Address * Use `create(AddressFromMnemonicResponseSchema)` to create a new message. */ export const AddressFromMnemonicResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 68); + messageDesc(file_gnonativetypes, 70); /** * @generated from message land.gno.gnonative.v1.ValidateMnemonicWordRequest @@ -1555,7 +1613,7 @@ export type ValidateMnemonicWordRequest = Message<"land.gno.gnonative.v1.Validat * Use `create(ValidateMnemonicWordRequestSchema)` to create a new message. */ export const ValidateMnemonicWordRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 69); + messageDesc(file_gnonativetypes, 71); /** * @generated from message land.gno.gnonative.v1.ValidateMnemonicWordResponse @@ -1572,7 +1630,7 @@ export type ValidateMnemonicWordResponse = Message<"land.gno.gnonative.v1.Valida * Use `create(ValidateMnemonicWordResponseSchema)` to create a new message. */ export const ValidateMnemonicWordResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 70); + messageDesc(file_gnonativetypes, 72); /** * @generated from message land.gno.gnonative.v1.ValidateMnemonicPhraseRequest @@ -1589,7 +1647,7 @@ export type ValidateMnemonicPhraseRequest = Message<"land.gno.gnonative.v1.Valid * Use `create(ValidateMnemonicPhraseRequestSchema)` to create a new message. */ export const ValidateMnemonicPhraseRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 71); + messageDesc(file_gnonativetypes, 73); /** * @generated from message land.gno.gnonative.v1.ValidateMnemonicPhraseResponse @@ -1606,7 +1664,7 @@ export type ValidateMnemonicPhraseResponse = Message<"land.gno.gnonative.v1.Vali * Use `create(ValidateMnemonicPhraseResponseSchema)` to create a new message. */ export const ValidateMnemonicPhraseResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 72); + messageDesc(file_gnonativetypes, 74); /** * @generated from message land.gno.gnonative.v1.HelloRequest @@ -1623,7 +1681,7 @@ export type HelloRequest = Message<"land.gno.gnonative.v1.HelloRequest"> & { * Use `create(HelloRequestSchema)` to create a new message. */ export const HelloRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 73); + messageDesc(file_gnonativetypes, 75); /** * @generated from message land.gno.gnonative.v1.HelloResponse @@ -1640,7 +1698,7 @@ export type HelloResponse = Message<"land.gno.gnonative.v1.HelloResponse"> & { * Use `create(HelloResponseSchema)` to create a new message. */ export const HelloResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 74); + messageDesc(file_gnonativetypes, 76); /** * @generated from message land.gno.gnonative.v1.HelloStreamRequest @@ -1657,7 +1715,7 @@ export type HelloStreamRequest = Message<"land.gno.gnonative.v1.HelloStreamReque * Use `create(HelloStreamRequestSchema)` to create a new message. */ export const HelloStreamRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 75); + messageDesc(file_gnonativetypes, 77); /** * @generated from message land.gno.gnonative.v1.HelloStreamResponse @@ -1674,7 +1732,7 @@ export type HelloStreamResponse = Message<"land.gno.gnonative.v1.HelloStreamResp * Use `create(HelloStreamResponseSchema)` to create a new message. */ export const HelloStreamResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 76); + messageDesc(file_gnonativetypes, 78); /** * @generated from message land.gno.gnonative.v1.GNONATIVETYPES_BytesList @@ -1691,5 +1749,5 @@ export type GNONATIVETYPES_BytesList = Message<"land.gno.gnonative.v1.GNONATIVET * Use `create(GNONATIVETYPES_BytesListSchema)` to create a new message. */ export const GNONATIVETYPES_BytesListSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_gnonativetypes, 77); + messageDesc(file_gnonativetypes, 79); diff --git a/api/gen/es/rpc_pb.ts b/api/gen/es/rpc_pb.ts index c905041..3a16a61 100644 --- a/api/gen/es/rpc_pb.ts +++ b/api/gen/es/rpc_pb.ts @@ -4,7 +4,7 @@ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1"; import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1"; -import type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema, ValidateMnemonicPhraseRequestSchema, ValidateMnemonicPhraseResponseSchema, ValidateMnemonicWordRequestSchema, ValidateMnemonicWordResponseSchema } from "./gnonativetypes_pb"; +import type { ActivateAccountRequestSchema, ActivateAccountResponseSchema, AddressFromBech32RequestSchema, AddressFromBech32ResponseSchema, AddressFromMnemonicRequestSchema, AddressFromMnemonicResponseSchema, AddressToBech32RequestSchema, AddressToBech32ResponseSchema, BroadcastTxCommitRequestSchema, BroadcastTxCommitResponseSchema, CallRequestSchema, CallResponseSchema, CreateAccountRequestSchema, CreateAccountResponseSchema, CreateLedgerRequestSchema, CreateLedgerResponseSchema, DeleteAccountRequestSchema, DeleteAccountResponseSchema, EstimateGasRequestSchema, EstimateGasResponseSchema, GenerateRecoveryPhraseRequestSchema, GenerateRecoveryPhraseResponseSchema, GetActivatedAccountRequestSchema, GetActivatedAccountResponseSchema, GetChainIDRequestSchema, GetChainIDResponseSchema, GetKeyInfoByAddressRequestSchema, GetKeyInfoByAddressResponseSchema, GetKeyInfoByNameOrAddressRequestSchema, GetKeyInfoByNameOrAddressResponseSchema, GetKeyInfoByNameRequestSchema, GetKeyInfoByNameResponseSchema, GetRemoteRequestSchema, GetRemoteResponseSchema, HasKeyByAddressRequestSchema, HasKeyByAddressResponseSchema, HasKeyByNameOrAddressRequestSchema, HasKeyByNameOrAddressResponseSchema, HasKeyByNameRequestSchema, HasKeyByNameResponseSchema, HelloRequestSchema, HelloResponseSchema, HelloStreamRequestSchema, HelloStreamResponseSchema, ListKeyInfoRequestSchema, ListKeyInfoResponseSchema, MakeTxResponseSchema, QEvalRequestSchema, QEvalResponseSchema, QueryAccountRequestSchema, QueryAccountResponseSchema, QueryRequestSchema, QueryResponseSchema, RenderRequestSchema, RenderResponseSchema, RotatePasswordRequestSchema, RotatePasswordResponseSchema, RunRequestSchema, RunResponseSchema, SendRequestSchema, SendResponseSchema, SetChainIDRequestSchema, SetChainIDResponseSchema, SetPasswordRequestSchema, SetPasswordResponseSchema, SetRemoteRequestSchema, SetRemoteResponseSchema, SignTxRequestSchema, SignTxResponseSchema, ValidateMnemonicPhraseRequestSchema, ValidateMnemonicPhraseResponseSchema, ValidateMnemonicWordRequestSchema, ValidateMnemonicWordResponseSchema } from "./gnonativetypes_pb"; import { file_gnonativetypes } from "./gnonativetypes_pb"; import type { Message } from "@bufbuild/protobuf"; @@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file rpc.proto. */ export const file_rpc: GenFile = /*@__PURE__*/ - fileDesc("CglycGMucHJvdG8SFWxhbmQuZ25vLmdub25hdGl2ZS52MSI7CgpFcnJEZXRhaWxzEi0KBWNvZGVzGAEgAygOMh4ubGFuZC5nbm8uZ25vbmF0aXZlLnYxLkVyckNvZGUqtAYKB0VyckNvZGUSDQoJVW5kZWZpbmVkEAASCAoEVE9ETxABEhUKEUVyck5vdEltcGxlbWVudGVkEAISDwoLRXJySW50ZXJuYWwQAxITCg9FcnJJbnZhbGlkSW5wdXQQZBIYChRFcnJCcmlkZ2VJbnRlcnJ1cHRlZBBlEhMKD0Vyck1pc3NpbmdJbnB1dBBmEhQKEEVyclNlcmlhbGl6YXRpb24QZxIWChJFcnJEZXNlcmlhbGl6YXRpb24QaBISCg5FcnJJbml0U2VydmljZRBpEhAKDEVyclNldFJlbW90ZRBqEhwKF0VyckNyeXB0b0tleVR5cGVVbmtub3duEJYBEhkKFEVyckNyeXB0b0tleU5vdEZvdW5kEJcBEhcKEkVyck5vQWN0aXZlQWNjb3VudBCYARIVChBFcnJSdW5HUlBDU2VydmVyEJkBEhgKE0VyckRlY3J5cHRpb25GYWlsZWQQmgESEAoLRXJyVHhEZWNvZGUQyAESFwoSRXJySW52YWxpZFNlcXVlbmNlEMkBEhQKD0VyclVuYXV0aG9yaXplZBDKARIZChRFcnJJbnN1ZmZpY2llbnRGdW5kcxDLARIWChFFcnJVbmtub3duUmVxdWVzdBDMARIWChFFcnJJbnZhbGlkQWRkcmVzcxDNARIWChFFcnJVbmtub3duQWRkcmVzcxDOARIVChBFcnJJbnZhbGlkUHVi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vLmdub25hdGl2ZS52MS5BZGRyZXNzRnJvbUJlY2gzMlJlc3BvbnNlEnwKE0FkZHJlc3NGcm9tTW5lbW9uaWMSMS5sYW5kLmduby5nbm9uYXRpdmUudjEuQWRkcmVzc0Zyb21NbmVtb25pY1JlcXVlc3QaMi5sYW5kLmduby5nbm9uYXRpdmUudjEuQWRkcmVzc0Zyb21NbmVtb25pY1Jlc3BvbnNlEn8KFFZhbGlkYXRlTW5lbW9uaWNXb3JkEjIubGFuZC5nbm8uZ25vbmF0aXZlLnYxLlZhbGlkYXRlTW5lbW9uaWNXb3JkUmVxdWVzdBozLmxhbmQuZ25vLmdub25hdGl2ZS52MS5WYWxpZGF0ZU1uZW1vbmljV29yZFJlc3BvbnNlEoUBChZWYWxpZGF0ZU1uZW1vbmljUGhyYXNlEjQubGFuZC5nbm8uZ25vbmF0aXZlLnYxLlZhbGlkYXRlTW5lbW9uaWNQaHJhc2VSZXF1ZXN0GjUubGFuZC5nbm8uZ25vbmF0aXZlLnYxLlZhbGlkYXRlTW5lbW9uaWNQaHJhc2VSZXNwb25zZRJSCgVIZWxsbxIjLmxhbmQuZ25vLmdub25hdGl2ZS52MS5IZWxsb1JlcXVlc3QaJC5sYW5kLmduby5nbm9uYXRpdmUudjEuSGVsbG9SZXNwb25zZRJmCgtIZWxsb1N0cmVhbRIpLmxhbmQuZ25vLmdub25hdGl2ZS52MS5IZWxsb1N0cmVhbVJlcXVlc3QaKi5sYW5kLmduby5nbm9uYXRpdmUudjEuSGVsbG9TdHJlYW1SZXNwb25zZTABQjJaKmdpdGh1Yi5jb20vZ25vbGFuZy9nbm9uYXRpdmUvdjQvYXBpL2dlbi9nb6ICA1JUR2IGcHJvdG8z", [file_gnonativetypes]); /** * @generated from message land.gno.gnonative.v1.ErrDetails @@ -413,7 +413,8 @@ export const GnoNativeService: GenService<{ output: typeof GetKeyInfoByNameOrAddressResponseSchema; }, /** - * Create a new account in the keybase using the name and password specified by SetAccount. + * Create a new account in the keybase using the name and password. + * To use this key, you must call SetPassword. * If an account with the same name already exists in the keybase, * this replaces it. (If you don't want to replace it, then it's your responsibility * to use GetKeyInfoByName to check if it exists before calling this.) @@ -425,6 +426,22 @@ export const GnoNativeService: GenService<{ input: typeof CreateAccountRequestSchema; output: typeof CreateAccountResponseSchema; }, + /** + * Get the key info from the Ledger and create an entry in the keybase using the name. + * The Ledger must be unlocked and running the Cosmos app. + * Future signing with this key will use the Ledger. + * (To use this key, it is not necessary to call SetPassword.) + * If an account with the same name already exists in the keybase, + * this replaces it. (If you don't want to replace it, then it's your responsibility + * to use GetKeyInfoByName to check if it exists before calling this.) + * + * @generated from rpc land.gno.gnonative.v1.GnoNativeService.CreateLedger + */ + createLedger: { + methodKind: "unary"; + input: typeof CreateLedgerRequestSchema; + output: typeof CreateLedgerResponseSchema; + }, /** * Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is * false, then you should call SetPassword before using a method which needs it. diff --git a/api/gen/go/_goconnect/rpc.connect.go b/api/gen/go/_goconnect/rpc.connect.go index cf9ea6c..6806dab 100644 --- a/api/gen/go/_goconnect/rpc.connect.go +++ b/api/gen/go/_goconnect/rpc.connect.go @@ -72,6 +72,9 @@ const ( // GnoNativeServiceCreateAccountProcedure is the fully-qualified name of the GnoNativeService's // CreateAccount RPC. GnoNativeServiceCreateAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/CreateAccount" + // GnoNativeServiceCreateLedgerProcedure is the fully-qualified name of the GnoNativeService's + // CreateLedger RPC. + GnoNativeServiceCreateLedgerProcedure = "/land.gno.gnonative.v1.GnoNativeService/CreateLedger" // GnoNativeServiceActivateAccountProcedure is the fully-qualified name of the GnoNativeService's // ActivateAccount RPC. GnoNativeServiceActivateAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/ActivateAccount" @@ -179,11 +182,20 @@ type GnoNativeServiceClient interface { // Get the information for the key in the keybase with the given name or bech32 string address. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByNameOrAddress(context.Context, *connect.Request[_go.GetKeyInfoByNameOrAddressRequest]) (*connect.Response[_go.GetKeyInfoByNameOrAddressResponse], error) - // Create a new account in the keybase using the name and password specified by SetAccount. + // Create a new account in the keybase using the name and password. + // To use this key, you must call SetPassword. // If an account with the same name already exists in the keybase, // this replaces it. (If you don't want to replace it, then it's your responsibility // to use GetKeyInfoByName to check if it exists before calling this.) CreateAccount(context.Context, *connect.Request[_go.CreateAccountRequest]) (*connect.Response[_go.CreateAccountResponse], error) + // Get the key info from the Ledger and create an entry in the keybase using the name. + // The Ledger must be unlocked and running the Cosmos app. + // Future signing with this key will use the Ledger. + // (To use this key, it is not necessary to call SetPassword.) + // If an account with the same name already exists in the keybase, + // this replaces it. (If you don't want to replace it, then it's your responsibility + // to use GetKeyInfoByName to check if it exists before calling this.) + CreateLedger(context.Context, *connect.Request[_go.CreateLedgerRequest]) (*connect.Response[_go.CreateLedgerResponse], error) // Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is // false, then you should call SetPassword before using a method which needs it. // If the account is already activated, return its info. @@ -364,6 +376,12 @@ func NewGnoNativeServiceClient(httpClient connect.HTTPClient, baseURL string, op connect.WithSchema(gnoNativeServiceMethods.ByName("CreateAccount")), connect.WithClientOptions(opts...), ), + createLedger: connect.NewClient[_go.CreateLedgerRequest, _go.CreateLedgerResponse]( + httpClient, + baseURL+GnoNativeServiceCreateLedgerProcedure, + connect.WithSchema(gnoNativeServiceMethods.ByName("CreateLedger")), + connect.WithClientOptions(opts...), + ), activateAccount: connect.NewClient[_go.ActivateAccountRequest, _go.ActivateAccountResponse]( httpClient, baseURL+GnoNativeServiceActivateAccountProcedure, @@ -532,6 +550,7 @@ type gnoNativeServiceClient struct { getKeyInfoByAddress *connect.Client[_go.GetKeyInfoByAddressRequest, _go.GetKeyInfoByAddressResponse] getKeyInfoByNameOrAddress *connect.Client[_go.GetKeyInfoByNameOrAddressRequest, _go.GetKeyInfoByNameOrAddressResponse] createAccount *connect.Client[_go.CreateAccountRequest, _go.CreateAccountResponse] + createLedger *connect.Client[_go.CreateLedgerRequest, _go.CreateLedgerResponse] activateAccount *connect.Client[_go.ActivateAccountRequest, _go.ActivateAccountResponse] setPassword *connect.Client[_go.SetPasswordRequest, _go.SetPasswordResponse] rotatePassword *connect.Client[_go.RotatePasswordRequest, _go.RotatePasswordResponse] @@ -624,6 +643,11 @@ func (c *gnoNativeServiceClient) CreateAccount(ctx context.Context, req *connect return c.createAccount.CallUnary(ctx, req) } +// CreateLedger calls land.gno.gnonative.v1.GnoNativeService.CreateLedger. +func (c *gnoNativeServiceClient) CreateLedger(ctx context.Context, req *connect.Request[_go.CreateLedgerRequest]) (*connect.Response[_go.CreateLedgerResponse], error) { + return c.createLedger.CallUnary(ctx, req) +} + // ActivateAccount calls land.gno.gnonative.v1.GnoNativeService.ActivateAccount. func (c *gnoNativeServiceClient) ActivateAccount(ctx context.Context, req *connect.Request[_go.ActivateAccountRequest]) (*connect.Response[_go.ActivateAccountResponse], error) { return c.activateAccount.CallUnary(ctx, req) @@ -788,11 +812,20 @@ type GnoNativeServiceHandler interface { // Get the information for the key in the keybase with the given name or bech32 string address. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByNameOrAddress(context.Context, *connect.Request[_go.GetKeyInfoByNameOrAddressRequest]) (*connect.Response[_go.GetKeyInfoByNameOrAddressResponse], error) - // Create a new account in the keybase using the name and password specified by SetAccount. + // Create a new account in the keybase using the name and password. + // To use this key, you must call SetPassword. // If an account with the same name already exists in the keybase, // this replaces it. (If you don't want to replace it, then it's your responsibility // to use GetKeyInfoByName to check if it exists before calling this.) CreateAccount(context.Context, *connect.Request[_go.CreateAccountRequest]) (*connect.Response[_go.CreateAccountResponse], error) + // Get the key info from the Ledger and create an entry in the keybase using the name. + // The Ledger must be unlocked and running the Cosmos app. + // Future signing with this key will use the Ledger. + // (To use this key, it is not necessary to call SetPassword.) + // If an account with the same name already exists in the keybase, + // this replaces it. (If you don't want to replace it, then it's your responsibility + // to use GetKeyInfoByName to check if it exists before calling this.) + CreateLedger(context.Context, *connect.Request[_go.CreateLedgerRequest]) (*connect.Response[_go.CreateLedgerResponse], error) // Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is // false, then you should call SetPassword before using a method which needs it. // If the account is already activated, return its info. @@ -969,6 +1002,12 @@ func NewGnoNativeServiceHandler(svc GnoNativeServiceHandler, opts ...connect.Han connect.WithSchema(gnoNativeServiceMethods.ByName("CreateAccount")), connect.WithHandlerOptions(opts...), ) + gnoNativeServiceCreateLedgerHandler := connect.NewUnaryHandler( + GnoNativeServiceCreateLedgerProcedure, + svc.CreateLedger, + connect.WithSchema(gnoNativeServiceMethods.ByName("CreateLedger")), + connect.WithHandlerOptions(opts...), + ) gnoNativeServiceActivateAccountHandler := connect.NewUnaryHandler( GnoNativeServiceActivateAccountProcedure, svc.ActivateAccount, @@ -1147,6 +1186,8 @@ func NewGnoNativeServiceHandler(svc GnoNativeServiceHandler, opts ...connect.Han gnoNativeServiceGetKeyInfoByNameOrAddressHandler.ServeHTTP(w, r) case GnoNativeServiceCreateAccountProcedure: gnoNativeServiceCreateAccountHandler.ServeHTTP(w, r) + case GnoNativeServiceCreateLedgerProcedure: + gnoNativeServiceCreateLedgerHandler.ServeHTTP(w, r) case GnoNativeServiceActivateAccountProcedure: gnoNativeServiceActivateAccountHandler.ServeHTTP(w, r) case GnoNativeServiceSetPasswordProcedure: @@ -1258,6 +1299,10 @@ func (UnimplementedGnoNativeServiceHandler) CreateAccount(context.Context, *conn return nil, connect.NewError(connect.CodeUnimplemented, errors.New("land.gno.gnonative.v1.GnoNativeService.CreateAccount is not implemented")) } +func (UnimplementedGnoNativeServiceHandler) CreateLedger(context.Context, *connect.Request[_go.CreateLedgerRequest]) (*connect.Response[_go.CreateLedgerResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("land.gno.gnonative.v1.GnoNativeService.CreateLedger is not implemented")) +} + func (UnimplementedGnoNativeServiceHandler) ActivateAccount(context.Context, *connect.Request[_go.ActivateAccountRequest]) (*connect.Response[_go.ActivateAccountResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("land.gno.gnonative.v1.GnoNativeService.ActivateAccount is not implemented")) } diff --git a/api/gen/go/gnonativetypes.pb.go b/api/gen/go/gnonativetypes.pb.go index 97a185d..91d40e2 100644 --- a/api/gen/go/gnonativetypes.pb.go +++ b/api/gen/go/gnonativetypes.pb.go @@ -1536,6 +1536,128 @@ func (x *CreateAccountResponse) GetKey() *KeyInfo { return nil } +type CreateLedgerRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Supported algorithm is "secp256k1" + Algorithm string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"` + // The human readable part of the address. Example: "g" + Hrp string `protobuf:"bytes,3,opt,name=hrp,proto3" json:"hrp,omitempty"` + Account uint32 `protobuf:"varint,4,opt,name=account,proto3" json:"account,omitempty"` + Index uint32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CreateLedgerRequest) Reset() { + *x = CreateLedgerRequest{} + mi := &file_gnonativetypes_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CreateLedgerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateLedgerRequest) ProtoMessage() {} + +func (x *CreateLedgerRequest) ProtoReflect() protoreflect.Message { + mi := &file_gnonativetypes_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateLedgerRequest.ProtoReflect.Descriptor instead. +func (*CreateLedgerRequest) Descriptor() ([]byte, []int) { + return file_gnonativetypes_proto_rawDescGZIP(), []int{33} +} + +func (x *CreateLedgerRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CreateLedgerRequest) GetAlgorithm() string { + if x != nil { + return x.Algorithm + } + return "" +} + +func (x *CreateLedgerRequest) GetHrp() string { + if x != nil { + return x.Hrp + } + return "" +} + +func (x *CreateLedgerRequest) GetAccount() uint32 { + if x != nil { + return x.Account + } + return 0 +} + +func (x *CreateLedgerRequest) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +type CreateLedgerResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CreateLedgerResponse) Reset() { + *x = CreateLedgerResponse{} + mi := &file_gnonativetypes_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CreateLedgerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateLedgerResponse) ProtoMessage() {} + +func (x *CreateLedgerResponse) ProtoReflect() protoreflect.Message { + mi := &file_gnonativetypes_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateLedgerResponse.ProtoReflect.Descriptor instead. +func (*CreateLedgerResponse) Descriptor() ([]byte, []int) { + return file_gnonativetypes_proto_rawDescGZIP(), []int{34} +} + +func (x *CreateLedgerResponse) GetKey() *KeyInfo { + if x != nil { + return x.Key + } + return nil +} + type ActivateAccountRequest struct { state protoimpl.MessageState `protogen:"open.v1"` NameOrBech32 string `protobuf:"bytes,1,opt,name=name_or_bech32,json=nameOrBech32,proto3" json:"name_or_bech32,omitempty"` @@ -1545,7 +1667,7 @@ type ActivateAccountRequest struct { func (x *ActivateAccountRequest) Reset() { *x = ActivateAccountRequest{} - mi := &file_gnonativetypes_proto_msgTypes[33] + mi := &file_gnonativetypes_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1557,7 +1679,7 @@ func (x *ActivateAccountRequest) String() string { func (*ActivateAccountRequest) ProtoMessage() {} func (x *ActivateAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[33] + mi := &file_gnonativetypes_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1570,7 +1692,7 @@ func (x *ActivateAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ActivateAccountRequest.ProtoReflect.Descriptor instead. func (*ActivateAccountRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{33} + return file_gnonativetypes_proto_rawDescGZIP(), []int{35} } func (x *ActivateAccountRequest) GetNameOrBech32() string { @@ -1591,7 +1713,7 @@ type ActivateAccountResponse struct { func (x *ActivateAccountResponse) Reset() { *x = ActivateAccountResponse{} - mi := &file_gnonativetypes_proto_msgTypes[34] + mi := &file_gnonativetypes_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1603,7 +1725,7 @@ func (x *ActivateAccountResponse) String() string { func (*ActivateAccountResponse) ProtoMessage() {} func (x *ActivateAccountResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[34] + mi := &file_gnonativetypes_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1616,7 +1738,7 @@ func (x *ActivateAccountResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ActivateAccountResponse.ProtoReflect.Descriptor instead. func (*ActivateAccountResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{34} + return file_gnonativetypes_proto_rawDescGZIP(), []int{36} } func (x *ActivateAccountResponse) GetKey() *KeyInfo { @@ -1642,7 +1764,7 @@ type GetActivatedAccountRequest struct { func (x *GetActivatedAccountRequest) Reset() { *x = GetActivatedAccountRequest{} - mi := &file_gnonativetypes_proto_msgTypes[35] + mi := &file_gnonativetypes_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1654,7 +1776,7 @@ func (x *GetActivatedAccountRequest) String() string { func (*GetActivatedAccountRequest) ProtoMessage() {} func (x *GetActivatedAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[35] + mi := &file_gnonativetypes_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1667,7 +1789,7 @@ func (x *GetActivatedAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetActivatedAccountRequest.ProtoReflect.Descriptor instead. func (*GetActivatedAccountRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{35} + return file_gnonativetypes_proto_rawDescGZIP(), []int{37} } func (x *GetActivatedAccountRequest) GetAddress() []byte { @@ -1688,7 +1810,7 @@ type GetActivatedAccountResponse struct { func (x *GetActivatedAccountResponse) Reset() { *x = GetActivatedAccountResponse{} - mi := &file_gnonativetypes_proto_msgTypes[36] + mi := &file_gnonativetypes_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1700,7 +1822,7 @@ func (x *GetActivatedAccountResponse) String() string { func (*GetActivatedAccountResponse) ProtoMessage() {} func (x *GetActivatedAccountResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[36] + mi := &file_gnonativetypes_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1713,7 +1835,7 @@ func (x *GetActivatedAccountResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetActivatedAccountResponse.ProtoReflect.Descriptor instead. func (*GetActivatedAccountResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{36} + return file_gnonativetypes_proto_rawDescGZIP(), []int{38} } func (x *GetActivatedAccountResponse) GetKey() *KeyInfo { @@ -1739,7 +1861,7 @@ type QueryAccountRequest struct { func (x *QueryAccountRequest) Reset() { *x = QueryAccountRequest{} - mi := &file_gnonativetypes_proto_msgTypes[37] + mi := &file_gnonativetypes_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1751,7 +1873,7 @@ func (x *QueryAccountRequest) String() string { func (*QueryAccountRequest) ProtoMessage() {} func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[37] + mi := &file_gnonativetypes_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1764,7 +1886,7 @@ func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use QueryAccountRequest.ProtoReflect.Descriptor instead. func (*QueryAccountRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{37} + return file_gnonativetypes_proto_rawDescGZIP(), []int{39} } func (x *QueryAccountRequest) GetAddress() []byte { @@ -1783,7 +1905,7 @@ type QueryAccountResponse struct { func (x *QueryAccountResponse) Reset() { *x = QueryAccountResponse{} - mi := &file_gnonativetypes_proto_msgTypes[38] + mi := &file_gnonativetypes_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1795,7 +1917,7 @@ func (x *QueryAccountResponse) String() string { func (*QueryAccountResponse) ProtoMessage() {} func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[38] + mi := &file_gnonativetypes_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1808,7 +1930,7 @@ func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use QueryAccountResponse.ProtoReflect.Descriptor instead. func (*QueryAccountResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{38} + return file_gnonativetypes_proto_rawDescGZIP(), []int{40} } func (x *QueryAccountResponse) GetAccountInfo() *BaseAccount { @@ -1829,7 +1951,7 @@ type DeleteAccountRequest struct { func (x *DeleteAccountRequest) Reset() { *x = DeleteAccountRequest{} - mi := &file_gnonativetypes_proto_msgTypes[39] + mi := &file_gnonativetypes_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1841,7 +1963,7 @@ func (x *DeleteAccountRequest) String() string { func (*DeleteAccountRequest) ProtoMessage() {} func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[39] + mi := &file_gnonativetypes_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1854,7 +1976,7 @@ func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead. func (*DeleteAccountRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{39} + return file_gnonativetypes_proto_rawDescGZIP(), []int{41} } func (x *DeleteAccountRequest) GetNameOrBech32() string { @@ -1886,7 +2008,7 @@ type DeleteAccountResponse struct { func (x *DeleteAccountResponse) Reset() { *x = DeleteAccountResponse{} - mi := &file_gnonativetypes_proto_msgTypes[40] + mi := &file_gnonativetypes_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1898,7 +2020,7 @@ func (x *DeleteAccountResponse) String() string { func (*DeleteAccountResponse) ProtoMessage() {} func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[40] + mi := &file_gnonativetypes_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1911,7 +2033,7 @@ func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead. func (*DeleteAccountResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{40} + return file_gnonativetypes_proto_rawDescGZIP(), []int{42} } type QueryRequest struct { @@ -1926,7 +2048,7 @@ type QueryRequest struct { func (x *QueryRequest) Reset() { *x = QueryRequest{} - mi := &file_gnonativetypes_proto_msgTypes[41] + mi := &file_gnonativetypes_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1938,7 +2060,7 @@ func (x *QueryRequest) String() string { func (*QueryRequest) ProtoMessage() {} func (x *QueryRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[41] + mi := &file_gnonativetypes_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1951,7 +2073,7 @@ func (x *QueryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead. func (*QueryRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{41} + return file_gnonativetypes_proto_rawDescGZIP(), []int{43} } func (x *QueryRequest) GetPath() string { @@ -1977,7 +2099,7 @@ type QueryResponse struct { func (x *QueryResponse) Reset() { *x = QueryResponse{} - mi := &file_gnonativetypes_proto_msgTypes[42] + mi := &file_gnonativetypes_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1989,7 +2111,7 @@ func (x *QueryResponse) String() string { func (*QueryResponse) ProtoMessage() {} func (x *QueryResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[42] + mi := &file_gnonativetypes_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2002,7 +2124,7 @@ func (x *QueryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead. func (*QueryResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{42} + return file_gnonativetypes_proto_rawDescGZIP(), []int{44} } func (x *QueryResponse) GetResult() []byte { @@ -2024,7 +2146,7 @@ type RenderRequest struct { func (x *RenderRequest) Reset() { *x = RenderRequest{} - mi := &file_gnonativetypes_proto_msgTypes[43] + mi := &file_gnonativetypes_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2036,7 +2158,7 @@ func (x *RenderRequest) String() string { func (*RenderRequest) ProtoMessage() {} func (x *RenderRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[43] + mi := &file_gnonativetypes_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2049,7 +2171,7 @@ func (x *RenderRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RenderRequest.ProtoReflect.Descriptor instead. func (*RenderRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{43} + return file_gnonativetypes_proto_rawDescGZIP(), []int{45} } func (x *RenderRequest) GetPackagePath() string { @@ -2076,7 +2198,7 @@ type RenderResponse struct { func (x *RenderResponse) Reset() { *x = RenderResponse{} - mi := &file_gnonativetypes_proto_msgTypes[44] + mi := &file_gnonativetypes_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2088,7 +2210,7 @@ func (x *RenderResponse) String() string { func (*RenderResponse) ProtoMessage() {} func (x *RenderResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[44] + mi := &file_gnonativetypes_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2101,7 +2223,7 @@ func (x *RenderResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RenderResponse.ProtoReflect.Descriptor instead. func (*RenderResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{44} + return file_gnonativetypes_proto_rawDescGZIP(), []int{46} } func (x *RenderResponse) GetResult() string { @@ -2123,7 +2245,7 @@ type QEvalRequest struct { func (x *QEvalRequest) Reset() { *x = QEvalRequest{} - mi := &file_gnonativetypes_proto_msgTypes[45] + mi := &file_gnonativetypes_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2135,7 +2257,7 @@ func (x *QEvalRequest) String() string { func (*QEvalRequest) ProtoMessage() {} func (x *QEvalRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[45] + mi := &file_gnonativetypes_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2148,7 +2270,7 @@ func (x *QEvalRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use QEvalRequest.ProtoReflect.Descriptor instead. func (*QEvalRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{45} + return file_gnonativetypes_proto_rawDescGZIP(), []int{47} } func (x *QEvalRequest) GetPackagePath() string { @@ -2175,7 +2297,7 @@ type QEvalResponse struct { func (x *QEvalResponse) Reset() { *x = QEvalResponse{} - mi := &file_gnonativetypes_proto_msgTypes[46] + mi := &file_gnonativetypes_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2187,7 +2309,7 @@ func (x *QEvalResponse) String() string { func (*QEvalResponse) ProtoMessage() {} func (x *QEvalResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[46] + mi := &file_gnonativetypes_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2200,7 +2322,7 @@ func (x *QEvalResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use QEvalResponse.ProtoReflect.Descriptor instead. func (*QEvalResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{46} + return file_gnonativetypes_proto_rawDescGZIP(), []int{48} } func (x *QEvalResponse) GetResult() string { @@ -2226,7 +2348,7 @@ type MsgCall struct { func (x *MsgCall) Reset() { *x = MsgCall{} - mi := &file_gnonativetypes_proto_msgTypes[47] + mi := &file_gnonativetypes_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2238,7 +2360,7 @@ func (x *MsgCall) String() string { func (*MsgCall) ProtoMessage() {} func (x *MsgCall) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[47] + mi := &file_gnonativetypes_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2251,7 +2373,7 @@ func (x *MsgCall) ProtoReflect() protoreflect.Message { // Deprecated: Use MsgCall.ProtoReflect.Descriptor instead. func (*MsgCall) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{47} + return file_gnonativetypes_proto_rawDescGZIP(), []int{49} } func (x *MsgCall) GetPackagePath() string { @@ -2297,7 +2419,7 @@ type CallRequest struct { func (x *CallRequest) Reset() { *x = CallRequest{} - mi := &file_gnonativetypes_proto_msgTypes[48] + mi := &file_gnonativetypes_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2309,7 +2431,7 @@ func (x *CallRequest) String() string { func (*CallRequest) ProtoMessage() {} func (x *CallRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[48] + mi := &file_gnonativetypes_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2322,7 +2444,7 @@ func (x *CallRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CallRequest.ProtoReflect.Descriptor instead. func (*CallRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{48} + return file_gnonativetypes_proto_rawDescGZIP(), []int{50} } func (x *CallRequest) GetGasFee() string { @@ -2373,7 +2495,7 @@ type CallResponse struct { func (x *CallResponse) Reset() { *x = CallResponse{} - mi := &file_gnonativetypes_proto_msgTypes[49] + mi := &file_gnonativetypes_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2385,7 +2507,7 @@ func (x *CallResponse) String() string { func (*CallResponse) ProtoMessage() {} func (x *CallResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[49] + mi := &file_gnonativetypes_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2398,7 +2520,7 @@ func (x *CallResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CallResponse.ProtoReflect.Descriptor instead. func (*CallResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{49} + return file_gnonativetypes_proto_rawDescGZIP(), []int{51} } func (x *CallResponse) GetResult() []byte { @@ -2435,7 +2557,7 @@ type MsgSend struct { func (x *MsgSend) Reset() { *x = MsgSend{} - mi := &file_gnonativetypes_proto_msgTypes[50] + mi := &file_gnonativetypes_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2447,7 +2569,7 @@ func (x *MsgSend) String() string { func (*MsgSend) ProtoMessage() {} func (x *MsgSend) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[50] + mi := &file_gnonativetypes_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2460,7 +2582,7 @@ func (x *MsgSend) ProtoReflect() protoreflect.Message { // Deprecated: Use MsgSend.ProtoReflect.Descriptor instead. func (*MsgSend) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{50} + return file_gnonativetypes_proto_rawDescGZIP(), []int{52} } func (x *MsgSend) GetToAddress() []byte { @@ -2493,7 +2615,7 @@ type SendRequest struct { func (x *SendRequest) Reset() { *x = SendRequest{} - mi := &file_gnonativetypes_proto_msgTypes[51] + mi := &file_gnonativetypes_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2505,7 +2627,7 @@ func (x *SendRequest) String() string { func (*SendRequest) ProtoMessage() {} func (x *SendRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[51] + mi := &file_gnonativetypes_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2518,7 +2640,7 @@ func (x *SendRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SendRequest.ProtoReflect.Descriptor instead. func (*SendRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{51} + return file_gnonativetypes_proto_rawDescGZIP(), []int{53} } func (x *SendRequest) GetGasFee() string { @@ -2568,7 +2690,7 @@ type SendResponse struct { func (x *SendResponse) Reset() { *x = SendResponse{} - mi := &file_gnonativetypes_proto_msgTypes[52] + mi := &file_gnonativetypes_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2580,7 +2702,7 @@ func (x *SendResponse) String() string { func (*SendResponse) ProtoMessage() {} func (x *SendResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[52] + mi := &file_gnonativetypes_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2593,7 +2715,7 @@ func (x *SendResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SendResponse.ProtoReflect.Descriptor instead. func (*SendResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{52} + return file_gnonativetypes_proto_rawDescGZIP(), []int{54} } func (x *SendResponse) GetHash() []byte { @@ -2623,7 +2745,7 @@ type MsgRun struct { func (x *MsgRun) Reset() { *x = MsgRun{} - mi := &file_gnonativetypes_proto_msgTypes[53] + mi := &file_gnonativetypes_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2635,7 +2757,7 @@ func (x *MsgRun) String() string { func (*MsgRun) ProtoMessage() {} func (x *MsgRun) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[53] + mi := &file_gnonativetypes_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2648,7 +2770,7 @@ func (x *MsgRun) ProtoReflect() protoreflect.Message { // Deprecated: Use MsgRun.ProtoReflect.Descriptor instead. func (*MsgRun) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{53} + return file_gnonativetypes_proto_rawDescGZIP(), []int{55} } func (x *MsgRun) GetPackage() string { @@ -2681,7 +2803,7 @@ type RunRequest struct { func (x *RunRequest) Reset() { *x = RunRequest{} - mi := &file_gnonativetypes_proto_msgTypes[54] + mi := &file_gnonativetypes_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2693,7 +2815,7 @@ func (x *RunRequest) String() string { func (*RunRequest) ProtoMessage() {} func (x *RunRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[54] + mi := &file_gnonativetypes_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2706,7 +2828,7 @@ func (x *RunRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RunRequest.ProtoReflect.Descriptor instead. func (*RunRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{54} + return file_gnonativetypes_proto_rawDescGZIP(), []int{56} } func (x *RunRequest) GetGasFee() string { @@ -2758,7 +2880,7 @@ type RunResponse struct { func (x *RunResponse) Reset() { *x = RunResponse{} - mi := &file_gnonativetypes_proto_msgTypes[55] + mi := &file_gnonativetypes_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2770,7 +2892,7 @@ func (x *RunResponse) String() string { func (*RunResponse) ProtoMessage() {} func (x *RunResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[55] + mi := &file_gnonativetypes_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2783,7 +2905,7 @@ func (x *RunResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RunResponse.ProtoReflect.Descriptor instead. func (*RunResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{55} + return file_gnonativetypes_proto_rawDescGZIP(), []int{57} } func (x *RunResponse) GetResult() string { @@ -2817,7 +2939,7 @@ type MakeTxResponse struct { func (x *MakeTxResponse) Reset() { *x = MakeTxResponse{} - mi := &file_gnonativetypes_proto_msgTypes[56] + mi := &file_gnonativetypes_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2829,7 +2951,7 @@ func (x *MakeTxResponse) String() string { func (*MakeTxResponse) ProtoMessage() {} func (x *MakeTxResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[56] + mi := &file_gnonativetypes_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2842,7 +2964,7 @@ func (x *MakeTxResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MakeTxResponse.ProtoReflect.Descriptor instead. func (*MakeTxResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{56} + return file_gnonativetypes_proto_rawDescGZIP(), []int{58} } func (x *MakeTxResponse) GetTxJson() string { @@ -2868,7 +2990,7 @@ type SignTxRequest struct { func (x *SignTxRequest) Reset() { *x = SignTxRequest{} - mi := &file_gnonativetypes_proto_msgTypes[57] + mi := &file_gnonativetypes_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2880,7 +3002,7 @@ func (x *SignTxRequest) String() string { func (*SignTxRequest) ProtoMessage() {} func (x *SignTxRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[57] + mi := &file_gnonativetypes_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2893,7 +3015,7 @@ func (x *SignTxRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SignTxRequest.ProtoReflect.Descriptor instead. func (*SignTxRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{57} + return file_gnonativetypes_proto_rawDescGZIP(), []int{59} } func (x *SignTxRequest) GetTxJson() string { @@ -2934,7 +3056,7 @@ type SignTxResponse struct { func (x *SignTxResponse) Reset() { *x = SignTxResponse{} - mi := &file_gnonativetypes_proto_msgTypes[58] + mi := &file_gnonativetypes_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2946,7 +3068,7 @@ func (x *SignTxResponse) String() string { func (*SignTxResponse) ProtoMessage() {} func (x *SignTxResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[58] + mi := &file_gnonativetypes_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2959,7 +3081,7 @@ func (x *SignTxResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SignTxResponse.ProtoReflect.Descriptor instead. func (*SignTxResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{58} + return file_gnonativetypes_proto_rawDescGZIP(), []int{60} } func (x *SignTxResponse) GetSignedTxJson() string { @@ -2991,7 +3113,7 @@ type EstimateGasRequest struct { func (x *EstimateGasRequest) Reset() { *x = EstimateGasRequest{} - mi := &file_gnonativetypes_proto_msgTypes[59] + mi := &file_gnonativetypes_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3003,7 +3125,7 @@ func (x *EstimateGasRequest) String() string { func (*EstimateGasRequest) ProtoMessage() {} func (x *EstimateGasRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[59] + mi := &file_gnonativetypes_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3016,7 +3138,7 @@ func (x *EstimateGasRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EstimateGasRequest.ProtoReflect.Descriptor instead. func (*EstimateGasRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{59} + return file_gnonativetypes_proto_rawDescGZIP(), []int{61} } func (x *EstimateGasRequest) GetTxJson() string { @@ -3073,7 +3195,7 @@ type EstimateGasResponse struct { func (x *EstimateGasResponse) Reset() { *x = EstimateGasResponse{} - mi := &file_gnonativetypes_proto_msgTypes[60] + mi := &file_gnonativetypes_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3085,7 +3207,7 @@ func (x *EstimateGasResponse) String() string { func (*EstimateGasResponse) ProtoMessage() {} func (x *EstimateGasResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[60] + mi := &file_gnonativetypes_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3098,7 +3220,7 @@ func (x *EstimateGasResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EstimateGasResponse.ProtoReflect.Descriptor instead. func (*EstimateGasResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{60} + return file_gnonativetypes_proto_rawDescGZIP(), []int{62} } func (x *EstimateGasResponse) GetTxJson() string { @@ -3125,7 +3247,7 @@ type BroadcastTxCommitRequest struct { func (x *BroadcastTxCommitRequest) Reset() { *x = BroadcastTxCommitRequest{} - mi := &file_gnonativetypes_proto_msgTypes[61] + mi := &file_gnonativetypes_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3137,7 +3259,7 @@ func (x *BroadcastTxCommitRequest) String() string { func (*BroadcastTxCommitRequest) ProtoMessage() {} func (x *BroadcastTxCommitRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[61] + mi := &file_gnonativetypes_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3150,7 +3272,7 @@ func (x *BroadcastTxCommitRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BroadcastTxCommitRequest.ProtoReflect.Descriptor instead. func (*BroadcastTxCommitRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{61} + return file_gnonativetypes_proto_rawDescGZIP(), []int{63} } func (x *BroadcastTxCommitRequest) GetSignedTxJson() string { @@ -3173,7 +3295,7 @@ type BroadcastTxCommitResponse struct { func (x *BroadcastTxCommitResponse) Reset() { *x = BroadcastTxCommitResponse{} - mi := &file_gnonativetypes_proto_msgTypes[62] + mi := &file_gnonativetypes_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3185,7 +3307,7 @@ func (x *BroadcastTxCommitResponse) String() string { func (*BroadcastTxCommitResponse) ProtoMessage() {} func (x *BroadcastTxCommitResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[62] + mi := &file_gnonativetypes_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3198,7 +3320,7 @@ func (x *BroadcastTxCommitResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BroadcastTxCommitResponse.ProtoReflect.Descriptor instead. func (*BroadcastTxCommitResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{62} + return file_gnonativetypes_proto_rawDescGZIP(), []int{64} } func (x *BroadcastTxCommitResponse) GetResult() []byte { @@ -3231,7 +3353,7 @@ type AddressToBech32Request struct { func (x *AddressToBech32Request) Reset() { *x = AddressToBech32Request{} - mi := &file_gnonativetypes_proto_msgTypes[63] + mi := &file_gnonativetypes_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3243,7 +3365,7 @@ func (x *AddressToBech32Request) String() string { func (*AddressToBech32Request) ProtoMessage() {} func (x *AddressToBech32Request) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[63] + mi := &file_gnonativetypes_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3256,7 +3378,7 @@ func (x *AddressToBech32Request) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressToBech32Request.ProtoReflect.Descriptor instead. func (*AddressToBech32Request) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{63} + return file_gnonativetypes_proto_rawDescGZIP(), []int{65} } func (x *AddressToBech32Request) GetAddress() []byte { @@ -3275,7 +3397,7 @@ type AddressToBech32Response struct { func (x *AddressToBech32Response) Reset() { *x = AddressToBech32Response{} - mi := &file_gnonativetypes_proto_msgTypes[64] + mi := &file_gnonativetypes_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3287,7 +3409,7 @@ func (x *AddressToBech32Response) String() string { func (*AddressToBech32Response) ProtoMessage() {} func (x *AddressToBech32Response) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[64] + mi := &file_gnonativetypes_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3300,7 +3422,7 @@ func (x *AddressToBech32Response) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressToBech32Response.ProtoReflect.Descriptor instead. func (*AddressToBech32Response) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{64} + return file_gnonativetypes_proto_rawDescGZIP(), []int{66} } func (x *AddressToBech32Response) GetBech32Address() string { @@ -3319,7 +3441,7 @@ type AddressFromBech32Request struct { func (x *AddressFromBech32Request) Reset() { *x = AddressFromBech32Request{} - mi := &file_gnonativetypes_proto_msgTypes[65] + mi := &file_gnonativetypes_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3331,7 +3453,7 @@ func (x *AddressFromBech32Request) String() string { func (*AddressFromBech32Request) ProtoMessage() {} func (x *AddressFromBech32Request) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[65] + mi := &file_gnonativetypes_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3344,7 +3466,7 @@ func (x *AddressFromBech32Request) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressFromBech32Request.ProtoReflect.Descriptor instead. func (*AddressFromBech32Request) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{65} + return file_gnonativetypes_proto_rawDescGZIP(), []int{67} } func (x *AddressFromBech32Request) GetBech32Address() string { @@ -3363,7 +3485,7 @@ type AddressFromBech32Response struct { func (x *AddressFromBech32Response) Reset() { *x = AddressFromBech32Response{} - mi := &file_gnonativetypes_proto_msgTypes[66] + mi := &file_gnonativetypes_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3375,7 +3497,7 @@ func (x *AddressFromBech32Response) String() string { func (*AddressFromBech32Response) ProtoMessage() {} func (x *AddressFromBech32Response) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[66] + mi := &file_gnonativetypes_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3388,7 +3510,7 @@ func (x *AddressFromBech32Response) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressFromBech32Response.ProtoReflect.Descriptor instead. func (*AddressFromBech32Response) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{66} + return file_gnonativetypes_proto_rawDescGZIP(), []int{68} } func (x *AddressFromBech32Response) GetAddress() []byte { @@ -3407,7 +3529,7 @@ type AddressFromMnemonicRequest struct { func (x *AddressFromMnemonicRequest) Reset() { *x = AddressFromMnemonicRequest{} - mi := &file_gnonativetypes_proto_msgTypes[67] + mi := &file_gnonativetypes_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3419,7 +3541,7 @@ func (x *AddressFromMnemonicRequest) String() string { func (*AddressFromMnemonicRequest) ProtoMessage() {} func (x *AddressFromMnemonicRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[67] + mi := &file_gnonativetypes_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3432,7 +3554,7 @@ func (x *AddressFromMnemonicRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressFromMnemonicRequest.ProtoReflect.Descriptor instead. func (*AddressFromMnemonicRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{67} + return file_gnonativetypes_proto_rawDescGZIP(), []int{69} } func (x *AddressFromMnemonicRequest) GetMnemonic() string { @@ -3451,7 +3573,7 @@ type AddressFromMnemonicResponse struct { func (x *AddressFromMnemonicResponse) Reset() { *x = AddressFromMnemonicResponse{} - mi := &file_gnonativetypes_proto_msgTypes[68] + mi := &file_gnonativetypes_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3463,7 +3585,7 @@ func (x *AddressFromMnemonicResponse) String() string { func (*AddressFromMnemonicResponse) ProtoMessage() {} func (x *AddressFromMnemonicResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[68] + mi := &file_gnonativetypes_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3476,7 +3598,7 @@ func (x *AddressFromMnemonicResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddressFromMnemonicResponse.ProtoReflect.Descriptor instead. func (*AddressFromMnemonicResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{68} + return file_gnonativetypes_proto_rawDescGZIP(), []int{70} } func (x *AddressFromMnemonicResponse) GetAddress() []byte { @@ -3495,7 +3617,7 @@ type ValidateMnemonicWordRequest struct { func (x *ValidateMnemonicWordRequest) Reset() { *x = ValidateMnemonicWordRequest{} - mi := &file_gnonativetypes_proto_msgTypes[69] + mi := &file_gnonativetypes_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3507,7 +3629,7 @@ func (x *ValidateMnemonicWordRequest) String() string { func (*ValidateMnemonicWordRequest) ProtoMessage() {} func (x *ValidateMnemonicWordRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[69] + mi := &file_gnonativetypes_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3520,7 +3642,7 @@ func (x *ValidateMnemonicWordRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateMnemonicWordRequest.ProtoReflect.Descriptor instead. func (*ValidateMnemonicWordRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{69} + return file_gnonativetypes_proto_rawDescGZIP(), []int{71} } func (x *ValidateMnemonicWordRequest) GetWord() string { @@ -3539,7 +3661,7 @@ type ValidateMnemonicWordResponse struct { func (x *ValidateMnemonicWordResponse) Reset() { *x = ValidateMnemonicWordResponse{} - mi := &file_gnonativetypes_proto_msgTypes[70] + mi := &file_gnonativetypes_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3551,7 +3673,7 @@ func (x *ValidateMnemonicWordResponse) String() string { func (*ValidateMnemonicWordResponse) ProtoMessage() {} func (x *ValidateMnemonicWordResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[70] + mi := &file_gnonativetypes_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3564,7 +3686,7 @@ func (x *ValidateMnemonicWordResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateMnemonicWordResponse.ProtoReflect.Descriptor instead. func (*ValidateMnemonicWordResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{70} + return file_gnonativetypes_proto_rawDescGZIP(), []int{72} } func (x *ValidateMnemonicWordResponse) GetValid() bool { @@ -3583,7 +3705,7 @@ type ValidateMnemonicPhraseRequest struct { func (x *ValidateMnemonicPhraseRequest) Reset() { *x = ValidateMnemonicPhraseRequest{} - mi := &file_gnonativetypes_proto_msgTypes[71] + mi := &file_gnonativetypes_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3595,7 +3717,7 @@ func (x *ValidateMnemonicPhraseRequest) String() string { func (*ValidateMnemonicPhraseRequest) ProtoMessage() {} func (x *ValidateMnemonicPhraseRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[71] + mi := &file_gnonativetypes_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3608,7 +3730,7 @@ func (x *ValidateMnemonicPhraseRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateMnemonicPhraseRequest.ProtoReflect.Descriptor instead. func (*ValidateMnemonicPhraseRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{71} + return file_gnonativetypes_proto_rawDescGZIP(), []int{73} } func (x *ValidateMnemonicPhraseRequest) GetPhrase() string { @@ -3627,7 +3749,7 @@ type ValidateMnemonicPhraseResponse struct { func (x *ValidateMnemonicPhraseResponse) Reset() { *x = ValidateMnemonicPhraseResponse{} - mi := &file_gnonativetypes_proto_msgTypes[72] + mi := &file_gnonativetypes_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3639,7 +3761,7 @@ func (x *ValidateMnemonicPhraseResponse) String() string { func (*ValidateMnemonicPhraseResponse) ProtoMessage() {} func (x *ValidateMnemonicPhraseResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[72] + mi := &file_gnonativetypes_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3652,7 +3774,7 @@ func (x *ValidateMnemonicPhraseResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateMnemonicPhraseResponse.ProtoReflect.Descriptor instead. func (*ValidateMnemonicPhraseResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{72} + return file_gnonativetypes_proto_rawDescGZIP(), []int{74} } func (x *ValidateMnemonicPhraseResponse) GetValid() bool { @@ -3671,7 +3793,7 @@ type HelloRequest struct { func (x *HelloRequest) Reset() { *x = HelloRequest{} - mi := &file_gnonativetypes_proto_msgTypes[73] + mi := &file_gnonativetypes_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3683,7 +3805,7 @@ func (x *HelloRequest) String() string { func (*HelloRequest) ProtoMessage() {} func (x *HelloRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[73] + mi := &file_gnonativetypes_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3696,7 +3818,7 @@ func (x *HelloRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead. func (*HelloRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{73} + return file_gnonativetypes_proto_rawDescGZIP(), []int{75} } func (x *HelloRequest) GetName() string { @@ -3715,7 +3837,7 @@ type HelloResponse struct { func (x *HelloResponse) Reset() { *x = HelloResponse{} - mi := &file_gnonativetypes_proto_msgTypes[74] + mi := &file_gnonativetypes_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3727,7 +3849,7 @@ func (x *HelloResponse) String() string { func (*HelloResponse) ProtoMessage() {} func (x *HelloResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[74] + mi := &file_gnonativetypes_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3740,7 +3862,7 @@ func (x *HelloResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead. func (*HelloResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{74} + return file_gnonativetypes_proto_rawDescGZIP(), []int{76} } func (x *HelloResponse) GetGreeting() string { @@ -3759,7 +3881,7 @@ type HelloStreamRequest struct { func (x *HelloStreamRequest) Reset() { *x = HelloStreamRequest{} - mi := &file_gnonativetypes_proto_msgTypes[75] + mi := &file_gnonativetypes_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3771,7 +3893,7 @@ func (x *HelloStreamRequest) String() string { func (*HelloStreamRequest) ProtoMessage() {} func (x *HelloStreamRequest) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[75] + mi := &file_gnonativetypes_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3784,7 +3906,7 @@ func (x *HelloStreamRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use HelloStreamRequest.ProtoReflect.Descriptor instead. func (*HelloStreamRequest) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{75} + return file_gnonativetypes_proto_rawDescGZIP(), []int{77} } func (x *HelloStreamRequest) GetName() string { @@ -3803,7 +3925,7 @@ type HelloStreamResponse struct { func (x *HelloStreamResponse) Reset() { *x = HelloStreamResponse{} - mi := &file_gnonativetypes_proto_msgTypes[76] + mi := &file_gnonativetypes_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3815,7 +3937,7 @@ func (x *HelloStreamResponse) String() string { func (*HelloStreamResponse) ProtoMessage() {} func (x *HelloStreamResponse) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[76] + mi := &file_gnonativetypes_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3828,7 +3950,7 @@ func (x *HelloStreamResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use HelloStreamResponse.ProtoReflect.Descriptor instead. func (*HelloStreamResponse) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{76} + return file_gnonativetypes_proto_rawDescGZIP(), []int{78} } func (x *HelloStreamResponse) GetGreeting() string { @@ -3847,7 +3969,7 @@ type GNONATIVETYPES_BytesList struct { func (x *GNONATIVETYPES_BytesList) Reset() { *x = GNONATIVETYPES_BytesList{} - mi := &file_gnonativetypes_proto_msgTypes[77] + mi := &file_gnonativetypes_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3859,7 +3981,7 @@ func (x *GNONATIVETYPES_BytesList) String() string { func (*GNONATIVETYPES_BytesList) ProtoMessage() {} func (x *GNONATIVETYPES_BytesList) ProtoReflect() protoreflect.Message { - mi := &file_gnonativetypes_proto_msgTypes[77] + mi := &file_gnonativetypes_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3872,7 +3994,7 @@ func (x *GNONATIVETYPES_BytesList) ProtoReflect() protoreflect.Message { // Deprecated: Use GNONATIVETYPES_BytesList.ProtoReflect.Descriptor instead. func (*GNONATIVETYPES_BytesList) Descriptor() ([]byte, []int) { - return file_gnonativetypes_proto_rawDescGZIP(), []int{77} + return file_gnonativetypes_proto_rawDescGZIP(), []int{79} } func (x *GNONATIVETYPES_BytesList) GetValue() [][]byte { @@ -3959,6 +4081,14 @@ const file_gnonativetypes_proto_rawDesc = "" + "\aaccount\x18\x05 \x01(\rR\aaccount\x12\x14\n" + "\x05index\x18\x06 \x01(\rR\x05index\"N\n" + "\x15CreateAccountResponse\x125\n" + + "\x03key\x18\x01 \x01(\v2\x1e.land.gno.gnonative.v1.KeyInfoR\bkey_info\"\x89\x01\n" + + "\x13CreateLedgerRequest\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n" + + "\talgorithm\x18\x02 \x01(\tR\talgorithm\x12\x10\n" + + "\x03hrp\x18\x03 \x01(\tR\x03hrp\x12\x18\n" + + "\aaccount\x18\x04 \x01(\rR\aaccount\x12\x14\n" + + "\x05index\x18\x05 \x01(\rR\x05index\"M\n" + + "\x14CreateLedgerResponse\x125\n" + "\x03key\x18\x01 \x01(\v2\x1e.land.gno.gnonative.v1.KeyInfoR\bkey_info\">\n" + "\x16ActivateAccountRequest\x12$\n" + "\x0ename_or_bech32\x18\x01 \x01(\tR\fnameOrBech32\"s\n" + @@ -4110,7 +4240,7 @@ func file_gnonativetypes_proto_rawDescGZIP() []byte { return file_gnonativetypes_proto_rawDescData } -var file_gnonativetypes_proto_msgTypes = make([]protoimpl.MessageInfo, 78) +var file_gnonativetypes_proto_msgTypes = make([]protoimpl.MessageInfo, 80) var file_gnonativetypes_proto_goTypes = []any{ (*SetRemoteRequest)(nil), // 0: land.gno.gnonative.v1.SetRemoteRequest (*SetRemoteResponse)(nil), // 1: land.gno.gnonative.v1.SetRemoteResponse @@ -4145,51 +4275,53 @@ var file_gnonativetypes_proto_goTypes = []any{ (*GetKeyInfoByNameOrAddressResponse)(nil), // 30: land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse (*CreateAccountRequest)(nil), // 31: land.gno.gnonative.v1.CreateAccountRequest (*CreateAccountResponse)(nil), // 32: land.gno.gnonative.v1.CreateAccountResponse - (*ActivateAccountRequest)(nil), // 33: land.gno.gnonative.v1.ActivateAccountRequest - (*ActivateAccountResponse)(nil), // 34: land.gno.gnonative.v1.ActivateAccountResponse - (*GetActivatedAccountRequest)(nil), // 35: land.gno.gnonative.v1.GetActivatedAccountRequest - (*GetActivatedAccountResponse)(nil), // 36: land.gno.gnonative.v1.GetActivatedAccountResponse - (*QueryAccountRequest)(nil), // 37: land.gno.gnonative.v1.QueryAccountRequest - (*QueryAccountResponse)(nil), // 38: land.gno.gnonative.v1.QueryAccountResponse - (*DeleteAccountRequest)(nil), // 39: land.gno.gnonative.v1.DeleteAccountRequest - (*DeleteAccountResponse)(nil), // 40: land.gno.gnonative.v1.DeleteAccountResponse - (*QueryRequest)(nil), // 41: land.gno.gnonative.v1.QueryRequest - (*QueryResponse)(nil), // 42: land.gno.gnonative.v1.QueryResponse - (*RenderRequest)(nil), // 43: land.gno.gnonative.v1.RenderRequest - (*RenderResponse)(nil), // 44: land.gno.gnonative.v1.RenderResponse - (*QEvalRequest)(nil), // 45: land.gno.gnonative.v1.QEvalRequest - (*QEvalResponse)(nil), // 46: land.gno.gnonative.v1.QEvalResponse - (*MsgCall)(nil), // 47: land.gno.gnonative.v1.MsgCall - (*CallRequest)(nil), // 48: land.gno.gnonative.v1.CallRequest - (*CallResponse)(nil), // 49: land.gno.gnonative.v1.CallResponse - (*MsgSend)(nil), // 50: land.gno.gnonative.v1.MsgSend - (*SendRequest)(nil), // 51: land.gno.gnonative.v1.SendRequest - (*SendResponse)(nil), // 52: land.gno.gnonative.v1.SendResponse - (*MsgRun)(nil), // 53: land.gno.gnonative.v1.MsgRun - (*RunRequest)(nil), // 54: land.gno.gnonative.v1.RunRequest - (*RunResponse)(nil), // 55: land.gno.gnonative.v1.RunResponse - (*MakeTxResponse)(nil), // 56: land.gno.gnonative.v1.MakeTxResponse - (*SignTxRequest)(nil), // 57: land.gno.gnonative.v1.SignTxRequest - (*SignTxResponse)(nil), // 58: land.gno.gnonative.v1.SignTxResponse - (*EstimateGasRequest)(nil), // 59: land.gno.gnonative.v1.EstimateGasRequest - (*EstimateGasResponse)(nil), // 60: land.gno.gnonative.v1.EstimateGasResponse - (*BroadcastTxCommitRequest)(nil), // 61: land.gno.gnonative.v1.BroadcastTxCommitRequest - (*BroadcastTxCommitResponse)(nil), // 62: land.gno.gnonative.v1.BroadcastTxCommitResponse - (*AddressToBech32Request)(nil), // 63: land.gno.gnonative.v1.AddressToBech32Request - (*AddressToBech32Response)(nil), // 64: land.gno.gnonative.v1.AddressToBech32Response - (*AddressFromBech32Request)(nil), // 65: land.gno.gnonative.v1.AddressFromBech32Request - (*AddressFromBech32Response)(nil), // 66: land.gno.gnonative.v1.AddressFromBech32Response - (*AddressFromMnemonicRequest)(nil), // 67: land.gno.gnonative.v1.AddressFromMnemonicRequest - (*AddressFromMnemonicResponse)(nil), // 68: land.gno.gnonative.v1.AddressFromMnemonicResponse - (*ValidateMnemonicWordRequest)(nil), // 69: land.gno.gnonative.v1.ValidateMnemonicWordRequest - (*ValidateMnemonicWordResponse)(nil), // 70: land.gno.gnonative.v1.ValidateMnemonicWordResponse - (*ValidateMnemonicPhraseRequest)(nil), // 71: land.gno.gnonative.v1.ValidateMnemonicPhraseRequest - (*ValidateMnemonicPhraseResponse)(nil), // 72: land.gno.gnonative.v1.ValidateMnemonicPhraseResponse - (*HelloRequest)(nil), // 73: land.gno.gnonative.v1.HelloRequest - (*HelloResponse)(nil), // 74: land.gno.gnonative.v1.HelloResponse - (*HelloStreamRequest)(nil), // 75: land.gno.gnonative.v1.HelloStreamRequest - (*HelloStreamResponse)(nil), // 76: land.gno.gnonative.v1.HelloStreamResponse - (*GNONATIVETYPES_BytesList)(nil), // 77: land.gno.gnonative.v1.GNONATIVETYPES_BytesList + (*CreateLedgerRequest)(nil), // 33: land.gno.gnonative.v1.CreateLedgerRequest + (*CreateLedgerResponse)(nil), // 34: land.gno.gnonative.v1.CreateLedgerResponse + (*ActivateAccountRequest)(nil), // 35: land.gno.gnonative.v1.ActivateAccountRequest + (*ActivateAccountResponse)(nil), // 36: land.gno.gnonative.v1.ActivateAccountResponse + (*GetActivatedAccountRequest)(nil), // 37: land.gno.gnonative.v1.GetActivatedAccountRequest + (*GetActivatedAccountResponse)(nil), // 38: land.gno.gnonative.v1.GetActivatedAccountResponse + (*QueryAccountRequest)(nil), // 39: land.gno.gnonative.v1.QueryAccountRequest + (*QueryAccountResponse)(nil), // 40: land.gno.gnonative.v1.QueryAccountResponse + (*DeleteAccountRequest)(nil), // 41: land.gno.gnonative.v1.DeleteAccountRequest + (*DeleteAccountResponse)(nil), // 42: land.gno.gnonative.v1.DeleteAccountResponse + (*QueryRequest)(nil), // 43: land.gno.gnonative.v1.QueryRequest + (*QueryResponse)(nil), // 44: land.gno.gnonative.v1.QueryResponse + (*RenderRequest)(nil), // 45: land.gno.gnonative.v1.RenderRequest + (*RenderResponse)(nil), // 46: land.gno.gnonative.v1.RenderResponse + (*QEvalRequest)(nil), // 47: land.gno.gnonative.v1.QEvalRequest + (*QEvalResponse)(nil), // 48: land.gno.gnonative.v1.QEvalResponse + (*MsgCall)(nil), // 49: land.gno.gnonative.v1.MsgCall + (*CallRequest)(nil), // 50: land.gno.gnonative.v1.CallRequest + (*CallResponse)(nil), // 51: land.gno.gnonative.v1.CallResponse + (*MsgSend)(nil), // 52: land.gno.gnonative.v1.MsgSend + (*SendRequest)(nil), // 53: land.gno.gnonative.v1.SendRequest + (*SendResponse)(nil), // 54: land.gno.gnonative.v1.SendResponse + (*MsgRun)(nil), // 55: land.gno.gnonative.v1.MsgRun + (*RunRequest)(nil), // 56: land.gno.gnonative.v1.RunRequest + (*RunResponse)(nil), // 57: land.gno.gnonative.v1.RunResponse + (*MakeTxResponse)(nil), // 58: land.gno.gnonative.v1.MakeTxResponse + (*SignTxRequest)(nil), // 59: land.gno.gnonative.v1.SignTxRequest + (*SignTxResponse)(nil), // 60: land.gno.gnonative.v1.SignTxResponse + (*EstimateGasRequest)(nil), // 61: land.gno.gnonative.v1.EstimateGasRequest + (*EstimateGasResponse)(nil), // 62: land.gno.gnonative.v1.EstimateGasResponse + (*BroadcastTxCommitRequest)(nil), // 63: land.gno.gnonative.v1.BroadcastTxCommitRequest + (*BroadcastTxCommitResponse)(nil), // 64: land.gno.gnonative.v1.BroadcastTxCommitResponse + (*AddressToBech32Request)(nil), // 65: land.gno.gnonative.v1.AddressToBech32Request + (*AddressToBech32Response)(nil), // 66: land.gno.gnonative.v1.AddressToBech32Response + (*AddressFromBech32Request)(nil), // 67: land.gno.gnonative.v1.AddressFromBech32Request + (*AddressFromBech32Response)(nil), // 68: land.gno.gnonative.v1.AddressFromBech32Response + (*AddressFromMnemonicRequest)(nil), // 69: land.gno.gnonative.v1.AddressFromMnemonicRequest + (*AddressFromMnemonicResponse)(nil), // 70: land.gno.gnonative.v1.AddressFromMnemonicResponse + (*ValidateMnemonicWordRequest)(nil), // 71: land.gno.gnonative.v1.ValidateMnemonicWordRequest + (*ValidateMnemonicWordResponse)(nil), // 72: land.gno.gnonative.v1.ValidateMnemonicWordResponse + (*ValidateMnemonicPhraseRequest)(nil), // 73: land.gno.gnonative.v1.ValidateMnemonicPhraseRequest + (*ValidateMnemonicPhraseResponse)(nil), // 74: land.gno.gnonative.v1.ValidateMnemonicPhraseResponse + (*HelloRequest)(nil), // 75: land.gno.gnonative.v1.HelloRequest + (*HelloResponse)(nil), // 76: land.gno.gnonative.v1.HelloResponse + (*HelloStreamRequest)(nil), // 77: land.gno.gnonative.v1.HelloStreamRequest + (*HelloStreamResponse)(nil), // 78: land.gno.gnonative.v1.HelloStreamResponse + (*GNONATIVETYPES_BytesList)(nil), // 79: land.gno.gnonative.v1.GNONATIVETYPES_BytesList } var file_gnonativetypes_proto_depIdxs = []int32{ 15, // 0: land.gno.gnonative.v1.BaseAccount.coins:type_name -> land.gno.gnonative.v1.Coin @@ -4198,19 +4330,20 @@ var file_gnonativetypes_proto_depIdxs = []int32{ 14, // 3: land.gno.gnonative.v1.GetKeyInfoByAddressResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo 14, // 4: land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo 14, // 5: land.gno.gnonative.v1.CreateAccountResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo - 14, // 6: land.gno.gnonative.v1.ActivateAccountResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo - 14, // 7: land.gno.gnonative.v1.GetActivatedAccountResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo - 16, // 8: land.gno.gnonative.v1.QueryAccountResponse.account_info:type_name -> land.gno.gnonative.v1.BaseAccount - 15, // 9: land.gno.gnonative.v1.MsgCall.send:type_name -> land.gno.gnonative.v1.Coin - 47, // 10: land.gno.gnonative.v1.CallRequest.msgs:type_name -> land.gno.gnonative.v1.MsgCall - 15, // 11: land.gno.gnonative.v1.MsgSend.amount:type_name -> land.gno.gnonative.v1.Coin - 50, // 12: land.gno.gnonative.v1.SendRequest.msgs:type_name -> land.gno.gnonative.v1.MsgSend - 53, // 13: land.gno.gnonative.v1.RunRequest.msgs:type_name -> land.gno.gnonative.v1.MsgRun - 14, // [14:14] is the sub-list for method output_type - 14, // [14:14] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name + 14, // 6: land.gno.gnonative.v1.CreateLedgerResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo + 14, // 7: land.gno.gnonative.v1.ActivateAccountResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo + 14, // 8: land.gno.gnonative.v1.GetActivatedAccountResponse.key:type_name -> land.gno.gnonative.v1.KeyInfo + 16, // 9: land.gno.gnonative.v1.QueryAccountResponse.account_info:type_name -> land.gno.gnonative.v1.BaseAccount + 15, // 10: land.gno.gnonative.v1.MsgCall.send:type_name -> land.gno.gnonative.v1.Coin + 49, // 11: land.gno.gnonative.v1.CallRequest.msgs:type_name -> land.gno.gnonative.v1.MsgCall + 15, // 12: land.gno.gnonative.v1.MsgSend.amount:type_name -> land.gno.gnonative.v1.Coin + 52, // 13: land.gno.gnonative.v1.SendRequest.msgs:type_name -> land.gno.gnonative.v1.MsgSend + 55, // 14: land.gno.gnonative.v1.RunRequest.msgs:type_name -> land.gno.gnonative.v1.MsgRun + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name } func init() { file_gnonativetypes_proto_init() } @@ -4224,7 +4357,7 @@ func file_gnonativetypes_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_gnonativetypes_proto_rawDesc), len(file_gnonativetypes_proto_rawDesc)), NumEnums: 0, - NumMessages: 78, + NumMessages: 80, NumExtensions: 0, NumServices: 0, }, diff --git a/api/gen/go/rpc.pb.go b/api/gen/go/rpc.pb.go index b2a06d3..fe35686 100644 --- a/api/gen/go/rpc.pb.go +++ b/api/gen/go/rpc.pb.go @@ -282,7 +282,7 @@ const file_rpc_proto_rawDesc = "" + "\x0eErrGasOverflow\x10\xd8\x01\x12\x16\n" + "\x11ErrInvalidPkgPath\x10\xd9\x01\x12\x13\n" + "\x0eErrInvalidStmt\x10\xda\x01\x12\x13\n" + - "\x0eErrInvalidExpr\x10\xdb\x012\xd2\x1f\n" + + "\x0eErrInvalidExpr\x10\xdb\x012\xbb \n" + "\x10GnoNativeService\x12^\n" + "\tSetRemote\x12'.land.gno.gnonative.v1.SetRemoteRequest\x1a(.land.gno.gnonative.v1.SetRemoteResponse\x12^\n" + "\tGetRemote\x12'.land.gno.gnonative.v1.GetRemoteRequest\x1a(.land.gno.gnonative.v1.GetRemoteResponse\x12a\n" + @@ -298,7 +298,8 @@ const file_rpc_proto_rawDesc = "" + "\x10GetKeyInfoByName\x12..land.gno.gnonative.v1.GetKeyInfoByNameRequest\x1a/.land.gno.gnonative.v1.GetKeyInfoByNameResponse\x12|\n" + "\x13GetKeyInfoByAddress\x121.land.gno.gnonative.v1.GetKeyInfoByAddressRequest\x1a2.land.gno.gnonative.v1.GetKeyInfoByAddressResponse\x12\x8e\x01\n" + "\x19GetKeyInfoByNameOrAddress\x127.land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest\x1a8.land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse\x12j\n" + - "\rCreateAccount\x12+.land.gno.gnonative.v1.CreateAccountRequest\x1a,.land.gno.gnonative.v1.CreateAccountResponse\x12p\n" + + "\rCreateAccount\x12+.land.gno.gnonative.v1.CreateAccountRequest\x1a,.land.gno.gnonative.v1.CreateAccountResponse\x12g\n" + + "\fCreateLedger\x12*.land.gno.gnonative.v1.CreateLedgerRequest\x1a+.land.gno.gnonative.v1.CreateLedgerResponse\x12p\n" + "\x0fActivateAccount\x12-.land.gno.gnonative.v1.ActivateAccountRequest\x1a..land.gno.gnonative.v1.ActivateAccountResponse\x12d\n" + "\vSetPassword\x12).land.gno.gnonative.v1.SetPasswordRequest\x1a*.land.gno.gnonative.v1.SetPasswordResponse\x12m\n" + "\x0eRotatePassword\x12,.land.gno.gnonative.v1.RotatePasswordRequest\x1a-.land.gno.gnonative.v1.RotatePasswordResponse\x12|\n" + @@ -357,64 +358,66 @@ var file_rpc_proto_goTypes = []any{ (*GetKeyInfoByAddressRequest)(nil), // 12: land.gno.gnonative.v1.GetKeyInfoByAddressRequest (*GetKeyInfoByNameOrAddressRequest)(nil), // 13: land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest (*CreateAccountRequest)(nil), // 14: land.gno.gnonative.v1.CreateAccountRequest - (*ActivateAccountRequest)(nil), // 15: land.gno.gnonative.v1.ActivateAccountRequest - (*SetPasswordRequest)(nil), // 16: land.gno.gnonative.v1.SetPasswordRequest - (*RotatePasswordRequest)(nil), // 17: land.gno.gnonative.v1.RotatePasswordRequest - (*GetActivatedAccountRequest)(nil), // 18: land.gno.gnonative.v1.GetActivatedAccountRequest - (*QueryAccountRequest)(nil), // 19: land.gno.gnonative.v1.QueryAccountRequest - (*DeleteAccountRequest)(nil), // 20: land.gno.gnonative.v1.DeleteAccountRequest - (*QueryRequest)(nil), // 21: land.gno.gnonative.v1.QueryRequest - (*RenderRequest)(nil), // 22: land.gno.gnonative.v1.RenderRequest - (*QEvalRequest)(nil), // 23: land.gno.gnonative.v1.QEvalRequest - (*CallRequest)(nil), // 24: land.gno.gnonative.v1.CallRequest - (*SendRequest)(nil), // 25: land.gno.gnonative.v1.SendRequest - (*RunRequest)(nil), // 26: land.gno.gnonative.v1.RunRequest - (*EstimateGasRequest)(nil), // 27: land.gno.gnonative.v1.EstimateGasRequest - (*SignTxRequest)(nil), // 28: land.gno.gnonative.v1.SignTxRequest - (*BroadcastTxCommitRequest)(nil), // 29: land.gno.gnonative.v1.BroadcastTxCommitRequest - (*AddressToBech32Request)(nil), // 30: land.gno.gnonative.v1.AddressToBech32Request - (*AddressFromBech32Request)(nil), // 31: land.gno.gnonative.v1.AddressFromBech32Request - (*AddressFromMnemonicRequest)(nil), // 32: land.gno.gnonative.v1.AddressFromMnemonicRequest - (*ValidateMnemonicWordRequest)(nil), // 33: land.gno.gnonative.v1.ValidateMnemonicWordRequest - (*ValidateMnemonicPhraseRequest)(nil), // 34: land.gno.gnonative.v1.ValidateMnemonicPhraseRequest - (*HelloRequest)(nil), // 35: land.gno.gnonative.v1.HelloRequest - (*HelloStreamRequest)(nil), // 36: land.gno.gnonative.v1.HelloStreamRequest - (*SetRemoteResponse)(nil), // 37: land.gno.gnonative.v1.SetRemoteResponse - (*GetRemoteResponse)(nil), // 38: land.gno.gnonative.v1.GetRemoteResponse - (*SetChainIDResponse)(nil), // 39: land.gno.gnonative.v1.SetChainIDResponse - (*GetChainIDResponse)(nil), // 40: land.gno.gnonative.v1.GetChainIDResponse - (*GenerateRecoveryPhraseResponse)(nil), // 41: land.gno.gnonative.v1.GenerateRecoveryPhraseResponse - (*ListKeyInfoResponse)(nil), // 42: land.gno.gnonative.v1.ListKeyInfoResponse - (*HasKeyByNameResponse)(nil), // 43: land.gno.gnonative.v1.HasKeyByNameResponse - (*HasKeyByAddressResponse)(nil), // 44: land.gno.gnonative.v1.HasKeyByAddressResponse - (*HasKeyByNameOrAddressResponse)(nil), // 45: land.gno.gnonative.v1.HasKeyByNameOrAddressResponse - (*GetKeyInfoByNameResponse)(nil), // 46: land.gno.gnonative.v1.GetKeyInfoByNameResponse - (*GetKeyInfoByAddressResponse)(nil), // 47: land.gno.gnonative.v1.GetKeyInfoByAddressResponse - (*GetKeyInfoByNameOrAddressResponse)(nil), // 48: land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse - (*CreateAccountResponse)(nil), // 49: land.gno.gnonative.v1.CreateAccountResponse - (*ActivateAccountResponse)(nil), // 50: land.gno.gnonative.v1.ActivateAccountResponse - (*SetPasswordResponse)(nil), // 51: land.gno.gnonative.v1.SetPasswordResponse - (*RotatePasswordResponse)(nil), // 52: land.gno.gnonative.v1.RotatePasswordResponse - (*GetActivatedAccountResponse)(nil), // 53: land.gno.gnonative.v1.GetActivatedAccountResponse - (*QueryAccountResponse)(nil), // 54: land.gno.gnonative.v1.QueryAccountResponse - (*DeleteAccountResponse)(nil), // 55: land.gno.gnonative.v1.DeleteAccountResponse - (*QueryResponse)(nil), // 56: land.gno.gnonative.v1.QueryResponse - (*RenderResponse)(nil), // 57: land.gno.gnonative.v1.RenderResponse - (*QEvalResponse)(nil), // 58: land.gno.gnonative.v1.QEvalResponse - (*CallResponse)(nil), // 59: land.gno.gnonative.v1.CallResponse - (*SendResponse)(nil), // 60: land.gno.gnonative.v1.SendResponse - (*RunResponse)(nil), // 61: land.gno.gnonative.v1.RunResponse - (*MakeTxResponse)(nil), // 62: land.gno.gnonative.v1.MakeTxResponse - (*EstimateGasResponse)(nil), // 63: land.gno.gnonative.v1.EstimateGasResponse - (*SignTxResponse)(nil), // 64: land.gno.gnonative.v1.SignTxResponse - (*BroadcastTxCommitResponse)(nil), // 65: land.gno.gnonative.v1.BroadcastTxCommitResponse - (*AddressToBech32Response)(nil), // 66: land.gno.gnonative.v1.AddressToBech32Response - (*AddressFromBech32Response)(nil), // 67: land.gno.gnonative.v1.AddressFromBech32Response - (*AddressFromMnemonicResponse)(nil), // 68: land.gno.gnonative.v1.AddressFromMnemonicResponse - (*ValidateMnemonicWordResponse)(nil), // 69: land.gno.gnonative.v1.ValidateMnemonicWordResponse - (*ValidateMnemonicPhraseResponse)(nil), // 70: land.gno.gnonative.v1.ValidateMnemonicPhraseResponse - (*HelloResponse)(nil), // 71: land.gno.gnonative.v1.HelloResponse - (*HelloStreamResponse)(nil), // 72: land.gno.gnonative.v1.HelloStreamResponse + (*CreateLedgerRequest)(nil), // 15: land.gno.gnonative.v1.CreateLedgerRequest + (*ActivateAccountRequest)(nil), // 16: land.gno.gnonative.v1.ActivateAccountRequest + (*SetPasswordRequest)(nil), // 17: land.gno.gnonative.v1.SetPasswordRequest + (*RotatePasswordRequest)(nil), // 18: land.gno.gnonative.v1.RotatePasswordRequest + (*GetActivatedAccountRequest)(nil), // 19: land.gno.gnonative.v1.GetActivatedAccountRequest + (*QueryAccountRequest)(nil), // 20: land.gno.gnonative.v1.QueryAccountRequest + (*DeleteAccountRequest)(nil), // 21: land.gno.gnonative.v1.DeleteAccountRequest + (*QueryRequest)(nil), // 22: land.gno.gnonative.v1.QueryRequest + (*RenderRequest)(nil), // 23: land.gno.gnonative.v1.RenderRequest + (*QEvalRequest)(nil), // 24: land.gno.gnonative.v1.QEvalRequest + (*CallRequest)(nil), // 25: land.gno.gnonative.v1.CallRequest + (*SendRequest)(nil), // 26: land.gno.gnonative.v1.SendRequest + (*RunRequest)(nil), // 27: land.gno.gnonative.v1.RunRequest + (*EstimateGasRequest)(nil), // 28: land.gno.gnonative.v1.EstimateGasRequest + (*SignTxRequest)(nil), // 29: land.gno.gnonative.v1.SignTxRequest + (*BroadcastTxCommitRequest)(nil), // 30: land.gno.gnonative.v1.BroadcastTxCommitRequest + (*AddressToBech32Request)(nil), // 31: land.gno.gnonative.v1.AddressToBech32Request + (*AddressFromBech32Request)(nil), // 32: land.gno.gnonative.v1.AddressFromBech32Request + (*AddressFromMnemonicRequest)(nil), // 33: land.gno.gnonative.v1.AddressFromMnemonicRequest + (*ValidateMnemonicWordRequest)(nil), // 34: land.gno.gnonative.v1.ValidateMnemonicWordRequest + (*ValidateMnemonicPhraseRequest)(nil), // 35: land.gno.gnonative.v1.ValidateMnemonicPhraseRequest + (*HelloRequest)(nil), // 36: land.gno.gnonative.v1.HelloRequest + (*HelloStreamRequest)(nil), // 37: land.gno.gnonative.v1.HelloStreamRequest + (*SetRemoteResponse)(nil), // 38: land.gno.gnonative.v1.SetRemoteResponse + (*GetRemoteResponse)(nil), // 39: land.gno.gnonative.v1.GetRemoteResponse + (*SetChainIDResponse)(nil), // 40: land.gno.gnonative.v1.SetChainIDResponse + (*GetChainIDResponse)(nil), // 41: land.gno.gnonative.v1.GetChainIDResponse + (*GenerateRecoveryPhraseResponse)(nil), // 42: land.gno.gnonative.v1.GenerateRecoveryPhraseResponse + (*ListKeyInfoResponse)(nil), // 43: land.gno.gnonative.v1.ListKeyInfoResponse + (*HasKeyByNameResponse)(nil), // 44: land.gno.gnonative.v1.HasKeyByNameResponse + (*HasKeyByAddressResponse)(nil), // 45: land.gno.gnonative.v1.HasKeyByAddressResponse + (*HasKeyByNameOrAddressResponse)(nil), // 46: land.gno.gnonative.v1.HasKeyByNameOrAddressResponse + (*GetKeyInfoByNameResponse)(nil), // 47: land.gno.gnonative.v1.GetKeyInfoByNameResponse + (*GetKeyInfoByAddressResponse)(nil), // 48: land.gno.gnonative.v1.GetKeyInfoByAddressResponse + (*GetKeyInfoByNameOrAddressResponse)(nil), // 49: land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse + (*CreateAccountResponse)(nil), // 50: land.gno.gnonative.v1.CreateAccountResponse + (*CreateLedgerResponse)(nil), // 51: land.gno.gnonative.v1.CreateLedgerResponse + (*ActivateAccountResponse)(nil), // 52: land.gno.gnonative.v1.ActivateAccountResponse + (*SetPasswordResponse)(nil), // 53: land.gno.gnonative.v1.SetPasswordResponse + (*RotatePasswordResponse)(nil), // 54: land.gno.gnonative.v1.RotatePasswordResponse + (*GetActivatedAccountResponse)(nil), // 55: land.gno.gnonative.v1.GetActivatedAccountResponse + (*QueryAccountResponse)(nil), // 56: land.gno.gnonative.v1.QueryAccountResponse + (*DeleteAccountResponse)(nil), // 57: land.gno.gnonative.v1.DeleteAccountResponse + (*QueryResponse)(nil), // 58: land.gno.gnonative.v1.QueryResponse + (*RenderResponse)(nil), // 59: land.gno.gnonative.v1.RenderResponse + (*QEvalResponse)(nil), // 60: land.gno.gnonative.v1.QEvalResponse + (*CallResponse)(nil), // 61: land.gno.gnonative.v1.CallResponse + (*SendResponse)(nil), // 62: land.gno.gnonative.v1.SendResponse + (*RunResponse)(nil), // 63: land.gno.gnonative.v1.RunResponse + (*MakeTxResponse)(nil), // 64: land.gno.gnonative.v1.MakeTxResponse + (*EstimateGasResponse)(nil), // 65: land.gno.gnonative.v1.EstimateGasResponse + (*SignTxResponse)(nil), // 66: land.gno.gnonative.v1.SignTxResponse + (*BroadcastTxCommitResponse)(nil), // 67: land.gno.gnonative.v1.BroadcastTxCommitResponse + (*AddressToBech32Response)(nil), // 68: land.gno.gnonative.v1.AddressToBech32Response + (*AddressFromBech32Response)(nil), // 69: land.gno.gnonative.v1.AddressFromBech32Response + (*AddressFromMnemonicResponse)(nil), // 70: land.gno.gnonative.v1.AddressFromMnemonicResponse + (*ValidateMnemonicWordResponse)(nil), // 71: land.gno.gnonative.v1.ValidateMnemonicWordResponse + (*ValidateMnemonicPhraseResponse)(nil), // 72: land.gno.gnonative.v1.ValidateMnemonicPhraseResponse + (*HelloResponse)(nil), // 73: land.gno.gnonative.v1.HelloResponse + (*HelloStreamResponse)(nil), // 74: land.gno.gnonative.v1.HelloStreamResponse } var file_rpc_proto_depIdxs = []int32{ 0, // 0: land.gno.gnonative.v1.ErrDetails.codes:type_name -> land.gno.gnonative.v1.ErrCode @@ -431,71 +434,73 @@ var file_rpc_proto_depIdxs = []int32{ 12, // 11: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress:input_type -> land.gno.gnonative.v1.GetKeyInfoByAddressRequest 13, // 12: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress:input_type -> land.gno.gnonative.v1.GetKeyInfoByNameOrAddressRequest 14, // 13: land.gno.gnonative.v1.GnoNativeService.CreateAccount:input_type -> land.gno.gnonative.v1.CreateAccountRequest - 15, // 14: land.gno.gnonative.v1.GnoNativeService.ActivateAccount:input_type -> land.gno.gnonative.v1.ActivateAccountRequest - 16, // 15: land.gno.gnonative.v1.GnoNativeService.SetPassword:input_type -> land.gno.gnonative.v1.SetPasswordRequest - 17, // 16: land.gno.gnonative.v1.GnoNativeService.RotatePassword:input_type -> land.gno.gnonative.v1.RotatePasswordRequest - 18, // 17: land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount:input_type -> land.gno.gnonative.v1.GetActivatedAccountRequest - 19, // 18: land.gno.gnonative.v1.GnoNativeService.QueryAccount:input_type -> land.gno.gnonative.v1.QueryAccountRequest - 20, // 19: land.gno.gnonative.v1.GnoNativeService.DeleteAccount:input_type -> land.gno.gnonative.v1.DeleteAccountRequest - 21, // 20: land.gno.gnonative.v1.GnoNativeService.Query:input_type -> land.gno.gnonative.v1.QueryRequest - 22, // 21: land.gno.gnonative.v1.GnoNativeService.Render:input_type -> land.gno.gnonative.v1.RenderRequest - 23, // 22: land.gno.gnonative.v1.GnoNativeService.QEval:input_type -> land.gno.gnonative.v1.QEvalRequest - 24, // 23: land.gno.gnonative.v1.GnoNativeService.Call:input_type -> land.gno.gnonative.v1.CallRequest - 25, // 24: land.gno.gnonative.v1.GnoNativeService.Send:input_type -> land.gno.gnonative.v1.SendRequest - 26, // 25: land.gno.gnonative.v1.GnoNativeService.Run:input_type -> land.gno.gnonative.v1.RunRequest - 24, // 26: land.gno.gnonative.v1.GnoNativeService.MakeCallTx:input_type -> land.gno.gnonative.v1.CallRequest - 25, // 27: land.gno.gnonative.v1.GnoNativeService.MakeSendTx:input_type -> land.gno.gnonative.v1.SendRequest - 26, // 28: land.gno.gnonative.v1.GnoNativeService.MakeRunTx:input_type -> land.gno.gnonative.v1.RunRequest - 27, // 29: land.gno.gnonative.v1.GnoNativeService.EstimateGas:input_type -> land.gno.gnonative.v1.EstimateGasRequest - 28, // 30: land.gno.gnonative.v1.GnoNativeService.SignTx:input_type -> land.gno.gnonative.v1.SignTxRequest - 29, // 31: land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit:input_type -> land.gno.gnonative.v1.BroadcastTxCommitRequest - 30, // 32: land.gno.gnonative.v1.GnoNativeService.AddressToBech32:input_type -> land.gno.gnonative.v1.AddressToBech32Request - 31, // 33: land.gno.gnonative.v1.GnoNativeService.AddressFromBech32:input_type -> land.gno.gnonative.v1.AddressFromBech32Request - 32, // 34: land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic:input_type -> land.gno.gnonative.v1.AddressFromMnemonicRequest - 33, // 35: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicWord:input_type -> land.gno.gnonative.v1.ValidateMnemonicWordRequest - 34, // 36: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicPhrase:input_type -> land.gno.gnonative.v1.ValidateMnemonicPhraseRequest - 35, // 37: land.gno.gnonative.v1.GnoNativeService.Hello:input_type -> land.gno.gnonative.v1.HelloRequest - 36, // 38: land.gno.gnonative.v1.GnoNativeService.HelloStream:input_type -> land.gno.gnonative.v1.HelloStreamRequest - 37, // 39: land.gno.gnonative.v1.GnoNativeService.SetRemote:output_type -> land.gno.gnonative.v1.SetRemoteResponse - 38, // 40: land.gno.gnonative.v1.GnoNativeService.GetRemote:output_type -> land.gno.gnonative.v1.GetRemoteResponse - 39, // 41: land.gno.gnonative.v1.GnoNativeService.SetChainID:output_type -> land.gno.gnonative.v1.SetChainIDResponse - 40, // 42: land.gno.gnonative.v1.GnoNativeService.GetChainID:output_type -> land.gno.gnonative.v1.GetChainIDResponse - 41, // 43: land.gno.gnonative.v1.GnoNativeService.GenerateRecoveryPhrase:output_type -> land.gno.gnonative.v1.GenerateRecoveryPhraseResponse - 42, // 44: land.gno.gnonative.v1.GnoNativeService.ListKeyInfo:output_type -> land.gno.gnonative.v1.ListKeyInfoResponse - 43, // 45: land.gno.gnonative.v1.GnoNativeService.HasKeyByName:output_type -> land.gno.gnonative.v1.HasKeyByNameResponse - 44, // 46: land.gno.gnonative.v1.GnoNativeService.HasKeyByAddress:output_type -> land.gno.gnonative.v1.HasKeyByAddressResponse - 45, // 47: land.gno.gnonative.v1.GnoNativeService.HasKeyByNameOrAddress:output_type -> land.gno.gnonative.v1.HasKeyByNameOrAddressResponse - 46, // 48: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByName:output_type -> land.gno.gnonative.v1.GetKeyInfoByNameResponse - 47, // 49: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress:output_type -> land.gno.gnonative.v1.GetKeyInfoByAddressResponse - 48, // 50: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress:output_type -> land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse - 49, // 51: land.gno.gnonative.v1.GnoNativeService.CreateAccount:output_type -> land.gno.gnonative.v1.CreateAccountResponse - 50, // 52: land.gno.gnonative.v1.GnoNativeService.ActivateAccount:output_type -> land.gno.gnonative.v1.ActivateAccountResponse - 51, // 53: land.gno.gnonative.v1.GnoNativeService.SetPassword:output_type -> land.gno.gnonative.v1.SetPasswordResponse - 52, // 54: land.gno.gnonative.v1.GnoNativeService.RotatePassword:output_type -> land.gno.gnonative.v1.RotatePasswordResponse - 53, // 55: land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount:output_type -> land.gno.gnonative.v1.GetActivatedAccountResponse - 54, // 56: land.gno.gnonative.v1.GnoNativeService.QueryAccount:output_type -> land.gno.gnonative.v1.QueryAccountResponse - 55, // 57: land.gno.gnonative.v1.GnoNativeService.DeleteAccount:output_type -> land.gno.gnonative.v1.DeleteAccountResponse - 56, // 58: land.gno.gnonative.v1.GnoNativeService.Query:output_type -> land.gno.gnonative.v1.QueryResponse - 57, // 59: land.gno.gnonative.v1.GnoNativeService.Render:output_type -> land.gno.gnonative.v1.RenderResponse - 58, // 60: land.gno.gnonative.v1.GnoNativeService.QEval:output_type -> land.gno.gnonative.v1.QEvalResponse - 59, // 61: land.gno.gnonative.v1.GnoNativeService.Call:output_type -> land.gno.gnonative.v1.CallResponse - 60, // 62: land.gno.gnonative.v1.GnoNativeService.Send:output_type -> land.gno.gnonative.v1.SendResponse - 61, // 63: land.gno.gnonative.v1.GnoNativeService.Run:output_type -> land.gno.gnonative.v1.RunResponse - 62, // 64: land.gno.gnonative.v1.GnoNativeService.MakeCallTx:output_type -> land.gno.gnonative.v1.MakeTxResponse - 62, // 65: land.gno.gnonative.v1.GnoNativeService.MakeSendTx:output_type -> land.gno.gnonative.v1.MakeTxResponse - 62, // 66: land.gno.gnonative.v1.GnoNativeService.MakeRunTx:output_type -> land.gno.gnonative.v1.MakeTxResponse - 63, // 67: land.gno.gnonative.v1.GnoNativeService.EstimateGas:output_type -> land.gno.gnonative.v1.EstimateGasResponse - 64, // 68: land.gno.gnonative.v1.GnoNativeService.SignTx:output_type -> land.gno.gnonative.v1.SignTxResponse - 65, // 69: land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit:output_type -> land.gno.gnonative.v1.BroadcastTxCommitResponse - 66, // 70: land.gno.gnonative.v1.GnoNativeService.AddressToBech32:output_type -> land.gno.gnonative.v1.AddressToBech32Response - 67, // 71: land.gno.gnonative.v1.GnoNativeService.AddressFromBech32:output_type -> land.gno.gnonative.v1.AddressFromBech32Response - 68, // 72: land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic:output_type -> land.gno.gnonative.v1.AddressFromMnemonicResponse - 69, // 73: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicWord:output_type -> land.gno.gnonative.v1.ValidateMnemonicWordResponse - 70, // 74: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicPhrase:output_type -> land.gno.gnonative.v1.ValidateMnemonicPhraseResponse - 71, // 75: land.gno.gnonative.v1.GnoNativeService.Hello:output_type -> land.gno.gnonative.v1.HelloResponse - 72, // 76: land.gno.gnonative.v1.GnoNativeService.HelloStream:output_type -> land.gno.gnonative.v1.HelloStreamResponse - 39, // [39:77] is the sub-list for method output_type - 1, // [1:39] is the sub-list for method input_type + 15, // 14: land.gno.gnonative.v1.GnoNativeService.CreateLedger:input_type -> land.gno.gnonative.v1.CreateLedgerRequest + 16, // 15: land.gno.gnonative.v1.GnoNativeService.ActivateAccount:input_type -> land.gno.gnonative.v1.ActivateAccountRequest + 17, // 16: land.gno.gnonative.v1.GnoNativeService.SetPassword:input_type -> land.gno.gnonative.v1.SetPasswordRequest + 18, // 17: land.gno.gnonative.v1.GnoNativeService.RotatePassword:input_type -> land.gno.gnonative.v1.RotatePasswordRequest + 19, // 18: land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount:input_type -> land.gno.gnonative.v1.GetActivatedAccountRequest + 20, // 19: land.gno.gnonative.v1.GnoNativeService.QueryAccount:input_type -> land.gno.gnonative.v1.QueryAccountRequest + 21, // 20: land.gno.gnonative.v1.GnoNativeService.DeleteAccount:input_type -> land.gno.gnonative.v1.DeleteAccountRequest + 22, // 21: land.gno.gnonative.v1.GnoNativeService.Query:input_type -> land.gno.gnonative.v1.QueryRequest + 23, // 22: land.gno.gnonative.v1.GnoNativeService.Render:input_type -> land.gno.gnonative.v1.RenderRequest + 24, // 23: land.gno.gnonative.v1.GnoNativeService.QEval:input_type -> land.gno.gnonative.v1.QEvalRequest + 25, // 24: land.gno.gnonative.v1.GnoNativeService.Call:input_type -> land.gno.gnonative.v1.CallRequest + 26, // 25: land.gno.gnonative.v1.GnoNativeService.Send:input_type -> land.gno.gnonative.v1.SendRequest + 27, // 26: land.gno.gnonative.v1.GnoNativeService.Run:input_type -> land.gno.gnonative.v1.RunRequest + 25, // 27: land.gno.gnonative.v1.GnoNativeService.MakeCallTx:input_type -> land.gno.gnonative.v1.CallRequest + 26, // 28: land.gno.gnonative.v1.GnoNativeService.MakeSendTx:input_type -> land.gno.gnonative.v1.SendRequest + 27, // 29: land.gno.gnonative.v1.GnoNativeService.MakeRunTx:input_type -> land.gno.gnonative.v1.RunRequest + 28, // 30: land.gno.gnonative.v1.GnoNativeService.EstimateGas:input_type -> land.gno.gnonative.v1.EstimateGasRequest + 29, // 31: land.gno.gnonative.v1.GnoNativeService.SignTx:input_type -> land.gno.gnonative.v1.SignTxRequest + 30, // 32: land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit:input_type -> land.gno.gnonative.v1.BroadcastTxCommitRequest + 31, // 33: land.gno.gnonative.v1.GnoNativeService.AddressToBech32:input_type -> land.gno.gnonative.v1.AddressToBech32Request + 32, // 34: land.gno.gnonative.v1.GnoNativeService.AddressFromBech32:input_type -> land.gno.gnonative.v1.AddressFromBech32Request + 33, // 35: land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic:input_type -> land.gno.gnonative.v1.AddressFromMnemonicRequest + 34, // 36: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicWord:input_type -> land.gno.gnonative.v1.ValidateMnemonicWordRequest + 35, // 37: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicPhrase:input_type -> land.gno.gnonative.v1.ValidateMnemonicPhraseRequest + 36, // 38: land.gno.gnonative.v1.GnoNativeService.Hello:input_type -> land.gno.gnonative.v1.HelloRequest + 37, // 39: land.gno.gnonative.v1.GnoNativeService.HelloStream:input_type -> land.gno.gnonative.v1.HelloStreamRequest + 38, // 40: land.gno.gnonative.v1.GnoNativeService.SetRemote:output_type -> land.gno.gnonative.v1.SetRemoteResponse + 39, // 41: land.gno.gnonative.v1.GnoNativeService.GetRemote:output_type -> land.gno.gnonative.v1.GetRemoteResponse + 40, // 42: land.gno.gnonative.v1.GnoNativeService.SetChainID:output_type -> land.gno.gnonative.v1.SetChainIDResponse + 41, // 43: land.gno.gnonative.v1.GnoNativeService.GetChainID:output_type -> land.gno.gnonative.v1.GetChainIDResponse + 42, // 44: land.gno.gnonative.v1.GnoNativeService.GenerateRecoveryPhrase:output_type -> land.gno.gnonative.v1.GenerateRecoveryPhraseResponse + 43, // 45: land.gno.gnonative.v1.GnoNativeService.ListKeyInfo:output_type -> land.gno.gnonative.v1.ListKeyInfoResponse + 44, // 46: land.gno.gnonative.v1.GnoNativeService.HasKeyByName:output_type -> land.gno.gnonative.v1.HasKeyByNameResponse + 45, // 47: land.gno.gnonative.v1.GnoNativeService.HasKeyByAddress:output_type -> land.gno.gnonative.v1.HasKeyByAddressResponse + 46, // 48: land.gno.gnonative.v1.GnoNativeService.HasKeyByNameOrAddress:output_type -> land.gno.gnonative.v1.HasKeyByNameOrAddressResponse + 47, // 49: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByName:output_type -> land.gno.gnonative.v1.GetKeyInfoByNameResponse + 48, // 50: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress:output_type -> land.gno.gnonative.v1.GetKeyInfoByAddressResponse + 49, // 51: land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress:output_type -> land.gno.gnonative.v1.GetKeyInfoByNameOrAddressResponse + 50, // 52: land.gno.gnonative.v1.GnoNativeService.CreateAccount:output_type -> land.gno.gnonative.v1.CreateAccountResponse + 51, // 53: land.gno.gnonative.v1.GnoNativeService.CreateLedger:output_type -> land.gno.gnonative.v1.CreateLedgerResponse + 52, // 54: land.gno.gnonative.v1.GnoNativeService.ActivateAccount:output_type -> land.gno.gnonative.v1.ActivateAccountResponse + 53, // 55: land.gno.gnonative.v1.GnoNativeService.SetPassword:output_type -> land.gno.gnonative.v1.SetPasswordResponse + 54, // 56: land.gno.gnonative.v1.GnoNativeService.RotatePassword:output_type -> land.gno.gnonative.v1.RotatePasswordResponse + 55, // 57: land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount:output_type -> land.gno.gnonative.v1.GetActivatedAccountResponse + 56, // 58: land.gno.gnonative.v1.GnoNativeService.QueryAccount:output_type -> land.gno.gnonative.v1.QueryAccountResponse + 57, // 59: land.gno.gnonative.v1.GnoNativeService.DeleteAccount:output_type -> land.gno.gnonative.v1.DeleteAccountResponse + 58, // 60: land.gno.gnonative.v1.GnoNativeService.Query:output_type -> land.gno.gnonative.v1.QueryResponse + 59, // 61: land.gno.gnonative.v1.GnoNativeService.Render:output_type -> land.gno.gnonative.v1.RenderResponse + 60, // 62: land.gno.gnonative.v1.GnoNativeService.QEval:output_type -> land.gno.gnonative.v1.QEvalResponse + 61, // 63: land.gno.gnonative.v1.GnoNativeService.Call:output_type -> land.gno.gnonative.v1.CallResponse + 62, // 64: land.gno.gnonative.v1.GnoNativeService.Send:output_type -> land.gno.gnonative.v1.SendResponse + 63, // 65: land.gno.gnonative.v1.GnoNativeService.Run:output_type -> land.gno.gnonative.v1.RunResponse + 64, // 66: land.gno.gnonative.v1.GnoNativeService.MakeCallTx:output_type -> land.gno.gnonative.v1.MakeTxResponse + 64, // 67: land.gno.gnonative.v1.GnoNativeService.MakeSendTx:output_type -> land.gno.gnonative.v1.MakeTxResponse + 64, // 68: land.gno.gnonative.v1.GnoNativeService.MakeRunTx:output_type -> land.gno.gnonative.v1.MakeTxResponse + 65, // 69: land.gno.gnonative.v1.GnoNativeService.EstimateGas:output_type -> land.gno.gnonative.v1.EstimateGasResponse + 66, // 70: land.gno.gnonative.v1.GnoNativeService.SignTx:output_type -> land.gno.gnonative.v1.SignTxResponse + 67, // 71: land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit:output_type -> land.gno.gnonative.v1.BroadcastTxCommitResponse + 68, // 72: land.gno.gnonative.v1.GnoNativeService.AddressToBech32:output_type -> land.gno.gnonative.v1.AddressToBech32Response + 69, // 73: land.gno.gnonative.v1.GnoNativeService.AddressFromBech32:output_type -> land.gno.gnonative.v1.AddressFromBech32Response + 70, // 74: land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic:output_type -> land.gno.gnonative.v1.AddressFromMnemonicResponse + 71, // 75: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicWord:output_type -> land.gno.gnonative.v1.ValidateMnemonicWordResponse + 72, // 76: land.gno.gnonative.v1.GnoNativeService.ValidateMnemonicPhrase:output_type -> land.gno.gnonative.v1.ValidateMnemonicPhraseResponse + 73, // 77: land.gno.gnonative.v1.GnoNativeService.Hello:output_type -> land.gno.gnonative.v1.HelloResponse + 74, // 78: land.gno.gnonative.v1.GnoNativeService.HelloStream:output_type -> land.gno.gnonative.v1.HelloStreamResponse + 40, // [40:79] is the sub-list for method output_type + 1, // [1:40] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name diff --git a/api/gnonativetypes.proto b/api/gnonativetypes.proto index 4935fe9..b6b4349 100644 --- a/api/gnonativetypes.proto +++ b/api/gnonativetypes.proto @@ -149,6 +149,20 @@ message CreateAccountResponse { KeyInfo key = 1 [json_name = "key_info"]; } +message CreateLedgerRequest { + string name = 1; + // Supported algorithm is "secp256k1" + string algorithm = 2; + // The human readable part of the address. Example: "g" + string hrp = 3; + uint32 account = 4; + uint32 index = 5; +} + +message CreateLedgerResponse { + KeyInfo key = 1 [json_name = "key_info"]; +} + message ActivateAccountRequest { string name_or_bech32 = 1; } diff --git a/api/gnonativetypes/gnonativetypes.go b/api/gnonativetypes/gnonativetypes.go index b00f88e..245b1d5 100644 --- a/api/gnonativetypes/gnonativetypes.go +++ b/api/gnonativetypes/gnonativetypes.go @@ -137,6 +137,20 @@ type CreateAccountResponse struct { Key *KeyInfo `json:"key_info" yaml:"key_info"` } +type CreateLedgerRequest struct { + Name string `json:"name" yaml:"name"` + // Supported algorithm is "secp256k1" + Algorithm string `json:"algorithm" yaml:"algorithm"` + // The human readable part of the address. Example: "g" + HRP string `json:"hrp" yaml:"hrp"` + Account uint32 `json:"account" yaml:"account"` + Index uint32 `json:"index" yaml:"index"` +} + +type CreateLedgerResponse struct { + Key *KeyInfo `json:"key_info" yaml:"key_info"` +} + type ActivateAccountRequest struct { NameOrBech32 string `json:"name_or_bech32" yaml:"name_or_bech32"` } diff --git a/api/gnonativetypes/package.go b/api/gnonativetypes/package.go index 9fb9806..ded8743 100644 --- a/api/gnonativetypes/package.go +++ b/api/gnonativetypes/package.go @@ -45,6 +45,8 @@ var Package = amino.RegisterPackage(amino.NewPackage( GetKeyInfoByNameOrAddressResponse{}, CreateAccountRequest{}, CreateAccountResponse{}, + CreateLedgerRequest{}, + CreateLedgerResponse{}, ActivateAccountRequest{}, ActivateAccountResponse{}, GetActivatedAccountRequest{}, diff --git a/api/rpc.proto b/api/rpc.proto index 39411ce..1878894 100644 --- a/api/rpc.proto +++ b/api/rpc.proto @@ -57,12 +57,22 @@ service GnoNativeService { // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. rpc GetKeyInfoByNameOrAddress(GetKeyInfoByNameOrAddressRequest) returns (GetKeyInfoByNameOrAddressResponse); - // Create a new account in the keybase using the name and password specified by SetAccount. + // Create a new account in the keybase using the name and password. + // To use this key, you must call SetPassword. // If an account with the same name already exists in the keybase, // this replaces it. (If you don't want to replace it, then it's your responsibility // to use GetKeyInfoByName to check if it exists before calling this.) rpc CreateAccount(CreateAccountRequest) returns (CreateAccountResponse); + // Get the key info from the Ledger and create an entry in the keybase using the name. + // The Ledger must be unlocked and running the Cosmos app. + // Future signing with this key will use the Ledger. + // (To use this key, it is not necessary to call SetPassword.) + // If an account with the same name already exists in the keybase, + // this replaces it. (If you don't want to replace it, then it's your responsibility + // to use GetKeyInfoByName to check if it exists before calling this.) + rpc CreateLedger(CreateLedgerRequest) returns (CreateLedgerResponse); + // Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is // false, then you should call SetPassword before using a method which needs it. // If the account is already activated, return its info. diff --git a/gen.sum b/gen.sum index af32ee2..9ef04fb 100644 --- a/gen.sum +++ b/gen.sum @@ -1,6 +1,6 @@ -8ac0bba49f17dcee178f183751e8e3df25bee749 api/gnonativetypes.proto -d6ca95bb7783557bc12d72e1ecb6dcec5cde35e1 api/gnonativetypes/gnonativetypes.go -7dd598c7c5ddb1ee543bb8b1838d504adc345da8 api/gnonativetypes/package.go -e4dd57d4f942789c49b70fd995e50dd8eaedd8a3 api/rpc.proto +ddd754397681c71e7a5fc232b1ff95f7cdd24b7c api/gnonativetypes.proto +175a4d0c5e746f9d83fba771ed65e62bd2c697bd api/gnonativetypes/gnonativetypes.go +5c1423cfce48514cbb29ce4a76e3a7017c055ba0 api/gnonativetypes/package.go +5e9ce9eb1815d8d2771fe948fb20223df36ff182 api/rpc.proto 6444ae88d6497a551ba1d5d611e1f81b1ce6a21c buf.gen.yaml db011306fec5f34668398da58861399025f4abc8 Makefile diff --git a/service/api.go b/service/api.go index 7cd19df..34cc84c 100644 --- a/service/api.go +++ b/service/api.go @@ -193,6 +193,22 @@ func (s *gnoNativeService) CreateAccount(ctx context.Context, req *connect.Reque return connect.NewResponse(&api_gen.CreateAccountResponse{Key: info}), nil } +func (s *gnoNativeService) CreateLedger(ctx context.Context, req *connect.Request[api_gen.CreateLedgerRequest]) (*connect.Response[api_gen.CreateLedgerResponse], error) { + s.logger.Debug("CreateLedger called", zap.String("Name", req.Msg.Name)) + + key, err := s.keybase.CreateLedger(req.Msg.Name, crypto_keys.SigningAlgo(req.Msg.Algorithm), req.Msg.Hrp, req.Msg.Account, req.Msg.Index) + if err != nil { + return nil, getGrpcError(err) + } + + info, err := ConvertKeyInfo(key) + if err != nil { + return nil, err + } + + return connect.NewResponse(&api_gen.CreateLedgerResponse{Key: info}), nil +} + func (s *gnoNativeService) ActivateAccount(ctx context.Context, req *connect.Request[api_gen.ActivateAccountRequest]) (*connect.Response[api_gen.ActivateAccountResponse], error) { s.logger.Debug("ActivateAccount called", zap.String("NameOrBech32", req.Msg.NameOrBech32)) @@ -435,7 +451,6 @@ func (s *gnoNativeService) Call(ctx context.Context, req *connect.Request[api_ge Hash: bres.Hash, Height: bres.Height, }); err != nil { - s.logger.Error("Call stream.Send returned error", zap.Error(err)) return err }