From c8e33f9d86977dd37232a360269ea75230bb7715 Mon Sep 17 00:00:00 2001 From: lxgr-linux Date: Tue, 17 Dec 2024 01:04:46 +0100 Subject: [PATCH] feat(#242): Scaffolded last messages --- api/cardchain/cardchain/tx.pulsar.go | 11993 ++++++++++++-- api/cardchain/cardchain/tx_grpc.pb.go | 296 + docs/static/openapi.yml | 2 +- gen.sh | 8 + proto/cardchain/cardchain/tx.proto | 83 + .../keeper/msg_server_early_access_invite.go | 17 + .../keeper/msg_server_encounter_close.go | 17 + .../keeper/msg_server_encounter_create.go | 17 + x/cardchain/keeper/msg_server_encounter_do.go | 17 + x/cardchain/keeper/msg_server_match_open.go | 17 + .../keeper/msg_server_profile_alias_set.go | 17 + x/cardchain/keeper/msg_server_set_name_set.go | 17 + .../keeper/msg_server_zealy_connect.go | 17 + x/cardchain/module/autocli.go | 48 + x/cardchain/module/simulation.go | 184 + x/cardchain/simulation/early_access_invite.go | 29 + x/cardchain/simulation/encounter_close.go | 29 + x/cardchain/simulation/encounter_create.go | 29 + x/cardchain/simulation/encounter_do.go | 29 + x/cardchain/simulation/match_open.go | 29 + x/cardchain/simulation/profile_alias_set.go | 29 + x/cardchain/simulation/set_name_set.go | 29 + x/cardchain/simulation/zealy_connect.go | 29 + x/cardchain/types/codec.go | 24 + .../types/message_early_access_invite.go | 24 + .../types/message_early_access_invite_test.go | 40 + x/cardchain/types/message_encounter_close.go | 26 + .../types/message_encounter_close_test.go | 40 + x/cardchain/types/message_encounter_create.go | 27 + .../types/message_encounter_create_test.go | 40 + x/cardchain/types/message_encounter_do.go | 25 + .../types/message_encounter_do_test.go | 40 + x/cardchain/types/message_match_open.go | 27 + x/cardchain/types/message_match_open_test.go | 40 + .../types/message_profile_alias_set.go | 24 + .../types/message_profile_alias_set_test.go | 40 + x/cardchain/types/message_set_name_set.go | 25 + .../types/message_set_name_set_test.go | 40 + x/cardchain/types/message_zealy_connect.go | 24 + .../types/message_zealy_connect_test.go | 40 + x/cardchain/types/tx.pb.go | 13430 ++++++++++------ 41 files changed, 20621 insertions(+), 6337 deletions(-) create mode 100644 x/cardchain/keeper/msg_server_early_access_invite.go create mode 100644 x/cardchain/keeper/msg_server_encounter_close.go create mode 100644 x/cardchain/keeper/msg_server_encounter_create.go create mode 100644 x/cardchain/keeper/msg_server_encounter_do.go create mode 100644 x/cardchain/keeper/msg_server_match_open.go create mode 100644 x/cardchain/keeper/msg_server_profile_alias_set.go create mode 100644 x/cardchain/keeper/msg_server_set_name_set.go create mode 100644 x/cardchain/keeper/msg_server_zealy_connect.go create mode 100644 x/cardchain/simulation/early_access_invite.go create mode 100644 x/cardchain/simulation/encounter_close.go create mode 100644 x/cardchain/simulation/encounter_create.go create mode 100644 x/cardchain/simulation/encounter_do.go create mode 100644 x/cardchain/simulation/match_open.go create mode 100644 x/cardchain/simulation/profile_alias_set.go create mode 100644 x/cardchain/simulation/set_name_set.go create mode 100644 x/cardchain/simulation/zealy_connect.go create mode 100644 x/cardchain/types/message_early_access_invite.go create mode 100644 x/cardchain/types/message_early_access_invite_test.go create mode 100644 x/cardchain/types/message_encounter_close.go create mode 100644 x/cardchain/types/message_encounter_close_test.go create mode 100644 x/cardchain/types/message_encounter_create.go create mode 100644 x/cardchain/types/message_encounter_create_test.go create mode 100644 x/cardchain/types/message_encounter_do.go create mode 100644 x/cardchain/types/message_encounter_do_test.go create mode 100644 x/cardchain/types/message_match_open.go create mode 100644 x/cardchain/types/message_match_open_test.go create mode 100644 x/cardchain/types/message_profile_alias_set.go create mode 100644 x/cardchain/types/message_profile_alias_set_test.go create mode 100644 x/cardchain/types/message_set_name_set.go create mode 100644 x/cardchain/types/message_set_name_set_test.go create mode 100644 x/cardchain/types/message_zealy_connect.go create mode 100644 x/cardchain/types/message_zealy_connect_test.go diff --git a/api/cardchain/cardchain/tx.pulsar.go b/api/cardchain/cardchain/tx.pulsar.go index 462b2a63..db1b72de 100644 --- a/api/cardchain/cardchain/tx.pulsar.go +++ b/api/cardchain/cardchain/tx.pulsar.go @@ -14,6 +14,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" io "io" reflect "reflect" + sort "sort" sync "sync" ) @@ -35210,3024 +35211,11605 @@ func (x *fastReflection_MsgCardVoteMultiResponse) ProtoMethods() *protoiface.Met } } +var _ protoreflect.List = (*_MsgMatchOpen_4_list)(nil) + +type _MsgMatchOpen_4_list struct { + list *[]uint64 +} + +func (x *_MsgMatchOpen_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgMatchOpen_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_MsgMatchOpen_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgMatchOpen_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgMatchOpen_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgMatchOpen at list field PlayerAdeck as it is not of Message kind")) +} + +func (x *_MsgMatchOpen_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgMatchOpen_4_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_MsgMatchOpen_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_MsgMatchOpen_5_list)(nil) + +type _MsgMatchOpen_5_list struct { + list *[]uint64 +} + +func (x *_MsgMatchOpen_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgMatchOpen_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_MsgMatchOpen_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgMatchOpen_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgMatchOpen_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgMatchOpen at list field PlayerBdeck as it is not of Message kind")) +} + +func (x *_MsgMatchOpen_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgMatchOpen_5_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_MsgMatchOpen_5_list) IsValid() bool { + return x.list != nil +} + +var ( + md_MsgMatchOpen protoreflect.MessageDescriptor + fd_MsgMatchOpen_creator protoreflect.FieldDescriptor + fd_MsgMatchOpen_playerA protoreflect.FieldDescriptor + fd_MsgMatchOpen_playerB protoreflect.FieldDescriptor + fd_MsgMatchOpen_playerAdeck protoreflect.FieldDescriptor + fd_MsgMatchOpen_playerBdeck protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgMatchOpen = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgMatchOpen") + fd_MsgMatchOpen_creator = md_MsgMatchOpen.Fields().ByName("creator") + fd_MsgMatchOpen_playerA = md_MsgMatchOpen.Fields().ByName("playerA") + fd_MsgMatchOpen_playerB = md_MsgMatchOpen.Fields().ByName("playerB") + fd_MsgMatchOpen_playerAdeck = md_MsgMatchOpen.Fields().ByName("playerAdeck") + fd_MsgMatchOpen_playerBdeck = md_MsgMatchOpen.Fields().ByName("playerBdeck") +} + +var _ protoreflect.Message = (*fastReflection_MsgMatchOpen)(nil) + +type fastReflection_MsgMatchOpen MsgMatchOpen + +func (x *MsgMatchOpen) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgMatchOpen)(x) +} + +func (x *MsgMatchOpen) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgMatchOpen_messageType fastReflection_MsgMatchOpen_messageType +var _ protoreflect.MessageType = fastReflection_MsgMatchOpen_messageType{} + +type fastReflection_MsgMatchOpen_messageType struct{} + +func (x fastReflection_MsgMatchOpen_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgMatchOpen)(nil) +} +func (x fastReflection_MsgMatchOpen_messageType) New() protoreflect.Message { + return new(fastReflection_MsgMatchOpen) +} +func (x fastReflection_MsgMatchOpen_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMatchOpen +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgMatchOpen) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMatchOpen +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgMatchOpen) Type() protoreflect.MessageType { + return _fastReflection_MsgMatchOpen_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgMatchOpen) New() protoreflect.Message { + return new(fastReflection_MsgMatchOpen) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgMatchOpen) Interface() protoreflect.ProtoMessage { + return (*MsgMatchOpen)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgMatchOpen) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgMatchOpen_creator, value) { + return + } + } + if x.PlayerA != "" { + value := protoreflect.ValueOfString(x.PlayerA) + if !f(fd_MsgMatchOpen_playerA, value) { + return + } + } + if x.PlayerB != "" { + value := protoreflect.ValueOfString(x.PlayerB) + if !f(fd_MsgMatchOpen_playerB, value) { + return + } + } + if len(x.PlayerAdeck) != 0 { + value := protoreflect.ValueOfList(&_MsgMatchOpen_4_list{list: &x.PlayerAdeck}) + if !f(fd_MsgMatchOpen_playerAdeck, value) { + return + } + } + if len(x.PlayerBdeck) != 0 { + value := protoreflect.ValueOfList(&_MsgMatchOpen_5_list{list: &x.PlayerBdeck}) + if !f(fd_MsgMatchOpen_playerBdeck, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgMatchOpen) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpen.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgMatchOpen.playerA": + return x.PlayerA != "" + case "cardchain.cardchain.MsgMatchOpen.playerB": + return x.PlayerB != "" + case "cardchain.cardchain.MsgMatchOpen.playerAdeck": + return len(x.PlayerAdeck) != 0 + case "cardchain.cardchain.MsgMatchOpen.playerBdeck": + return len(x.PlayerBdeck) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpen")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpen does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpen) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpen.creator": + x.Creator = "" + case "cardchain.cardchain.MsgMatchOpen.playerA": + x.PlayerA = "" + case "cardchain.cardchain.MsgMatchOpen.playerB": + x.PlayerB = "" + case "cardchain.cardchain.MsgMatchOpen.playerAdeck": + x.PlayerAdeck = nil + case "cardchain.cardchain.MsgMatchOpen.playerBdeck": + x.PlayerBdeck = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpen")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpen does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgMatchOpen) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgMatchOpen.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgMatchOpen.playerA": + value := x.PlayerA + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgMatchOpen.playerB": + value := x.PlayerB + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgMatchOpen.playerAdeck": + if len(x.PlayerAdeck) == 0 { + return protoreflect.ValueOfList(&_MsgMatchOpen_4_list{}) + } + listValue := &_MsgMatchOpen_4_list{list: &x.PlayerAdeck} + return protoreflect.ValueOfList(listValue) + case "cardchain.cardchain.MsgMatchOpen.playerBdeck": + if len(x.PlayerBdeck) == 0 { + return protoreflect.ValueOfList(&_MsgMatchOpen_5_list{}) + } + listValue := &_MsgMatchOpen_5_list{list: &x.PlayerBdeck} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpen")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpen does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpen) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpen.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgMatchOpen.playerA": + x.PlayerA = value.Interface().(string) + case "cardchain.cardchain.MsgMatchOpen.playerB": + x.PlayerB = value.Interface().(string) + case "cardchain.cardchain.MsgMatchOpen.playerAdeck": + lv := value.List() + clv := lv.(*_MsgMatchOpen_4_list) + x.PlayerAdeck = *clv.list + case "cardchain.cardchain.MsgMatchOpen.playerBdeck": + lv := value.List() + clv := lv.(*_MsgMatchOpen_5_list) + x.PlayerBdeck = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpen")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpen does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpen) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpen.playerAdeck": + if x.PlayerAdeck == nil { + x.PlayerAdeck = []uint64{} + } + value := &_MsgMatchOpen_4_list{list: &x.PlayerAdeck} + return protoreflect.ValueOfList(value) + case "cardchain.cardchain.MsgMatchOpen.playerBdeck": + if x.PlayerBdeck == nil { + x.PlayerBdeck = []uint64{} + } + value := &_MsgMatchOpen_5_list{list: &x.PlayerBdeck} + return protoreflect.ValueOfList(value) + case "cardchain.cardchain.MsgMatchOpen.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgMatchOpen is not mutable")) + case "cardchain.cardchain.MsgMatchOpen.playerA": + panic(fmt.Errorf("field playerA of message cardchain.cardchain.MsgMatchOpen is not mutable")) + case "cardchain.cardchain.MsgMatchOpen.playerB": + panic(fmt.Errorf("field playerB of message cardchain.cardchain.MsgMatchOpen is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpen")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpen does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgMatchOpen) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpen.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgMatchOpen.playerA": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgMatchOpen.playerB": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgMatchOpen.playerAdeck": + list := []uint64{} + return protoreflect.ValueOfList(&_MsgMatchOpen_4_list{list: &list}) + case "cardchain.cardchain.MsgMatchOpen.playerBdeck": + list := []uint64{} + return protoreflect.ValueOfList(&_MsgMatchOpen_5_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpen")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpen does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgMatchOpen) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgMatchOpen", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgMatchOpen) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpen) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgMatchOpen) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgMatchOpen) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgMatchOpen) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerA) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerB) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.PlayerAdeck) > 0 { + l = 0 + for _, e := range x.PlayerAdeck { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.PlayerBdeck) > 0 { + l = 0 + for _, e := range x.PlayerBdeck { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgMatchOpen) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.PlayerBdeck) > 0 { + var pksize2 int + for _, num := range x.PlayerBdeck { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.PlayerBdeck { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x2a + } + if len(x.PlayerAdeck) > 0 { + var pksize4 int + for _, num := range x.PlayerAdeck { + pksize4 += runtime.Sov(uint64(num)) + } + i -= pksize4 + j3 := i + for _, num := range x.PlayerAdeck { + for num >= 1<<7 { + dAtA[j3] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j3++ + } + dAtA[j3] = uint8(num) + j3++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize4)) + i-- + dAtA[i] = 0x22 + } + if len(x.PlayerB) > 0 { + i -= len(x.PlayerB) + copy(dAtA[i:], x.PlayerB) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerB))) + i-- + dAtA[i] = 0x1a + } + if len(x.PlayerA) > 0 { + i -= len(x.PlayerA) + copy(dAtA[i:], x.PlayerA) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerA))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgMatchOpen) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMatchOpen: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMatchOpen: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerA", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PlayerA = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerB", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PlayerB = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.PlayerAdeck = append(x.PlayerAdeck, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.PlayerAdeck) == 0 { + x.PlayerAdeck = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.PlayerAdeck = append(x.PlayerAdeck, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerAdeck", wireType) + } + case 5: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.PlayerBdeck = append(x.PlayerBdeck, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.PlayerBdeck) == 0 { + x.PlayerBdeck = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.PlayerBdeck = append(x.PlayerBdeck, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerBdeck", wireType) + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgMatchOpenResponse protoreflect.MessageDescriptor + fd_MsgMatchOpenResponse_matchId protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgMatchOpenResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgMatchOpenResponse") + fd_MsgMatchOpenResponse_matchId = md_MsgMatchOpenResponse.Fields().ByName("matchId") +} + +var _ protoreflect.Message = (*fastReflection_MsgMatchOpenResponse)(nil) + +type fastReflection_MsgMatchOpenResponse MsgMatchOpenResponse + +func (x *MsgMatchOpenResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgMatchOpenResponse)(x) +} + +func (x *MsgMatchOpenResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgMatchOpenResponse_messageType fastReflection_MsgMatchOpenResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgMatchOpenResponse_messageType{} + +type fastReflection_MsgMatchOpenResponse_messageType struct{} + +func (x fastReflection_MsgMatchOpenResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgMatchOpenResponse)(nil) +} +func (x fastReflection_MsgMatchOpenResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgMatchOpenResponse) +} +func (x fastReflection_MsgMatchOpenResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMatchOpenResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgMatchOpenResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMatchOpenResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgMatchOpenResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgMatchOpenResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgMatchOpenResponse) New() protoreflect.Message { + return new(fastReflection_MsgMatchOpenResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgMatchOpenResponse) Interface() protoreflect.ProtoMessage { + return (*MsgMatchOpenResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgMatchOpenResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.MatchId != uint64(0) { + value := protoreflect.ValueOfUint64(x.MatchId) + if !f(fd_MsgMatchOpenResponse_matchId, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgMatchOpenResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpenResponse.matchId": + return x.MatchId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpenResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpenResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpenResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpenResponse.matchId": + x.MatchId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpenResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpenResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgMatchOpenResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgMatchOpenResponse.matchId": + value := x.MatchId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpenResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpenResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpenResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpenResponse.matchId": + x.MatchId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpenResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpenResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpenResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpenResponse.matchId": + panic(fmt.Errorf("field matchId of message cardchain.cardchain.MsgMatchOpenResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpenResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpenResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgMatchOpenResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgMatchOpenResponse.matchId": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgMatchOpenResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgMatchOpenResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgMatchOpenResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgMatchOpenResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgMatchOpenResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgMatchOpenResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgMatchOpenResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgMatchOpenResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgMatchOpenResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.MatchId != 0 { + n += 1 + runtime.Sov(uint64(x.MatchId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgMatchOpenResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.MatchId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MatchId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgMatchOpenResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMatchOpenResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMatchOpenResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MatchId", wireType) + } + x.MatchId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MatchId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgSetNameSet protoreflect.MessageDescriptor + fd_MsgSetNameSet_creator protoreflect.FieldDescriptor + fd_MsgSetNameSet_setId protoreflect.FieldDescriptor + fd_MsgSetNameSet_name protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgSetNameSet = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgSetNameSet") + fd_MsgSetNameSet_creator = md_MsgSetNameSet.Fields().ByName("creator") + fd_MsgSetNameSet_setId = md_MsgSetNameSet.Fields().ByName("setId") + fd_MsgSetNameSet_name = md_MsgSetNameSet.Fields().ByName("name") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetNameSet)(nil) + +type fastReflection_MsgSetNameSet MsgSetNameSet + +func (x *MsgSetNameSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetNameSet)(x) +} + +func (x *MsgSetNameSet) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgSetNameSet_messageType fastReflection_MsgSetNameSet_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetNameSet_messageType{} + +type fastReflection_MsgSetNameSet_messageType struct{} + +func (x fastReflection_MsgSetNameSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetNameSet)(nil) +} +func (x fastReflection_MsgSetNameSet_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetNameSet) +} +func (x fastReflection_MsgSetNameSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetNameSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetNameSet) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetNameSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgSetNameSet) Type() protoreflect.MessageType { + return _fastReflection_MsgSetNameSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetNameSet) New() protoreflect.Message { + return new(fastReflection_MsgSetNameSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetNameSet) Interface() protoreflect.ProtoMessage { + return (*MsgSetNameSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgSetNameSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSetNameSet_creator, value) { + return + } + } + if x.SetId != uint64(0) { + value := protoreflect.ValueOfUint64(x.SetId) + if !f(fd_MsgSetNameSet_setId, value) { + return + } + } + if x.Name != "" { + value := protoreflect.ValueOfString(x.Name) + if !f(fd_MsgSetNameSet_name, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgSetNameSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgSetNameSet.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgSetNameSet.setId": + return x.SetId != uint64(0) + case "cardchain.cardchain.MsgSetNameSet.name": + return x.Name != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgSetNameSet.creator": + x.Creator = "" + case "cardchain.cardchain.MsgSetNameSet.setId": + x.SetId = uint64(0) + case "cardchain.cardchain.MsgSetNameSet.name": + x.Name = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgSetNameSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgSetNameSet.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgSetNameSet.setId": + value := x.SetId + return protoreflect.ValueOfUint64(value) + case "cardchain.cardchain.MsgSetNameSet.name": + value := x.Name + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgSetNameSet.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgSetNameSet.setId": + x.SetId = value.Uint() + case "cardchain.cardchain.MsgSetNameSet.name": + x.Name = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgSetNameSet.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgSetNameSet is not mutable")) + case "cardchain.cardchain.MsgSetNameSet.setId": + panic(fmt.Errorf("field setId of message cardchain.cardchain.MsgSetNameSet is not mutable")) + case "cardchain.cardchain.MsgSetNameSet.name": + panic(fmt.Errorf("field name of message cardchain.cardchain.MsgSetNameSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgSetNameSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgSetNameSet.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgSetNameSet.setId": + return protoreflect.ValueOfUint64(uint64(0)) + case "cardchain.cardchain.MsgSetNameSet.name": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgSetNameSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgSetNameSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgSetNameSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgSetNameSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgSetNameSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetNameSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.SetId != 0 { + n += 1 + runtime.Sov(uint64(x.SetId)) + } + l = len(x.Name) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgSetNameSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Name) > 0 { + i -= len(x.Name) + copy(dAtA[i:], x.Name) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Name))) + i-- + dAtA[i] = 0x1a + } + if x.SetId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.SetId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgSetNameSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetNameSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetNameSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + } + x.SetId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.SetId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgSetNameSetResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgSetNameSetResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgSetNameSetResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetNameSetResponse)(nil) + +type fastReflection_MsgSetNameSetResponse MsgSetNameSetResponse + +func (x *MsgSetNameSetResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetNameSetResponse)(x) +} + +func (x *MsgSetNameSetResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgSetNameSetResponse_messageType fastReflection_MsgSetNameSetResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetNameSetResponse_messageType{} + +type fastReflection_MsgSetNameSetResponse_messageType struct{} + +func (x fastReflection_MsgSetNameSetResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetNameSetResponse)(nil) +} +func (x fastReflection_MsgSetNameSetResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetNameSetResponse) +} +func (x fastReflection_MsgSetNameSetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetNameSetResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetNameSetResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetNameSetResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgSetNameSetResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSetNameSetResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetNameSetResponse) New() protoreflect.Message { + return new(fastReflection_MsgSetNameSetResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetNameSetResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSetNameSetResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgSetNameSetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgSetNameSetResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSetResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSetResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSetResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgSetNameSetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSetResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSetResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSetResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgSetNameSetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgSetNameSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgSetNameSetResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgSetNameSetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgSetNameSetResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgSetNameSetResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetNameSetResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgSetNameSetResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgSetNameSetResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetNameSetResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgSetNameSetResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgSetNameSetResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetNameSetResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetNameSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgProfileAliasSet protoreflect.MessageDescriptor + fd_MsgProfileAliasSet_creator protoreflect.FieldDescriptor + fd_MsgProfileAliasSet_alias protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgProfileAliasSet = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgProfileAliasSet") + fd_MsgProfileAliasSet_creator = md_MsgProfileAliasSet.Fields().ByName("creator") + fd_MsgProfileAliasSet_alias = md_MsgProfileAliasSet.Fields().ByName("alias") +} + +var _ protoreflect.Message = (*fastReflection_MsgProfileAliasSet)(nil) + +type fastReflection_MsgProfileAliasSet MsgProfileAliasSet + +func (x *MsgProfileAliasSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProfileAliasSet)(x) +} + +func (x *MsgProfileAliasSet) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgProfileAliasSet_messageType fastReflection_MsgProfileAliasSet_messageType +var _ protoreflect.MessageType = fastReflection_MsgProfileAliasSet_messageType{} + +type fastReflection_MsgProfileAliasSet_messageType struct{} + +func (x fastReflection_MsgProfileAliasSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProfileAliasSet)(nil) +} +func (x fastReflection_MsgProfileAliasSet_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProfileAliasSet) +} +func (x fastReflection_MsgProfileAliasSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProfileAliasSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProfileAliasSet) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProfileAliasSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgProfileAliasSet) Type() protoreflect.MessageType { + return _fastReflection_MsgProfileAliasSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProfileAliasSet) New() protoreflect.Message { + return new(fastReflection_MsgProfileAliasSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProfileAliasSet) Interface() protoreflect.ProtoMessage { + return (*MsgProfileAliasSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgProfileAliasSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProfileAliasSet_creator, value) { + return + } + } + if x.Alias != "" { + value := protoreflect.ValueOfString(x.Alias) + if !f(fd_MsgProfileAliasSet_alias, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgProfileAliasSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgProfileAliasSet.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgProfileAliasSet.alias": + return x.Alias != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgProfileAliasSet.creator": + x.Creator = "" + case "cardchain.cardchain.MsgProfileAliasSet.alias": + x.Alias = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgProfileAliasSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgProfileAliasSet.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgProfileAliasSet.alias": + value := x.Alias + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgProfileAliasSet.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgProfileAliasSet.alias": + x.Alias = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgProfileAliasSet.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgProfileAliasSet is not mutable")) + case "cardchain.cardchain.MsgProfileAliasSet.alias": + panic(fmt.Errorf("field alias of message cardchain.cardchain.MsgProfileAliasSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgProfileAliasSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgProfileAliasSet.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgProfileAliasSet.alias": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSet")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgProfileAliasSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgProfileAliasSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgProfileAliasSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgProfileAliasSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgProfileAliasSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProfileAliasSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Alias) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgProfileAliasSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Alias) > 0 { + i -= len(x.Alias) + copy(dAtA[i:], x.Alias) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Alias))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgProfileAliasSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProfileAliasSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProfileAliasSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Alias = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgProfileAliasSetResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgProfileAliasSetResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgProfileAliasSetResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgProfileAliasSetResponse)(nil) + +type fastReflection_MsgProfileAliasSetResponse MsgProfileAliasSetResponse + +func (x *MsgProfileAliasSetResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProfileAliasSetResponse)(x) +} + +func (x *MsgProfileAliasSetResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgProfileAliasSetResponse_messageType fastReflection_MsgProfileAliasSetResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgProfileAliasSetResponse_messageType{} + +type fastReflection_MsgProfileAliasSetResponse_messageType struct{} + +func (x fastReflection_MsgProfileAliasSetResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProfileAliasSetResponse)(nil) +} +func (x fastReflection_MsgProfileAliasSetResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProfileAliasSetResponse) +} +func (x fastReflection_MsgProfileAliasSetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProfileAliasSetResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProfileAliasSetResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProfileAliasSetResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgProfileAliasSetResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgProfileAliasSetResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProfileAliasSetResponse) New() protoreflect.Message { + return new(fastReflection_MsgProfileAliasSetResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProfileAliasSetResponse) Interface() protoreflect.ProtoMessage { + return (*MsgProfileAliasSetResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgProfileAliasSetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgProfileAliasSetResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSetResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSetResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSetResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgProfileAliasSetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSetResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSetResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSetResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgProfileAliasSetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgProfileAliasSetResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgProfileAliasSetResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgProfileAliasSetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgProfileAliasSetResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgProfileAliasSetResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgProfileAliasSetResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgProfileAliasSetResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgProfileAliasSetResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProfileAliasSetResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgProfileAliasSetResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgProfileAliasSetResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProfileAliasSetResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProfileAliasSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEarlyAccessInvite protoreflect.MessageDescriptor + fd_MsgEarlyAccessInvite_creator protoreflect.FieldDescriptor + fd_MsgEarlyAccessInvite_user protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEarlyAccessInvite = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEarlyAccessInvite") + fd_MsgEarlyAccessInvite_creator = md_MsgEarlyAccessInvite.Fields().ByName("creator") + fd_MsgEarlyAccessInvite_user = md_MsgEarlyAccessInvite.Fields().ByName("user") +} + +var _ protoreflect.Message = (*fastReflection_MsgEarlyAccessInvite)(nil) + +type fastReflection_MsgEarlyAccessInvite MsgEarlyAccessInvite + +func (x *MsgEarlyAccessInvite) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEarlyAccessInvite)(x) +} + +func (x *MsgEarlyAccessInvite) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEarlyAccessInvite_messageType fastReflection_MsgEarlyAccessInvite_messageType +var _ protoreflect.MessageType = fastReflection_MsgEarlyAccessInvite_messageType{} + +type fastReflection_MsgEarlyAccessInvite_messageType struct{} + +func (x fastReflection_MsgEarlyAccessInvite_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEarlyAccessInvite)(nil) +} +func (x fastReflection_MsgEarlyAccessInvite_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEarlyAccessInvite) +} +func (x fastReflection_MsgEarlyAccessInvite_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEarlyAccessInvite +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEarlyAccessInvite) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEarlyAccessInvite +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEarlyAccessInvite) Type() protoreflect.MessageType { + return _fastReflection_MsgEarlyAccessInvite_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEarlyAccessInvite) New() protoreflect.Message { + return new(fastReflection_MsgEarlyAccessInvite) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEarlyAccessInvite) Interface() protoreflect.ProtoMessage { + return (*MsgEarlyAccessInvite)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEarlyAccessInvite) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgEarlyAccessInvite_creator, value) { + return + } + } + if x.User != "" { + value := protoreflect.ValueOfString(x.User) + if !f(fd_MsgEarlyAccessInvite_user, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEarlyAccessInvite) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgEarlyAccessInvite.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgEarlyAccessInvite.user": + return x.User != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInvite")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInvite does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInvite) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEarlyAccessInvite.creator": + x.Creator = "" + case "cardchain.cardchain.MsgEarlyAccessInvite.user": + x.User = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInvite")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInvite does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEarlyAccessInvite) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgEarlyAccessInvite.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgEarlyAccessInvite.user": + value := x.User + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInvite")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInvite does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInvite) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEarlyAccessInvite.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgEarlyAccessInvite.user": + x.User = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInvite")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInvite does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInvite) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEarlyAccessInvite.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgEarlyAccessInvite is not mutable")) + case "cardchain.cardchain.MsgEarlyAccessInvite.user": + panic(fmt.Errorf("field user of message cardchain.cardchain.MsgEarlyAccessInvite is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInvite")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInvite does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEarlyAccessInvite) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEarlyAccessInvite.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgEarlyAccessInvite.user": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInvite")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInvite does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEarlyAccessInvite) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEarlyAccessInvite", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEarlyAccessInvite) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInvite) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEarlyAccessInvite) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEarlyAccessInvite) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEarlyAccessInvite) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.User) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEarlyAccessInvite) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.User) > 0 { + i -= len(x.User) + copy(dAtA[i:], x.User) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.User))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEarlyAccessInvite) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEarlyAccessInvite: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEarlyAccessInvite: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEarlyAccessInviteResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEarlyAccessInviteResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEarlyAccessInviteResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgEarlyAccessInviteResponse)(nil) + +type fastReflection_MsgEarlyAccessInviteResponse MsgEarlyAccessInviteResponse + +func (x *MsgEarlyAccessInviteResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEarlyAccessInviteResponse)(x) +} + +func (x *MsgEarlyAccessInviteResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEarlyAccessInviteResponse_messageType fastReflection_MsgEarlyAccessInviteResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgEarlyAccessInviteResponse_messageType{} + +type fastReflection_MsgEarlyAccessInviteResponse_messageType struct{} + +func (x fastReflection_MsgEarlyAccessInviteResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEarlyAccessInviteResponse)(nil) +} +func (x fastReflection_MsgEarlyAccessInviteResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEarlyAccessInviteResponse) +} +func (x fastReflection_MsgEarlyAccessInviteResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEarlyAccessInviteResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEarlyAccessInviteResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgEarlyAccessInviteResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEarlyAccessInviteResponse) New() protoreflect.Message { + return new(fastReflection_MsgEarlyAccessInviteResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Interface() protoreflect.ProtoMessage { + return (*MsgEarlyAccessInviteResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInviteResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInviteResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInviteResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInviteResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInviteResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInviteResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInviteResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInviteResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInviteResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInviteResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInviteResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEarlyAccessInviteResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEarlyAccessInviteResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEarlyAccessInviteResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEarlyAccessInviteResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEarlyAccessInviteResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEarlyAccessInviteResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEarlyAccessInviteResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEarlyAccessInviteResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEarlyAccessInviteResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEarlyAccessInviteResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEarlyAccessInviteResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEarlyAccessInviteResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEarlyAccessInviteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEarlyAccessInviteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgZealyConnect protoreflect.MessageDescriptor + fd_MsgZealyConnect_creator protoreflect.FieldDescriptor + fd_MsgZealyConnect_zealyId protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgZealyConnect = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgZealyConnect") + fd_MsgZealyConnect_creator = md_MsgZealyConnect.Fields().ByName("creator") + fd_MsgZealyConnect_zealyId = md_MsgZealyConnect.Fields().ByName("zealyId") +} + +var _ protoreflect.Message = (*fastReflection_MsgZealyConnect)(nil) + +type fastReflection_MsgZealyConnect MsgZealyConnect + +func (x *MsgZealyConnect) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgZealyConnect)(x) +} + +func (x *MsgZealyConnect) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgZealyConnect_messageType fastReflection_MsgZealyConnect_messageType +var _ protoreflect.MessageType = fastReflection_MsgZealyConnect_messageType{} + +type fastReflection_MsgZealyConnect_messageType struct{} + +func (x fastReflection_MsgZealyConnect_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgZealyConnect)(nil) +} +func (x fastReflection_MsgZealyConnect_messageType) New() protoreflect.Message { + return new(fastReflection_MsgZealyConnect) +} +func (x fastReflection_MsgZealyConnect_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgZealyConnect +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgZealyConnect) Descriptor() protoreflect.MessageDescriptor { + return md_MsgZealyConnect +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgZealyConnect) Type() protoreflect.MessageType { + return _fastReflection_MsgZealyConnect_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgZealyConnect) New() protoreflect.Message { + return new(fastReflection_MsgZealyConnect) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgZealyConnect) Interface() protoreflect.ProtoMessage { + return (*MsgZealyConnect)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgZealyConnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgZealyConnect_creator, value) { + return + } + } + if x.ZealyId != "" { + value := protoreflect.ValueOfString(x.ZealyId) + if !f(fd_MsgZealyConnect_zealyId, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgZealyConnect) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgZealyConnect.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgZealyConnect.zealyId": + return x.ZealyId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnect")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnect does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnect) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgZealyConnect.creator": + x.Creator = "" + case "cardchain.cardchain.MsgZealyConnect.zealyId": + x.ZealyId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnect")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnect does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgZealyConnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgZealyConnect.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgZealyConnect.zealyId": + value := x.ZealyId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnect")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnect does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgZealyConnect.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgZealyConnect.zealyId": + x.ZealyId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnect")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnect does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgZealyConnect.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgZealyConnect is not mutable")) + case "cardchain.cardchain.MsgZealyConnect.zealyId": + panic(fmt.Errorf("field zealyId of message cardchain.cardchain.MsgZealyConnect is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnect")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnect does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgZealyConnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgZealyConnect.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgZealyConnect.zealyId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnect")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnect does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgZealyConnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgZealyConnect", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgZealyConnect) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnect) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgZealyConnect) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgZealyConnect) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgZealyConnect) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ZealyId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgZealyConnect) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ZealyId) > 0 { + i -= len(x.ZealyId) + copy(dAtA[i:], x.ZealyId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ZealyId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgZealyConnect) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgZealyConnect: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgZealyConnect: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ZealyId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ZealyId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgZealyConnectResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgZealyConnectResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgZealyConnectResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgZealyConnectResponse)(nil) + +type fastReflection_MsgZealyConnectResponse MsgZealyConnectResponse + +func (x *MsgZealyConnectResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgZealyConnectResponse)(x) +} + +func (x *MsgZealyConnectResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgZealyConnectResponse_messageType fastReflection_MsgZealyConnectResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgZealyConnectResponse_messageType{} + +type fastReflection_MsgZealyConnectResponse_messageType struct{} + +func (x fastReflection_MsgZealyConnectResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgZealyConnectResponse)(nil) +} +func (x fastReflection_MsgZealyConnectResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgZealyConnectResponse) +} +func (x fastReflection_MsgZealyConnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgZealyConnectResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgZealyConnectResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgZealyConnectResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgZealyConnectResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgZealyConnectResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgZealyConnectResponse) New() protoreflect.Message { + return new(fastReflection_MsgZealyConnectResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgZealyConnectResponse) Interface() protoreflect.ProtoMessage { + return (*MsgZealyConnectResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgZealyConnectResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgZealyConnectResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnectResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnectResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnectResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnectResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnectResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgZealyConnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnectResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnectResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnectResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnectResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnectResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnectResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgZealyConnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgZealyConnectResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgZealyConnectResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgZealyConnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgZealyConnectResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgZealyConnectResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgZealyConnectResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgZealyConnectResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgZealyConnectResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgZealyConnectResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgZealyConnectResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgZealyConnectResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgZealyConnectResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgZealyConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_MsgEncounterCreate_3_list)(nil) + +type _MsgEncounterCreate_3_list struct { + list *[]uint64 +} + +func (x *_MsgEncounterCreate_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgEncounterCreate_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_MsgEncounterCreate_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgEncounterCreate_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgEncounterCreate_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgEncounterCreate at list field Drawlist as it is not of Message kind")) +} + +func (x *_MsgEncounterCreate_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgEncounterCreate_3_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_MsgEncounterCreate_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.Map = (*_MsgEncounterCreate_4_map)(nil) + +type _MsgEncounterCreate_4_map struct { + m *map[string]string +} + +func (x *_MsgEncounterCreate_4_map) Len() int { + if x.m == nil { + return 0 + } + return len(*x.m) +} + +func (x *_MsgEncounterCreate_4_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { + if x.m == nil { + return + } + for k, v := range *x.m { + mapKey := (protoreflect.MapKey)(protoreflect.ValueOfString(k)) + mapValue := protoreflect.ValueOfString(v) + if !f(mapKey, mapValue) { + break + } + } +} + +func (x *_MsgEncounterCreate_4_map) Has(key protoreflect.MapKey) bool { + if x.m == nil { + return false + } + keyUnwrapped := key.String() + concreteValue := keyUnwrapped + _, ok := (*x.m)[concreteValue] + return ok +} + +func (x *_MsgEncounterCreate_4_map) Clear(key protoreflect.MapKey) { + if x.m == nil { + return + } + keyUnwrapped := key.String() + concreteKey := keyUnwrapped + delete(*x.m, concreteKey) +} + +func (x *_MsgEncounterCreate_4_map) Get(key protoreflect.MapKey) protoreflect.Value { + if x.m == nil { + return protoreflect.Value{} + } + keyUnwrapped := key.String() + concreteKey := keyUnwrapped + v, ok := (*x.m)[concreteKey] + if !ok { + return protoreflect.Value{} + } + return protoreflect.ValueOfString(v) +} + +func (x *_MsgEncounterCreate_4_map) Set(key protoreflect.MapKey, value protoreflect.Value) { + if !key.IsValid() || !value.IsValid() { + panic("invalid key or value provided") + } + keyUnwrapped := key.String() + concreteKey := keyUnwrapped + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.m)[concreteKey] = concreteValue +} + +func (x *_MsgEncounterCreate_4_map) Mutable(key protoreflect.MapKey) protoreflect.Value { + panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") +} + +func (x *_MsgEncounterCreate_4_map) NewValue() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_MsgEncounterCreate_4_map) IsValid() bool { + return x.m != nil +} + +var ( + md_MsgEncounterCreate protoreflect.MessageDescriptor + fd_MsgEncounterCreate_creator protoreflect.FieldDescriptor + fd_MsgEncounterCreate_name protoreflect.FieldDescriptor + fd_MsgEncounterCreate_drawlist protoreflect.FieldDescriptor + fd_MsgEncounterCreate_parameters protoreflect.FieldDescriptor + fd_MsgEncounterCreate_image protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEncounterCreate = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEncounterCreate") + fd_MsgEncounterCreate_creator = md_MsgEncounterCreate.Fields().ByName("creator") + fd_MsgEncounterCreate_name = md_MsgEncounterCreate.Fields().ByName("name") + fd_MsgEncounterCreate_drawlist = md_MsgEncounterCreate.Fields().ByName("drawlist") + fd_MsgEncounterCreate_parameters = md_MsgEncounterCreate.Fields().ByName("parameters") + fd_MsgEncounterCreate_image = md_MsgEncounterCreate.Fields().ByName("image") +} + +var _ protoreflect.Message = (*fastReflection_MsgEncounterCreate)(nil) + +type fastReflection_MsgEncounterCreate MsgEncounterCreate + +func (x *MsgEncounterCreate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEncounterCreate)(x) +} + +func (x *MsgEncounterCreate) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEncounterCreate_messageType fastReflection_MsgEncounterCreate_messageType +var _ protoreflect.MessageType = fastReflection_MsgEncounterCreate_messageType{} + +type fastReflection_MsgEncounterCreate_messageType struct{} + +func (x fastReflection_MsgEncounterCreate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEncounterCreate)(nil) +} +func (x fastReflection_MsgEncounterCreate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEncounterCreate) +} +func (x fastReflection_MsgEncounterCreate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterCreate +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEncounterCreate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterCreate +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEncounterCreate) Type() protoreflect.MessageType { + return _fastReflection_MsgEncounterCreate_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEncounterCreate) New() protoreflect.Message { + return new(fastReflection_MsgEncounterCreate) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEncounterCreate) Interface() protoreflect.ProtoMessage { + return (*MsgEncounterCreate)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEncounterCreate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgEncounterCreate_creator, value) { + return + } + } + if x.Name != "" { + value := protoreflect.ValueOfString(x.Name) + if !f(fd_MsgEncounterCreate_name, value) { + return + } + } + if len(x.Drawlist) != 0 { + value := protoreflect.ValueOfList(&_MsgEncounterCreate_3_list{list: &x.Drawlist}) + if !f(fd_MsgEncounterCreate_drawlist, value) { + return + } + } + if len(x.Parameters) != 0 { + value := protoreflect.ValueOfMap(&_MsgEncounterCreate_4_map{m: &x.Parameters}) + if !f(fd_MsgEncounterCreate_parameters, value) { + return + } + } + if len(x.Image) != 0 { + value := protoreflect.ValueOfBytes(x.Image) + if !f(fd_MsgEncounterCreate_image, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEncounterCreate) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterCreate.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgEncounterCreate.name": + return x.Name != "" + case "cardchain.cardchain.MsgEncounterCreate.drawlist": + return len(x.Drawlist) != 0 + case "cardchain.cardchain.MsgEncounterCreate.parameters": + return len(x.Parameters) != 0 + case "cardchain.cardchain.MsgEncounterCreate.image": + return len(x.Image) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreate")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreate does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreate) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterCreate.creator": + x.Creator = "" + case "cardchain.cardchain.MsgEncounterCreate.name": + x.Name = "" + case "cardchain.cardchain.MsgEncounterCreate.drawlist": + x.Drawlist = nil + case "cardchain.cardchain.MsgEncounterCreate.parameters": + x.Parameters = nil + case "cardchain.cardchain.MsgEncounterCreate.image": + x.Image = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreate")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreate does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEncounterCreate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgEncounterCreate.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgEncounterCreate.name": + value := x.Name + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgEncounterCreate.drawlist": + if len(x.Drawlist) == 0 { + return protoreflect.ValueOfList(&_MsgEncounterCreate_3_list{}) + } + listValue := &_MsgEncounterCreate_3_list{list: &x.Drawlist} + return protoreflect.ValueOfList(listValue) + case "cardchain.cardchain.MsgEncounterCreate.parameters": + if len(x.Parameters) == 0 { + return protoreflect.ValueOfMap(&_MsgEncounterCreate_4_map{}) + } + mapValue := &_MsgEncounterCreate_4_map{m: &x.Parameters} + return protoreflect.ValueOfMap(mapValue) + case "cardchain.cardchain.MsgEncounterCreate.image": + value := x.Image + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreate")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreate does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterCreate.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgEncounterCreate.name": + x.Name = value.Interface().(string) + case "cardchain.cardchain.MsgEncounterCreate.drawlist": + lv := value.List() + clv := lv.(*_MsgEncounterCreate_3_list) + x.Drawlist = *clv.list + case "cardchain.cardchain.MsgEncounterCreate.parameters": + mv := value.Map() + cmv := mv.(*_MsgEncounterCreate_4_map) + x.Parameters = *cmv.m + case "cardchain.cardchain.MsgEncounterCreate.image": + x.Image = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreate")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreate does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterCreate.drawlist": + if x.Drawlist == nil { + x.Drawlist = []uint64{} + } + value := &_MsgEncounterCreate_3_list{list: &x.Drawlist} + return protoreflect.ValueOfList(value) + case "cardchain.cardchain.MsgEncounterCreate.parameters": + if x.Parameters == nil { + x.Parameters = make(map[string]string) + } + value := &_MsgEncounterCreate_4_map{m: &x.Parameters} + return protoreflect.ValueOfMap(value) + case "cardchain.cardchain.MsgEncounterCreate.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgEncounterCreate is not mutable")) + case "cardchain.cardchain.MsgEncounterCreate.name": + panic(fmt.Errorf("field name of message cardchain.cardchain.MsgEncounterCreate is not mutable")) + case "cardchain.cardchain.MsgEncounterCreate.image": + panic(fmt.Errorf("field image of message cardchain.cardchain.MsgEncounterCreate is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreate")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreate does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEncounterCreate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterCreate.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgEncounterCreate.name": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgEncounterCreate.drawlist": + list := []uint64{} + return protoreflect.ValueOfList(&_MsgEncounterCreate_3_list{list: &list}) + case "cardchain.cardchain.MsgEncounterCreate.parameters": + m := make(map[string]string) + return protoreflect.ValueOfMap(&_MsgEncounterCreate_4_map{m: &m}) + case "cardchain.cardchain.MsgEncounterCreate.image": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreate")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreate does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEncounterCreate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEncounterCreate", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEncounterCreate) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreate) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEncounterCreate) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEncounterCreate) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEncounterCreate) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Name) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Drawlist) > 0 { + l = 0 + for _, e := range x.Drawlist { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.Parameters) > 0 { + SiZeMaP := func(k string, v string) { + mapEntrySize := 1 + len(k) + runtime.Sov(uint64(len(k))) + 1 + len(v) + runtime.Sov(uint64(len(v))) + n += mapEntrySize + 1 + runtime.Sov(uint64(mapEntrySize)) + } + if options.Deterministic { + sortme := make([]string, 0, len(x.Parameters)) + for k := range x.Parameters { + sortme = append(sortme, k) + } + sort.Strings(sortme) + for _, k := range sortme { + v := x.Parameters[k] + SiZeMaP(k, v) + } + } else { + for k, v := range x.Parameters { + SiZeMaP(k, v) + } + } + } + l = len(x.Image) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterCreate) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Image) > 0 { + i -= len(x.Image) + copy(dAtA[i:], x.Image) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Image))) + i-- + dAtA[i] = 0x2a + } + if len(x.Parameters) > 0 { + MaRsHaLmAp := func(k string, v string) (protoiface.MarshalOutput, error) { + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = runtime.EncodeVarint(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = runtime.EncodeVarint(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = runtime.EncodeVarint(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + return protoiface.MarshalOutput{}, nil + } + if options.Deterministic { + keysForParameters := make([]string, 0, len(x.Parameters)) + for k := range x.Parameters { + keysForParameters = append(keysForParameters, string(k)) + } + sort.Slice(keysForParameters, func(i, j int) bool { + return keysForParameters[i] < keysForParameters[j] + }) + for iNdEx := len(keysForParameters) - 1; iNdEx >= 0; iNdEx-- { + v := x.Parameters[string(keysForParameters[iNdEx])] + out, err := MaRsHaLmAp(keysForParameters[iNdEx], v) + if err != nil { + return out, err + } + } + } else { + for k := range x.Parameters { + v := x.Parameters[k] + out, err := MaRsHaLmAp(k, v) + if err != nil { + return out, err + } + } + } + } + if len(x.Drawlist) > 0 { + var pksize2 int + for _, num := range x.Drawlist { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.Drawlist { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a + } + if len(x.Name) > 0 { + i -= len(x.Name) + copy(dAtA[i:], x.Name) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Name))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterCreate) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterCreate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterCreate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Drawlist = append(x.Drawlist, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.Drawlist) == 0 { + x.Drawlist = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Drawlist = append(x.Drawlist, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Drawlist", wireType) + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Parameters == nil { + x.Parameters = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postStringIndexmapkey > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postStringIndexmapvalue > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > postIndex { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + x.Parameters[mapkey] = mapvalue + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Image = append(x.Image[:0], dAtA[iNdEx:postIndex]...) + if x.Image == nil { + x.Image = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEncounterCreateResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEncounterCreateResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEncounterCreateResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgEncounterCreateResponse)(nil) + +type fastReflection_MsgEncounterCreateResponse MsgEncounterCreateResponse + +func (x *MsgEncounterCreateResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEncounterCreateResponse)(x) +} + +func (x *MsgEncounterCreateResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEncounterCreateResponse_messageType fastReflection_MsgEncounterCreateResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgEncounterCreateResponse_messageType{} + +type fastReflection_MsgEncounterCreateResponse_messageType struct{} + +func (x fastReflection_MsgEncounterCreateResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEncounterCreateResponse)(nil) +} +func (x fastReflection_MsgEncounterCreateResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEncounterCreateResponse) +} +func (x fastReflection_MsgEncounterCreateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterCreateResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEncounterCreateResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterCreateResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEncounterCreateResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgEncounterCreateResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEncounterCreateResponse) New() protoreflect.Message { + return new(fastReflection_MsgEncounterCreateResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEncounterCreateResponse) Interface() protoreflect.ProtoMessage { + return (*MsgEncounterCreateResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEncounterCreateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEncounterCreateResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreateResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreateResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreateResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreateResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreateResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEncounterCreateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreateResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreateResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreateResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreateResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreateResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreateResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEncounterCreateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCreateResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCreateResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEncounterCreateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEncounterCreateResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEncounterCreateResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCreateResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEncounterCreateResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEncounterCreateResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEncounterCreateResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterCreateResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterCreateResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEncounterDo protoreflect.MessageDescriptor + fd_MsgEncounterDo_creator protoreflect.FieldDescriptor + fd_MsgEncounterDo_encounterId protoreflect.FieldDescriptor + fd_MsgEncounterDo_user protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEncounterDo = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEncounterDo") + fd_MsgEncounterDo_creator = md_MsgEncounterDo.Fields().ByName("creator") + fd_MsgEncounterDo_encounterId = md_MsgEncounterDo.Fields().ByName("encounterId") + fd_MsgEncounterDo_user = md_MsgEncounterDo.Fields().ByName("user") +} + +var _ protoreflect.Message = (*fastReflection_MsgEncounterDo)(nil) + +type fastReflection_MsgEncounterDo MsgEncounterDo + +func (x *MsgEncounterDo) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEncounterDo)(x) +} + +func (x *MsgEncounterDo) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEncounterDo_messageType fastReflection_MsgEncounterDo_messageType +var _ protoreflect.MessageType = fastReflection_MsgEncounterDo_messageType{} + +type fastReflection_MsgEncounterDo_messageType struct{} + +func (x fastReflection_MsgEncounterDo_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEncounterDo)(nil) +} +func (x fastReflection_MsgEncounterDo_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEncounterDo) +} +func (x fastReflection_MsgEncounterDo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterDo +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEncounterDo) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterDo +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEncounterDo) Type() protoreflect.MessageType { + return _fastReflection_MsgEncounterDo_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEncounterDo) New() protoreflect.Message { + return new(fastReflection_MsgEncounterDo) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEncounterDo) Interface() protoreflect.ProtoMessage { + return (*MsgEncounterDo)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEncounterDo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgEncounterDo_creator, value) { + return + } + } + if x.EncounterId != uint64(0) { + value := protoreflect.ValueOfUint64(x.EncounterId) + if !f(fd_MsgEncounterDo_encounterId, value) { + return + } + } + if x.User != "" { + value := protoreflect.ValueOfString(x.User) + if !f(fd_MsgEncounterDo_user, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEncounterDo) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterDo.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgEncounterDo.encounterId": + return x.EncounterId != uint64(0) + case "cardchain.cardchain.MsgEncounterDo.user": + return x.User != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDo")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDo does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDo) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterDo.creator": + x.Creator = "" + case "cardchain.cardchain.MsgEncounterDo.encounterId": + x.EncounterId = uint64(0) + case "cardchain.cardchain.MsgEncounterDo.user": + x.User = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDo")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDo does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEncounterDo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgEncounterDo.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgEncounterDo.encounterId": + value := x.EncounterId + return protoreflect.ValueOfUint64(value) + case "cardchain.cardchain.MsgEncounterDo.user": + value := x.User + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDo")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDo does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterDo.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgEncounterDo.encounterId": + x.EncounterId = value.Uint() + case "cardchain.cardchain.MsgEncounterDo.user": + x.User = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDo")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDo does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterDo.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgEncounterDo is not mutable")) + case "cardchain.cardchain.MsgEncounterDo.encounterId": + panic(fmt.Errorf("field encounterId of message cardchain.cardchain.MsgEncounterDo is not mutable")) + case "cardchain.cardchain.MsgEncounterDo.user": + panic(fmt.Errorf("field user of message cardchain.cardchain.MsgEncounterDo is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDo")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDo does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEncounterDo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterDo.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgEncounterDo.encounterId": + return protoreflect.ValueOfUint64(uint64(0)) + case "cardchain.cardchain.MsgEncounterDo.user": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDo")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDo does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEncounterDo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEncounterDo", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEncounterDo) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDo) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEncounterDo) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEncounterDo) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEncounterDo) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.EncounterId != 0 { + n += 1 + runtime.Sov(uint64(x.EncounterId)) + } + l = len(x.User) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterDo) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.User) > 0 { + i -= len(x.User) + copy(dAtA[i:], x.User) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.User))) + i-- + dAtA[i] = 0x1a + } + if x.EncounterId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.EncounterId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterDo) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterDo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterDo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EncounterId", wireType) + } + x.EncounterId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.EncounterId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEncounterDoResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEncounterDoResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEncounterDoResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgEncounterDoResponse)(nil) + +type fastReflection_MsgEncounterDoResponse MsgEncounterDoResponse + +func (x *MsgEncounterDoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEncounterDoResponse)(x) +} + +func (x *MsgEncounterDoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEncounterDoResponse_messageType fastReflection_MsgEncounterDoResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgEncounterDoResponse_messageType{} + +type fastReflection_MsgEncounterDoResponse_messageType struct{} + +func (x fastReflection_MsgEncounterDoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEncounterDoResponse)(nil) +} +func (x fastReflection_MsgEncounterDoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEncounterDoResponse) +} +func (x fastReflection_MsgEncounterDoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterDoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEncounterDoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterDoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEncounterDoResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgEncounterDoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEncounterDoResponse) New() protoreflect.Message { + return new(fastReflection_MsgEncounterDoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEncounterDoResponse) Interface() protoreflect.ProtoMessage { + return (*MsgEncounterDoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEncounterDoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEncounterDoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDoResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDoResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEncounterDoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDoResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDoResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDoResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEncounterDoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterDoResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterDoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEncounterDoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEncounterDoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEncounterDoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterDoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEncounterDoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEncounterDoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEncounterDoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterDoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterDoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterDoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterDoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEncounterClose protoreflect.MessageDescriptor + fd_MsgEncounterClose_creator protoreflect.FieldDescriptor + fd_MsgEncounterClose_encounterId protoreflect.FieldDescriptor + fd_MsgEncounterClose_user protoreflect.FieldDescriptor + fd_MsgEncounterClose_won protoreflect.FieldDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEncounterClose = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEncounterClose") + fd_MsgEncounterClose_creator = md_MsgEncounterClose.Fields().ByName("creator") + fd_MsgEncounterClose_encounterId = md_MsgEncounterClose.Fields().ByName("encounterId") + fd_MsgEncounterClose_user = md_MsgEncounterClose.Fields().ByName("user") + fd_MsgEncounterClose_won = md_MsgEncounterClose.Fields().ByName("won") +} + +var _ protoreflect.Message = (*fastReflection_MsgEncounterClose)(nil) + +type fastReflection_MsgEncounterClose MsgEncounterClose + +func (x *MsgEncounterClose) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEncounterClose)(x) +} + +func (x *MsgEncounterClose) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEncounterClose_messageType fastReflection_MsgEncounterClose_messageType +var _ protoreflect.MessageType = fastReflection_MsgEncounterClose_messageType{} + +type fastReflection_MsgEncounterClose_messageType struct{} + +func (x fastReflection_MsgEncounterClose_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEncounterClose)(nil) +} +func (x fastReflection_MsgEncounterClose_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEncounterClose) +} +func (x fastReflection_MsgEncounterClose_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterClose +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEncounterClose) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterClose +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEncounterClose) Type() protoreflect.MessageType { + return _fastReflection_MsgEncounterClose_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEncounterClose) New() protoreflect.Message { + return new(fastReflection_MsgEncounterClose) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEncounterClose) Interface() protoreflect.ProtoMessage { + return (*MsgEncounterClose)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEncounterClose) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgEncounterClose_creator, value) { + return + } + } + if x.EncounterId != uint64(0) { + value := protoreflect.ValueOfUint64(x.EncounterId) + if !f(fd_MsgEncounterClose_encounterId, value) { + return + } + } + if x.User != "" { + value := protoreflect.ValueOfString(x.User) + if !f(fd_MsgEncounterClose_user, value) { + return + } + } + if x.Won != false { + value := protoreflect.ValueOfBool(x.Won) + if !f(fd_MsgEncounterClose_won, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEncounterClose) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterClose.creator": + return x.Creator != "" + case "cardchain.cardchain.MsgEncounterClose.encounterId": + return x.EncounterId != uint64(0) + case "cardchain.cardchain.MsgEncounterClose.user": + return x.User != "" + case "cardchain.cardchain.MsgEncounterClose.won": + return x.Won != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterClose")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterClose does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterClose) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterClose.creator": + x.Creator = "" + case "cardchain.cardchain.MsgEncounterClose.encounterId": + x.EncounterId = uint64(0) + case "cardchain.cardchain.MsgEncounterClose.user": + x.User = "" + case "cardchain.cardchain.MsgEncounterClose.won": + x.Won = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterClose")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterClose does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEncounterClose) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cardchain.cardchain.MsgEncounterClose.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgEncounterClose.encounterId": + value := x.EncounterId + return protoreflect.ValueOfUint64(value) + case "cardchain.cardchain.MsgEncounterClose.user": + value := x.User + return protoreflect.ValueOfString(value) + case "cardchain.cardchain.MsgEncounterClose.won": + value := x.Won + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterClose")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterClose does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterClose) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterClose.creator": + x.Creator = value.Interface().(string) + case "cardchain.cardchain.MsgEncounterClose.encounterId": + x.EncounterId = value.Uint() + case "cardchain.cardchain.MsgEncounterClose.user": + x.User = value.Interface().(string) + case "cardchain.cardchain.MsgEncounterClose.won": + x.Won = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterClose")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterClose does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterClose) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterClose.creator": + panic(fmt.Errorf("field creator of message cardchain.cardchain.MsgEncounterClose is not mutable")) + case "cardchain.cardchain.MsgEncounterClose.encounterId": + panic(fmt.Errorf("field encounterId of message cardchain.cardchain.MsgEncounterClose is not mutable")) + case "cardchain.cardchain.MsgEncounterClose.user": + panic(fmt.Errorf("field user of message cardchain.cardchain.MsgEncounterClose is not mutable")) + case "cardchain.cardchain.MsgEncounterClose.won": + panic(fmt.Errorf("field won of message cardchain.cardchain.MsgEncounterClose is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterClose")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterClose does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEncounterClose) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cardchain.cardchain.MsgEncounterClose.creator": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgEncounterClose.encounterId": + return protoreflect.ValueOfUint64(uint64(0)) + case "cardchain.cardchain.MsgEncounterClose.user": + return protoreflect.ValueOfString("") + case "cardchain.cardchain.MsgEncounterClose.won": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterClose")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterClose does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEncounterClose) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEncounterClose", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEncounterClose) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterClose) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEncounterClose) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEncounterClose) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEncounterClose) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.EncounterId != 0 { + n += 1 + runtime.Sov(uint64(x.EncounterId)) + } + l = len(x.User) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Won { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterClose) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Won { + i-- + if x.Won { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(x.User) > 0 { + i -= len(x.User) + copy(dAtA[i:], x.User) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.User))) + i-- + dAtA[i] = 0x1a + } + if x.EncounterId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.EncounterId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterClose) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterClose: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterClose: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EncounterId", wireType) + } + x.EncounterId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.EncounterId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.User = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Won", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Won = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgEncounterCloseResponse protoreflect.MessageDescriptor +) + +func init() { + file_cardchain_cardchain_tx_proto_init() + md_MsgEncounterCloseResponse = File_cardchain_cardchain_tx_proto.Messages().ByName("MsgEncounterCloseResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgEncounterCloseResponse)(nil) + +type fastReflection_MsgEncounterCloseResponse MsgEncounterCloseResponse + +func (x *MsgEncounterCloseResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEncounterCloseResponse)(x) +} + +func (x *MsgEncounterCloseResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEncounterCloseResponse_messageType fastReflection_MsgEncounterCloseResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgEncounterCloseResponse_messageType{} + +type fastReflection_MsgEncounterCloseResponse_messageType struct{} + +func (x fastReflection_MsgEncounterCloseResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEncounterCloseResponse)(nil) +} +func (x fastReflection_MsgEncounterCloseResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEncounterCloseResponse) +} +func (x fastReflection_MsgEncounterCloseResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterCloseResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEncounterCloseResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEncounterCloseResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEncounterCloseResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgEncounterCloseResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEncounterCloseResponse) New() protoreflect.Message { + return new(fastReflection_MsgEncounterCloseResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEncounterCloseResponse) Interface() protoreflect.ProtoMessage { + return (*MsgEncounterCloseResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEncounterCloseResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEncounterCloseResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCloseResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCloseResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCloseResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCloseResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCloseResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEncounterCloseResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCloseResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCloseResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCloseResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCloseResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCloseResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCloseResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCloseResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCloseResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEncounterCloseResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cardchain.cardchain.MsgEncounterCloseResponse")) + } + panic(fmt.Errorf("message cardchain.cardchain.MsgEncounterCloseResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEncounterCloseResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cardchain.cardchain.MsgEncounterCloseResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEncounterCloseResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEncounterCloseResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEncounterCloseResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEncounterCloseResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEncounterCloseResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterCloseResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEncounterCloseResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterCloseResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEncounterCloseResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 // protoc (unknown) // source: cardchain/cardchain/tx.proto -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MsgUpdateParams is the Msg/UpdateParams request type. +type MsgUpdateParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // authority is the address that controls the module (defaults to x/gov unless + // overwritten). + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // NOTE: All parameters must be supplied. + Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *MsgUpdateParams) Reset() { + *x = MsgUpdateParams{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParams) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *MsgUpdateParams) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgUpdateParams) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +type MsgUpdateParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgUpdateParamsResponse) Reset() { + *x = MsgUpdateParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParamsResponse) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{1} +} + +type MsgUserCreate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + NewUser string `protobuf:"bytes,2,opt,name=newUser,proto3" json:"newUser,omitempty"` + Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` +} + +func (x *MsgUserCreate) Reset() { + *x = MsgUserCreate{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUserCreate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUserCreate) ProtoMessage() {} + +// Deprecated: Use MsgUserCreate.ProtoReflect.Descriptor instead. +func (*MsgUserCreate) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{2} +} + +func (x *MsgUserCreate) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgUserCreate) GetNewUser() string { + if x != nil { + return x.NewUser + } + return "" +} + +func (x *MsgUserCreate) GetAlias() string { + if x != nil { + return x.Alias + } + return "" +} + +type MsgUserCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgUserCreateResponse) Reset() { + *x = MsgUserCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUserCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUserCreateResponse) ProtoMessage() {} + +// Deprecated: Use MsgUserCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgUserCreateResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{3} +} + +type MsgCardSchemeBuy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Bid *v1beta1.Coin `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid,omitempty"` +} + +func (x *MsgCardSchemeBuy) Reset() { + *x = MsgCardSchemeBuy{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardSchemeBuy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardSchemeBuy) ProtoMessage() {} + +// Deprecated: Use MsgCardSchemeBuy.ProtoReflect.Descriptor instead. +func (*MsgCardSchemeBuy) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{4} +} + +func (x *MsgCardSchemeBuy) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgCardSchemeBuy) GetBid() *v1beta1.Coin { + if x != nil { + return x.Bid + } + return nil +} + +type MsgCardSchemeBuyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CardId uint64 `protobuf:"varint,1,opt,name=cardId,proto3" json:"cardId,omitempty"` +} + +func (x *MsgCardSchemeBuyResponse) Reset() { + *x = MsgCardSchemeBuyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardSchemeBuyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardSchemeBuyResponse) ProtoMessage() {} + +// Deprecated: Use MsgCardSchemeBuyResponse.ProtoReflect.Descriptor instead. +func (*MsgCardSchemeBuyResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{5} +} + +func (x *MsgCardSchemeBuyResponse) GetCardId() uint64 { + if x != nil { + return x.CardId + } + return 0 +} + +type MsgCardSaveContent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` + Notes string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"` + Artist string `protobuf:"bytes,5,opt,name=artist,proto3" json:"artist,omitempty"` + BalanceAnchor bool `protobuf:"varint,6,opt,name=balanceAnchor,proto3" json:"balanceAnchor,omitempty"` +} + +func (x *MsgCardSaveContent) Reset() { + *x = MsgCardSaveContent{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardSaveContent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardSaveContent) ProtoMessage() {} + +// Deprecated: Use MsgCardSaveContent.ProtoReflect.Descriptor instead. +func (*MsgCardSaveContent) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{6} +} + +func (x *MsgCardSaveContent) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgCardSaveContent) GetCardId() uint64 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *MsgCardSaveContent) GetContent() []byte { + if x != nil { + return x.Content + } + return nil +} + +func (x *MsgCardSaveContent) GetNotes() string { + if x != nil { + return x.Notes + } + return "" +} + +func (x *MsgCardSaveContent) GetArtist() string { + if x != nil { + return x.Artist + } + return "" +} + +func (x *MsgCardSaveContent) GetBalanceAnchor() bool { + if x != nil { + return x.BalanceAnchor + } + return false +} + +type MsgCardSaveContentResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` +} + +func (x *MsgCardSaveContentResponse) Reset() { + *x = MsgCardSaveContentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardSaveContentResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardSaveContentResponse) ProtoMessage() {} + +// Deprecated: Use MsgCardSaveContentResponse.ProtoReflect.Descriptor instead. +func (*MsgCardSaveContentResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{7} +} + +func (x *MsgCardSaveContentResponse) GetAirdropClaimed() bool { + if x != nil { + return x.AirdropClaimed + } + return false +} + +type MsgCardVote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Vote *SingleVote `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` +} + +func (x *MsgCardVote) Reset() { + *x = MsgCardVote{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardVote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardVote) ProtoMessage() {} + +// Deprecated: Use MsgCardVote.ProtoReflect.Descriptor instead. +func (*MsgCardVote) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{8} +} + +func (x *MsgCardVote) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgCardVote) GetVote() *SingleVote { + if x != nil { + return x.Vote + } + return nil +} + +type MsgCardVoteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` +} + +func (x *MsgCardVoteResponse) Reset() { + *x = MsgCardVoteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardVoteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardVoteResponse) ProtoMessage() {} + +// Deprecated: Use MsgCardVoteResponse.ProtoReflect.Descriptor instead. +func (*MsgCardVoteResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{9} +} + +func (x *MsgCardVoteResponse) GetAirdropClaimed() bool { + if x != nil { + return x.AirdropClaimed + } + return false +} + +type MsgCardTransfer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` +} + +func (x *MsgCardTransfer) Reset() { + *x = MsgCardTransfer{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardTransfer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardTransfer) ProtoMessage() {} + +// Deprecated: Use MsgCardTransfer.ProtoReflect.Descriptor instead. +func (*MsgCardTransfer) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{10} +} + +func (x *MsgCardTransfer) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgCardTransfer) GetCardId() uint64 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *MsgCardTransfer) GetReceiver() string { + if x != nil { + return x.Receiver + } + return "" +} + +type MsgCardTransferResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} -// MsgUpdateParams is the Msg/UpdateParams request type. -type MsgUpdateParams struct { +func (x *MsgCardTransferResponse) Reset() { + *x = MsgCardTransferResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCardTransferResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardTransferResponse) ProtoMessage() {} + +// Deprecated: Use MsgCardTransferResponse.ProtoReflect.Descriptor instead. +func (*MsgCardTransferResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{11} +} + +type MsgCardDonate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // authority is the address that controls the module (defaults to x/gov unless - // overwritten). - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // NOTE: All parameters must be supplied. - Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *MsgUpdateParams) Reset() { - *x = MsgUpdateParams{} +func (x *MsgCardDonate) Reset() { + *x = MsgCardDonate{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[0] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgUpdateParams) String() string { +func (x *MsgCardDonate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgCardDonate) ProtoMessage() {} -// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{0} +// Deprecated: Use MsgCardDonate.ProtoReflect.Descriptor instead. +func (*MsgCardDonate) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{12} } -func (x *MsgUpdateParams) GetAuthority() string { +func (x *MsgCardDonate) GetCreator() string { if x != nil { - return x.Authority + return x.Creator } return "" } -func (x *MsgUpdateParams) GetParams() *Params { +func (x *MsgCardDonate) GetCardId() uint64 { if x != nil { - return x.Params + return x.CardId + } + return 0 +} + +func (x *MsgCardDonate) GetAmount() *v1beta1.Coin { + if x != nil { + return x.Amount } return nil } -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -type MsgUpdateParamsResponse struct { +type MsgCardDonateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgUpdateParamsResponse) Reset() { - *x = MsgUpdateParamsResponse{} +func (x *MsgCardDonateResponse) Reset() { + *x = MsgCardDonateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[1] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgUpdateParamsResponse) String() string { +func (x *MsgCardDonateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgCardDonateResponse) ProtoMessage() {} -// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{1} +// Deprecated: Use MsgCardDonateResponse.ProtoReflect.Descriptor instead. +func (*MsgCardDonateResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{13} } -type MsgUserCreate struct { +type MsgCardArtworkAdd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - NewUser string `protobuf:"bytes,2,opt,name=newUser,proto3" json:"newUser,omitempty"` - Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Image []byte `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` + FullArt bool `protobuf:"varint,4,opt,name=fullArt,proto3" json:"fullArt,omitempty"` } -func (x *MsgUserCreate) Reset() { - *x = MsgUserCreate{} +func (x *MsgCardArtworkAdd) Reset() { + *x = MsgCardArtworkAdd{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[2] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgUserCreate) String() string { +func (x *MsgCardArtworkAdd) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgUserCreate) ProtoMessage() {} +func (*MsgCardArtworkAdd) ProtoMessage() {} -// Deprecated: Use MsgUserCreate.ProtoReflect.Descriptor instead. -func (*MsgUserCreate) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{2} +// Deprecated: Use MsgCardArtworkAdd.ProtoReflect.Descriptor instead. +func (*MsgCardArtworkAdd) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{14} } -func (x *MsgUserCreate) GetCreator() string { +func (x *MsgCardArtworkAdd) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgUserCreate) GetNewUser() string { +func (x *MsgCardArtworkAdd) GetCardId() uint64 { if x != nil { - return x.NewUser + return x.CardId } - return "" + return 0 } -func (x *MsgUserCreate) GetAlias() string { +func (x *MsgCardArtworkAdd) GetImage() []byte { if x != nil { - return x.Alias + return x.Image } - return "" + return nil } -type MsgUserCreateResponse struct { +func (x *MsgCardArtworkAdd) GetFullArt() bool { + if x != nil { + return x.FullArt + } + return false +} + +type MsgCardArtworkAddResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgUserCreateResponse) Reset() { - *x = MsgUserCreateResponse{} +func (x *MsgCardArtworkAddResponse) Reset() { + *x = MsgCardArtworkAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[3] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgUserCreateResponse) String() string { +func (x *MsgCardArtworkAddResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgUserCreateResponse) ProtoMessage() {} +func (*MsgCardArtworkAddResponse) ProtoMessage() {} -// Deprecated: Use MsgUserCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgUserCreateResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{3} +// Deprecated: Use MsgCardArtworkAddResponse.ProtoReflect.Descriptor instead. +func (*MsgCardArtworkAddResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{15} } -type MsgCardSchemeBuy struct { +type MsgCardArtistChange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Bid *v1beta1.Coin `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Artist string `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` } -func (x *MsgCardSchemeBuy) Reset() { - *x = MsgCardSchemeBuy{} +func (x *MsgCardArtistChange) Reset() { + *x = MsgCardArtistChange{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[4] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardSchemeBuy) String() string { +func (x *MsgCardArtistChange) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardSchemeBuy) ProtoMessage() {} +func (*MsgCardArtistChange) ProtoMessage() {} -// Deprecated: Use MsgCardSchemeBuy.ProtoReflect.Descriptor instead. -func (*MsgCardSchemeBuy) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{4} +// Deprecated: Use MsgCardArtistChange.ProtoReflect.Descriptor instead. +func (*MsgCardArtistChange) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{16} } -func (x *MsgCardSchemeBuy) GetCreator() string { +func (x *MsgCardArtistChange) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardSchemeBuy) GetBid() *v1beta1.Coin { +func (x *MsgCardArtistChange) GetCardId() uint64 { if x != nil { - return x.Bid + return x.CardId } - return nil + return 0 } -type MsgCardSchemeBuyResponse struct { +func (x *MsgCardArtistChange) GetArtist() string { + if x != nil { + return x.Artist + } + return "" +} + +type MsgCardArtistChangeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields +} - CardId uint64 `protobuf:"varint,1,opt,name=cardId,proto3" json:"cardId,omitempty"` +func (x *MsgCardArtistChangeResponse) Reset() { + *x = MsgCardArtistChangeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (x *MsgCardSchemeBuyResponse) Reset() { - *x = MsgCardSchemeBuyResponse{} +func (x *MsgCardArtistChangeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCardArtistChangeResponse) ProtoMessage() {} + +// Deprecated: Use MsgCardArtistChangeResponse.ProtoReflect.Descriptor instead. +func (*MsgCardArtistChangeResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{17} +} + +type MsgCouncilRegister struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` +} + +func (x *MsgCouncilRegister) Reset() { + *x = MsgCouncilRegister{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[5] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardSchemeBuyResponse) String() string { +func (x *MsgCouncilRegister) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardSchemeBuyResponse) ProtoMessage() {} +func (*MsgCouncilRegister) ProtoMessage() {} -// Deprecated: Use MsgCardSchemeBuyResponse.ProtoReflect.Descriptor instead. -func (*MsgCardSchemeBuyResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{5} +// Deprecated: Use MsgCouncilRegister.ProtoReflect.Descriptor instead. +func (*MsgCouncilRegister) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{18} } -func (x *MsgCardSchemeBuyResponse) GetCardId() uint64 { +func (x *MsgCouncilRegister) GetCreator() string { if x != nil { - return x.CardId + return x.Creator } - return 0 + return "" } -type MsgCardSaveContent struct { +type MsgCouncilRegisterResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields +} - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` - Notes string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"` - Artist string `protobuf:"bytes,5,opt,name=artist,proto3" json:"artist,omitempty"` - BalanceAnchor bool `protobuf:"varint,6,opt,name=balanceAnchor,proto3" json:"balanceAnchor,omitempty"` +func (x *MsgCouncilRegisterResponse) Reset() { + *x = MsgCouncilRegisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (x *MsgCardSaveContent) Reset() { - *x = MsgCardSaveContent{} +func (x *MsgCouncilRegisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCouncilRegisterResponse) ProtoMessage() {} + +// Deprecated: Use MsgCouncilRegisterResponse.ProtoReflect.Descriptor instead. +func (*MsgCouncilRegisterResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{19} +} + +type MsgCouncilDeregister struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` +} + +func (x *MsgCouncilDeregister) Reset() { + *x = MsgCouncilDeregister{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[6] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardSaveContent) String() string { +func (x *MsgCouncilDeregister) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardSaveContent) ProtoMessage() {} +func (*MsgCouncilDeregister) ProtoMessage() {} -// Deprecated: Use MsgCardSaveContent.ProtoReflect.Descriptor instead. -func (*MsgCardSaveContent) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{6} +// Deprecated: Use MsgCouncilDeregister.ProtoReflect.Descriptor instead. +func (*MsgCouncilDeregister) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{20} } -func (x *MsgCardSaveContent) GetCreator() string { +func (x *MsgCouncilDeregister) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardSaveContent) GetCardId() uint64 { +type MsgCouncilDeregisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgCouncilDeregisterResponse) Reset() { + *x = MsgCouncilDeregisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgCouncilDeregisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgCouncilDeregisterResponse) ProtoMessage() {} + +// Deprecated: Use MsgCouncilDeregisterResponse.ProtoReflect.Descriptor instead. +func (*MsgCouncilDeregisterResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{21} +} + +type MsgMatchReport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + MatchId uint64 `protobuf:"varint,2,opt,name=matchId,proto3" json:"matchId,omitempty"` + PlayedCardsA []uint64 `protobuf:"varint,3,rep,packed,name=playedCardsA,proto3" json:"playedCardsA,omitempty"` + PlayedCardsB []uint64 `protobuf:"varint,4,rep,packed,name=playedCardsB,proto3" json:"playedCardsB,omitempty"` + Outcome Outcome `protobuf:"varint,5,opt,name=outcome,proto3,enum=cardchain.cardchain.Outcome" json:"outcome,omitempty"` +} + +func (x *MsgMatchReport) Reset() { + *x = MsgMatchReport{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgMatchReport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgMatchReport) ProtoMessage() {} + +// Deprecated: Use MsgMatchReport.ProtoReflect.Descriptor instead. +func (*MsgMatchReport) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{22} +} + +func (x *MsgMatchReport) GetCreator() string { if x != nil { - return x.CardId + return x.Creator } - return 0 + return "" } -func (x *MsgCardSaveContent) GetContent() []byte { +func (x *MsgMatchReport) GetMatchId() uint64 { if x != nil { - return x.Content + return x.MatchId } - return nil + return 0 } -func (x *MsgCardSaveContent) GetNotes() string { +func (x *MsgMatchReport) GetPlayedCardsA() []uint64 { if x != nil { - return x.Notes + return x.PlayedCardsA } - return "" + return nil } -func (x *MsgCardSaveContent) GetArtist() string { +func (x *MsgMatchReport) GetPlayedCardsB() []uint64 { if x != nil { - return x.Artist + return x.PlayedCardsB } - return "" + return nil } -func (x *MsgCardSaveContent) GetBalanceAnchor() bool { +func (x *MsgMatchReport) GetOutcome() Outcome { if x != nil { - return x.BalanceAnchor + return x.Outcome } - return false + return Outcome_AWon } -type MsgCardSaveContentResponse struct { +type MsgMatchReportResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` } -func (x *MsgCardSaveContentResponse) Reset() { - *x = MsgCardSaveContentResponse{} +func (x *MsgMatchReportResponse) Reset() { + *x = MsgMatchReportResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[7] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardSaveContentResponse) String() string { +func (x *MsgMatchReportResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardSaveContentResponse) ProtoMessage() {} - -// Deprecated: Use MsgCardSaveContentResponse.ProtoReflect.Descriptor instead. -func (*MsgCardSaveContentResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{7} -} +func (*MsgMatchReportResponse) ProtoMessage() {} -func (x *MsgCardSaveContentResponse) GetAirdropClaimed() bool { - if x != nil { - return x.AirdropClaimed - } - return false +// Deprecated: Use MsgMatchReportResponse.ProtoReflect.Descriptor instead. +func (*MsgMatchReportResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{23} } -type MsgCardVote struct { +type MsgCouncilCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Vote *SingleVote `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` } -func (x *MsgCardVote) Reset() { - *x = MsgCardVote{} +func (x *MsgCouncilCreate) Reset() { + *x = MsgCouncilCreate{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[8] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardVote) String() string { +func (x *MsgCouncilCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardVote) ProtoMessage() {} +func (*MsgCouncilCreate) ProtoMessage() {} -// Deprecated: Use MsgCardVote.ProtoReflect.Descriptor instead. -func (*MsgCardVote) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{8} +// Deprecated: Use MsgCouncilCreate.ProtoReflect.Descriptor instead. +func (*MsgCouncilCreate) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{24} } -func (x *MsgCardVote) GetCreator() string { +func (x *MsgCouncilCreate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardVote) GetVote() *SingleVote { +func (x *MsgCouncilCreate) GetCardId() uint64 { if x != nil { - return x.Vote + return x.CardId } - return nil + return 0 } -type MsgCardVoteResponse struct { +type MsgCouncilCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` } -func (x *MsgCardVoteResponse) Reset() { - *x = MsgCardVoteResponse{} +func (x *MsgCouncilCreateResponse) Reset() { + *x = MsgCouncilCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[9] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardVoteResponse) String() string { +func (x *MsgCouncilCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardVoteResponse) ProtoMessage() {} - -// Deprecated: Use MsgCardVoteResponse.ProtoReflect.Descriptor instead. -func (*MsgCardVoteResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{9} -} +func (*MsgCouncilCreateResponse) ProtoMessage() {} -func (x *MsgCardVoteResponse) GetAirdropClaimed() bool { - if x != nil { - return x.AirdropClaimed - } - return false +// Deprecated: Use MsgCouncilCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgCouncilCreateResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{25} } -type MsgCardTransfer struct { +type MsgMatchReporterAppoint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` + Reporter string `protobuf:"bytes,2,opt,name=reporter,proto3" json:"reporter,omitempty"` } -func (x *MsgCardTransfer) Reset() { - *x = MsgCardTransfer{} +func (x *MsgMatchReporterAppoint) Reset() { + *x = MsgMatchReporterAppoint{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[10] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardTransfer) String() string { +func (x *MsgMatchReporterAppoint) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardTransfer) ProtoMessage() {} +func (*MsgMatchReporterAppoint) ProtoMessage() {} -// Deprecated: Use MsgCardTransfer.ProtoReflect.Descriptor instead. -func (*MsgCardTransfer) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{10} +// Deprecated: Use MsgMatchReporterAppoint.ProtoReflect.Descriptor instead. +func (*MsgMatchReporterAppoint) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{26} } -func (x *MsgCardTransfer) GetCreator() string { +func (x *MsgMatchReporterAppoint) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardTransfer) GetCardId() uint64 { - if x != nil { - return x.CardId - } - return 0 -} - -func (x *MsgCardTransfer) GetReceiver() string { +func (x *MsgMatchReporterAppoint) GetReporter() string { if x != nil { - return x.Receiver + return x.Reporter } return "" } -type MsgCardTransferResponse struct { +type MsgMatchReporterAppointResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCardTransferResponse) Reset() { - *x = MsgCardTransferResponse{} +func (x *MsgMatchReporterAppointResponse) Reset() { + *x = MsgMatchReporterAppointResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[11] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardTransferResponse) String() string { +func (x *MsgMatchReporterAppointResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardTransferResponse) ProtoMessage() {} +func (*MsgMatchReporterAppointResponse) ProtoMessage() {} -// Deprecated: Use MsgCardTransferResponse.ProtoReflect.Descriptor instead. -func (*MsgCardTransferResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{11} +// Deprecated: Use MsgMatchReporterAppointResponse.ProtoReflect.Descriptor instead. +func (*MsgMatchReporterAppointResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{27} } -type MsgCardDonate struct { +type MsgSetCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - Amount *v1beta1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Artist string `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` + StoryWriter string `protobuf:"bytes,4,opt,name=storyWriter,proto3" json:"storyWriter,omitempty"` + Contributors []string `protobuf:"bytes,5,rep,name=contributors,proto3" json:"contributors,omitempty"` } -func (x *MsgCardDonate) Reset() { - *x = MsgCardDonate{} +func (x *MsgSetCreate) Reset() { + *x = MsgSetCreate{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[12] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardDonate) String() string { +func (x *MsgSetCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardDonate) ProtoMessage() {} +func (*MsgSetCreate) ProtoMessage() {} -// Deprecated: Use MsgCardDonate.ProtoReflect.Descriptor instead. -func (*MsgCardDonate) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{12} +// Deprecated: Use MsgSetCreate.ProtoReflect.Descriptor instead. +func (*MsgSetCreate) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{28} } -func (x *MsgCardDonate) GetCreator() string { +func (x *MsgSetCreate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardDonate) GetCardId() uint64 { +func (x *MsgSetCreate) GetName() string { if x != nil { - return x.CardId + return x.Name } - return 0 + return "" } -func (x *MsgCardDonate) GetAmount() *v1beta1.Coin { +func (x *MsgSetCreate) GetArtist() string { if x != nil { - return x.Amount + return x.Artist + } + return "" +} + +func (x *MsgSetCreate) GetStoryWriter() string { + if x != nil { + return x.StoryWriter + } + return "" +} + +func (x *MsgSetCreate) GetContributors() []string { + if x != nil { + return x.Contributors } return nil } -type MsgCardDonateResponse struct { +type MsgSetCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCardDonateResponse) Reset() { - *x = MsgCardDonateResponse{} +func (x *MsgSetCreateResponse) Reset() { + *x = MsgSetCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[13] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardDonateResponse) String() string { +func (x *MsgSetCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardDonateResponse) ProtoMessage() {} +func (*MsgSetCreateResponse) ProtoMessage() {} -// Deprecated: Use MsgCardDonateResponse.ProtoReflect.Descriptor instead. -func (*MsgCardDonateResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{13} +// Deprecated: Use MsgSetCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgSetCreateResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{29} } -type MsgCardArtworkAdd struct { +type MsgSetCardAdd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - Image []byte `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` - FullArt bool `protobuf:"varint,4,opt,name=fullArt,proto3" json:"fullArt,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + CardId uint64 `protobuf:"varint,3,opt,name=cardId,proto3" json:"cardId,omitempty"` } -func (x *MsgCardArtworkAdd) Reset() { - *x = MsgCardArtworkAdd{} +func (x *MsgSetCardAdd) Reset() { + *x = MsgSetCardAdd{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[14] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardArtworkAdd) String() string { +func (x *MsgSetCardAdd) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardArtworkAdd) ProtoMessage() {} +func (*MsgSetCardAdd) ProtoMessage() {} -// Deprecated: Use MsgCardArtworkAdd.ProtoReflect.Descriptor instead. -func (*MsgCardArtworkAdd) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{14} +// Deprecated: Use MsgSetCardAdd.ProtoReflect.Descriptor instead. +func (*MsgSetCardAdd) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{30} } -func (x *MsgCardArtworkAdd) GetCreator() string { +func (x *MsgSetCardAdd) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardArtworkAdd) GetCardId() uint64 { +func (x *MsgSetCardAdd) GetSetId() uint64 { if x != nil { - return x.CardId + return x.SetId } return 0 } -func (x *MsgCardArtworkAdd) GetImage() []byte { - if x != nil { - return x.Image - } - return nil -} - -func (x *MsgCardArtworkAdd) GetFullArt() bool { +func (x *MsgSetCardAdd) GetCardId() uint64 { if x != nil { - return x.FullArt + return x.CardId } - return false + return 0 } -type MsgCardArtworkAddResponse struct { +type MsgSetCardAddResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCardArtworkAddResponse) Reset() { - *x = MsgCardArtworkAddResponse{} +func (x *MsgSetCardAddResponse) Reset() { + *x = MsgSetCardAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[15] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardArtworkAddResponse) String() string { +func (x *MsgSetCardAddResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardArtworkAddResponse) ProtoMessage() {} +func (*MsgSetCardAddResponse) ProtoMessage() {} -// Deprecated: Use MsgCardArtworkAddResponse.ProtoReflect.Descriptor instead. -func (*MsgCardArtworkAddResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{15} +// Deprecated: Use MsgSetCardAddResponse.ProtoReflect.Descriptor instead. +func (*MsgSetCardAddResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{31} } -type MsgCardArtistChange struct { +type MsgSetCardRemove struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - Artist string `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + CardId uint64 `protobuf:"varint,3,opt,name=cardId,proto3" json:"cardId,omitempty"` } -func (x *MsgCardArtistChange) Reset() { - *x = MsgCardArtistChange{} +func (x *MsgSetCardRemove) Reset() { + *x = MsgSetCardRemove{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[16] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardArtistChange) String() string { +func (x *MsgSetCardRemove) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardArtistChange) ProtoMessage() {} +func (*MsgSetCardRemove) ProtoMessage() {} -// Deprecated: Use MsgCardArtistChange.ProtoReflect.Descriptor instead. -func (*MsgCardArtistChange) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{16} +// Deprecated: Use MsgSetCardRemove.ProtoReflect.Descriptor instead. +func (*MsgSetCardRemove) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{32} } -func (x *MsgCardArtistChange) GetCreator() string { +func (x *MsgSetCardRemove) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardArtistChange) GetCardId() uint64 { +func (x *MsgSetCardRemove) GetSetId() uint64 { if x != nil { - return x.CardId + return x.SetId } return 0 } -func (x *MsgCardArtistChange) GetArtist() string { +func (x *MsgSetCardRemove) GetCardId() uint64 { if x != nil { - return x.Artist + return x.CardId } - return "" + return 0 } -type MsgCardArtistChangeResponse struct { +type MsgSetCardRemoveResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCardArtistChangeResponse) Reset() { - *x = MsgCardArtistChangeResponse{} +func (x *MsgSetCardRemoveResponse) Reset() { + *x = MsgSetCardRemoveResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[17] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardArtistChangeResponse) String() string { +func (x *MsgSetCardRemoveResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardArtistChangeResponse) ProtoMessage() {} +func (*MsgSetCardRemoveResponse) ProtoMessage() {} -// Deprecated: Use MsgCardArtistChangeResponse.ProtoReflect.Descriptor instead. -func (*MsgCardArtistChangeResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{17} +// Deprecated: Use MsgSetCardRemoveResponse.ProtoReflect.Descriptor instead. +func (*MsgSetCardRemoveResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{33} } -type MsgCouncilRegister struct { +type MsgSetContributorAdd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (x *MsgCouncilRegister) Reset() { - *x = MsgCouncilRegister{} +func (x *MsgSetContributorAdd) Reset() { + *x = MsgSetContributorAdd{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[18] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilRegister) String() string { +func (x *MsgSetContributorAdd) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilRegister) ProtoMessage() {} +func (*MsgSetContributorAdd) ProtoMessage() {} -// Deprecated: Use MsgCouncilRegister.ProtoReflect.Descriptor instead. -func (*MsgCouncilRegister) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{18} +// Deprecated: Use MsgSetContributorAdd.ProtoReflect.Descriptor instead. +func (*MsgSetContributorAdd) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{34} } -func (x *MsgCouncilRegister) GetCreator() string { +func (x *MsgSetContributorAdd) GetCreator() string { if x != nil { return x.Creator } return "" } -type MsgCouncilRegisterResponse struct { +func (x *MsgSetContributorAdd) GetSetId() uint64 { + if x != nil { + return x.SetId + } + return 0 +} + +func (x *MsgSetContributorAdd) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +type MsgSetContributorAddResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCouncilRegisterResponse) Reset() { - *x = MsgCouncilRegisterResponse{} +func (x *MsgSetContributorAddResponse) Reset() { + *x = MsgSetContributorAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[19] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilRegisterResponse) String() string { +func (x *MsgSetContributorAddResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilRegisterResponse) ProtoMessage() {} +func (*MsgSetContributorAddResponse) ProtoMessage() {} -// Deprecated: Use MsgCouncilRegisterResponse.ProtoReflect.Descriptor instead. -func (*MsgCouncilRegisterResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{19} +// Deprecated: Use MsgSetContributorAddResponse.ProtoReflect.Descriptor instead. +func (*MsgSetContributorAddResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{35} } -type MsgCouncilDeregister struct { +type MsgSetContributorRemove struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (x *MsgCouncilDeregister) Reset() { - *x = MsgCouncilDeregister{} +func (x *MsgSetContributorRemove) Reset() { + *x = MsgSetContributorRemove{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[20] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilDeregister) String() string { +func (x *MsgSetContributorRemove) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilDeregister) ProtoMessage() {} +func (*MsgSetContributorRemove) ProtoMessage() {} -// Deprecated: Use MsgCouncilDeregister.ProtoReflect.Descriptor instead. -func (*MsgCouncilDeregister) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{20} +// Deprecated: Use MsgSetContributorRemove.ProtoReflect.Descriptor instead. +func (*MsgSetContributorRemove) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{36} } -func (x *MsgCouncilDeregister) GetCreator() string { +func (x *MsgSetContributorRemove) GetCreator() string { if x != nil { return x.Creator } return "" } -type MsgCouncilDeregisterResponse struct { +func (x *MsgSetContributorRemove) GetSetId() uint64 { + if x != nil { + return x.SetId + } + return 0 +} + +func (x *MsgSetContributorRemove) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +type MsgSetContributorRemoveResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCouncilDeregisterResponse) Reset() { - *x = MsgCouncilDeregisterResponse{} +func (x *MsgSetContributorRemoveResponse) Reset() { + *x = MsgSetContributorRemoveResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[21] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilDeregisterResponse) String() string { +func (x *MsgSetContributorRemoveResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilDeregisterResponse) ProtoMessage() {} +func (*MsgSetContributorRemoveResponse) ProtoMessage() {} -// Deprecated: Use MsgCouncilDeregisterResponse.ProtoReflect.Descriptor instead. -func (*MsgCouncilDeregisterResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{21} +// Deprecated: Use MsgSetContributorRemoveResponse.ProtoReflect.Descriptor instead. +func (*MsgSetContributorRemoveResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{37} } -type MsgMatchReport struct { +type MsgSetFinalize struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - MatchId uint64 `protobuf:"varint,2,opt,name=matchId,proto3" json:"matchId,omitempty"` - PlayedCardsA []uint64 `protobuf:"varint,3,rep,packed,name=playedCardsA,proto3" json:"playedCardsA,omitempty"` - PlayedCardsB []uint64 `protobuf:"varint,4,rep,packed,name=playedCardsB,proto3" json:"playedCardsB,omitempty"` - Outcome Outcome `protobuf:"varint,5,opt,name=outcome,proto3,enum=cardchain.cardchain.Outcome" json:"outcome,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` } -func (x *MsgMatchReport) Reset() { - *x = MsgMatchReport{} +func (x *MsgSetFinalize) Reset() { + *x = MsgSetFinalize{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[22] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgMatchReport) String() string { +func (x *MsgSetFinalize) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgMatchReport) ProtoMessage() {} +func (*MsgSetFinalize) ProtoMessage() {} -// Deprecated: Use MsgMatchReport.ProtoReflect.Descriptor instead. -func (*MsgMatchReport) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{22} +// Deprecated: Use MsgSetFinalize.ProtoReflect.Descriptor instead. +func (*MsgSetFinalize) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{38} } -func (x *MsgMatchReport) GetCreator() string { +func (x *MsgSetFinalize) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgMatchReport) GetMatchId() uint64 { +func (x *MsgSetFinalize) GetSetId() uint64 { if x != nil { - return x.MatchId + return x.SetId } return 0 } -func (x *MsgMatchReport) GetPlayedCardsA() []uint64 { - if x != nil { - return x.PlayedCardsA - } - return nil -} - -func (x *MsgMatchReport) GetPlayedCardsB() []uint64 { - if x != nil { - return x.PlayedCardsB - } - return nil -} - -func (x *MsgMatchReport) GetOutcome() Outcome { - if x != nil { - return x.Outcome - } - return Outcome_AWon -} - -type MsgMatchReportResponse struct { +type MsgSetFinalizeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgMatchReportResponse) Reset() { - *x = MsgMatchReportResponse{} +func (x *MsgSetFinalizeResponse) Reset() { + *x = MsgSetFinalizeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[23] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgMatchReportResponse) String() string { +func (x *MsgSetFinalizeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgMatchReportResponse) ProtoMessage() {} +func (*MsgSetFinalizeResponse) ProtoMessage() {} -// Deprecated: Use MsgMatchReportResponse.ProtoReflect.Descriptor instead. -func (*MsgMatchReportResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{23} +// Deprecated: Use MsgSetFinalizeResponse.ProtoReflect.Descriptor instead. +func (*MsgSetFinalizeResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{39} } -type MsgCouncilCreate struct { +type MsgSetArtworkAdd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Image []byte `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` } -func (x *MsgCouncilCreate) Reset() { - *x = MsgCouncilCreate{} +func (x *MsgSetArtworkAdd) Reset() { + *x = MsgSetArtworkAdd{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[24] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilCreate) String() string { +func (x *MsgSetArtworkAdd) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilCreate) ProtoMessage() {} +func (*MsgSetArtworkAdd) ProtoMessage() {} -// Deprecated: Use MsgCouncilCreate.ProtoReflect.Descriptor instead. -func (*MsgCouncilCreate) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{24} +// Deprecated: Use MsgSetArtworkAdd.ProtoReflect.Descriptor instead. +func (*MsgSetArtworkAdd) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{40} } -func (x *MsgCouncilCreate) GetCreator() string { +func (x *MsgSetArtworkAdd) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCouncilCreate) GetCardId() uint64 { +func (x *MsgSetArtworkAdd) GetSetId() uint64 { if x != nil { - return x.CardId + return x.SetId } return 0 } -type MsgCouncilCreateResponse struct { +func (x *MsgSetArtworkAdd) GetImage() []byte { + if x != nil { + return x.Image + } + return nil +} + +type MsgSetArtworkAddResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCouncilCreateResponse) Reset() { - *x = MsgCouncilCreateResponse{} +func (x *MsgSetArtworkAddResponse) Reset() { + *x = MsgSetArtworkAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[25] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilCreateResponse) String() string { +func (x *MsgSetArtworkAddResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilCreateResponse) ProtoMessage() {} +func (*MsgSetArtworkAddResponse) ProtoMessage() {} -// Deprecated: Use MsgCouncilCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgCouncilCreateResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{25} +// Deprecated: Use MsgSetArtworkAddResponse.ProtoReflect.Descriptor instead. +func (*MsgSetArtworkAddResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{41} } -type MsgMatchReporterAppoint struct { +type MsgSetStoryAdd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Reporter string `protobuf:"bytes,2,opt,name=reporter,proto3" json:"reporter,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Story string `protobuf:"bytes,3,opt,name=story,proto3" json:"story,omitempty"` } -func (x *MsgMatchReporterAppoint) Reset() { - *x = MsgMatchReporterAppoint{} +func (x *MsgSetStoryAdd) Reset() { + *x = MsgSetStoryAdd{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[26] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgMatchReporterAppoint) String() string { +func (x *MsgSetStoryAdd) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgMatchReporterAppoint) ProtoMessage() {} +func (*MsgSetStoryAdd) ProtoMessage() {} -// Deprecated: Use MsgMatchReporterAppoint.ProtoReflect.Descriptor instead. -func (*MsgMatchReporterAppoint) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{26} +// Deprecated: Use MsgSetStoryAdd.ProtoReflect.Descriptor instead. +func (*MsgSetStoryAdd) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{42} } -func (x *MsgMatchReporterAppoint) GetCreator() string { +func (x *MsgSetStoryAdd) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgMatchReporterAppoint) GetReporter() string { +func (x *MsgSetStoryAdd) GetSetId() uint64 { if x != nil { - return x.Reporter + return x.SetId + } + return 0 +} + +func (x *MsgSetStoryAdd) GetStory() string { + if x != nil { + return x.Story } return "" } -type MsgMatchReporterAppointResponse struct { +type MsgSetStoryAddResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgMatchReporterAppointResponse) Reset() { - *x = MsgMatchReporterAppointResponse{} +func (x *MsgSetStoryAddResponse) Reset() { + *x = MsgSetStoryAddResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[27] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgMatchReporterAppointResponse) String() string { +func (x *MsgSetStoryAddResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgMatchReporterAppointResponse) ProtoMessage() {} +func (*MsgSetStoryAddResponse) ProtoMessage() {} -// Deprecated: Use MsgMatchReporterAppointResponse.ProtoReflect.Descriptor instead. -func (*MsgMatchReporterAppointResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{27} +// Deprecated: Use MsgSetStoryAddResponse.ProtoReflect.Descriptor instead. +func (*MsgSetStoryAddResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{43} } -type MsgSetCreate struct { +type MsgBoosterPackBuy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Artist string `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` - StoryWriter string `protobuf:"bytes,4,opt,name=storyWriter,proto3" json:"storyWriter,omitempty"` - Contributors []string `protobuf:"bytes,5,rep,name=contributors,proto3" json:"contributors,omitempty"` -} - -func (x *MsgSetCreate) Reset() { - *x = MsgSetCreate{} - if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgSetCreate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgSetCreate) ProtoMessage() {} - -// Deprecated: Use MsgSetCreate.ProtoReflect.Descriptor instead. -func (*MsgSetCreate) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{28} -} - -func (x *MsgSetCreate) GetCreator() string { - if x != nil { - return x.Creator - } - return "" + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` } -func (x *MsgSetCreate) GetName() string { - if x != nil { - return x.Name +func (x *MsgBoosterPackBuy) Reset() { + *x = MsgBoosterPackBuy{} + if protoimpl.UnsafeEnabled { + mi := &file_cardchain_cardchain_tx_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MsgSetCreate) GetArtist() string { - if x != nil { - return x.Artist - } - return "" +func (x *MsgBoosterPackBuy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *MsgSetCreate) GetStoryWriter() string { +func (*MsgBoosterPackBuy) ProtoMessage() {} + +// Deprecated: Use MsgBoosterPackBuy.ProtoReflect.Descriptor instead. +func (*MsgBoosterPackBuy) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{44} +} + +func (x *MsgBoosterPackBuy) GetCreator() string { if x != nil { - return x.StoryWriter + return x.Creator } return "" } -func (x *MsgSetCreate) GetContributors() []string { +func (x *MsgBoosterPackBuy) GetSetId() uint64 { if x != nil { - return x.Contributors + return x.SetId } - return nil + return 0 } -type MsgSetCreateResponse struct { +type MsgBoosterPackBuyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` } -func (x *MsgSetCreateResponse) Reset() { - *x = MsgSetCreateResponse{} +func (x *MsgBoosterPackBuyResponse) Reset() { + *x = MsgBoosterPackBuyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[29] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetCreateResponse) String() string { +func (x *MsgBoosterPackBuyResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetCreateResponse) ProtoMessage() {} +func (*MsgBoosterPackBuyResponse) ProtoMessage() {} -// Deprecated: Use MsgSetCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgSetCreateResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{29} +// Deprecated: Use MsgBoosterPackBuyResponse.ProtoReflect.Descriptor instead. +func (*MsgBoosterPackBuyResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{45} } -type MsgSetCardAdd struct { +func (x *MsgBoosterPackBuyResponse) GetAirdropClaimed() bool { + if x != nil { + return x.AirdropClaimed + } + return false +} + +type MsgSellOfferCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - CardId uint64 `protobuf:"varint,3,opt,name=cardId,proto3" json:"cardId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Price *v1beta1.Coin `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` } -func (x *MsgSetCardAdd) Reset() { - *x = MsgSetCardAdd{} +func (x *MsgSellOfferCreate) Reset() { + *x = MsgSellOfferCreate{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[30] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetCardAdd) String() string { +func (x *MsgSellOfferCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetCardAdd) ProtoMessage() {} +func (*MsgSellOfferCreate) ProtoMessage() {} -// Deprecated: Use MsgSetCardAdd.ProtoReflect.Descriptor instead. -func (*MsgSetCardAdd) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{30} +// Deprecated: Use MsgSellOfferCreate.ProtoReflect.Descriptor instead. +func (*MsgSellOfferCreate) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{46} } -func (x *MsgSetCardAdd) GetCreator() string { +func (x *MsgSellOfferCreate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetCardAdd) GetSetId() uint64 { +func (x *MsgSellOfferCreate) GetCardId() uint64 { if x != nil { - return x.SetId + return x.CardId } return 0 } -func (x *MsgSetCardAdd) GetCardId() uint64 { +func (x *MsgSellOfferCreate) GetPrice() *v1beta1.Coin { if x != nil { - return x.CardId + return x.Price } - return 0 + return nil } -type MsgSetCardAddResponse struct { +type MsgSellOfferCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetCardAddResponse) Reset() { - *x = MsgSetCardAddResponse{} +func (x *MsgSellOfferCreateResponse) Reset() { + *x = MsgSellOfferCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[31] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetCardAddResponse) String() string { +func (x *MsgSellOfferCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetCardAddResponse) ProtoMessage() {} +func (*MsgSellOfferCreateResponse) ProtoMessage() {} -// Deprecated: Use MsgSetCardAddResponse.ProtoReflect.Descriptor instead. -func (*MsgSetCardAddResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{31} +// Deprecated: Use MsgSellOfferCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgSellOfferCreateResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{47} } -type MsgSetCardRemove struct { +type MsgSellOfferBuy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - CardId uint64 `protobuf:"varint,3,opt,name=cardId,proto3" json:"cardId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SellOfferId uint64 `protobuf:"varint,2,opt,name=sellOfferId,proto3" json:"sellOfferId,omitempty"` } -func (x *MsgSetCardRemove) Reset() { - *x = MsgSetCardRemove{} +func (x *MsgSellOfferBuy) Reset() { + *x = MsgSellOfferBuy{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[32] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetCardRemove) String() string { +func (x *MsgSellOfferBuy) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetCardRemove) ProtoMessage() {} +func (*MsgSellOfferBuy) ProtoMessage() {} -// Deprecated: Use MsgSetCardRemove.ProtoReflect.Descriptor instead. -func (*MsgSetCardRemove) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{32} +// Deprecated: Use MsgSellOfferBuy.ProtoReflect.Descriptor instead. +func (*MsgSellOfferBuy) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{48} } -func (x *MsgSetCardRemove) GetCreator() string { +func (x *MsgSellOfferBuy) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetCardRemove) GetSetId() uint64 { - if x != nil { - return x.SetId - } - return 0 -} - -func (x *MsgSetCardRemove) GetCardId() uint64 { +func (x *MsgSellOfferBuy) GetSellOfferId() uint64 { if x != nil { - return x.CardId + return x.SellOfferId } return 0 } -type MsgSetCardRemoveResponse struct { +type MsgSellOfferBuyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetCardRemoveResponse) Reset() { - *x = MsgSetCardRemoveResponse{} +func (x *MsgSellOfferBuyResponse) Reset() { + *x = MsgSellOfferBuyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[33] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetCardRemoveResponse) String() string { +func (x *MsgSellOfferBuyResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetCardRemoveResponse) ProtoMessage() {} +func (*MsgSellOfferBuyResponse) ProtoMessage() {} -// Deprecated: Use MsgSetCardRemoveResponse.ProtoReflect.Descriptor instead. -func (*MsgSetCardRemoveResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{33} +// Deprecated: Use MsgSellOfferBuyResponse.ProtoReflect.Descriptor instead. +func (*MsgSellOfferBuyResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{49} } -type MsgSetContributorAdd struct { +type MsgSellOfferRemove struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SellOfferId uint64 `protobuf:"varint,2,opt,name=sellOfferId,proto3" json:"sellOfferId,omitempty"` } -func (x *MsgSetContributorAdd) Reset() { - *x = MsgSetContributorAdd{} +func (x *MsgSellOfferRemove) Reset() { + *x = MsgSellOfferRemove{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[34] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetContributorAdd) String() string { +func (x *MsgSellOfferRemove) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetContributorAdd) ProtoMessage() {} +func (*MsgSellOfferRemove) ProtoMessage() {} -// Deprecated: Use MsgSetContributorAdd.ProtoReflect.Descriptor instead. -func (*MsgSetContributorAdd) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{34} +// Deprecated: Use MsgSellOfferRemove.ProtoReflect.Descriptor instead. +func (*MsgSellOfferRemove) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{50} } -func (x *MsgSetContributorAdd) GetCreator() string { +func (x *MsgSellOfferRemove) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetContributorAdd) GetSetId() uint64 { +func (x *MsgSellOfferRemove) GetSellOfferId() uint64 { if x != nil { - return x.SetId + return x.SellOfferId } return 0 } -func (x *MsgSetContributorAdd) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -type MsgSetContributorAddResponse struct { +type MsgSellOfferRemoveResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetContributorAddResponse) Reset() { - *x = MsgSetContributorAddResponse{} +func (x *MsgSellOfferRemoveResponse) Reset() { + *x = MsgSellOfferRemoveResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[35] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetContributorAddResponse) String() string { +func (x *MsgSellOfferRemoveResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetContributorAddResponse) ProtoMessage() {} +func (*MsgSellOfferRemoveResponse) ProtoMessage() {} -// Deprecated: Use MsgSetContributorAddResponse.ProtoReflect.Descriptor instead. -func (*MsgSetContributorAddResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{35} +// Deprecated: Use MsgSellOfferRemoveResponse.ProtoReflect.Descriptor instead. +func (*MsgSellOfferRemoveResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{51} } -type MsgSetContributorRemove struct { +type MsgCardRaritySet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + SetId uint64 `protobuf:"varint,3,opt,name=setId,proto3" json:"setId,omitempty"` + Rarity CardRarity `protobuf:"varint,4,opt,name=rarity,proto3,enum=cardchain.cardchain.CardRarity" json:"rarity,omitempty"` } -func (x *MsgSetContributorRemove) Reset() { - *x = MsgSetContributorRemove{} +func (x *MsgCardRaritySet) Reset() { + *x = MsgCardRaritySet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[36] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetContributorRemove) String() string { +func (x *MsgCardRaritySet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetContributorRemove) ProtoMessage() {} +func (*MsgCardRaritySet) ProtoMessage() {} -// Deprecated: Use MsgSetContributorRemove.ProtoReflect.Descriptor instead. -func (*MsgSetContributorRemove) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{36} +// Deprecated: Use MsgCardRaritySet.ProtoReflect.Descriptor instead. +func (*MsgCardRaritySet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{52} } -func (x *MsgSetContributorRemove) GetCreator() string { +func (x *MsgCardRaritySet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetContributorRemove) GetSetId() uint64 { +func (x *MsgCardRaritySet) GetCardId() uint64 { + if x != nil { + return x.CardId + } + return 0 +} + +func (x *MsgCardRaritySet) GetSetId() uint64 { if x != nil { return x.SetId } return 0 } -func (x *MsgSetContributorRemove) GetUser() string { +func (x *MsgCardRaritySet) GetRarity() CardRarity { if x != nil { - return x.User + return x.Rarity } - return "" + return CardRarity_common } -type MsgSetContributorRemoveResponse struct { +type MsgCardRaritySetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetContributorRemoveResponse) Reset() { - *x = MsgSetContributorRemoveResponse{} +func (x *MsgCardRaritySetResponse) Reset() { + *x = MsgCardRaritySetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[37] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetContributorRemoveResponse) String() string { +func (x *MsgCardRaritySetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetContributorRemoveResponse) ProtoMessage() {} +func (*MsgCardRaritySetResponse) ProtoMessage() {} -// Deprecated: Use MsgSetContributorRemoveResponse.ProtoReflect.Descriptor instead. -func (*MsgSetContributorRemoveResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{37} +// Deprecated: Use MsgCardRaritySetResponse.ProtoReflect.Descriptor instead. +func (*MsgCardRaritySetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{53} } -type MsgSetFinalize struct { +type MsgCouncilResponseCommit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CouncilId uint64 `protobuf:"varint,2,opt,name=councilId,proto3" json:"councilId,omitempty"` + Reponse string `protobuf:"bytes,3,opt,name=reponse,proto3" json:"reponse,omitempty"` + Suggestion string `protobuf:"bytes,4,opt,name=suggestion,proto3" json:"suggestion,omitempty"` } -func (x *MsgSetFinalize) Reset() { - *x = MsgSetFinalize{} +func (x *MsgCouncilResponseCommit) Reset() { + *x = MsgCouncilResponseCommit{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[38] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetFinalize) String() string { +func (x *MsgCouncilResponseCommit) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetFinalize) ProtoMessage() {} +func (*MsgCouncilResponseCommit) ProtoMessage() {} -// Deprecated: Use MsgSetFinalize.ProtoReflect.Descriptor instead. -func (*MsgSetFinalize) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{38} +// Deprecated: Use MsgCouncilResponseCommit.ProtoReflect.Descriptor instead. +func (*MsgCouncilResponseCommit) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{54} } -func (x *MsgSetFinalize) GetCreator() string { +func (x *MsgCouncilResponseCommit) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetFinalize) GetSetId() uint64 { +func (x *MsgCouncilResponseCommit) GetCouncilId() uint64 { if x != nil { - return x.SetId + return x.CouncilId } return 0 } -type MsgSetFinalizeResponse struct { +func (x *MsgCouncilResponseCommit) GetReponse() string { + if x != nil { + return x.Reponse + } + return "" +} + +func (x *MsgCouncilResponseCommit) GetSuggestion() string { + if x != nil { + return x.Suggestion + } + return "" +} + +type MsgCouncilResponseCommitResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetFinalizeResponse) Reset() { - *x = MsgSetFinalizeResponse{} +func (x *MsgCouncilResponseCommitResponse) Reset() { + *x = MsgCouncilResponseCommitResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[39] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetFinalizeResponse) String() string { +func (x *MsgCouncilResponseCommitResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetFinalizeResponse) ProtoMessage() {} +func (*MsgCouncilResponseCommitResponse) ProtoMessage() {} -// Deprecated: Use MsgSetFinalizeResponse.ProtoReflect.Descriptor instead. -func (*MsgSetFinalizeResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{39} +// Deprecated: Use MsgCouncilResponseCommitResponse.ProtoReflect.Descriptor instead. +func (*MsgCouncilResponseCommitResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{55} } -type MsgSetArtworkAdd struct { +type MsgCouncilResponseReveal struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - Image []byte `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CouncilId uint64 `protobuf:"varint,2,opt,name=councilId,proto3" json:"councilId,omitempty"` + Reponse Response `protobuf:"varint,3,opt,name=reponse,proto3,enum=cardchain.cardchain.Response" json:"reponse,omitempty"` + Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` } -func (x *MsgSetArtworkAdd) Reset() { - *x = MsgSetArtworkAdd{} +func (x *MsgCouncilResponseReveal) Reset() { + *x = MsgCouncilResponseReveal{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[40] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetArtworkAdd) String() string { +func (x *MsgCouncilResponseReveal) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetArtworkAdd) ProtoMessage() {} +func (*MsgCouncilResponseReveal) ProtoMessage() {} -// Deprecated: Use MsgSetArtworkAdd.ProtoReflect.Descriptor instead. -func (*MsgSetArtworkAdd) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{40} +// Deprecated: Use MsgCouncilResponseReveal.ProtoReflect.Descriptor instead. +func (*MsgCouncilResponseReveal) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{56} } -func (x *MsgSetArtworkAdd) GetCreator() string { +func (x *MsgCouncilResponseReveal) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetArtworkAdd) GetSetId() uint64 { +func (x *MsgCouncilResponseReveal) GetCouncilId() uint64 { if x != nil { - return x.SetId + return x.CouncilId } return 0 } -func (x *MsgSetArtworkAdd) GetImage() []byte { +func (x *MsgCouncilResponseReveal) GetReponse() Response { if x != nil { - return x.Image + return x.Reponse } - return nil + return Response_Yes } -type MsgSetArtworkAddResponse struct { +func (x *MsgCouncilResponseReveal) GetSecret() string { + if x != nil { + return x.Secret + } + return "" +} + +type MsgCouncilResponseRevealResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetArtworkAddResponse) Reset() { - *x = MsgSetArtworkAddResponse{} +func (x *MsgCouncilResponseRevealResponse) Reset() { + *x = MsgCouncilResponseRevealResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[41] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetArtworkAddResponse) String() string { +func (x *MsgCouncilResponseRevealResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetArtworkAddResponse) ProtoMessage() {} +func (*MsgCouncilResponseRevealResponse) ProtoMessage() {} -// Deprecated: Use MsgSetArtworkAddResponse.ProtoReflect.Descriptor instead. -func (*MsgSetArtworkAddResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{41} +// Deprecated: Use MsgCouncilResponseRevealResponse.ProtoReflect.Descriptor instead. +func (*MsgCouncilResponseRevealResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{57} } -type MsgSetStoryAdd struct { +type MsgCouncilRestart struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - Story string `protobuf:"bytes,3,opt,name=story,proto3" json:"story,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CouncilId uint64 `protobuf:"varint,2,opt,name=councilId,proto3" json:"councilId,omitempty"` } -func (x *MsgSetStoryAdd) Reset() { - *x = MsgSetStoryAdd{} +func (x *MsgCouncilRestart) Reset() { + *x = MsgCouncilRestart{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[42] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetStoryAdd) String() string { +func (x *MsgCouncilRestart) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetStoryAdd) ProtoMessage() {} +func (*MsgCouncilRestart) ProtoMessage() {} -// Deprecated: Use MsgSetStoryAdd.ProtoReflect.Descriptor instead. -func (*MsgSetStoryAdd) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{42} +// Deprecated: Use MsgCouncilRestart.ProtoReflect.Descriptor instead. +func (*MsgCouncilRestart) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{58} } -func (x *MsgSetStoryAdd) GetCreator() string { +func (x *MsgCouncilRestart) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetStoryAdd) GetSetId() uint64 { +func (x *MsgCouncilRestart) GetCouncilId() uint64 { if x != nil { - return x.SetId + return x.CouncilId } return 0 } -func (x *MsgSetStoryAdd) GetStory() string { - if x != nil { - return x.Story - } - return "" -} - -type MsgSetStoryAddResponse struct { +type MsgCouncilRestartResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetStoryAddResponse) Reset() { - *x = MsgSetStoryAddResponse{} +func (x *MsgCouncilRestartResponse) Reset() { + *x = MsgCouncilRestartResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[43] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetStoryAddResponse) String() string { +func (x *MsgCouncilRestartResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetStoryAddResponse) ProtoMessage() {} +func (*MsgCouncilRestartResponse) ProtoMessage() {} -// Deprecated: Use MsgSetStoryAddResponse.ProtoReflect.Descriptor instead. -func (*MsgSetStoryAddResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{43} +// Deprecated: Use MsgCouncilRestartResponse.ProtoReflect.Descriptor instead. +func (*MsgCouncilRestartResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{59} } -type MsgBoosterPackBuy struct { +type MsgMatchConfirm struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + MatchId uint64 `protobuf:"varint,2,opt,name=matchId,proto3" json:"matchId,omitempty"` + Outcome Outcome `protobuf:"varint,3,opt,name=outcome,proto3,enum=cardchain.cardchain.Outcome" json:"outcome,omitempty"` + VotedCards []*SingleVote `protobuf:"bytes,4,rep,name=votedCards,proto3" json:"votedCards,omitempty"` } -func (x *MsgBoosterPackBuy) Reset() { - *x = MsgBoosterPackBuy{} +func (x *MsgMatchConfirm) Reset() { + *x = MsgMatchConfirm{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[44] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgBoosterPackBuy) String() string { +func (x *MsgMatchConfirm) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgBoosterPackBuy) ProtoMessage() {} +func (*MsgMatchConfirm) ProtoMessage() {} -// Deprecated: Use MsgBoosterPackBuy.ProtoReflect.Descriptor instead. -func (*MsgBoosterPackBuy) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{44} +// Deprecated: Use MsgMatchConfirm.ProtoReflect.Descriptor instead. +func (*MsgMatchConfirm) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{60} } -func (x *MsgBoosterPackBuy) GetCreator() string { +func (x *MsgMatchConfirm) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgBoosterPackBuy) GetSetId() uint64 { +func (x *MsgMatchConfirm) GetMatchId() uint64 { if x != nil { - return x.SetId + return x.MatchId } return 0 } -type MsgBoosterPackBuyResponse struct { +func (x *MsgMatchConfirm) GetOutcome() Outcome { + if x != nil { + return x.Outcome + } + return Outcome_AWon +} + +func (x *MsgMatchConfirm) GetVotedCards() []*SingleVote { + if x != nil { + return x.VotedCards + } + return nil +} + +type MsgMatchConfirmResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` } - -func (x *MsgBoosterPackBuyResponse) Reset() { - *x = MsgBoosterPackBuyResponse{} + +func (x *MsgMatchConfirmResponse) Reset() { + *x = MsgMatchConfirmResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[45] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgBoosterPackBuyResponse) String() string { +func (x *MsgMatchConfirmResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgBoosterPackBuyResponse) ProtoMessage() {} - -// Deprecated: Use MsgBoosterPackBuyResponse.ProtoReflect.Descriptor instead. -func (*MsgBoosterPackBuyResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{45} -} +func (*MsgMatchConfirmResponse) ProtoMessage() {} -func (x *MsgBoosterPackBuyResponse) GetAirdropClaimed() bool { - if x != nil { - return x.AirdropClaimed - } - return false +// Deprecated: Use MsgMatchConfirmResponse.ProtoReflect.Descriptor instead. +func (*MsgMatchConfirmResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{61} } -type MsgSellOfferCreate struct { +type MsgProfileCardSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - Price *v1beta1.Coin `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` } -func (x *MsgSellOfferCreate) Reset() { - *x = MsgSellOfferCreate{} +func (x *MsgProfileCardSet) Reset() { + *x = MsgProfileCardSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[46] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSellOfferCreate) String() string { +func (x *MsgProfileCardSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSellOfferCreate) ProtoMessage() {} +func (*MsgProfileCardSet) ProtoMessage() {} -// Deprecated: Use MsgSellOfferCreate.ProtoReflect.Descriptor instead. -func (*MsgSellOfferCreate) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{46} +// Deprecated: Use MsgProfileCardSet.ProtoReflect.Descriptor instead. +func (*MsgProfileCardSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{62} } -func (x *MsgSellOfferCreate) GetCreator() string { +func (x *MsgProfileCardSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSellOfferCreate) GetCardId() uint64 { +func (x *MsgProfileCardSet) GetCardId() uint64 { if x != nil { return x.CardId } return 0 } -func (x *MsgSellOfferCreate) GetPrice() *v1beta1.Coin { - if x != nil { - return x.Price - } - return nil -} - -type MsgSellOfferCreateResponse struct { +type MsgProfileCardSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSellOfferCreateResponse) Reset() { - *x = MsgSellOfferCreateResponse{} +func (x *MsgProfileCardSetResponse) Reset() { + *x = MsgProfileCardSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[47] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSellOfferCreateResponse) String() string { +func (x *MsgProfileCardSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSellOfferCreateResponse) ProtoMessage() {} +func (*MsgProfileCardSetResponse) ProtoMessage() {} -// Deprecated: Use MsgSellOfferCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgSellOfferCreateResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{47} +// Deprecated: Use MsgProfileCardSetResponse.ProtoReflect.Descriptor instead. +func (*MsgProfileCardSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{63} } -type MsgSellOfferBuy struct { +type MsgProfileWebsiteSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SellOfferId uint64 `protobuf:"varint,2,opt,name=sellOfferId,proto3" json:"sellOfferId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Website string `protobuf:"bytes,2,opt,name=website,proto3" json:"website,omitempty"` } -func (x *MsgSellOfferBuy) Reset() { - *x = MsgSellOfferBuy{} +func (x *MsgProfileWebsiteSet) Reset() { + *x = MsgProfileWebsiteSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[48] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSellOfferBuy) String() string { +func (x *MsgProfileWebsiteSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSellOfferBuy) ProtoMessage() {} +func (*MsgProfileWebsiteSet) ProtoMessage() {} -// Deprecated: Use MsgSellOfferBuy.ProtoReflect.Descriptor instead. -func (*MsgSellOfferBuy) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{48} +// Deprecated: Use MsgProfileWebsiteSet.ProtoReflect.Descriptor instead. +func (*MsgProfileWebsiteSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{64} } -func (x *MsgSellOfferBuy) GetCreator() string { +func (x *MsgProfileWebsiteSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSellOfferBuy) GetSellOfferId() uint64 { +func (x *MsgProfileWebsiteSet) GetWebsite() string { if x != nil { - return x.SellOfferId + return x.Website } - return 0 + return "" } -type MsgSellOfferBuyResponse struct { +type MsgProfileWebsiteSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSellOfferBuyResponse) Reset() { - *x = MsgSellOfferBuyResponse{} +func (x *MsgProfileWebsiteSetResponse) Reset() { + *x = MsgProfileWebsiteSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[49] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSellOfferBuyResponse) String() string { +func (x *MsgProfileWebsiteSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSellOfferBuyResponse) ProtoMessage() {} +func (*MsgProfileWebsiteSetResponse) ProtoMessage() {} -// Deprecated: Use MsgSellOfferBuyResponse.ProtoReflect.Descriptor instead. -func (*MsgSellOfferBuyResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{49} +// Deprecated: Use MsgProfileWebsiteSetResponse.ProtoReflect.Descriptor instead. +func (*MsgProfileWebsiteSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{65} } -type MsgSellOfferRemove struct { +type MsgProfileBioSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SellOfferId uint64 `protobuf:"varint,2,opt,name=sellOfferId,proto3" json:"sellOfferId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Bio string `protobuf:"bytes,2,opt,name=bio,proto3" json:"bio,omitempty"` } -func (x *MsgSellOfferRemove) Reset() { - *x = MsgSellOfferRemove{} +func (x *MsgProfileBioSet) Reset() { + *x = MsgProfileBioSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[50] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSellOfferRemove) String() string { +func (x *MsgProfileBioSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSellOfferRemove) ProtoMessage() {} +func (*MsgProfileBioSet) ProtoMessage() {} -// Deprecated: Use MsgSellOfferRemove.ProtoReflect.Descriptor instead. -func (*MsgSellOfferRemove) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{50} +// Deprecated: Use MsgProfileBioSet.ProtoReflect.Descriptor instead. +func (*MsgProfileBioSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{66} } -func (x *MsgSellOfferRemove) GetCreator() string { +func (x *MsgProfileBioSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSellOfferRemove) GetSellOfferId() uint64 { +func (x *MsgProfileBioSet) GetBio() string { if x != nil { - return x.SellOfferId + return x.Bio } - return 0 + return "" } -type MsgSellOfferRemoveResponse struct { +type MsgProfileBioSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSellOfferRemoveResponse) Reset() { - *x = MsgSellOfferRemoveResponse{} +func (x *MsgProfileBioSetResponse) Reset() { + *x = MsgProfileBioSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[51] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSellOfferRemoveResponse) String() string { +func (x *MsgProfileBioSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSellOfferRemoveResponse) ProtoMessage() {} +func (*MsgProfileBioSetResponse) ProtoMessage() {} -// Deprecated: Use MsgSellOfferRemoveResponse.ProtoReflect.Descriptor instead. -func (*MsgSellOfferRemoveResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{51} +// Deprecated: Use MsgProfileBioSetResponse.ProtoReflect.Descriptor instead. +func (*MsgProfileBioSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{67} } -type MsgCardRaritySet struct { +type MsgBoosterPackOpen struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` - SetId uint64 `protobuf:"varint,3,opt,name=setId,proto3" json:"setId,omitempty"` - Rarity CardRarity `protobuf:"varint,4,opt,name=rarity,proto3,enum=cardchain.cardchain.CardRarity" json:"rarity,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + BoosterPackId uint64 `protobuf:"varint,2,opt,name=boosterPackId,proto3" json:"boosterPackId,omitempty"` } -func (x *MsgCardRaritySet) Reset() { - *x = MsgCardRaritySet{} +func (x *MsgBoosterPackOpen) Reset() { + *x = MsgBoosterPackOpen{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[52] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardRaritySet) String() string { +func (x *MsgBoosterPackOpen) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardRaritySet) ProtoMessage() {} +func (*MsgBoosterPackOpen) ProtoMessage() {} -// Deprecated: Use MsgCardRaritySet.ProtoReflect.Descriptor instead. -func (*MsgCardRaritySet) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{52} +// Deprecated: Use MsgBoosterPackOpen.ProtoReflect.Descriptor instead. +func (*MsgBoosterPackOpen) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{68} } -func (x *MsgCardRaritySet) GetCreator() string { +func (x *MsgBoosterPackOpen) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardRaritySet) GetCardId() uint64 { - if x != nil { - return x.CardId - } - return 0 -} - -func (x *MsgCardRaritySet) GetSetId() uint64 { +func (x *MsgBoosterPackOpen) GetBoosterPackId() uint64 { if x != nil { - return x.SetId + return x.BoosterPackId } return 0 } -func (x *MsgCardRaritySet) GetRarity() CardRarity { - if x != nil { - return x.Rarity - } - return CardRarity_common -} - -type MsgCardRaritySetResponse struct { +type MsgBoosterPackOpenResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + CardIds []uint64 `protobuf:"varint,1,rep,packed,name=cardIds,proto3" json:"cardIds,omitempty"` } -func (x *MsgCardRaritySetResponse) Reset() { - *x = MsgCardRaritySetResponse{} +func (x *MsgBoosterPackOpenResponse) Reset() { + *x = MsgBoosterPackOpenResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[53] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardRaritySetResponse) String() string { +func (x *MsgBoosterPackOpenResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardRaritySetResponse) ProtoMessage() {} +func (*MsgBoosterPackOpenResponse) ProtoMessage() {} -// Deprecated: Use MsgCardRaritySetResponse.ProtoReflect.Descriptor instead. -func (*MsgCardRaritySetResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{53} +// Deprecated: Use MsgBoosterPackOpenResponse.ProtoReflect.Descriptor instead. +func (*MsgBoosterPackOpenResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{69} } -type MsgCouncilResponseCommit struct { +func (x *MsgBoosterPackOpenResponse) GetCardIds() []uint64 { + if x != nil { + return x.CardIds + } + return nil +} + +type MsgBoosterPackTransfer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CouncilId uint64 `protobuf:"varint,2,opt,name=councilId,proto3" json:"councilId,omitempty"` - Reponse string `protobuf:"bytes,3,opt,name=reponse,proto3" json:"reponse,omitempty"` - Suggestion string `protobuf:"bytes,4,opt,name=suggestion,proto3" json:"suggestion,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + BoosterPackId uint64 `protobuf:"varint,2,opt,name=boosterPackId,proto3" json:"boosterPackId,omitempty"` + Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` } -func (x *MsgCouncilResponseCommit) Reset() { - *x = MsgCouncilResponseCommit{} +func (x *MsgBoosterPackTransfer) Reset() { + *x = MsgBoosterPackTransfer{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[54] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilResponseCommit) String() string { +func (x *MsgBoosterPackTransfer) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilResponseCommit) ProtoMessage() {} +func (*MsgBoosterPackTransfer) ProtoMessage() {} -// Deprecated: Use MsgCouncilResponseCommit.ProtoReflect.Descriptor instead. -func (*MsgCouncilResponseCommit) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{54} +// Deprecated: Use MsgBoosterPackTransfer.ProtoReflect.Descriptor instead. +func (*MsgBoosterPackTransfer) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{70} } -func (x *MsgCouncilResponseCommit) GetCreator() string { +func (x *MsgBoosterPackTransfer) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCouncilResponseCommit) GetCouncilId() uint64 { +func (x *MsgBoosterPackTransfer) GetBoosterPackId() uint64 { if x != nil { - return x.CouncilId + return x.BoosterPackId } return 0 } -func (x *MsgCouncilResponseCommit) GetReponse() string { - if x != nil { - return x.Reponse - } - return "" -} - -func (x *MsgCouncilResponseCommit) GetSuggestion() string { +func (x *MsgBoosterPackTransfer) GetReceiver() string { if x != nil { - return x.Suggestion + return x.Receiver } return "" } -type MsgCouncilResponseCommitResponse struct { +type MsgBoosterPackTransferResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCouncilResponseCommitResponse) Reset() { - *x = MsgCouncilResponseCommitResponse{} +func (x *MsgBoosterPackTransferResponse) Reset() { + *x = MsgBoosterPackTransferResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[55] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilResponseCommitResponse) String() string { +func (x *MsgBoosterPackTransferResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilResponseCommitResponse) ProtoMessage() {} +func (*MsgBoosterPackTransferResponse) ProtoMessage() {} -// Deprecated: Use MsgCouncilResponseCommitResponse.ProtoReflect.Descriptor instead. -func (*MsgCouncilResponseCommitResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{55} +// Deprecated: Use MsgBoosterPackTransferResponse.ProtoReflect.Descriptor instead. +func (*MsgBoosterPackTransferResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{71} } -type MsgCouncilResponseReveal struct { +type MsgSetStoryWriterSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CouncilId uint64 `protobuf:"varint,2,opt,name=councilId,proto3" json:"councilId,omitempty"` - Reponse Response `protobuf:"varint,3,opt,name=reponse,proto3,enum=cardchain.cardchain.Response" json:"reponse,omitempty"` - Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + StoryWriter string `protobuf:"bytes,3,opt,name=storyWriter,proto3" json:"storyWriter,omitempty"` } -func (x *MsgCouncilResponseReveal) Reset() { - *x = MsgCouncilResponseReveal{} +func (x *MsgSetStoryWriterSet) Reset() { + *x = MsgSetStoryWriterSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[56] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilResponseReveal) String() string { +func (x *MsgSetStoryWriterSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilResponseReveal) ProtoMessage() {} +func (*MsgSetStoryWriterSet) ProtoMessage() {} -// Deprecated: Use MsgCouncilResponseReveal.ProtoReflect.Descriptor instead. -func (*MsgCouncilResponseReveal) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{56} +// Deprecated: Use MsgSetStoryWriterSet.ProtoReflect.Descriptor instead. +func (*MsgSetStoryWriterSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{72} } -func (x *MsgCouncilResponseReveal) GetCreator() string { +func (x *MsgSetStoryWriterSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCouncilResponseReveal) GetCouncilId() uint64 { +func (x *MsgSetStoryWriterSet) GetSetId() uint64 { if x != nil { - return x.CouncilId + return x.SetId } return 0 } -func (x *MsgCouncilResponseReveal) GetReponse() Response { - if x != nil { - return x.Reponse - } - return Response_Yes -} - -func (x *MsgCouncilResponseReveal) GetSecret() string { +func (x *MsgSetStoryWriterSet) GetStoryWriter() string { if x != nil { - return x.Secret + return x.StoryWriter } return "" } -type MsgCouncilResponseRevealResponse struct { +type MsgSetStoryWriterSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCouncilResponseRevealResponse) Reset() { - *x = MsgCouncilResponseRevealResponse{} +func (x *MsgSetStoryWriterSetResponse) Reset() { + *x = MsgSetStoryWriterSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[57] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilResponseRevealResponse) String() string { +func (x *MsgSetStoryWriterSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilResponseRevealResponse) ProtoMessage() {} +func (*MsgSetStoryWriterSetResponse) ProtoMessage() {} -// Deprecated: Use MsgCouncilResponseRevealResponse.ProtoReflect.Descriptor instead. -func (*MsgCouncilResponseRevealResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{57} +// Deprecated: Use MsgSetStoryWriterSetResponse.ProtoReflect.Descriptor instead. +func (*MsgSetStoryWriterSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{73} } -type MsgCouncilRestart struct { +type MsgSetArtistSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CouncilId uint64 `protobuf:"varint,2,opt,name=councilId,proto3" json:"councilId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Artist string `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` } -func (x *MsgCouncilRestart) Reset() { - *x = MsgCouncilRestart{} +func (x *MsgSetArtistSet) Reset() { + *x = MsgSetArtistSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[58] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilRestart) String() string { +func (x *MsgSetArtistSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilRestart) ProtoMessage() {} +func (*MsgSetArtistSet) ProtoMessage() {} -// Deprecated: Use MsgCouncilRestart.ProtoReflect.Descriptor instead. -func (*MsgCouncilRestart) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{58} +// Deprecated: Use MsgSetArtistSet.ProtoReflect.Descriptor instead. +func (*MsgSetArtistSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{74} } -func (x *MsgCouncilRestart) GetCreator() string { +func (x *MsgSetArtistSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCouncilRestart) GetCouncilId() uint64 { +func (x *MsgSetArtistSet) GetSetId() uint64 { if x != nil { - return x.CouncilId + return x.SetId } return 0 } -type MsgCouncilRestartResponse struct { +func (x *MsgSetArtistSet) GetArtist() string { + if x != nil { + return x.Artist + } + return "" +} + +type MsgSetArtistSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgCouncilRestartResponse) Reset() { - *x = MsgCouncilRestartResponse{} +func (x *MsgSetArtistSetResponse) Reset() { + *x = MsgSetArtistSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[59] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCouncilRestartResponse) String() string { +func (x *MsgSetArtistSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCouncilRestartResponse) ProtoMessage() {} +func (*MsgSetArtistSetResponse) ProtoMessage() {} -// Deprecated: Use MsgCouncilRestartResponse.ProtoReflect.Descriptor instead. -func (*MsgCouncilRestartResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{59} +// Deprecated: Use MsgSetArtistSetResponse.ProtoReflect.Descriptor instead. +func (*MsgSetArtistSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{75} } -type MsgMatchConfirm struct { +type MsgCardVoteMulti struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - MatchId uint64 `protobuf:"varint,2,opt,name=matchId,proto3" json:"matchId,omitempty"` - Outcome Outcome `protobuf:"varint,3,opt,name=outcome,proto3,enum=cardchain.cardchain.Outcome" json:"outcome,omitempty"` - VotedCards []*SingleVote `protobuf:"bytes,4,rep,name=votedCards,proto3" json:"votedCards,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Votes []*SingleVote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` } -func (x *MsgMatchConfirm) Reset() { - *x = MsgMatchConfirm{} +func (x *MsgCardVoteMulti) Reset() { + *x = MsgCardVoteMulti{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[60] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgMatchConfirm) String() string { +func (x *MsgCardVoteMulti) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgMatchConfirm) ProtoMessage() {} +func (*MsgCardVoteMulti) ProtoMessage() {} -// Deprecated: Use MsgMatchConfirm.ProtoReflect.Descriptor instead. -func (*MsgMatchConfirm) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{60} +// Deprecated: Use MsgCardVoteMulti.ProtoReflect.Descriptor instead. +func (*MsgCardVoteMulti) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{76} } -func (x *MsgMatchConfirm) GetCreator() string { +func (x *MsgCardVoteMulti) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgMatchConfirm) GetMatchId() uint64 { - if x != nil { - return x.MatchId - } - return 0 -} - -func (x *MsgMatchConfirm) GetOutcome() Outcome { - if x != nil { - return x.Outcome - } - return Outcome_AWon -} - -func (x *MsgMatchConfirm) GetVotedCards() []*SingleVote { +func (x *MsgCardVoteMulti) GetVotes() []*SingleVote { if x != nil { - return x.VotedCards + return x.Votes } return nil } -type MsgMatchConfirmResponse struct { +type MsgCardVoteMultiResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` } -func (x *MsgMatchConfirmResponse) Reset() { - *x = MsgMatchConfirmResponse{} +func (x *MsgCardVoteMultiResponse) Reset() { + *x = MsgCardVoteMultiResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[61] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgMatchConfirmResponse) String() string { +func (x *MsgCardVoteMultiResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgMatchConfirmResponse) ProtoMessage() {} +func (*MsgCardVoteMultiResponse) ProtoMessage() {} -// Deprecated: Use MsgMatchConfirmResponse.ProtoReflect.Descriptor instead. -func (*MsgMatchConfirmResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{61} +// Deprecated: Use MsgCardVoteMultiResponse.ProtoReflect.Descriptor instead. +func (*MsgCardVoteMultiResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{77} } -type MsgProfileCardSet struct { +func (x *MsgCardVoteMultiResponse) GetAirdropClaimed() bool { + if x != nil { + return x.AirdropClaimed + } + return false +} + +type MsgMatchOpen struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - CardId uint64 `protobuf:"varint,2,opt,name=cardId,proto3" json:"cardId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerA string `protobuf:"bytes,2,opt,name=playerA,proto3" json:"playerA,omitempty"` + PlayerB string `protobuf:"bytes,3,opt,name=playerB,proto3" json:"playerB,omitempty"` + PlayerAdeck []uint64 `protobuf:"varint,4,rep,packed,name=playerAdeck,proto3" json:"playerAdeck,omitempty"` + PlayerBdeck []uint64 `protobuf:"varint,5,rep,packed,name=playerBdeck,proto3" json:"playerBdeck,omitempty"` } -func (x *MsgProfileCardSet) Reset() { - *x = MsgProfileCardSet{} +func (x *MsgMatchOpen) Reset() { + *x = MsgMatchOpen{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[62] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgProfileCardSet) String() string { +func (x *MsgMatchOpen) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgProfileCardSet) ProtoMessage() {} +func (*MsgMatchOpen) ProtoMessage() {} -// Deprecated: Use MsgProfileCardSet.ProtoReflect.Descriptor instead. -func (*MsgProfileCardSet) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{62} +// Deprecated: Use MsgMatchOpen.ProtoReflect.Descriptor instead. +func (*MsgMatchOpen) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{78} +} + +func (x *MsgMatchOpen) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgMatchOpen) GetPlayerA() string { + if x != nil { + return x.PlayerA + } + return "" +} + +func (x *MsgMatchOpen) GetPlayerB() string { + if x != nil { + return x.PlayerB + } + return "" } -func (x *MsgProfileCardSet) GetCreator() string { +func (x *MsgMatchOpen) GetPlayerAdeck() []uint64 { if x != nil { - return x.Creator + return x.PlayerAdeck } - return "" + return nil } -func (x *MsgProfileCardSet) GetCardId() uint64 { +func (x *MsgMatchOpen) GetPlayerBdeck() []uint64 { if x != nil { - return x.CardId + return x.PlayerBdeck } - return 0 + return nil } -type MsgProfileCardSetResponse struct { +type MsgMatchOpenResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + MatchId uint64 `protobuf:"varint,1,opt,name=matchId,proto3" json:"matchId,omitempty"` } -func (x *MsgProfileCardSetResponse) Reset() { - *x = MsgProfileCardSetResponse{} +func (x *MsgMatchOpenResponse) Reset() { + *x = MsgMatchOpenResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[63] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgProfileCardSetResponse) String() string { +func (x *MsgMatchOpenResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgProfileCardSetResponse) ProtoMessage() {} +func (*MsgMatchOpenResponse) ProtoMessage() {} -// Deprecated: Use MsgProfileCardSetResponse.ProtoReflect.Descriptor instead. -func (*MsgProfileCardSetResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{63} +// Deprecated: Use MsgMatchOpenResponse.ProtoReflect.Descriptor instead. +func (*MsgMatchOpenResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{79} } -type MsgProfileWebsiteSet struct { +func (x *MsgMatchOpenResponse) GetMatchId() uint64 { + if x != nil { + return x.MatchId + } + return 0 +} + +type MsgSetNameSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Website string `protobuf:"bytes,2,opt,name=website,proto3" json:"website,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (x *MsgProfileWebsiteSet) Reset() { - *x = MsgProfileWebsiteSet{} +func (x *MsgSetNameSet) Reset() { + *x = MsgSetNameSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[64] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgProfileWebsiteSet) String() string { +func (x *MsgSetNameSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgProfileWebsiteSet) ProtoMessage() {} +func (*MsgSetNameSet) ProtoMessage() {} -// Deprecated: Use MsgProfileWebsiteSet.ProtoReflect.Descriptor instead. -func (*MsgProfileWebsiteSet) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{64} +// Deprecated: Use MsgSetNameSet.ProtoReflect.Descriptor instead. +func (*MsgSetNameSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{80} } -func (x *MsgProfileWebsiteSet) GetCreator() string { +func (x *MsgSetNameSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgProfileWebsiteSet) GetWebsite() string { +func (x *MsgSetNameSet) GetSetId() uint64 { if x != nil { - return x.Website + return x.SetId + } + return 0 +} + +func (x *MsgSetNameSet) GetName() string { + if x != nil { + return x.Name } return "" } -type MsgProfileWebsiteSetResponse struct { +type MsgSetNameSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgProfileWebsiteSetResponse) Reset() { - *x = MsgProfileWebsiteSetResponse{} +func (x *MsgSetNameSetResponse) Reset() { + *x = MsgSetNameSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[65] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgProfileWebsiteSetResponse) String() string { +func (x *MsgSetNameSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgProfileWebsiteSetResponse) ProtoMessage() {} +func (*MsgSetNameSetResponse) ProtoMessage() {} -// Deprecated: Use MsgProfileWebsiteSetResponse.ProtoReflect.Descriptor instead. -func (*MsgProfileWebsiteSetResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{65} +// Deprecated: Use MsgSetNameSetResponse.ProtoReflect.Descriptor instead. +func (*MsgSetNameSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{81} } -type MsgProfileBioSet struct { +type MsgProfileAliasSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Bio string `protobuf:"bytes,2,opt,name=bio,proto3" json:"bio,omitempty"` + Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` } -func (x *MsgProfileBioSet) Reset() { - *x = MsgProfileBioSet{} +func (x *MsgProfileAliasSet) Reset() { + *x = MsgProfileAliasSet{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[66] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgProfileBioSet) String() string { +func (x *MsgProfileAliasSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgProfileBioSet) ProtoMessage() {} +func (*MsgProfileAliasSet) ProtoMessage() {} -// Deprecated: Use MsgProfileBioSet.ProtoReflect.Descriptor instead. -func (*MsgProfileBioSet) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{66} +// Deprecated: Use MsgProfileAliasSet.ProtoReflect.Descriptor instead. +func (*MsgProfileAliasSet) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{82} } -func (x *MsgProfileBioSet) GetCreator() string { +func (x *MsgProfileAliasSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgProfileBioSet) GetBio() string { +func (x *MsgProfileAliasSet) GetAlias() string { if x != nil { - return x.Bio + return x.Alias } return "" } -type MsgProfileBioSetResponse struct { +type MsgProfileAliasSetResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgProfileBioSetResponse) Reset() { - *x = MsgProfileBioSetResponse{} +func (x *MsgProfileAliasSetResponse) Reset() { + *x = MsgProfileAliasSetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[67] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgProfileBioSetResponse) String() string { +func (x *MsgProfileAliasSetResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgProfileBioSetResponse) ProtoMessage() {} +func (*MsgProfileAliasSetResponse) ProtoMessage() {} -// Deprecated: Use MsgProfileBioSetResponse.ProtoReflect.Descriptor instead. -func (*MsgProfileBioSetResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{67} +// Deprecated: Use MsgProfileAliasSetResponse.ProtoReflect.Descriptor instead. +func (*MsgProfileAliasSetResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{83} } -type MsgBoosterPackOpen struct { +type MsgEarlyAccessInvite struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - BoosterPackId uint64 `protobuf:"varint,2,opt,name=boosterPackId,proto3" json:"boosterPackId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` } -func (x *MsgBoosterPackOpen) Reset() { - *x = MsgBoosterPackOpen{} +func (x *MsgEarlyAccessInvite) Reset() { + *x = MsgEarlyAccessInvite{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[68] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgBoosterPackOpen) String() string { +func (x *MsgEarlyAccessInvite) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgBoosterPackOpen) ProtoMessage() {} +func (*MsgEarlyAccessInvite) ProtoMessage() {} -// Deprecated: Use MsgBoosterPackOpen.ProtoReflect.Descriptor instead. -func (*MsgBoosterPackOpen) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{68} +// Deprecated: Use MsgEarlyAccessInvite.ProtoReflect.Descriptor instead. +func (*MsgEarlyAccessInvite) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{84} } -func (x *MsgBoosterPackOpen) GetCreator() string { +func (x *MsgEarlyAccessInvite) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgBoosterPackOpen) GetBoosterPackId() uint64 { +func (x *MsgEarlyAccessInvite) GetUser() string { if x != nil { - return x.BoosterPackId + return x.User } - return 0 + return "" } -type MsgBoosterPackOpenResponse struct { +type MsgEarlyAccessInviteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - CardIds []uint64 `protobuf:"varint,1,rep,packed,name=cardIds,proto3" json:"cardIds,omitempty"` } -func (x *MsgBoosterPackOpenResponse) Reset() { - *x = MsgBoosterPackOpenResponse{} +func (x *MsgEarlyAccessInviteResponse) Reset() { + *x = MsgEarlyAccessInviteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[69] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgBoosterPackOpenResponse) String() string { +func (x *MsgEarlyAccessInviteResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgBoosterPackOpenResponse) ProtoMessage() {} - -// Deprecated: Use MsgBoosterPackOpenResponse.ProtoReflect.Descriptor instead. -func (*MsgBoosterPackOpenResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{69} -} +func (*MsgEarlyAccessInviteResponse) ProtoMessage() {} -func (x *MsgBoosterPackOpenResponse) GetCardIds() []uint64 { - if x != nil { - return x.CardIds - } - return nil +// Deprecated: Use MsgEarlyAccessInviteResponse.ProtoReflect.Descriptor instead. +func (*MsgEarlyAccessInviteResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{85} } -type MsgBoosterPackTransfer struct { +type MsgZealyConnect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - BoosterPackId uint64 `protobuf:"varint,2,opt,name=boosterPackId,proto3" json:"boosterPackId,omitempty"` - Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ZealyId string `protobuf:"bytes,2,opt,name=zealyId,proto3" json:"zealyId,omitempty"` } -func (x *MsgBoosterPackTransfer) Reset() { - *x = MsgBoosterPackTransfer{} +func (x *MsgZealyConnect) Reset() { + *x = MsgZealyConnect{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[70] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgBoosterPackTransfer) String() string { +func (x *MsgZealyConnect) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgBoosterPackTransfer) ProtoMessage() {} +func (*MsgZealyConnect) ProtoMessage() {} -// Deprecated: Use MsgBoosterPackTransfer.ProtoReflect.Descriptor instead. -func (*MsgBoosterPackTransfer) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{70} +// Deprecated: Use MsgZealyConnect.ProtoReflect.Descriptor instead. +func (*MsgZealyConnect) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{86} } -func (x *MsgBoosterPackTransfer) GetCreator() string { +func (x *MsgZealyConnect) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgBoosterPackTransfer) GetBoosterPackId() uint64 { - if x != nil { - return x.BoosterPackId - } - return 0 -} - -func (x *MsgBoosterPackTransfer) GetReceiver() string { +func (x *MsgZealyConnect) GetZealyId() string { if x != nil { - return x.Receiver + return x.ZealyId } return "" } -type MsgBoosterPackTransferResponse struct { +type MsgZealyConnectResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgBoosterPackTransferResponse) Reset() { - *x = MsgBoosterPackTransferResponse{} +func (x *MsgZealyConnectResponse) Reset() { + *x = MsgZealyConnectResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[71] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgBoosterPackTransferResponse) String() string { +func (x *MsgZealyConnectResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgBoosterPackTransferResponse) ProtoMessage() {} +func (*MsgZealyConnectResponse) ProtoMessage() {} -// Deprecated: Use MsgBoosterPackTransferResponse.ProtoReflect.Descriptor instead. -func (*MsgBoosterPackTransferResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{71} +// Deprecated: Use MsgZealyConnectResponse.ProtoReflect.Descriptor instead. +func (*MsgZealyConnectResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{87} } -type MsgSetStoryWriterSet struct { +type MsgEncounterCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - StoryWriter string `protobuf:"bytes,3,opt,name=storyWriter,proto3" json:"storyWriter,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Drawlist []uint64 `protobuf:"varint,3,rep,packed,name=drawlist,proto3" json:"drawlist,omitempty"` + Parameters map[string]string `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Image []byte `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` } -func (x *MsgSetStoryWriterSet) Reset() { - *x = MsgSetStoryWriterSet{} +func (x *MsgEncounterCreate) Reset() { + *x = MsgEncounterCreate{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[72] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetStoryWriterSet) String() string { +func (x *MsgEncounterCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetStoryWriterSet) ProtoMessage() {} +func (*MsgEncounterCreate) ProtoMessage() {} -// Deprecated: Use MsgSetStoryWriterSet.ProtoReflect.Descriptor instead. -func (*MsgSetStoryWriterSet) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{72} +// Deprecated: Use MsgEncounterCreate.ProtoReflect.Descriptor instead. +func (*MsgEncounterCreate) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{88} } -func (x *MsgSetStoryWriterSet) GetCreator() string { +func (x *MsgEncounterCreate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetStoryWriterSet) GetSetId() uint64 { +func (x *MsgEncounterCreate) GetName() string { if x != nil { - return x.SetId + return x.Name } - return 0 + return "" } -func (x *MsgSetStoryWriterSet) GetStoryWriter() string { +func (x *MsgEncounterCreate) GetDrawlist() []uint64 { if x != nil { - return x.StoryWriter + return x.Drawlist } - return "" + return nil } -type MsgSetStoryWriterSetResponse struct { +func (x *MsgEncounterCreate) GetParameters() map[string]string { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *MsgEncounterCreate) GetImage() []byte { + if x != nil { + return x.Image + } + return nil +} + +type MsgEncounterCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetStoryWriterSetResponse) Reset() { - *x = MsgSetStoryWriterSetResponse{} +func (x *MsgEncounterCreateResponse) Reset() { + *x = MsgEncounterCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[73] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetStoryWriterSetResponse) String() string { +func (x *MsgEncounterCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetStoryWriterSetResponse) ProtoMessage() {} +func (*MsgEncounterCreateResponse) ProtoMessage() {} -// Deprecated: Use MsgSetStoryWriterSetResponse.ProtoReflect.Descriptor instead. -func (*MsgSetStoryWriterSetResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{73} +// Deprecated: Use MsgEncounterCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgEncounterCreateResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{89} } -type MsgSetArtistSet struct { +type MsgEncounterDo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` - Artist string `protobuf:"bytes,3,opt,name=artist,proto3" json:"artist,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + EncounterId uint64 `protobuf:"varint,2,opt,name=encounterId,proto3" json:"encounterId,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (x *MsgSetArtistSet) Reset() { - *x = MsgSetArtistSet{} +func (x *MsgEncounterDo) Reset() { + *x = MsgEncounterDo{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[74] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetArtistSet) String() string { +func (x *MsgEncounterDo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetArtistSet) ProtoMessage() {} +func (*MsgEncounterDo) ProtoMessage() {} -// Deprecated: Use MsgSetArtistSet.ProtoReflect.Descriptor instead. -func (*MsgSetArtistSet) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{74} +// Deprecated: Use MsgEncounterDo.ProtoReflect.Descriptor instead. +func (*MsgEncounterDo) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{90} } -func (x *MsgSetArtistSet) GetCreator() string { +func (x *MsgEncounterDo) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSetArtistSet) GetSetId() uint64 { +func (x *MsgEncounterDo) GetEncounterId() uint64 { if x != nil { - return x.SetId + return x.EncounterId } return 0 } -func (x *MsgSetArtistSet) GetArtist() string { +func (x *MsgEncounterDo) GetUser() string { if x != nil { - return x.Artist + return x.User } return "" } -type MsgSetArtistSetResponse struct { +type MsgEncounterDoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetArtistSetResponse) Reset() { - *x = MsgSetArtistSetResponse{} +func (x *MsgEncounterDoResponse) Reset() { + *x = MsgEncounterDoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[75] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetArtistSetResponse) String() string { +func (x *MsgEncounterDoResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetArtistSetResponse) ProtoMessage() {} +func (*MsgEncounterDoResponse) ProtoMessage() {} -// Deprecated: Use MsgSetArtistSetResponse.ProtoReflect.Descriptor instead. -func (*MsgSetArtistSetResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{75} +// Deprecated: Use MsgEncounterDoResponse.ProtoReflect.Descriptor instead. +func (*MsgEncounterDoResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{91} } -type MsgCardVoteMulti struct { +type MsgEncounterClose struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Votes []*SingleVote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + EncounterId uint64 `protobuf:"varint,2,opt,name=encounterId,proto3" json:"encounterId,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Won bool `protobuf:"varint,4,opt,name=won,proto3" json:"won,omitempty"` } -func (x *MsgCardVoteMulti) Reset() { - *x = MsgCardVoteMulti{} +func (x *MsgEncounterClose) Reset() { + *x = MsgEncounterClose{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[76] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardVoteMulti) String() string { +func (x *MsgEncounterClose) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardVoteMulti) ProtoMessage() {} +func (*MsgEncounterClose) ProtoMessage() {} -// Deprecated: Use MsgCardVoteMulti.ProtoReflect.Descriptor instead. -func (*MsgCardVoteMulti) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{76} +// Deprecated: Use MsgEncounterClose.ProtoReflect.Descriptor instead. +func (*MsgEncounterClose) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{92} } -func (x *MsgCardVoteMulti) GetCreator() string { +func (x *MsgEncounterClose) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgCardVoteMulti) GetVotes() []*SingleVote { +func (x *MsgEncounterClose) GetEncounterId() uint64 { if x != nil { - return x.Votes + return x.EncounterId } - return nil + return 0 } -type MsgCardVoteMultiResponse struct { +func (x *MsgEncounterClose) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +func (x *MsgEncounterClose) GetWon() bool { + if x != nil { + return x.Won + } + return false +} + +type MsgEncounterCloseResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - AirdropClaimed bool `protobuf:"varint,1,opt,name=airdropClaimed,proto3" json:"airdropClaimed,omitempty"` } -func (x *MsgCardVoteMultiResponse) Reset() { - *x = MsgCardVoteMultiResponse{} +func (x *MsgEncounterCloseResponse) Reset() { + *x = MsgEncounterCloseResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cardchain_cardchain_tx_proto_msgTypes[77] + mi := &file_cardchain_cardchain_tx_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgCardVoteMultiResponse) String() string { +func (x *MsgEncounterCloseResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgCardVoteMultiResponse) ProtoMessage() {} - -// Deprecated: Use MsgCardVoteMultiResponse.ProtoReflect.Descriptor instead. -func (*MsgCardVoteMultiResponse) Descriptor() ([]byte, []int) { - return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{77} -} +func (*MsgEncounterCloseResponse) ProtoMessage() {} -func (x *MsgCardVoteMultiResponse) GetAirdropClaimed() bool { - if x != nil { - return x.AirdropClaimed - } - return false +// Deprecated: Use MsgEncounterCloseResponse.ProtoReflect.Descriptor instead. +func (*MsgEncounterCloseResponse) Descriptor() ([]byte, []int) { + return file_cardchain_cardchain_tx_proto_rawDescGZIP(), []int{93} } var File_cardchain_cardchain_tx_proto protoreflect.FileDescriptor @@ -38629,280 +47211,413 @@ var file_cardchain_cardchain_tx_proto_rawDesc = []byte{ 0x74, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6c, 0x61, 0x69, 0x6d, - 0x65, 0x64, 0x32, 0xb5, 0x20, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x62, 0x0a, 0x0c, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x1a, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, - 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x1a, 0x2a, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, - 0x43, 0x61, 0x72, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, 0x79, 0x12, 0x25, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x65, 0x42, 0x75, 0x79, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, - 0x72, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x43, 0x61, 0x72, 0x64, 0x53, 0x61, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x61, 0x72, 0x64, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, - 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, - 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x53, 0x61, 0x76, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x56, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x1a, 0x28, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x43, 0x61, 0x72, 0x64, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x1a, 0x2c, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, - 0x43, 0x61, 0x72, 0x64, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x1a, 0x2a, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x44, 0x6f, 0x6e, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0e, 0x43, 0x61, - 0x72, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x12, 0x26, 0x2e, 0x63, + 0x65, 0x64, 0x22, 0xae, 0x01, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4f, + 0x70, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x42, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x42, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x64, 0x65, 0x63, 0x6b, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x64, + 0x65, 0x63, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x64, 0x65, + 0x63, 0x6b, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x42, 0x64, 0x65, 0x63, 0x6b, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x22, 0x30, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4f, + 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x53, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x52, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x41, + 0x6c, 0x69, 0x61, 0x73, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x45, 0x61, 0x72, 0x6c, 0x79, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x45, 0x61, + 0x72, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x5a, 0x65, + 0x61, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x65, 0x61, 0x6c, 0x79, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x7a, 0x65, 0x61, 0x6c, 0x79, 0x49, 0x64, 0x3a, 0x0c, + 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x19, 0x0a, 0x17, + 0x4d, 0x73, 0x67, 0x5a, 0x65, 0x61, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x45, + 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x64, 0x72, 0x61, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, + 0x64, 0x72, 0x61, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x41, 0x64, 0x64, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, - 0x72, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x10, 0x43, 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x28, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x1a, 0x30, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, - 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x6e, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x65, 0x72, 0x44, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x20, + 0x0a, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x65, 0x72, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x83, 0x01, 0x0a, + 0x11, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, + 0x65, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0b, 0x65, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x77, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x03, 0x77, 0x6f, 0x6e, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x65, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0xea, 0x26, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x62, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, - 0x6c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x71, 0x0a, 0x11, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x44, 0x65, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, - 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, - 0x69, 0x6c, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2d, 0x2e, + 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x14, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x41, 0x70, 0x70, - 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x41, 0x64, - 0x64, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, - 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x61, - 0x72, 0x64, 0x41, 0x64, 0x64, 0x1a, 0x2a, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x12, 0x29, 0x2e, + 0x4d, 0x73, 0x67, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, - 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x14, 0x53, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x12, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x1a, 0x34, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, - 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x69, - 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x53, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x1a, 0x2b, 0x2e, 0x63, 0x61, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x43, 0x61, 0x72, + 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, 0x79, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, + 0x79, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6b, 0x0a, 0x0f, 0x43, 0x61, 0x72, 0x64, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, + 0x64, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x2f, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, + 0x08, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, + 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x1a, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x43, 0x61, 0x72, + 0x64, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, + 0x67, 0x43, 0x61, 0x72, 0x64, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x44, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0e, 0x43, 0x61, 0x72, 0x64, 0x41, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x12, 0x26, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, - 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x64, 0x64, 0x12, 0x23, + 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, + 0x64, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x41, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x6e, 0x0a, 0x10, 0x43, 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x28, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, + 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x1a, + 0x30, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x41, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, + 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x2f, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, + 0x0a, 0x11, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, + 0x6e, 0x63, 0x69, 0x6c, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, - 0x41, 0x64, 0x64, 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x53, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x68, 0x0a, 0x0e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x42, - 0x75, 0x79, 0x12, 0x26, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, - 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x42, 0x75, 0x79, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, + 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x44, + 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x12, 0x23, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, + 0x6e, 0x63, 0x69, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x42, - 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x53, 0x65, - 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x14, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x12, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x1a, + 0x34, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, + 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x12, 0x22, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x41, + 0x64, 0x64, 0x1a, 0x2a, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, + 0x61, 0x72, 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, + 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, + 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, - 0x66, 0x66, 0x65, 0x72, 0x42, 0x75, 0x79, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x42, 0x75, 0x79, 0x1a, 0x2c, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, - 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x53, - 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x27, + 0x53, 0x65, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x6f, 0x72, 0x41, 0x64, 0x64, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x12, 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x34, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, - 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x43, 0x61, 0x72, 0x64, - 0x52, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, - 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x52, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, - 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x52, 0x61, - 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x7d, 0x0a, 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, + 0x69, 0x7a, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, + 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, - 0x0a, 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x12, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x1a, 0x35, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x73, 0x67, 0x53, 0x65, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x65, 0x76, 0x65, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, - 0x0e, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, + 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x1a, 0x2d, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, + 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x64, 0x64, 0x12, 0x23, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x41, 0x64, 0x64, + 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, + 0x72, 0x79, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, + 0x0e, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x42, 0x75, 0x79, 0x12, 0x26, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, - 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, - 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, + 0x50, 0x61, 0x63, 0x6b, 0x42, 0x75, 0x79, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x63, 0x68, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x42, 0x75, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x53, 0x65, 0x6c, 0x6c, 0x4f, + 0x66, 0x66, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, + 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, + 0x72, 0x42, 0x75, 0x79, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x42, 0x75, 0x79, 0x1a, 0x2c, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x42, 0x75, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x53, 0x65, 0x6c, 0x6c, + 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x27, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x6c, 0x6c, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x43, 0x61, 0x72, 0x64, 0x52, 0x61, 0x72, + 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, + 0x43, 0x61, 0x72, 0x64, 0x52, 0x61, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x1a, 0x2d, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x52, 0x61, 0x72, 0x69, 0x74, + 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x15, + 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, + 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, + 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x15, 0x43, + 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, + 0x76, 0x65, 0x61, 0x6c, 0x12, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, + 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x76, + 0x65, 0x61, 0x6c, 0x1a, 0x35, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, + 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x76, 0x65, + 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0e, 0x43, 0x6f, + 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x6f, + 0x75, 0x6e, 0x63, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x1a, 0x2c, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, 0x74, 0x12, 0x26, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x61, 0x72, 0x64, 0x53, + 0x65, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x65, 0x62, + 0x73, 0x69, 0x74, 0x65, 0x53, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x1a, 0x2c, 0x2e, + 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x53, + 0x65, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, + 0x42, 0x69, 0x6f, 0x53, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, + 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x69, 0x6f, 0x53, 0x65, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0e, 0x50, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, 0x74, 0x12, 0x26, 0x2e, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x69, + 0x6f, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, + 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x70, 0x65, 0x6e, 0x12, + 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, + 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x70, 0x65, 0x6e, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, + 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x70, 0x65, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x13, 0x42, 0x6f, 0x6f, + 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x12, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, + 0x72, 0x50, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x1a, 0x33, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x61, - 0x72, 0x64, 0x53, 0x65, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, - 0x57, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x53, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, + 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x57, 0x72, + 0x69, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, + 0x67, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x53, + 0x65, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x53, + 0x74, 0x6f, 0x72, 0x79, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x53, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, + 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x43, 0x61, 0x72, + 0x64, 0x56, 0x6f, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x73, 0x69, - 0x74, 0x65, 0x53, 0x65, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x53, 0x65, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x42, 0x69, 0x6f, 0x53, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, + 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, + 0x6f, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x59, 0x0a, 0x09, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x21, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x6e, + 0x1a, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4f, + 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x53, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x69, 0x6f, 0x53, 0x65, 0x74, - 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, - 0x65, 0x42, 0x69, 0x6f, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x6b, 0x0a, 0x0f, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x70, - 0x65, 0x6e, 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, - 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, - 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x70, 0x65, 0x6e, 0x1a, 0x2f, 0x2e, 0x63, 0x61, + 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x74, 0x1a, 0x2a, 0x2e, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x50, 0x72, 0x6f, + 0x66, 0x69, 0x6c, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x53, 0x65, 0x74, 0x12, 0x27, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x6c, 0x69, + 0x61, 0x73, 0x53, 0x65, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x45, 0x61, 0x72, 0x6c, 0x79, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, - 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x13, - 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, - 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x1a, 0x33, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x65, - 0x72, 0x50, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, - 0x79, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x57, 0x72, 0x69, 0x74, - 0x65, 0x72, 0x53, 0x65, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x1a, 0x2c, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x61, 0x72, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x1a, 0x31, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, + 0x45, 0x61, 0x72, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x5a, 0x65, 0x61, + 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x5a, 0x65, 0x61, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x1a, + 0x2c, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x5a, 0x65, 0x61, 0x6c, 0x79, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, + 0x0f, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x12, 0x27, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, + 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2f, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x45, 0x6e, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x6f, 0x12, 0x23, 0x2e, 0x63, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x6f, 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, - 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, - 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x12, 0x25, 0x2e, + 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, + 0x72, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0e, 0x45, + 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x26, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x1a, 0x2d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, - 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xcf, 0x01, 0x0a, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x72, - 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x65, - 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x47, 0x61, 0x6d, 0x65, 0x2f, - 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x61, - 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0xca, 0x02, 0x13, - 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5c, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0xe2, 0x02, 0x1f, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5c, - 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x3a, 0x3a, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x1a, 0x2e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x45, + 0x6e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xcf, 0x01, 0x0a, + 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x63, + 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x44, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x47, 0x61, 0x6d, + 0x65, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0xca, + 0x02, 0x13, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5c, 0x43, 0x61, 0x72, 0x64, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0xe2, 0x02, 0x1f, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x5c, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x3a, 0x3a, 0x43, 0x61, 0x72, 0x64, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -38917,7 +47632,7 @@ func file_cardchain_cardchain_tx_proto_rawDescGZIP() []byte { return file_cardchain_cardchain_tx_proto_rawDescData } -var file_cardchain_cardchain_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 78) +var file_cardchain_cardchain_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 95) var file_cardchain_cardchain_tx_proto_goTypes = []interface{}{ (*MsgUpdateParams)(nil), // 0: cardchain.cardchain.MsgUpdateParams (*MsgUpdateParamsResponse)(nil), // 1: cardchain.cardchain.MsgUpdateParamsResponse @@ -38997,108 +47712,142 @@ var file_cardchain_cardchain_tx_proto_goTypes = []interface{}{ (*MsgSetArtistSetResponse)(nil), // 75: cardchain.cardchain.MsgSetArtistSetResponse (*MsgCardVoteMulti)(nil), // 76: cardchain.cardchain.MsgCardVoteMulti (*MsgCardVoteMultiResponse)(nil), // 77: cardchain.cardchain.MsgCardVoteMultiResponse - (*Params)(nil), // 78: cardchain.cardchain.Params - (*v1beta1.Coin)(nil), // 79: cosmos.base.v1beta1.Coin - (*SingleVote)(nil), // 80: cardchain.cardchain.SingleVote - (Outcome)(0), // 81: cardchain.cardchain.Outcome - (CardRarity)(0), // 82: cardchain.cardchain.CardRarity - (Response)(0), // 83: cardchain.cardchain.Response + (*MsgMatchOpen)(nil), // 78: cardchain.cardchain.MsgMatchOpen + (*MsgMatchOpenResponse)(nil), // 79: cardchain.cardchain.MsgMatchOpenResponse + (*MsgSetNameSet)(nil), // 80: cardchain.cardchain.MsgSetNameSet + (*MsgSetNameSetResponse)(nil), // 81: cardchain.cardchain.MsgSetNameSetResponse + (*MsgProfileAliasSet)(nil), // 82: cardchain.cardchain.MsgProfileAliasSet + (*MsgProfileAliasSetResponse)(nil), // 83: cardchain.cardchain.MsgProfileAliasSetResponse + (*MsgEarlyAccessInvite)(nil), // 84: cardchain.cardchain.MsgEarlyAccessInvite + (*MsgEarlyAccessInviteResponse)(nil), // 85: cardchain.cardchain.MsgEarlyAccessInviteResponse + (*MsgZealyConnect)(nil), // 86: cardchain.cardchain.MsgZealyConnect + (*MsgZealyConnectResponse)(nil), // 87: cardchain.cardchain.MsgZealyConnectResponse + (*MsgEncounterCreate)(nil), // 88: cardchain.cardchain.MsgEncounterCreate + (*MsgEncounterCreateResponse)(nil), // 89: cardchain.cardchain.MsgEncounterCreateResponse + (*MsgEncounterDo)(nil), // 90: cardchain.cardchain.MsgEncounterDo + (*MsgEncounterDoResponse)(nil), // 91: cardchain.cardchain.MsgEncounterDoResponse + (*MsgEncounterClose)(nil), // 92: cardchain.cardchain.MsgEncounterClose + (*MsgEncounterCloseResponse)(nil), // 93: cardchain.cardchain.MsgEncounterCloseResponse + nil, // 94: cardchain.cardchain.MsgEncounterCreate.ParametersEntry + (*Params)(nil), // 95: cardchain.cardchain.Params + (*v1beta1.Coin)(nil), // 96: cosmos.base.v1beta1.Coin + (*SingleVote)(nil), // 97: cardchain.cardchain.SingleVote + (Outcome)(0), // 98: cardchain.cardchain.Outcome + (CardRarity)(0), // 99: cardchain.cardchain.CardRarity + (Response)(0), // 100: cardchain.cardchain.Response } var file_cardchain_cardchain_tx_proto_depIdxs = []int32{ - 78, // 0: cardchain.cardchain.MsgUpdateParams.params:type_name -> cardchain.cardchain.Params - 79, // 1: cardchain.cardchain.MsgCardSchemeBuy.bid:type_name -> cosmos.base.v1beta1.Coin - 80, // 2: cardchain.cardchain.MsgCardVote.vote:type_name -> cardchain.cardchain.SingleVote - 79, // 3: cardchain.cardchain.MsgCardDonate.amount:type_name -> cosmos.base.v1beta1.Coin - 81, // 4: cardchain.cardchain.MsgMatchReport.outcome:type_name -> cardchain.cardchain.Outcome - 79, // 5: cardchain.cardchain.MsgSellOfferCreate.price:type_name -> cosmos.base.v1beta1.Coin - 82, // 6: cardchain.cardchain.MsgCardRaritySet.rarity:type_name -> cardchain.cardchain.CardRarity - 83, // 7: cardchain.cardchain.MsgCouncilResponseReveal.reponse:type_name -> cardchain.cardchain.Response - 81, // 8: cardchain.cardchain.MsgMatchConfirm.outcome:type_name -> cardchain.cardchain.Outcome - 80, // 9: cardchain.cardchain.MsgMatchConfirm.votedCards:type_name -> cardchain.cardchain.SingleVote - 80, // 10: cardchain.cardchain.MsgCardVoteMulti.votes:type_name -> cardchain.cardchain.SingleVote - 0, // 11: cardchain.cardchain.Msg.UpdateParams:input_type -> cardchain.cardchain.MsgUpdateParams - 2, // 12: cardchain.cardchain.Msg.UserCreate:input_type -> cardchain.cardchain.MsgUserCreate - 4, // 13: cardchain.cardchain.Msg.CardSchemeBuy:input_type -> cardchain.cardchain.MsgCardSchemeBuy - 6, // 14: cardchain.cardchain.Msg.CardSaveContent:input_type -> cardchain.cardchain.MsgCardSaveContent - 8, // 15: cardchain.cardchain.Msg.CardVote:input_type -> cardchain.cardchain.MsgCardVote - 10, // 16: cardchain.cardchain.Msg.CardTransfer:input_type -> cardchain.cardchain.MsgCardTransfer - 12, // 17: cardchain.cardchain.Msg.CardDonate:input_type -> cardchain.cardchain.MsgCardDonate - 14, // 18: cardchain.cardchain.Msg.CardArtworkAdd:input_type -> cardchain.cardchain.MsgCardArtworkAdd - 16, // 19: cardchain.cardchain.Msg.CardArtistChange:input_type -> cardchain.cardchain.MsgCardArtistChange - 18, // 20: cardchain.cardchain.Msg.CouncilRegister:input_type -> cardchain.cardchain.MsgCouncilRegister - 20, // 21: cardchain.cardchain.Msg.CouncilDeregister:input_type -> cardchain.cardchain.MsgCouncilDeregister - 22, // 22: cardchain.cardchain.Msg.MatchReport:input_type -> cardchain.cardchain.MsgMatchReport - 24, // 23: cardchain.cardchain.Msg.CouncilCreate:input_type -> cardchain.cardchain.MsgCouncilCreate - 26, // 24: cardchain.cardchain.Msg.MatchReporterAppoint:input_type -> cardchain.cardchain.MsgMatchReporterAppoint - 28, // 25: cardchain.cardchain.Msg.SetCreate:input_type -> cardchain.cardchain.MsgSetCreate - 30, // 26: cardchain.cardchain.Msg.SetCardAdd:input_type -> cardchain.cardchain.MsgSetCardAdd - 32, // 27: cardchain.cardchain.Msg.SetCardRemove:input_type -> cardchain.cardchain.MsgSetCardRemove - 34, // 28: cardchain.cardchain.Msg.SetContributorAdd:input_type -> cardchain.cardchain.MsgSetContributorAdd - 36, // 29: cardchain.cardchain.Msg.SetContributorRemove:input_type -> cardchain.cardchain.MsgSetContributorRemove - 38, // 30: cardchain.cardchain.Msg.SetFinalize:input_type -> cardchain.cardchain.MsgSetFinalize - 40, // 31: cardchain.cardchain.Msg.SetArtworkAdd:input_type -> cardchain.cardchain.MsgSetArtworkAdd - 42, // 32: cardchain.cardchain.Msg.SetStoryAdd:input_type -> cardchain.cardchain.MsgSetStoryAdd - 44, // 33: cardchain.cardchain.Msg.BoosterPackBuy:input_type -> cardchain.cardchain.MsgBoosterPackBuy - 46, // 34: cardchain.cardchain.Msg.SellOfferCreate:input_type -> cardchain.cardchain.MsgSellOfferCreate - 48, // 35: cardchain.cardchain.Msg.SellOfferBuy:input_type -> cardchain.cardchain.MsgSellOfferBuy - 50, // 36: cardchain.cardchain.Msg.SellOfferRemove:input_type -> cardchain.cardchain.MsgSellOfferRemove - 52, // 37: cardchain.cardchain.Msg.CardRaritySet:input_type -> cardchain.cardchain.MsgCardRaritySet - 54, // 38: cardchain.cardchain.Msg.CouncilResponseCommit:input_type -> cardchain.cardchain.MsgCouncilResponseCommit - 56, // 39: cardchain.cardchain.Msg.CouncilResponseReveal:input_type -> cardchain.cardchain.MsgCouncilResponseReveal - 58, // 40: cardchain.cardchain.Msg.CouncilRestart:input_type -> cardchain.cardchain.MsgCouncilRestart - 60, // 41: cardchain.cardchain.Msg.MatchConfirm:input_type -> cardchain.cardchain.MsgMatchConfirm - 62, // 42: cardchain.cardchain.Msg.ProfileCardSet:input_type -> cardchain.cardchain.MsgProfileCardSet - 64, // 43: cardchain.cardchain.Msg.ProfileWebsiteSet:input_type -> cardchain.cardchain.MsgProfileWebsiteSet - 66, // 44: cardchain.cardchain.Msg.ProfileBioSet:input_type -> cardchain.cardchain.MsgProfileBioSet - 68, // 45: cardchain.cardchain.Msg.BoosterPackOpen:input_type -> cardchain.cardchain.MsgBoosterPackOpen - 70, // 46: cardchain.cardchain.Msg.BoosterPackTransfer:input_type -> cardchain.cardchain.MsgBoosterPackTransfer - 72, // 47: cardchain.cardchain.Msg.SetStoryWriterSet:input_type -> cardchain.cardchain.MsgSetStoryWriterSet - 74, // 48: cardchain.cardchain.Msg.SetArtistSet:input_type -> cardchain.cardchain.MsgSetArtistSet - 76, // 49: cardchain.cardchain.Msg.CardVoteMulti:input_type -> cardchain.cardchain.MsgCardVoteMulti - 1, // 50: cardchain.cardchain.Msg.UpdateParams:output_type -> cardchain.cardchain.MsgUpdateParamsResponse - 3, // 51: cardchain.cardchain.Msg.UserCreate:output_type -> cardchain.cardchain.MsgUserCreateResponse - 5, // 52: cardchain.cardchain.Msg.CardSchemeBuy:output_type -> cardchain.cardchain.MsgCardSchemeBuyResponse - 7, // 53: cardchain.cardchain.Msg.CardSaveContent:output_type -> cardchain.cardchain.MsgCardSaveContentResponse - 9, // 54: cardchain.cardchain.Msg.CardVote:output_type -> cardchain.cardchain.MsgCardVoteResponse - 11, // 55: cardchain.cardchain.Msg.CardTransfer:output_type -> cardchain.cardchain.MsgCardTransferResponse - 13, // 56: cardchain.cardchain.Msg.CardDonate:output_type -> cardchain.cardchain.MsgCardDonateResponse - 15, // 57: cardchain.cardchain.Msg.CardArtworkAdd:output_type -> cardchain.cardchain.MsgCardArtworkAddResponse - 17, // 58: cardchain.cardchain.Msg.CardArtistChange:output_type -> cardchain.cardchain.MsgCardArtistChangeResponse - 19, // 59: cardchain.cardchain.Msg.CouncilRegister:output_type -> cardchain.cardchain.MsgCouncilRegisterResponse - 21, // 60: cardchain.cardchain.Msg.CouncilDeregister:output_type -> cardchain.cardchain.MsgCouncilDeregisterResponse - 23, // 61: cardchain.cardchain.Msg.MatchReport:output_type -> cardchain.cardchain.MsgMatchReportResponse - 25, // 62: cardchain.cardchain.Msg.CouncilCreate:output_type -> cardchain.cardchain.MsgCouncilCreateResponse - 27, // 63: cardchain.cardchain.Msg.MatchReporterAppoint:output_type -> cardchain.cardchain.MsgMatchReporterAppointResponse - 29, // 64: cardchain.cardchain.Msg.SetCreate:output_type -> cardchain.cardchain.MsgSetCreateResponse - 31, // 65: cardchain.cardchain.Msg.SetCardAdd:output_type -> cardchain.cardchain.MsgSetCardAddResponse - 33, // 66: cardchain.cardchain.Msg.SetCardRemove:output_type -> cardchain.cardchain.MsgSetCardRemoveResponse - 35, // 67: cardchain.cardchain.Msg.SetContributorAdd:output_type -> cardchain.cardchain.MsgSetContributorAddResponse - 37, // 68: cardchain.cardchain.Msg.SetContributorRemove:output_type -> cardchain.cardchain.MsgSetContributorRemoveResponse - 39, // 69: cardchain.cardchain.Msg.SetFinalize:output_type -> cardchain.cardchain.MsgSetFinalizeResponse - 41, // 70: cardchain.cardchain.Msg.SetArtworkAdd:output_type -> cardchain.cardchain.MsgSetArtworkAddResponse - 43, // 71: cardchain.cardchain.Msg.SetStoryAdd:output_type -> cardchain.cardchain.MsgSetStoryAddResponse - 45, // 72: cardchain.cardchain.Msg.BoosterPackBuy:output_type -> cardchain.cardchain.MsgBoosterPackBuyResponse - 47, // 73: cardchain.cardchain.Msg.SellOfferCreate:output_type -> cardchain.cardchain.MsgSellOfferCreateResponse - 49, // 74: cardchain.cardchain.Msg.SellOfferBuy:output_type -> cardchain.cardchain.MsgSellOfferBuyResponse - 51, // 75: cardchain.cardchain.Msg.SellOfferRemove:output_type -> cardchain.cardchain.MsgSellOfferRemoveResponse - 53, // 76: cardchain.cardchain.Msg.CardRaritySet:output_type -> cardchain.cardchain.MsgCardRaritySetResponse - 55, // 77: cardchain.cardchain.Msg.CouncilResponseCommit:output_type -> cardchain.cardchain.MsgCouncilResponseCommitResponse - 57, // 78: cardchain.cardchain.Msg.CouncilResponseReveal:output_type -> cardchain.cardchain.MsgCouncilResponseRevealResponse - 59, // 79: cardchain.cardchain.Msg.CouncilRestart:output_type -> cardchain.cardchain.MsgCouncilRestartResponse - 61, // 80: cardchain.cardchain.Msg.MatchConfirm:output_type -> cardchain.cardchain.MsgMatchConfirmResponse - 63, // 81: cardchain.cardchain.Msg.ProfileCardSet:output_type -> cardchain.cardchain.MsgProfileCardSetResponse - 65, // 82: cardchain.cardchain.Msg.ProfileWebsiteSet:output_type -> cardchain.cardchain.MsgProfileWebsiteSetResponse - 67, // 83: cardchain.cardchain.Msg.ProfileBioSet:output_type -> cardchain.cardchain.MsgProfileBioSetResponse - 69, // 84: cardchain.cardchain.Msg.BoosterPackOpen:output_type -> cardchain.cardchain.MsgBoosterPackOpenResponse - 71, // 85: cardchain.cardchain.Msg.BoosterPackTransfer:output_type -> cardchain.cardchain.MsgBoosterPackTransferResponse - 73, // 86: cardchain.cardchain.Msg.SetStoryWriterSet:output_type -> cardchain.cardchain.MsgSetStoryWriterSetResponse - 75, // 87: cardchain.cardchain.Msg.SetArtistSet:output_type -> cardchain.cardchain.MsgSetArtistSetResponse - 77, // 88: cardchain.cardchain.Msg.CardVoteMulti:output_type -> cardchain.cardchain.MsgCardVoteMultiResponse - 50, // [50:89] is the sub-list for method output_type - 11, // [11:50] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name + 95, // 0: cardchain.cardchain.MsgUpdateParams.params:type_name -> cardchain.cardchain.Params + 96, // 1: cardchain.cardchain.MsgCardSchemeBuy.bid:type_name -> cosmos.base.v1beta1.Coin + 97, // 2: cardchain.cardchain.MsgCardVote.vote:type_name -> cardchain.cardchain.SingleVote + 96, // 3: cardchain.cardchain.MsgCardDonate.amount:type_name -> cosmos.base.v1beta1.Coin + 98, // 4: cardchain.cardchain.MsgMatchReport.outcome:type_name -> cardchain.cardchain.Outcome + 96, // 5: cardchain.cardchain.MsgSellOfferCreate.price:type_name -> cosmos.base.v1beta1.Coin + 99, // 6: cardchain.cardchain.MsgCardRaritySet.rarity:type_name -> cardchain.cardchain.CardRarity + 100, // 7: cardchain.cardchain.MsgCouncilResponseReveal.reponse:type_name -> cardchain.cardchain.Response + 98, // 8: cardchain.cardchain.MsgMatchConfirm.outcome:type_name -> cardchain.cardchain.Outcome + 97, // 9: cardchain.cardchain.MsgMatchConfirm.votedCards:type_name -> cardchain.cardchain.SingleVote + 97, // 10: cardchain.cardchain.MsgCardVoteMulti.votes:type_name -> cardchain.cardchain.SingleVote + 94, // 11: cardchain.cardchain.MsgEncounterCreate.parameters:type_name -> cardchain.cardchain.MsgEncounterCreate.ParametersEntry + 0, // 12: cardchain.cardchain.Msg.UpdateParams:input_type -> cardchain.cardchain.MsgUpdateParams + 2, // 13: cardchain.cardchain.Msg.UserCreate:input_type -> cardchain.cardchain.MsgUserCreate + 4, // 14: cardchain.cardchain.Msg.CardSchemeBuy:input_type -> cardchain.cardchain.MsgCardSchemeBuy + 6, // 15: cardchain.cardchain.Msg.CardSaveContent:input_type -> cardchain.cardchain.MsgCardSaveContent + 8, // 16: cardchain.cardchain.Msg.CardVote:input_type -> cardchain.cardchain.MsgCardVote + 10, // 17: cardchain.cardchain.Msg.CardTransfer:input_type -> cardchain.cardchain.MsgCardTransfer + 12, // 18: cardchain.cardchain.Msg.CardDonate:input_type -> cardchain.cardchain.MsgCardDonate + 14, // 19: cardchain.cardchain.Msg.CardArtworkAdd:input_type -> cardchain.cardchain.MsgCardArtworkAdd + 16, // 20: cardchain.cardchain.Msg.CardArtistChange:input_type -> cardchain.cardchain.MsgCardArtistChange + 18, // 21: cardchain.cardchain.Msg.CouncilRegister:input_type -> cardchain.cardchain.MsgCouncilRegister + 20, // 22: cardchain.cardchain.Msg.CouncilDeregister:input_type -> cardchain.cardchain.MsgCouncilDeregister + 22, // 23: cardchain.cardchain.Msg.MatchReport:input_type -> cardchain.cardchain.MsgMatchReport + 24, // 24: cardchain.cardchain.Msg.CouncilCreate:input_type -> cardchain.cardchain.MsgCouncilCreate + 26, // 25: cardchain.cardchain.Msg.MatchReporterAppoint:input_type -> cardchain.cardchain.MsgMatchReporterAppoint + 28, // 26: cardchain.cardchain.Msg.SetCreate:input_type -> cardchain.cardchain.MsgSetCreate + 30, // 27: cardchain.cardchain.Msg.SetCardAdd:input_type -> cardchain.cardchain.MsgSetCardAdd + 32, // 28: cardchain.cardchain.Msg.SetCardRemove:input_type -> cardchain.cardchain.MsgSetCardRemove + 34, // 29: cardchain.cardchain.Msg.SetContributorAdd:input_type -> cardchain.cardchain.MsgSetContributorAdd + 36, // 30: cardchain.cardchain.Msg.SetContributorRemove:input_type -> cardchain.cardchain.MsgSetContributorRemove + 38, // 31: cardchain.cardchain.Msg.SetFinalize:input_type -> cardchain.cardchain.MsgSetFinalize + 40, // 32: cardchain.cardchain.Msg.SetArtworkAdd:input_type -> cardchain.cardchain.MsgSetArtworkAdd + 42, // 33: cardchain.cardchain.Msg.SetStoryAdd:input_type -> cardchain.cardchain.MsgSetStoryAdd + 44, // 34: cardchain.cardchain.Msg.BoosterPackBuy:input_type -> cardchain.cardchain.MsgBoosterPackBuy + 46, // 35: cardchain.cardchain.Msg.SellOfferCreate:input_type -> cardchain.cardchain.MsgSellOfferCreate + 48, // 36: cardchain.cardchain.Msg.SellOfferBuy:input_type -> cardchain.cardchain.MsgSellOfferBuy + 50, // 37: cardchain.cardchain.Msg.SellOfferRemove:input_type -> cardchain.cardchain.MsgSellOfferRemove + 52, // 38: cardchain.cardchain.Msg.CardRaritySet:input_type -> cardchain.cardchain.MsgCardRaritySet + 54, // 39: cardchain.cardchain.Msg.CouncilResponseCommit:input_type -> cardchain.cardchain.MsgCouncilResponseCommit + 56, // 40: cardchain.cardchain.Msg.CouncilResponseReveal:input_type -> cardchain.cardchain.MsgCouncilResponseReveal + 58, // 41: cardchain.cardchain.Msg.CouncilRestart:input_type -> cardchain.cardchain.MsgCouncilRestart + 60, // 42: cardchain.cardchain.Msg.MatchConfirm:input_type -> cardchain.cardchain.MsgMatchConfirm + 62, // 43: cardchain.cardchain.Msg.ProfileCardSet:input_type -> cardchain.cardchain.MsgProfileCardSet + 64, // 44: cardchain.cardchain.Msg.ProfileWebsiteSet:input_type -> cardchain.cardchain.MsgProfileWebsiteSet + 66, // 45: cardchain.cardchain.Msg.ProfileBioSet:input_type -> cardchain.cardchain.MsgProfileBioSet + 68, // 46: cardchain.cardchain.Msg.BoosterPackOpen:input_type -> cardchain.cardchain.MsgBoosterPackOpen + 70, // 47: cardchain.cardchain.Msg.BoosterPackTransfer:input_type -> cardchain.cardchain.MsgBoosterPackTransfer + 72, // 48: cardchain.cardchain.Msg.SetStoryWriterSet:input_type -> cardchain.cardchain.MsgSetStoryWriterSet + 74, // 49: cardchain.cardchain.Msg.SetArtistSet:input_type -> cardchain.cardchain.MsgSetArtistSet + 76, // 50: cardchain.cardchain.Msg.CardVoteMulti:input_type -> cardchain.cardchain.MsgCardVoteMulti + 78, // 51: cardchain.cardchain.Msg.MatchOpen:input_type -> cardchain.cardchain.MsgMatchOpen + 80, // 52: cardchain.cardchain.Msg.SetNameSet:input_type -> cardchain.cardchain.MsgSetNameSet + 82, // 53: cardchain.cardchain.Msg.ProfileAliasSet:input_type -> cardchain.cardchain.MsgProfileAliasSet + 84, // 54: cardchain.cardchain.Msg.EarlyAccessInvite:input_type -> cardchain.cardchain.MsgEarlyAccessInvite + 86, // 55: cardchain.cardchain.Msg.ZealyConnect:input_type -> cardchain.cardchain.MsgZealyConnect + 88, // 56: cardchain.cardchain.Msg.EncounterCreate:input_type -> cardchain.cardchain.MsgEncounterCreate + 90, // 57: cardchain.cardchain.Msg.EncounterDo:input_type -> cardchain.cardchain.MsgEncounterDo + 92, // 58: cardchain.cardchain.Msg.EncounterClose:input_type -> cardchain.cardchain.MsgEncounterClose + 1, // 59: cardchain.cardchain.Msg.UpdateParams:output_type -> cardchain.cardchain.MsgUpdateParamsResponse + 3, // 60: cardchain.cardchain.Msg.UserCreate:output_type -> cardchain.cardchain.MsgUserCreateResponse + 5, // 61: cardchain.cardchain.Msg.CardSchemeBuy:output_type -> cardchain.cardchain.MsgCardSchemeBuyResponse + 7, // 62: cardchain.cardchain.Msg.CardSaveContent:output_type -> cardchain.cardchain.MsgCardSaveContentResponse + 9, // 63: cardchain.cardchain.Msg.CardVote:output_type -> cardchain.cardchain.MsgCardVoteResponse + 11, // 64: cardchain.cardchain.Msg.CardTransfer:output_type -> cardchain.cardchain.MsgCardTransferResponse + 13, // 65: cardchain.cardchain.Msg.CardDonate:output_type -> cardchain.cardchain.MsgCardDonateResponse + 15, // 66: cardchain.cardchain.Msg.CardArtworkAdd:output_type -> cardchain.cardchain.MsgCardArtworkAddResponse + 17, // 67: cardchain.cardchain.Msg.CardArtistChange:output_type -> cardchain.cardchain.MsgCardArtistChangeResponse + 19, // 68: cardchain.cardchain.Msg.CouncilRegister:output_type -> cardchain.cardchain.MsgCouncilRegisterResponse + 21, // 69: cardchain.cardchain.Msg.CouncilDeregister:output_type -> cardchain.cardchain.MsgCouncilDeregisterResponse + 23, // 70: cardchain.cardchain.Msg.MatchReport:output_type -> cardchain.cardchain.MsgMatchReportResponse + 25, // 71: cardchain.cardchain.Msg.CouncilCreate:output_type -> cardchain.cardchain.MsgCouncilCreateResponse + 27, // 72: cardchain.cardchain.Msg.MatchReporterAppoint:output_type -> cardchain.cardchain.MsgMatchReporterAppointResponse + 29, // 73: cardchain.cardchain.Msg.SetCreate:output_type -> cardchain.cardchain.MsgSetCreateResponse + 31, // 74: cardchain.cardchain.Msg.SetCardAdd:output_type -> cardchain.cardchain.MsgSetCardAddResponse + 33, // 75: cardchain.cardchain.Msg.SetCardRemove:output_type -> cardchain.cardchain.MsgSetCardRemoveResponse + 35, // 76: cardchain.cardchain.Msg.SetContributorAdd:output_type -> cardchain.cardchain.MsgSetContributorAddResponse + 37, // 77: cardchain.cardchain.Msg.SetContributorRemove:output_type -> cardchain.cardchain.MsgSetContributorRemoveResponse + 39, // 78: cardchain.cardchain.Msg.SetFinalize:output_type -> cardchain.cardchain.MsgSetFinalizeResponse + 41, // 79: cardchain.cardchain.Msg.SetArtworkAdd:output_type -> cardchain.cardchain.MsgSetArtworkAddResponse + 43, // 80: cardchain.cardchain.Msg.SetStoryAdd:output_type -> cardchain.cardchain.MsgSetStoryAddResponse + 45, // 81: cardchain.cardchain.Msg.BoosterPackBuy:output_type -> cardchain.cardchain.MsgBoosterPackBuyResponse + 47, // 82: cardchain.cardchain.Msg.SellOfferCreate:output_type -> cardchain.cardchain.MsgSellOfferCreateResponse + 49, // 83: cardchain.cardchain.Msg.SellOfferBuy:output_type -> cardchain.cardchain.MsgSellOfferBuyResponse + 51, // 84: cardchain.cardchain.Msg.SellOfferRemove:output_type -> cardchain.cardchain.MsgSellOfferRemoveResponse + 53, // 85: cardchain.cardchain.Msg.CardRaritySet:output_type -> cardchain.cardchain.MsgCardRaritySetResponse + 55, // 86: cardchain.cardchain.Msg.CouncilResponseCommit:output_type -> cardchain.cardchain.MsgCouncilResponseCommitResponse + 57, // 87: cardchain.cardchain.Msg.CouncilResponseReveal:output_type -> cardchain.cardchain.MsgCouncilResponseRevealResponse + 59, // 88: cardchain.cardchain.Msg.CouncilRestart:output_type -> cardchain.cardchain.MsgCouncilRestartResponse + 61, // 89: cardchain.cardchain.Msg.MatchConfirm:output_type -> cardchain.cardchain.MsgMatchConfirmResponse + 63, // 90: cardchain.cardchain.Msg.ProfileCardSet:output_type -> cardchain.cardchain.MsgProfileCardSetResponse + 65, // 91: cardchain.cardchain.Msg.ProfileWebsiteSet:output_type -> cardchain.cardchain.MsgProfileWebsiteSetResponse + 67, // 92: cardchain.cardchain.Msg.ProfileBioSet:output_type -> cardchain.cardchain.MsgProfileBioSetResponse + 69, // 93: cardchain.cardchain.Msg.BoosterPackOpen:output_type -> cardchain.cardchain.MsgBoosterPackOpenResponse + 71, // 94: cardchain.cardchain.Msg.BoosterPackTransfer:output_type -> cardchain.cardchain.MsgBoosterPackTransferResponse + 73, // 95: cardchain.cardchain.Msg.SetStoryWriterSet:output_type -> cardchain.cardchain.MsgSetStoryWriterSetResponse + 75, // 96: cardchain.cardchain.Msg.SetArtistSet:output_type -> cardchain.cardchain.MsgSetArtistSetResponse + 77, // 97: cardchain.cardchain.Msg.CardVoteMulti:output_type -> cardchain.cardchain.MsgCardVoteMultiResponse + 79, // 98: cardchain.cardchain.Msg.MatchOpen:output_type -> cardchain.cardchain.MsgMatchOpenResponse + 81, // 99: cardchain.cardchain.Msg.SetNameSet:output_type -> cardchain.cardchain.MsgSetNameSetResponse + 83, // 100: cardchain.cardchain.Msg.ProfileAliasSet:output_type -> cardchain.cardchain.MsgProfileAliasSetResponse + 85, // 101: cardchain.cardchain.Msg.EarlyAccessInvite:output_type -> cardchain.cardchain.MsgEarlyAccessInviteResponse + 87, // 102: cardchain.cardchain.Msg.ZealyConnect:output_type -> cardchain.cardchain.MsgZealyConnectResponse + 89, // 103: cardchain.cardchain.Msg.EncounterCreate:output_type -> cardchain.cardchain.MsgEncounterCreateResponse + 91, // 104: cardchain.cardchain.Msg.EncounterDo:output_type -> cardchain.cardchain.MsgEncounterDoResponse + 93, // 105: cardchain.cardchain.Msg.EncounterClose:output_type -> cardchain.cardchain.MsgEncounterCloseResponse + 59, // [59:106] is the sub-list for method output_type + 12, // [12:59] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_cardchain_cardchain_tx_proto_init() } @@ -40048,6 +48797,198 @@ func file_cardchain_cardchain_tx_proto_init() { return nil } } + file_cardchain_cardchain_tx_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgMatchOpen); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgMatchOpenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSetNameSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSetNameSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProfileAliasSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProfileAliasSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEarlyAccessInvite); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEarlyAccessInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgZealyConnect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgZealyConnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEncounterCreate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEncounterCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEncounterDo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEncounterDoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEncounterClose); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cardchain_cardchain_tx_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEncounterCloseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -40055,7 +48996,7 @@ func file_cardchain_cardchain_tx_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_cardchain_cardchain_tx_proto_rawDesc, NumEnums: 0, - NumMessages: 78, + NumMessages: 95, NumExtensions: 0, NumServices: 1, }, diff --git a/api/cardchain/cardchain/tx_grpc.pb.go b/api/cardchain/cardchain/tx_grpc.pb.go index 348aa6e3..3a84c3e1 100644 --- a/api/cardchain/cardchain/tx_grpc.pb.go +++ b/api/cardchain/cardchain/tx_grpc.pb.go @@ -58,6 +58,14 @@ const ( Msg_SetStoryWriterSet_FullMethodName = "/cardchain.cardchain.Msg/SetStoryWriterSet" Msg_SetArtistSet_FullMethodName = "/cardchain.cardchain.Msg/SetArtistSet" Msg_CardVoteMulti_FullMethodName = "/cardchain.cardchain.Msg/CardVoteMulti" + Msg_MatchOpen_FullMethodName = "/cardchain.cardchain.Msg/MatchOpen" + Msg_SetNameSet_FullMethodName = "/cardchain.cardchain.Msg/SetNameSet" + Msg_ProfileAliasSet_FullMethodName = "/cardchain.cardchain.Msg/ProfileAliasSet" + Msg_EarlyAccessInvite_FullMethodName = "/cardchain.cardchain.Msg/EarlyAccessInvite" + Msg_ZealyConnect_FullMethodName = "/cardchain.cardchain.Msg/ZealyConnect" + Msg_EncounterCreate_FullMethodName = "/cardchain.cardchain.Msg/EncounterCreate" + Msg_EncounterDo_FullMethodName = "/cardchain.cardchain.Msg/EncounterDo" + Msg_EncounterClose_FullMethodName = "/cardchain.cardchain.Msg/EncounterClose" ) // MsgClient is the client API for Msg service. @@ -105,6 +113,14 @@ type MsgClient interface { SetStoryWriterSet(ctx context.Context, in *MsgSetStoryWriterSet, opts ...grpc.CallOption) (*MsgSetStoryWriterSetResponse, error) SetArtistSet(ctx context.Context, in *MsgSetArtistSet, opts ...grpc.CallOption) (*MsgSetArtistSetResponse, error) CardVoteMulti(ctx context.Context, in *MsgCardVoteMulti, opts ...grpc.CallOption) (*MsgCardVoteMultiResponse, error) + MatchOpen(ctx context.Context, in *MsgMatchOpen, opts ...grpc.CallOption) (*MsgMatchOpenResponse, error) + SetNameSet(ctx context.Context, in *MsgSetNameSet, opts ...grpc.CallOption) (*MsgSetNameSetResponse, error) + ProfileAliasSet(ctx context.Context, in *MsgProfileAliasSet, opts ...grpc.CallOption) (*MsgProfileAliasSetResponse, error) + EarlyAccessInvite(ctx context.Context, in *MsgEarlyAccessInvite, opts ...grpc.CallOption) (*MsgEarlyAccessInviteResponse, error) + ZealyConnect(ctx context.Context, in *MsgZealyConnect, opts ...grpc.CallOption) (*MsgZealyConnectResponse, error) + EncounterCreate(ctx context.Context, in *MsgEncounterCreate, opts ...grpc.CallOption) (*MsgEncounterCreateResponse, error) + EncounterDo(ctx context.Context, in *MsgEncounterDo, opts ...grpc.CallOption) (*MsgEncounterDoResponse, error) + EncounterClose(ctx context.Context, in *MsgEncounterClose, opts ...grpc.CallOption) (*MsgEncounterCloseResponse, error) } type msgClient struct { @@ -466,6 +482,78 @@ func (c *msgClient) CardVoteMulti(ctx context.Context, in *MsgCardVoteMulti, opt return out, nil } +func (c *msgClient) MatchOpen(ctx context.Context, in *MsgMatchOpen, opts ...grpc.CallOption) (*MsgMatchOpenResponse, error) { + out := new(MsgMatchOpenResponse) + err := c.cc.Invoke(ctx, Msg_MatchOpen_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) SetNameSet(ctx context.Context, in *MsgSetNameSet, opts ...grpc.CallOption) (*MsgSetNameSetResponse, error) { + out := new(MsgSetNameSetResponse) + err := c.cc.Invoke(ctx, Msg_SetNameSet_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProfileAliasSet(ctx context.Context, in *MsgProfileAliasSet, opts ...grpc.CallOption) (*MsgProfileAliasSetResponse, error) { + out := new(MsgProfileAliasSetResponse) + err := c.cc.Invoke(ctx, Msg_ProfileAliasSet_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) EarlyAccessInvite(ctx context.Context, in *MsgEarlyAccessInvite, opts ...grpc.CallOption) (*MsgEarlyAccessInviteResponse, error) { + out := new(MsgEarlyAccessInviteResponse) + err := c.cc.Invoke(ctx, Msg_EarlyAccessInvite_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ZealyConnect(ctx context.Context, in *MsgZealyConnect, opts ...grpc.CallOption) (*MsgZealyConnectResponse, error) { + out := new(MsgZealyConnectResponse) + err := c.cc.Invoke(ctx, Msg_ZealyConnect_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) EncounterCreate(ctx context.Context, in *MsgEncounterCreate, opts ...grpc.CallOption) (*MsgEncounterCreateResponse, error) { + out := new(MsgEncounterCreateResponse) + err := c.cc.Invoke(ctx, Msg_EncounterCreate_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) EncounterDo(ctx context.Context, in *MsgEncounterDo, opts ...grpc.CallOption) (*MsgEncounterDoResponse, error) { + out := new(MsgEncounterDoResponse) + err := c.cc.Invoke(ctx, Msg_EncounterDo_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) EncounterClose(ctx context.Context, in *MsgEncounterClose, opts ...grpc.CallOption) (*MsgEncounterCloseResponse, error) { + out := new(MsgEncounterCloseResponse) + err := c.cc.Invoke(ctx, Msg_EncounterClose_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. // All implementations must embed UnimplementedMsgServer // for forward compatibility @@ -511,6 +599,14 @@ type MsgServer interface { SetStoryWriterSet(context.Context, *MsgSetStoryWriterSet) (*MsgSetStoryWriterSetResponse, error) SetArtistSet(context.Context, *MsgSetArtistSet) (*MsgSetArtistSetResponse, error) CardVoteMulti(context.Context, *MsgCardVoteMulti) (*MsgCardVoteMultiResponse, error) + MatchOpen(context.Context, *MsgMatchOpen) (*MsgMatchOpenResponse, error) + SetNameSet(context.Context, *MsgSetNameSet) (*MsgSetNameSetResponse, error) + ProfileAliasSet(context.Context, *MsgProfileAliasSet) (*MsgProfileAliasSetResponse, error) + EarlyAccessInvite(context.Context, *MsgEarlyAccessInvite) (*MsgEarlyAccessInviteResponse, error) + ZealyConnect(context.Context, *MsgZealyConnect) (*MsgZealyConnectResponse, error) + EncounterCreate(context.Context, *MsgEncounterCreate) (*MsgEncounterCreateResponse, error) + EncounterDo(context.Context, *MsgEncounterDo) (*MsgEncounterDoResponse, error) + EncounterClose(context.Context, *MsgEncounterClose) (*MsgEncounterCloseResponse, error) mustEmbedUnimplementedMsgServer() } @@ -635,6 +731,30 @@ func (UnimplementedMsgServer) SetArtistSet(context.Context, *MsgSetArtistSet) (* func (UnimplementedMsgServer) CardVoteMulti(context.Context, *MsgCardVoteMulti) (*MsgCardVoteMultiResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CardVoteMulti not implemented") } +func (UnimplementedMsgServer) MatchOpen(context.Context, *MsgMatchOpen) (*MsgMatchOpenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MatchOpen not implemented") +} +func (UnimplementedMsgServer) SetNameSet(context.Context, *MsgSetNameSet) (*MsgSetNameSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetNameSet not implemented") +} +func (UnimplementedMsgServer) ProfileAliasSet(context.Context, *MsgProfileAliasSet) (*MsgProfileAliasSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProfileAliasSet not implemented") +} +func (UnimplementedMsgServer) EarlyAccessInvite(context.Context, *MsgEarlyAccessInvite) (*MsgEarlyAccessInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EarlyAccessInvite not implemented") +} +func (UnimplementedMsgServer) ZealyConnect(context.Context, *MsgZealyConnect) (*MsgZealyConnectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ZealyConnect not implemented") +} +func (UnimplementedMsgServer) EncounterCreate(context.Context, *MsgEncounterCreate) (*MsgEncounterCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EncounterCreate not implemented") +} +func (UnimplementedMsgServer) EncounterDo(context.Context, *MsgEncounterDo) (*MsgEncounterDoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EncounterDo not implemented") +} +func (UnimplementedMsgServer) EncounterClose(context.Context, *MsgEncounterClose) (*MsgEncounterCloseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EncounterClose not implemented") +} func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} // UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. @@ -1350,6 +1470,150 @@ func _Msg_CardVoteMulti_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +func _Msg_MatchOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMatchOpen) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).MatchOpen(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_MatchOpen_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MatchOpen(ctx, req.(*MsgMatchOpen)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_SetNameSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetNameSet) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetNameSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_SetNameSet_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetNameSet(ctx, req.(*MsgSetNameSet)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProfileAliasSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProfileAliasSet) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProfileAliasSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProfileAliasSet_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProfileAliasSet(ctx, req.(*MsgProfileAliasSet)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_EarlyAccessInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEarlyAccessInvite) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EarlyAccessInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_EarlyAccessInvite_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EarlyAccessInvite(ctx, req.(*MsgEarlyAccessInvite)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ZealyConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgZealyConnect) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ZealyConnect(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ZealyConnect_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ZealyConnect(ctx, req.(*MsgZealyConnect)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_EncounterCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEncounterCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EncounterCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_EncounterCreate_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EncounterCreate(ctx, req.(*MsgEncounterCreate)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_EncounterDo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEncounterDo) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EncounterDo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_EncounterDo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EncounterDo(ctx, req.(*MsgEncounterDo)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_EncounterClose_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEncounterClose) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EncounterClose(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_EncounterClose_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EncounterClose(ctx, req.(*MsgEncounterClose)) + } + return interceptor(ctx, in, info, handler) +} + // Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -1513,6 +1777,38 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "CardVoteMulti", Handler: _Msg_CardVoteMulti_Handler, }, + { + MethodName: "MatchOpen", + Handler: _Msg_MatchOpen_Handler, + }, + { + MethodName: "SetNameSet", + Handler: _Msg_SetNameSet_Handler, + }, + { + MethodName: "ProfileAliasSet", + Handler: _Msg_ProfileAliasSet_Handler, + }, + { + MethodName: "EarlyAccessInvite", + Handler: _Msg_EarlyAccessInvite_Handler, + }, + { + MethodName: "ZealyConnect", + Handler: _Msg_ZealyConnect_Handler, + }, + { + MethodName: "EncounterCreate", + Handler: _Msg_EncounterCreate_Handler, + }, + { + MethodName: "EncounterDo", + Handler: _Msg_EncounterDo_Handler, + }, + { + MethodName: "EncounterClose", + Handler: _Msg_EncounterClose_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "cardchain/cardchain/tx.proto", diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index c78fcad3..246516b2 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -1 +1 @@ -{"id":"github.com/DecentralCardGame/cardchain","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain github.com/DecentralCardGame/cardchain REST API","title":"HTTP API Console","contact":{"name":"github.com/DecentralCardGame/cardchain"},"version":"version not set"},"paths":{"/DecentralCardGame/cardchain/cardchain/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubComDecentralCardGamecardchainQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/BoosterPackBuy":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_BoosterPackBuy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackBuy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackBuyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/BoosterPackOpen":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_BoosterPackOpen","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackOpen"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackOpenResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/BoosterPackTransfer":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_BoosterPackTransfer","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackTransfer"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackTransferResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardArtistChange":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardArtistChange","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtistChange"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtistChangeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardArtworkAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardArtworkAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtworkAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtworkAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardDonate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardDonate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardDonate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardDonateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardRaritySet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardRaritySet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardRaritySet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardRaritySetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardSaveContent":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardSaveContent","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSaveContent"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSaveContentResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardSchemeBuy":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardSchemeBuy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSchemeBuy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSchemeBuyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardTransfer":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardTransfer","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardTransfer"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardTransferResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardVote":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardVote","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVote"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardVoteMulti":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardVoteMulti","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVoteMulti"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVoteMultiResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilDeregister":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilDeregister","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilDeregister"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilDeregisterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilRegister":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilRegister","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRegister"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRegisterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilResponseCommit":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilResponseCommit","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseCommit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseCommitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilResponseReveal":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilResponseReveal","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseReveal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseRevealResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilRestart":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilRestart","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRestart"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRestartResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchConfirm":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchConfirm","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchConfirm"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchConfirmResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchReport":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchReport","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReport"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReportResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchReporterAppoint":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchReporterAppoint","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReporterAppoint"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReporterAppointResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileBioSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileBioSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileBioSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileBioSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileCardSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileCardSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileCardSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileCardSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileWebsiteSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileWebsiteSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileWebsiteSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileWebsiteSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SellOfferBuy":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SellOfferBuy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferBuy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferBuyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SellOfferCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SellOfferCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SellOfferRemove":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SellOfferRemove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferRemove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferRemoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetArtistSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetArtistSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtistSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtistSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetArtworkAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetArtworkAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtworkAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtworkAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetCardAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetCardAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetCardRemove":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetCardRemove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardRemove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardRemoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetContributorAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetContributorAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetContributorRemove":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetContributorRemove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorRemove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorRemoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetFinalize":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetFinalize","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetFinalize"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetFinalizeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetStoryAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetStoryAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetStoryWriterSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetStoryWriterSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryWriterSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryWriterSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubComDecentralCardGamecardchainMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/UserCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_UserCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUserCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUserCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"cardchain.cardchain.CardRarity":{"type":"string","default":"common","enum":["common","uncommon","rare","exceptional","unique"]},"cardchain.cardchain.MsgBoosterPackBuy":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgBoosterPackBuyResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgBoosterPackOpen":{"type":"object","properties":{"boosterPackId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgBoosterPackOpenResponse":{"type":"object","properties":{"cardIds":{"type":"array","items":{"type":"string","format":"uint64"}}}},"cardchain.cardchain.MsgBoosterPackTransfer":{"type":"object","properties":{"boosterPackId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"receiver":{"type":"string"}}},"cardchain.cardchain.MsgBoosterPackTransferResponse":{"type":"object"},"cardchain.cardchain.MsgCardArtistChange":{"type":"object","properties":{"artist":{"type":"string"},"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCardArtistChangeResponse":{"type":"object"},"cardchain.cardchain.MsgCardArtworkAdd":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"fullArt":{"type":"boolean"},"image":{"type":"string","format":"byte"}}},"cardchain.cardchain.MsgCardArtworkAddResponse":{"type":"object"},"cardchain.cardchain.MsgCardDonate":{"type":"object","properties":{"amount":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCardDonateResponse":{"type":"object"},"cardchain.cardchain.MsgCardRaritySet":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"rarity":{"$ref":"#/definitions/cardchain.cardchain.CardRarity"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgCardRaritySetResponse":{"type":"object"},"cardchain.cardchain.MsgCardSaveContent":{"type":"object","properties":{"artist":{"type":"string"},"balanceAnchor":{"type":"boolean"},"cardId":{"type":"string","format":"uint64"},"content":{"type":"string","format":"byte"},"creator":{"type":"string"},"notes":{"type":"string"}}},"cardchain.cardchain.MsgCardSaveContentResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgCardSchemeBuy":{"type":"object","properties":{"bid":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCardSchemeBuyResponse":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgCardTransfer":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"receiver":{"type":"string"}}},"cardchain.cardchain.MsgCardTransferResponse":{"type":"object"},"cardchain.cardchain.MsgCardVote":{"type":"object","properties":{"creator":{"type":"string"},"vote":{"$ref":"#/definitions/cardchain.cardchain.SingleVote"}}},"cardchain.cardchain.MsgCardVoteMulti":{"type":"object","properties":{"creator":{"type":"string"},"votes":{"type":"array","items":{"type":"integer","format":"int32"}}}},"cardchain.cardchain.MsgCardVoteMultiResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgCardVoteResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgCouncilCreate":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilCreateResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilDeregister":{"type":"object","properties":{"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilDeregisterResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilRegister":{"type":"object","properties":{"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilRegisterResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilResponseCommit":{"type":"object","properties":{"councilId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"reponse":{"type":"string"},"suggestion":{"type":"string"}}},"cardchain.cardchain.MsgCouncilResponseCommitResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilResponseReveal":{"type":"object","properties":{"councilId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"reponse":{"$ref":"#/definitions/cardchain.cardchain.Response"},"secret":{"type":"string"}}},"cardchain.cardchain.MsgCouncilResponseRevealResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilRestart":{"type":"object","properties":{"councilId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilRestartResponse":{"type":"object"},"cardchain.cardchain.MsgMatchConfirm":{"type":"object","properties":{"creator":{"type":"string"},"matchId":{"type":"string","format":"uint64"},"outcome":{"$ref":"#/definitions/cardchain.cardchain.Outcome"},"votedCards":{"type":"array","items":{"type":"object","$ref":"#/definitions/cardchain.cardchain.SingleVote"}}}},"cardchain.cardchain.MsgMatchConfirmResponse":{"type":"object"},"cardchain.cardchain.MsgMatchReport":{"type":"object","properties":{"creator":{"type":"string"},"matchId":{"type":"string","format":"uint64"},"outcome":{"$ref":"#/definitions/cardchain.cardchain.Outcome"},"playedCardsA":{"type":"array","items":{"type":"string","format":"uint64"}},"playedCardsB":{"type":"array","items":{"type":"string","format":"uint64"}}}},"cardchain.cardchain.MsgMatchReportResponse":{"type":"object"},"cardchain.cardchain.MsgMatchReporterAppoint":{"type":"object","properties":{"creator":{"type":"string"},"reporter":{"type":"string"}}},"cardchain.cardchain.MsgMatchReporterAppointResponse":{"type":"object"},"cardchain.cardchain.MsgProfileBioSet":{"type":"object","properties":{"bio":{"type":"string"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgProfileBioSetResponse":{"type":"object"},"cardchain.cardchain.MsgProfileCardSet":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgProfileCardSetResponse":{"type":"object"},"cardchain.cardchain.MsgProfileWebsiteSet":{"type":"object","properties":{"creator":{"type":"string"},"website":{"type":"string"}}},"cardchain.cardchain.MsgProfileWebsiteSetResponse":{"type":"object"},"cardchain.cardchain.MsgSellOfferBuy":{"type":"object","properties":{"creator":{"type":"string"},"sellOfferId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSellOfferBuyResponse":{"type":"object"},"cardchain.cardchain.MsgSellOfferCreate":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"price":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cardchain.cardchain.MsgSellOfferCreateResponse":{"type":"object"},"cardchain.cardchain.MsgSellOfferRemove":{"type":"object","properties":{"creator":{"type":"string"},"sellOfferId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSellOfferRemoveResponse":{"type":"object"},"cardchain.cardchain.MsgSetArtistSet":{"type":"object","properties":{"artist":{"type":"string"},"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetArtistSetResponse":{"type":"object"},"cardchain.cardchain.MsgSetArtworkAdd":{"type":"object","properties":{"creator":{"type":"string"},"image":{"type":"string","format":"byte"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetArtworkAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetCardAdd":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetCardAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetCardRemove":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetCardRemoveResponse":{"type":"object"},"cardchain.cardchain.MsgSetContributorAdd":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"user":{"type":"string"}}},"cardchain.cardchain.MsgSetContributorAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetContributorRemove":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"user":{"type":"string"}}},"cardchain.cardchain.MsgSetContributorRemoveResponse":{"type":"object"},"cardchain.cardchain.MsgSetCreate":{"type":"object","properties":{"artist":{"type":"string"},"contributors":{"type":"array","items":{"type":"string"}},"creator":{"type":"string"},"name":{"type":"string"},"storyWriter":{"type":"string"}}},"cardchain.cardchain.MsgSetCreateResponse":{"type":"object"},"cardchain.cardchain.MsgSetFinalize":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetFinalizeResponse":{"type":"object"},"cardchain.cardchain.MsgSetStoryAdd":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"story":{"type":"string"}}},"cardchain.cardchain.MsgSetStoryAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetStoryWriterSet":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"storyWriter":{"type":"string"}}},"cardchain.cardchain.MsgSetStoryWriterSetResponse":{"type":"object"},"cardchain.cardchain.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless\noverwritten).","type":"string"},"params":{"description":"NOTE: All parameters must be supplied.","$ref":"#/definitions/cardchain.cardchain.Params"}}},"cardchain.cardchain.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"cardchain.cardchain.MsgUserCreate":{"type":"object","properties":{"alias":{"type":"string"},"creator":{"type":"string"},"newUser":{"type":"string"}}},"cardchain.cardchain.MsgUserCreateResponse":{"type":"object"},"cardchain.cardchain.Outcome":{"type":"string","default":"AWon","enum":["AWon","BWon","Draw","Aborted"]},"cardchain.cardchain.Params":{"description":"Params defines the parameters for the module.","type":"object"},"cardchain.cardchain.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/cardchain.cardchain.Params"}}},"cardchain.cardchain.Response":{"type":"string","default":"Yes","enum":["Yes","No","Suggestion"]},"cardchain.cardchain.SingleVote":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"voteType":{"$ref":"#/definitions/cardchain.cardchain.VoteType"}}},"cardchain.cardchain.VoteType":{"type":"string","default":"fairEnough","enum":["fairEnough","inappropriate","overpowered","underpowered"]},"cosmos.base.v1beta1.Coin":{"description":"Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto.","type":"object","properties":{"amount":{"type":"string"},"denom":{"type":"string"}}},"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}}},"tags":[{"name":"Query"},{"name":"Msg"}]} \ No newline at end of file +{"id":"github.com/DecentralCardGame/cardchain","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain github.com/DecentralCardGame/cardchain REST API","title":"HTTP API Console","contact":{"name":"github.com/DecentralCardGame/cardchain"},"version":"version not set"},"paths":{"/DecentralCardGame/cardchain/cardchain/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"GithubComDecentralCardGamecardchainQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/BoosterPackBuy":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_BoosterPackBuy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackBuy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackBuyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/BoosterPackOpen":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_BoosterPackOpen","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackOpen"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackOpenResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/BoosterPackTransfer":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_BoosterPackTransfer","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackTransfer"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgBoosterPackTransferResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardArtistChange":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardArtistChange","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtistChange"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtistChangeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardArtworkAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardArtworkAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtworkAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardArtworkAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardDonate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardDonate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardDonate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardDonateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardRaritySet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardRaritySet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardRaritySet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardRaritySetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardSaveContent":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardSaveContent","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSaveContent"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSaveContentResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardSchemeBuy":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardSchemeBuy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSchemeBuy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardSchemeBuyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardTransfer":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardTransfer","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardTransfer"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardTransferResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardVote":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardVote","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVote"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVoteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CardVoteMulti":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CardVoteMulti","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVoteMulti"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCardVoteMultiResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilDeregister":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilDeregister","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilDeregister"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilDeregisterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilRegister":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilRegister","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRegister"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRegisterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilResponseCommit":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilResponseCommit","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseCommit"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseCommitResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilResponseReveal":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilResponseReveal","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseReveal"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilResponseRevealResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/CouncilRestart":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_CouncilRestart","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRestart"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgCouncilRestartResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/EarlyAccessInvite":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_EarlyAccessInvite","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEarlyAccessInvite"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEarlyAccessInviteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/EncounterClose":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_EncounterClose","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEncounterClose"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEncounterCloseResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/EncounterCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_EncounterCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEncounterCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEncounterCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/EncounterDo":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_EncounterDo","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEncounterDo"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgEncounterDoResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchConfirm":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchConfirm","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchConfirm"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchConfirmResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchOpen":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchOpen","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchOpen"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchOpenResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchReport":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchReport","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReport"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReportResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/MatchReporterAppoint":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_MatchReporterAppoint","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReporterAppoint"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgMatchReporterAppointResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileAliasSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileAliasSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileAliasSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileAliasSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileBioSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileBioSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileBioSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileBioSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileCardSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileCardSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileCardSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileCardSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ProfileWebsiteSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ProfileWebsiteSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileWebsiteSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgProfileWebsiteSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SellOfferBuy":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SellOfferBuy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferBuy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferBuyResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SellOfferCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SellOfferCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SellOfferRemove":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SellOfferRemove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferRemove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSellOfferRemoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetArtistSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetArtistSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtistSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtistSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetArtworkAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetArtworkAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtworkAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetArtworkAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetCardAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetCardAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetCardRemove":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetCardRemove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardRemove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCardRemoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetContributorAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetContributorAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetContributorRemove":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetContributorRemove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorRemove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetContributorRemoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetFinalize":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetFinalize","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetFinalize"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetFinalizeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetNameSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetNameSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetNameSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetNameSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetStoryAdd":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetStoryAdd","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryAdd"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryAddResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/SetStoryWriterSet":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_SetStoryWriterSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryWriterSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgSetStoryWriterSetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"GithubComDecentralCardGamecardchainMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/UserCreate":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_UserCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUserCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgUserCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/cardchain.cardchain.Msg/ZealyConnect":{"post":{"tags":["Msg"],"operationId":"GithubComDecentralCardGamecardchainMsg_ZealyConnect","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/cardchain.cardchain.MsgZealyConnect"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/cardchain.cardchain.MsgZealyConnectResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"cardchain.cardchain.CardRarity":{"type":"string","default":"common","enum":["common","uncommon","rare","exceptional","unique"]},"cardchain.cardchain.MsgBoosterPackBuy":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgBoosterPackBuyResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgBoosterPackOpen":{"type":"object","properties":{"boosterPackId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgBoosterPackOpenResponse":{"type":"object","properties":{"cardIds":{"type":"array","items":{"type":"string","format":"uint64"}}}},"cardchain.cardchain.MsgBoosterPackTransfer":{"type":"object","properties":{"boosterPackId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"receiver":{"type":"string"}}},"cardchain.cardchain.MsgBoosterPackTransferResponse":{"type":"object"},"cardchain.cardchain.MsgCardArtistChange":{"type":"object","properties":{"artist":{"type":"string"},"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCardArtistChangeResponse":{"type":"object"},"cardchain.cardchain.MsgCardArtworkAdd":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"fullArt":{"type":"boolean"},"image":{"type":"string","format":"byte"}}},"cardchain.cardchain.MsgCardArtworkAddResponse":{"type":"object"},"cardchain.cardchain.MsgCardDonate":{"type":"object","properties":{"amount":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCardDonateResponse":{"type":"object"},"cardchain.cardchain.MsgCardRaritySet":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"rarity":{"$ref":"#/definitions/cardchain.cardchain.CardRarity"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgCardRaritySetResponse":{"type":"object"},"cardchain.cardchain.MsgCardSaveContent":{"type":"object","properties":{"artist":{"type":"string"},"balanceAnchor":{"type":"boolean"},"cardId":{"type":"string","format":"uint64"},"content":{"type":"string","format":"byte"},"creator":{"type":"string"},"notes":{"type":"string"}}},"cardchain.cardchain.MsgCardSaveContentResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgCardSchemeBuy":{"type":"object","properties":{"bid":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCardSchemeBuyResponse":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgCardTransfer":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"receiver":{"type":"string"}}},"cardchain.cardchain.MsgCardTransferResponse":{"type":"object"},"cardchain.cardchain.MsgCardVote":{"type":"object","properties":{"creator":{"type":"string"},"vote":{"$ref":"#/definitions/cardchain.cardchain.SingleVote"}}},"cardchain.cardchain.MsgCardVoteMulti":{"type":"object","properties":{"creator":{"type":"string"},"votes":{"type":"array","items":{"type":"object","$ref":"#/definitions/cardchain.cardchain.SingleVote"}}}},"cardchain.cardchain.MsgCardVoteMultiResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgCardVoteResponse":{"type":"object","properties":{"airdropClaimed":{"type":"boolean"}}},"cardchain.cardchain.MsgCouncilCreate":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilCreateResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilDeregister":{"type":"object","properties":{"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilDeregisterResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilRegister":{"type":"object","properties":{"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilRegisterResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilResponseCommit":{"type":"object","properties":{"councilId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"reponse":{"type":"string"},"suggestion":{"type":"string"}}},"cardchain.cardchain.MsgCouncilResponseCommitResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilResponseReveal":{"type":"object","properties":{"councilId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"reponse":{"$ref":"#/definitions/cardchain.cardchain.Response"},"secret":{"type":"string"}}},"cardchain.cardchain.MsgCouncilResponseRevealResponse":{"type":"object"},"cardchain.cardchain.MsgCouncilRestart":{"type":"object","properties":{"councilId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgCouncilRestartResponse":{"type":"object"},"cardchain.cardchain.MsgEarlyAccessInvite":{"type":"object","properties":{"creator":{"type":"string"},"user":{"type":"string"}}},"cardchain.cardchain.MsgEarlyAccessInviteResponse":{"type":"object"},"cardchain.cardchain.MsgEncounterClose":{"type":"object","properties":{"creator":{"type":"string"},"encounterId":{"type":"string","format":"uint64"},"user":{"type":"string"},"won":{"type":"boolean"}}},"cardchain.cardchain.MsgEncounterCloseResponse":{"type":"object"},"cardchain.cardchain.MsgEncounterCreate":{"type":"object","properties":{"creator":{"type":"string"},"drawlist":{"type":"array","items":{"type":"string","format":"uint64"}},"image":{"type":"string","format":"byte"},"name":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"type":"string"}}}},"cardchain.cardchain.MsgEncounterCreateResponse":{"type":"object"},"cardchain.cardchain.MsgEncounterDo":{"type":"object","properties":{"creator":{"type":"string"},"encounterId":{"type":"string","format":"uint64"},"user":{"type":"string"}}},"cardchain.cardchain.MsgEncounterDoResponse":{"type":"object"},"cardchain.cardchain.MsgMatchConfirm":{"type":"object","properties":{"creator":{"type":"string"},"matchId":{"type":"string","format":"uint64"},"outcome":{"$ref":"#/definitions/cardchain.cardchain.Outcome"},"votedCards":{"type":"array","items":{"type":"object","$ref":"#/definitions/cardchain.cardchain.SingleVote"}}}},"cardchain.cardchain.MsgMatchConfirmResponse":{"type":"object"},"cardchain.cardchain.MsgMatchOpen":{"type":"object","properties":{"creator":{"type":"string"},"playerA":{"type":"string"},"playerAdeck":{"type":"array","items":{"type":"string","format":"uint64"}},"playerB":{"type":"string"},"playerBdeck":{"type":"array","items":{"type":"string","format":"uint64"}}}},"cardchain.cardchain.MsgMatchOpenResponse":{"type":"object","properties":{"matchId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgMatchReport":{"type":"object","properties":{"creator":{"type":"string"},"matchId":{"type":"string","format":"uint64"},"outcome":{"$ref":"#/definitions/cardchain.cardchain.Outcome"},"playedCardsA":{"type":"array","items":{"type":"string","format":"uint64"}},"playedCardsB":{"type":"array","items":{"type":"string","format":"uint64"}}}},"cardchain.cardchain.MsgMatchReportResponse":{"type":"object"},"cardchain.cardchain.MsgMatchReporterAppoint":{"type":"object","properties":{"creator":{"type":"string"},"reporter":{"type":"string"}}},"cardchain.cardchain.MsgMatchReporterAppointResponse":{"type":"object"},"cardchain.cardchain.MsgProfileAliasSet":{"type":"object","properties":{"alias":{"type":"string"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgProfileAliasSetResponse":{"type":"object"},"cardchain.cardchain.MsgProfileBioSet":{"type":"object","properties":{"bio":{"type":"string"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgProfileBioSetResponse":{"type":"object"},"cardchain.cardchain.MsgProfileCardSet":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"cardchain.cardchain.MsgProfileCardSetResponse":{"type":"object"},"cardchain.cardchain.MsgProfileWebsiteSet":{"type":"object","properties":{"creator":{"type":"string"},"website":{"type":"string"}}},"cardchain.cardchain.MsgProfileWebsiteSetResponse":{"type":"object"},"cardchain.cardchain.MsgSellOfferBuy":{"type":"object","properties":{"creator":{"type":"string"},"sellOfferId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSellOfferBuyResponse":{"type":"object"},"cardchain.cardchain.MsgSellOfferCreate":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"price":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"cardchain.cardchain.MsgSellOfferCreateResponse":{"type":"object"},"cardchain.cardchain.MsgSellOfferRemove":{"type":"object","properties":{"creator":{"type":"string"},"sellOfferId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSellOfferRemoveResponse":{"type":"object"},"cardchain.cardchain.MsgSetArtistSet":{"type":"object","properties":{"artist":{"type":"string"},"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetArtistSetResponse":{"type":"object"},"cardchain.cardchain.MsgSetArtworkAdd":{"type":"object","properties":{"creator":{"type":"string"},"image":{"type":"string","format":"byte"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetArtworkAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetCardAdd":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetCardAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetCardRemove":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetCardRemoveResponse":{"type":"object"},"cardchain.cardchain.MsgSetContributorAdd":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"user":{"type":"string"}}},"cardchain.cardchain.MsgSetContributorAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetContributorRemove":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"user":{"type":"string"}}},"cardchain.cardchain.MsgSetContributorRemoveResponse":{"type":"object"},"cardchain.cardchain.MsgSetCreate":{"type":"object","properties":{"artist":{"type":"string"},"contributors":{"type":"array","items":{"type":"string"}},"creator":{"type":"string"},"name":{"type":"string"},"storyWriter":{"type":"string"}}},"cardchain.cardchain.MsgSetCreateResponse":{"type":"object"},"cardchain.cardchain.MsgSetFinalize":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetFinalizeResponse":{"type":"object"},"cardchain.cardchain.MsgSetNameSet":{"type":"object","properties":{"creator":{"type":"string"},"name":{"type":"string"},"setId":{"type":"string","format":"uint64"}}},"cardchain.cardchain.MsgSetNameSetResponse":{"type":"object"},"cardchain.cardchain.MsgSetStoryAdd":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"story":{"type":"string"}}},"cardchain.cardchain.MsgSetStoryAddResponse":{"type":"object"},"cardchain.cardchain.MsgSetStoryWriterSet":{"type":"object","properties":{"creator":{"type":"string"},"setId":{"type":"string","format":"uint64"},"storyWriter":{"type":"string"}}},"cardchain.cardchain.MsgSetStoryWriterSetResponse":{"type":"object"},"cardchain.cardchain.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless\noverwritten).","type":"string"},"params":{"description":"NOTE: All parameters must be supplied.","$ref":"#/definitions/cardchain.cardchain.Params"}}},"cardchain.cardchain.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"cardchain.cardchain.MsgUserCreate":{"type":"object","properties":{"alias":{"type":"string"},"creator":{"type":"string"},"newUser":{"type":"string"}}},"cardchain.cardchain.MsgUserCreateResponse":{"type":"object"},"cardchain.cardchain.MsgZealyConnect":{"type":"object","properties":{"creator":{"type":"string"},"zealyId":{"type":"string"}}},"cardchain.cardchain.MsgZealyConnectResponse":{"type":"object"},"cardchain.cardchain.Outcome":{"type":"string","default":"AWon","enum":["AWon","BWon","Draw","Aborted"]},"cardchain.cardchain.Params":{"description":"Params defines the parameters for the module.","type":"object"},"cardchain.cardchain.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/cardchain.cardchain.Params"}}},"cardchain.cardchain.Response":{"type":"string","default":"Yes","enum":["Yes","No","Suggestion"]},"cardchain.cardchain.SingleVote":{"type":"object","properties":{"cardId":{"type":"string","format":"uint64"},"voteType":{"$ref":"#/definitions/cardchain.cardchain.VoteType"}}},"cardchain.cardchain.VoteType":{"type":"string","default":"fairEnough","enum":["fairEnough","inappropriate","overpowered","underpowered"]},"cosmos.base.v1beta1.Coin":{"description":"Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto.","type":"object","properties":{"amount":{"type":"string"},"denom":{"type":"string"}}},"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}}},"tags":[{"name":"Query"},{"name":"Msg"}]} \ No newline at end of file diff --git a/gen.sh b/gen.sh index 253e2af1..dd1b9ca6 100755 --- a/gen.sh +++ b/gen.sh @@ -40,3 +40,11 @@ #ignite scaffold message SetStoryWriterSet setId:uint storyWriter #ignite scaffold message SetArtistSet setId:uint artist #ignite scaffold message CardVoteMulti votes:array.int --response airdropClaimed:bool +ignite scaffold message MatchOpen playerA:string playerB:string playerADeck:uints playerBDeck:uints --response matchId:uint +ignite scaffold message SetNameSet setId:uint name +ignite scaffold message ProfileAliasSet alias +ignite scaffold message EarlyAccessInvite user +ignite scaffold message ZealyConnect zealyId +ignite scaffold message EncounterCreate name drawlist:uints parameters image +ignite scaffold message EncounterDo encounterId:uint user +ignite scaffold message EncounterClose encounterId:uint user won:bool diff --git a/proto/cardchain/cardchain/tx.proto b/proto/cardchain/cardchain/tx.proto index 06d123b4..3088eb3a 100644 --- a/proto/cardchain/cardchain/tx.proto +++ b/proto/cardchain/cardchain/tx.proto @@ -70,6 +70,15 @@ service Msg { returns (MsgSetStoryWriterSetResponse); rpc SetArtistSet(MsgSetArtistSet) returns (MsgSetArtistSetResponse); rpc CardVoteMulti(MsgCardVoteMulti) returns (MsgCardVoteMultiResponse); + rpc MatchOpen(MsgMatchOpen) returns (MsgMatchOpenResponse); + rpc SetNameSet(MsgSetNameSet) returns (MsgSetNameSetResponse); + rpc ProfileAliasSet(MsgProfileAliasSet) returns (MsgProfileAliasSetResponse); + rpc EarlyAccessInvite(MsgEarlyAccessInvite) + returns (MsgEarlyAccessInviteResponse); + rpc ZealyConnect(MsgZealyConnect) returns (MsgZealyConnectResponse); + rpc EncounterCreate(MsgEncounterCreate) returns (MsgEncounterCreateResponse); + rpc EncounterDo(MsgEncounterDo) returns (MsgEncounterDoResponse); + rpc EncounterClose(MsgEncounterClose) returns (MsgEncounterCloseResponse); } // MsgUpdateParams is the Msg/UpdateParams request type. message MsgUpdateParams { @@ -426,3 +435,77 @@ message MsgCardVoteMulti { } message MsgCardVoteMultiResponse { bool airdropClaimed = 1; } + +message MsgMatchOpen { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + string playerA = 2; + string playerB = 3; + repeated uint64 playerAdeck = 4; + repeated uint64 playerBdeck = 5; +} + +message MsgMatchOpenResponse { uint64 matchId = 1; } + +message MsgSetNameSet { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + uint64 setId = 2; + string name = 3; +} + +message MsgSetNameSetResponse {} + +message MsgProfileAliasSet { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + string alias = 2; +} + +message MsgProfileAliasSetResponse {} + +message MsgEarlyAccessInvite { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + string user = 2; +} + +message MsgEarlyAccessInviteResponse {} + +message MsgZealyConnect { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + string zealyId = 2; +} + +message MsgZealyConnectResponse {} + +message MsgEncounterCreate { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + string name = 2; + repeated uint64 drawlist = 3; + map parameters = 4; + bytes image = 5; +} + +message MsgEncounterCreateResponse {} + +message MsgEncounterDo { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + uint64 encounterId = 2; + string user = 3; +} + +message MsgEncounterDoResponse {} + +message MsgEncounterClose { + option (cosmos.msg.v1.signer) = "creator"; + string creator = 1; + uint64 encounterId = 2; + string user = 3; + bool won = 4; +} + +message MsgEncounterCloseResponse {} diff --git a/x/cardchain/keeper/msg_server_early_access_invite.go b/x/cardchain/keeper/msg_server_early_access_invite.go new file mode 100644 index 00000000..8c22d6db --- /dev/null +++ b/x/cardchain/keeper/msg_server_early_access_invite.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) EarlyAccessInvite(goCtx context.Context, msg *types.MsgEarlyAccessInvite) (*types.MsgEarlyAccessInviteResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgEarlyAccessInviteResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_encounter_close.go b/x/cardchain/keeper/msg_server_encounter_close.go new file mode 100644 index 00000000..3e29de8c --- /dev/null +++ b/x/cardchain/keeper/msg_server_encounter_close.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) EncounterClose(goCtx context.Context, msg *types.MsgEncounterClose) (*types.MsgEncounterCloseResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgEncounterCloseResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_encounter_create.go b/x/cardchain/keeper/msg_server_encounter_create.go new file mode 100644 index 00000000..424acd8f --- /dev/null +++ b/x/cardchain/keeper/msg_server_encounter_create.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) EncounterCreate(goCtx context.Context, msg *types.MsgEncounterCreate) (*types.MsgEncounterCreateResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgEncounterCreateResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_encounter_do.go b/x/cardchain/keeper/msg_server_encounter_do.go new file mode 100644 index 00000000..5ca210fa --- /dev/null +++ b/x/cardchain/keeper/msg_server_encounter_do.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) EncounterDo(goCtx context.Context, msg *types.MsgEncounterDo) (*types.MsgEncounterDoResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgEncounterDoResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_match_open.go b/x/cardchain/keeper/msg_server_match_open.go new file mode 100644 index 00000000..2f905358 --- /dev/null +++ b/x/cardchain/keeper/msg_server_match_open.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) MatchOpen(goCtx context.Context, msg *types.MsgMatchOpen) (*types.MsgMatchOpenResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgMatchOpenResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_profile_alias_set.go b/x/cardchain/keeper/msg_server_profile_alias_set.go new file mode 100644 index 00000000..e8ca2576 --- /dev/null +++ b/x/cardchain/keeper/msg_server_profile_alias_set.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) ProfileAliasSet(goCtx context.Context, msg *types.MsgProfileAliasSet) (*types.MsgProfileAliasSetResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgProfileAliasSetResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_set_name_set.go b/x/cardchain/keeper/msg_server_set_name_set.go new file mode 100644 index 00000000..0eb59a80 --- /dev/null +++ b/x/cardchain/keeper/msg_server_set_name_set.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) SetNameSet(goCtx context.Context, msg *types.MsgSetNameSet) (*types.MsgSetNameSetResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgSetNameSetResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_zealy_connect.go b/x/cardchain/keeper/msg_server_zealy_connect.go new file mode 100644 index 00000000..3753ba52 --- /dev/null +++ b/x/cardchain/keeper/msg_server_zealy_connect.go @@ -0,0 +1,17 @@ +package keeper + +import ( + "context" + + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) ZealyConnect(goCtx context.Context, msg *types.MsgZealyConnect) (*types.MsgZealyConnectResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // TODO: Handling the message + _ = ctx + + return &types.MsgZealyConnectResponse{}, nil +} diff --git a/x/cardchain/module/autocli.go b/x/cardchain/module/autocli.go index cf18d0cd..ef5eebd1 100644 --- a/x/cardchain/module/autocli.go +++ b/x/cardchain/module/autocli.go @@ -256,6 +256,54 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Short: "Send a CardVoteMulti tx", PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "votes"}}, }, + { + RpcMethod: "MatchOpen", + Use: "match-open [player-a] [player-b] [player-a-deck] [player-b-deck]", + Short: "Send a MatchOpen tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "playerA"}, {ProtoField: "playerB"}, {ProtoField: "playerAdeck"}, {ProtoField: "playerBdeck"}}, + }, + { + RpcMethod: "SetNameSet", + Use: "set-name-set [set-id] [name]", + Short: "Send a SetNameSet tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "setId"}, {ProtoField: "name"}}, + }, + { + RpcMethod: "ProfileAliasSet", + Use: "profile-alias-set [alias]", + Short: "Send a ProfileAliasSet tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "alias"}}, + }, + { + RpcMethod: "EarlyAccessInvite", + Use: "early-access-invite [user]", + Short: "Send a EarlyAccessInvite tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "user"}}, + }, + { + RpcMethod: "ZealyConnect", + Use: "zealy-connect [zealy-id]", + Short: "Send a ZealyConnect tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "zealyId"}}, + }, + { + RpcMethod: "EncounterCreate", + Use: "encounter-create [name] [drawlist] [parameters] [image]", + Short: "Send a EncounterCreate tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "name"}, {ProtoField: "drawlist"}, {ProtoField: "parameters"}, {ProtoField: "image"}}, + }, + { + RpcMethod: "EncounterDo", + Use: "encounter-do [encounter-id] [user]", + Short: "Send a EncounterDo tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "encounterId"}, {ProtoField: "user"}}, + }, + { + RpcMethod: "EncounterClose", + Use: "encounter-close [encounter-id] [user] [won]", + Short: "Send a EncounterClose tx", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "encounterId"}, {ProtoField: "user"}, {ProtoField: "won"}}, + }, // this line is used by ignite scaffolding # autocli/tx }, }, diff --git a/x/cardchain/module/simulation.go b/x/cardchain/module/simulation.go index c28370dd..3105fa4a 100644 --- a/x/cardchain/module/simulation.go +++ b/x/cardchain/module/simulation.go @@ -175,6 +175,38 @@ const ( // TODO: Determine the simulation weight value defaultWeightMsgCardVoteMulti int = 100 + opWeightMsgMatchOpen = "op_weight_msg_match_open" + // TODO: Determine the simulation weight value + defaultWeightMsgMatchOpen int = 100 + + opWeightMsgSetNameSet = "op_weight_msg_set_name_set" + // TODO: Determine the simulation weight value + defaultWeightMsgSetNameSet int = 100 + + opWeightMsgProfileAliasSet = "op_weight_msg_profile_alias_set" + // TODO: Determine the simulation weight value + defaultWeightMsgProfileAliasSet int = 100 + + opWeightMsgEarlyAccessInvite = "op_weight_msg_early_access_invite" + // TODO: Determine the simulation weight value + defaultWeightMsgEarlyAccessInvite int = 100 + + opWeightMsgZealyConnect = "op_weight_msg_zealy_connect" + // TODO: Determine the simulation weight value + defaultWeightMsgZealyConnect int = 100 + + opWeightMsgEncounterCreate = "op_weight_msg_encounter_create" + // TODO: Determine the simulation weight value + defaultWeightMsgEncounterCreate int = 100 + + opWeightMsgEncounterDo = "op_weight_msg_encounter_do" + // TODO: Determine the simulation weight value + defaultWeightMsgEncounterDo int = 100 + + opWeightMsgEncounterClose = "op_weight_msg_encounter_close" + // TODO: Determine the simulation weight value + defaultWeightMsgEncounterClose int = 100 + // this line is used by starport scaffolding # simapp/module/const ) @@ -616,6 +648,94 @@ func (am AppModule) WeightedOperations(simState module.SimulationState) []simtyp cardchainsimulation.SimulateMsgCardVoteMulti(am.accountKeeper, am.bankKeeper, am.keeper), )) + var weightMsgMatchOpen int + simState.AppParams.GetOrGenerate(opWeightMsgMatchOpen, &weightMsgMatchOpen, nil, + func(_ *rand.Rand) { + weightMsgMatchOpen = defaultWeightMsgMatchOpen + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgMatchOpen, + cardchainsimulation.SimulateMsgMatchOpen(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgSetNameSet int + simState.AppParams.GetOrGenerate(opWeightMsgSetNameSet, &weightMsgSetNameSet, nil, + func(_ *rand.Rand) { + weightMsgSetNameSet = defaultWeightMsgSetNameSet + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgSetNameSet, + cardchainsimulation.SimulateMsgSetNameSet(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgProfileAliasSet int + simState.AppParams.GetOrGenerate(opWeightMsgProfileAliasSet, &weightMsgProfileAliasSet, nil, + func(_ *rand.Rand) { + weightMsgProfileAliasSet = defaultWeightMsgProfileAliasSet + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgProfileAliasSet, + cardchainsimulation.SimulateMsgProfileAliasSet(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgEarlyAccessInvite int + simState.AppParams.GetOrGenerate(opWeightMsgEarlyAccessInvite, &weightMsgEarlyAccessInvite, nil, + func(_ *rand.Rand) { + weightMsgEarlyAccessInvite = defaultWeightMsgEarlyAccessInvite + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgEarlyAccessInvite, + cardchainsimulation.SimulateMsgEarlyAccessInvite(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgZealyConnect int + simState.AppParams.GetOrGenerate(opWeightMsgZealyConnect, &weightMsgZealyConnect, nil, + func(_ *rand.Rand) { + weightMsgZealyConnect = defaultWeightMsgZealyConnect + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgZealyConnect, + cardchainsimulation.SimulateMsgZealyConnect(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgEncounterCreate int + simState.AppParams.GetOrGenerate(opWeightMsgEncounterCreate, &weightMsgEncounterCreate, nil, + func(_ *rand.Rand) { + weightMsgEncounterCreate = defaultWeightMsgEncounterCreate + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgEncounterCreate, + cardchainsimulation.SimulateMsgEncounterCreate(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgEncounterDo int + simState.AppParams.GetOrGenerate(opWeightMsgEncounterDo, &weightMsgEncounterDo, nil, + func(_ *rand.Rand) { + weightMsgEncounterDo = defaultWeightMsgEncounterDo + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgEncounterDo, + cardchainsimulation.SimulateMsgEncounterDo(am.accountKeeper, am.bankKeeper, am.keeper), + )) + + var weightMsgEncounterClose int + simState.AppParams.GetOrGenerate(opWeightMsgEncounterClose, &weightMsgEncounterClose, nil, + func(_ *rand.Rand) { + weightMsgEncounterClose = defaultWeightMsgEncounterClose + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgEncounterClose, + cardchainsimulation.SimulateMsgEncounterClose(am.accountKeeper, am.bankKeeper, am.keeper), + )) + // this line is used by starport scaffolding # simapp/module/operation return operations @@ -928,6 +1048,70 @@ func (am AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.Wei return nil }, ), + simulation.NewWeightedProposalMsg( + opWeightMsgMatchOpen, + defaultWeightMsgMatchOpen, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgMatchOpen(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgSetNameSet, + defaultWeightMsgSetNameSet, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgSetNameSet(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgProfileAliasSet, + defaultWeightMsgProfileAliasSet, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgProfileAliasSet(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgEarlyAccessInvite, + defaultWeightMsgEarlyAccessInvite, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgEarlyAccessInvite(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgZealyConnect, + defaultWeightMsgZealyConnect, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgZealyConnect(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgEncounterCreate, + defaultWeightMsgEncounterCreate, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgEncounterCreate(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgEncounterDo, + defaultWeightMsgEncounterDo, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgEncounterDo(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), + simulation.NewWeightedProposalMsg( + opWeightMsgEncounterClose, + defaultWeightMsgEncounterClose, + func(r *rand.Rand, ctx sdk.Context, accs []simtypes.Account) sdk.Msg { + cardchainsimulation.SimulateMsgEncounterClose(am.accountKeeper, am.bankKeeper, am.keeper) + return nil + }, + ), // this line is used by starport scaffolding # simapp/module/OpMsg } } diff --git a/x/cardchain/simulation/early_access_invite.go b/x/cardchain/simulation/early_access_invite.go new file mode 100644 index 00000000..9ccfed72 --- /dev/null +++ b/x/cardchain/simulation/early_access_invite.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgEarlyAccessInvite( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgEarlyAccessInvite{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the EarlyAccessInvite simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "EarlyAccessInvite simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/encounter_close.go b/x/cardchain/simulation/encounter_close.go new file mode 100644 index 00000000..a4426775 --- /dev/null +++ b/x/cardchain/simulation/encounter_close.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgEncounterClose( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgEncounterClose{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the EncounterClose simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "EncounterClose simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/encounter_create.go b/x/cardchain/simulation/encounter_create.go new file mode 100644 index 00000000..896f6c2a --- /dev/null +++ b/x/cardchain/simulation/encounter_create.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgEncounterCreate( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgEncounterCreate{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the EncounterCreate simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "EncounterCreate simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/encounter_do.go b/x/cardchain/simulation/encounter_do.go new file mode 100644 index 00000000..6429cb44 --- /dev/null +++ b/x/cardchain/simulation/encounter_do.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgEncounterDo( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgEncounterDo{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the EncounterDo simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "EncounterDo simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/match_open.go b/x/cardchain/simulation/match_open.go new file mode 100644 index 00000000..cb5ca8b8 --- /dev/null +++ b/x/cardchain/simulation/match_open.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgMatchOpen( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgMatchOpen{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the MatchOpen simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "MatchOpen simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/profile_alias_set.go b/x/cardchain/simulation/profile_alias_set.go new file mode 100644 index 00000000..810a2b52 --- /dev/null +++ b/x/cardchain/simulation/profile_alias_set.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgProfileAliasSet( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgProfileAliasSet{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the ProfileAliasSet simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "ProfileAliasSet simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/set_name_set.go b/x/cardchain/simulation/set_name_set.go new file mode 100644 index 00000000..f9930365 --- /dev/null +++ b/x/cardchain/simulation/set_name_set.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgSetNameSet( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgSetNameSet{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the SetNameSet simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "SetNameSet simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/simulation/zealy_connect.go b/x/cardchain/simulation/zealy_connect.go new file mode 100644 index 00000000..48e2303f --- /dev/null +++ b/x/cardchain/simulation/zealy_connect.go @@ -0,0 +1,29 @@ +package simulation + +import ( + "math/rand" + + "github.com/DecentralCardGame/cardchain/x/cardchain/keeper" + "github.com/DecentralCardGame/cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +func SimulateMsgZealyConnect( + ak types.AccountKeeper, + bk types.BankKeeper, + k keeper.Keeper, +) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + simAccount, _ := simtypes.RandomAcc(r, accs) + msg := &types.MsgZealyConnect{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the ZealyConnect simulation + + return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(msg), "ZealyConnect simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/types/codec.go b/x/cardchain/types/codec.go index 663fe17c..4da70096 100644 --- a/x/cardchain/types/codec.go +++ b/x/cardchain/types/codec.go @@ -122,6 +122,30 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgCardVoteMulti{}, ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgMatchOpen{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgSetNameSet{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgProfileAliasSet{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgEarlyAccessInvite{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgZealyConnect{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgEncounterCreate{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgEncounterDo{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgEncounterClose{}, + ) // this line is used by starport scaffolding # 3 registry.RegisterImplementations((*sdk.Msg)(nil), diff --git a/x/cardchain/types/message_early_access_invite.go b/x/cardchain/types/message_early_access_invite.go new file mode 100644 index 00000000..a983d45c --- /dev/null +++ b/x/cardchain/types/message_early_access_invite.go @@ -0,0 +1,24 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgEarlyAccessInvite{} + +func NewMsgEarlyAccessInvite(creator string, user string) *MsgEarlyAccessInvite { + return &MsgEarlyAccessInvite{ + Creator: creator, + User: user, + } +} + +func (msg *MsgEarlyAccessInvite) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_early_access_invite_test.go b/x/cardchain/types/message_early_access_invite_test.go new file mode 100644 index 00000000..9696f091 --- /dev/null +++ b/x/cardchain/types/message_early_access_invite_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgEarlyAccessInvite_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgEarlyAccessInvite + err error + }{ + { + name: "invalid address", + msg: MsgEarlyAccessInvite{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgEarlyAccessInvite{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_encounter_close.go b/x/cardchain/types/message_encounter_close.go new file mode 100644 index 00000000..f5197633 --- /dev/null +++ b/x/cardchain/types/message_encounter_close.go @@ -0,0 +1,26 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgEncounterClose{} + +func NewMsgEncounterClose(creator string, encounterId uint64, user string, won bool) *MsgEncounterClose { + return &MsgEncounterClose{ + Creator: creator, + EncounterId: encounterId, + User: user, + Won: won, + } +} + +func (msg *MsgEncounterClose) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_encounter_close_test.go b/x/cardchain/types/message_encounter_close_test.go new file mode 100644 index 00000000..234926c2 --- /dev/null +++ b/x/cardchain/types/message_encounter_close_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgEncounterClose_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgEncounterClose + err error + }{ + { + name: "invalid address", + msg: MsgEncounterClose{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgEncounterClose{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_encounter_create.go b/x/cardchain/types/message_encounter_create.go new file mode 100644 index 00000000..de82f190 --- /dev/null +++ b/x/cardchain/types/message_encounter_create.go @@ -0,0 +1,27 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgEncounterCreate{} + +func NewMsgEncounterCreate(creator string, name string, drawlist []uint64, parameters map[string]string, image []byte) *MsgEncounterCreate { + return &MsgEncounterCreate{ + Creator: creator, + Name: name, + Drawlist: drawlist, + Parameters: parameters, + Image: image, + } +} + +func (msg *MsgEncounterCreate) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_encounter_create_test.go b/x/cardchain/types/message_encounter_create_test.go new file mode 100644 index 00000000..8a300470 --- /dev/null +++ b/x/cardchain/types/message_encounter_create_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgEncounterCreate_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgEncounterCreate + err error + }{ + { + name: "invalid address", + msg: MsgEncounterCreate{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgEncounterCreate{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_encounter_do.go b/x/cardchain/types/message_encounter_do.go new file mode 100644 index 00000000..4c78b0c5 --- /dev/null +++ b/x/cardchain/types/message_encounter_do.go @@ -0,0 +1,25 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgEncounterDo{} + +func NewMsgEncounterDo(creator string, encounterId uint64, user string) *MsgEncounterDo { + return &MsgEncounterDo{ + Creator: creator, + EncounterId: encounterId, + User: user, + } +} + +func (msg *MsgEncounterDo) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_encounter_do_test.go b/x/cardchain/types/message_encounter_do_test.go new file mode 100644 index 00000000..3bfa43c3 --- /dev/null +++ b/x/cardchain/types/message_encounter_do_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgEncounterDo_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgEncounterDo + err error + }{ + { + name: "invalid address", + msg: MsgEncounterDo{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgEncounterDo{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_match_open.go b/x/cardchain/types/message_match_open.go new file mode 100644 index 00000000..31523fdb --- /dev/null +++ b/x/cardchain/types/message_match_open.go @@ -0,0 +1,27 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgMatchOpen{} + +func NewMsgMatchOpen(creator string, playerA string, playerB string, playerAdeck []uint64, playerBdeck []uint64) *MsgMatchOpen { + return &MsgMatchOpen{ + Creator: creator, + PlayerA: playerA, + PlayerB: playerB, + PlayerAdeck: playerAdeck, + PlayerBdeck: playerBdeck, + } +} + +func (msg *MsgMatchOpen) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_match_open_test.go b/x/cardchain/types/message_match_open_test.go new file mode 100644 index 00000000..d383cac8 --- /dev/null +++ b/x/cardchain/types/message_match_open_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgMatchOpen_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgMatchOpen + err error + }{ + { + name: "invalid address", + msg: MsgMatchOpen{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgMatchOpen{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_profile_alias_set.go b/x/cardchain/types/message_profile_alias_set.go new file mode 100644 index 00000000..8d814d32 --- /dev/null +++ b/x/cardchain/types/message_profile_alias_set.go @@ -0,0 +1,24 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgProfileAliasSet{} + +func NewMsgProfileAliasSet(creator string, alias string) *MsgProfileAliasSet { + return &MsgProfileAliasSet{ + Creator: creator, + Alias: alias, + } +} + +func (msg *MsgProfileAliasSet) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_profile_alias_set_test.go b/x/cardchain/types/message_profile_alias_set_test.go new file mode 100644 index 00000000..b721d4d2 --- /dev/null +++ b/x/cardchain/types/message_profile_alias_set_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgProfileAliasSet_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgProfileAliasSet + err error + }{ + { + name: "invalid address", + msg: MsgProfileAliasSet{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgProfileAliasSet{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_set_name_set.go b/x/cardchain/types/message_set_name_set.go new file mode 100644 index 00000000..1072f4b0 --- /dev/null +++ b/x/cardchain/types/message_set_name_set.go @@ -0,0 +1,25 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgSetNameSet{} + +func NewMsgSetNameSet(creator string, setId uint64, name string) *MsgSetNameSet { + return &MsgSetNameSet{ + Creator: creator, + SetId: setId, + Name: name, + } +} + +func (msg *MsgSetNameSet) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_set_name_set_test.go b/x/cardchain/types/message_set_name_set_test.go new file mode 100644 index 00000000..53b40dfe --- /dev/null +++ b/x/cardchain/types/message_set_name_set_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgSetNameSet_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgSetNameSet + err error + }{ + { + name: "invalid address", + msg: MsgSetNameSet{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgSetNameSet{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/message_zealy_connect.go b/x/cardchain/types/message_zealy_connect.go new file mode 100644 index 00000000..24f8f55b --- /dev/null +++ b/x/cardchain/types/message_zealy_connect.go @@ -0,0 +1,24 @@ +package types + +import ( + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +var _ sdk.Msg = &MsgZealyConnect{} + +func NewMsgZealyConnect(creator string, zealyId string) *MsgZealyConnect { + return &MsgZealyConnect{ + Creator: creator, + ZealyId: zealyId, + } +} + +func (msg *MsgZealyConnect) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_zealy_connect_test.go b/x/cardchain/types/message_zealy_connect_test.go new file mode 100644 index 00000000..429f2a32 --- /dev/null +++ b/x/cardchain/types/message_zealy_connect_test.go @@ -0,0 +1,40 @@ +package types + +import ( + "testing" + + "github.com/DecentralCardGame/cardchain/testutil/sample" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" +) + +func TestMsgZealyConnect_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgZealyConnect + err error + }{ + { + name: "invalid address", + msg: MsgZealyConnect{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgZealyConnect{ + Creator: sample.AccAddress(), + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := tt.msg.ValidateBasic() + if tt.err != nil { + require.ErrorIs(t, err, tt.err) + return + } + require.NoError(t, err) + }) + } +} diff --git a/x/cardchain/types/tx.pb.go b/x/cardchain/types/tx.pb.go index c91b917d..61d27bef 100644 --- a/x/cardchain/types/tx.pb.go +++ b/x/cardchain/types/tx.pb.go @@ -3774,2783 +3774,2816 @@ func (m *MsgCardVoteMultiResponse) GetAirdropClaimed() bool { return false } -func init() { - proto.RegisterType((*MsgUpdateParams)(nil), "cardchain.cardchain.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "cardchain.cardchain.MsgUpdateParamsResponse") - proto.RegisterType((*MsgUserCreate)(nil), "cardchain.cardchain.MsgUserCreate") - proto.RegisterType((*MsgUserCreateResponse)(nil), "cardchain.cardchain.MsgUserCreateResponse") - proto.RegisterType((*MsgCardSchemeBuy)(nil), "cardchain.cardchain.MsgCardSchemeBuy") - proto.RegisterType((*MsgCardSchemeBuyResponse)(nil), "cardchain.cardchain.MsgCardSchemeBuyResponse") - proto.RegisterType((*MsgCardSaveContent)(nil), "cardchain.cardchain.MsgCardSaveContent") - proto.RegisterType((*MsgCardSaveContentResponse)(nil), "cardchain.cardchain.MsgCardSaveContentResponse") - proto.RegisterType((*MsgCardVote)(nil), "cardchain.cardchain.MsgCardVote") - proto.RegisterType((*MsgCardVoteResponse)(nil), "cardchain.cardchain.MsgCardVoteResponse") - proto.RegisterType((*MsgCardTransfer)(nil), "cardchain.cardchain.MsgCardTransfer") - proto.RegisterType((*MsgCardTransferResponse)(nil), "cardchain.cardchain.MsgCardTransferResponse") - proto.RegisterType((*MsgCardDonate)(nil), "cardchain.cardchain.MsgCardDonate") - proto.RegisterType((*MsgCardDonateResponse)(nil), "cardchain.cardchain.MsgCardDonateResponse") - proto.RegisterType((*MsgCardArtworkAdd)(nil), "cardchain.cardchain.MsgCardArtworkAdd") - proto.RegisterType((*MsgCardArtworkAddResponse)(nil), "cardchain.cardchain.MsgCardArtworkAddResponse") - proto.RegisterType((*MsgCardArtistChange)(nil), "cardchain.cardchain.MsgCardArtistChange") - proto.RegisterType((*MsgCardArtistChangeResponse)(nil), "cardchain.cardchain.MsgCardArtistChangeResponse") - proto.RegisterType((*MsgCouncilRegister)(nil), "cardchain.cardchain.MsgCouncilRegister") - proto.RegisterType((*MsgCouncilRegisterResponse)(nil), "cardchain.cardchain.MsgCouncilRegisterResponse") - proto.RegisterType((*MsgCouncilDeregister)(nil), "cardchain.cardchain.MsgCouncilDeregister") - proto.RegisterType((*MsgCouncilDeregisterResponse)(nil), "cardchain.cardchain.MsgCouncilDeregisterResponse") - proto.RegisterType((*MsgMatchReport)(nil), "cardchain.cardchain.MsgMatchReport") - proto.RegisterType((*MsgMatchReportResponse)(nil), "cardchain.cardchain.MsgMatchReportResponse") - proto.RegisterType((*MsgCouncilCreate)(nil), "cardchain.cardchain.MsgCouncilCreate") - proto.RegisterType((*MsgCouncilCreateResponse)(nil), "cardchain.cardchain.MsgCouncilCreateResponse") - proto.RegisterType((*MsgMatchReporterAppoint)(nil), "cardchain.cardchain.MsgMatchReporterAppoint") - proto.RegisterType((*MsgMatchReporterAppointResponse)(nil), "cardchain.cardchain.MsgMatchReporterAppointResponse") - proto.RegisterType((*MsgSetCreate)(nil), "cardchain.cardchain.MsgSetCreate") - proto.RegisterType((*MsgSetCreateResponse)(nil), "cardchain.cardchain.MsgSetCreateResponse") - proto.RegisterType((*MsgSetCardAdd)(nil), "cardchain.cardchain.MsgSetCardAdd") - proto.RegisterType((*MsgSetCardAddResponse)(nil), "cardchain.cardchain.MsgSetCardAddResponse") - proto.RegisterType((*MsgSetCardRemove)(nil), "cardchain.cardchain.MsgSetCardRemove") - proto.RegisterType((*MsgSetCardRemoveResponse)(nil), "cardchain.cardchain.MsgSetCardRemoveResponse") - proto.RegisterType((*MsgSetContributorAdd)(nil), "cardchain.cardchain.MsgSetContributorAdd") - proto.RegisterType((*MsgSetContributorAddResponse)(nil), "cardchain.cardchain.MsgSetContributorAddResponse") - proto.RegisterType((*MsgSetContributorRemove)(nil), "cardchain.cardchain.MsgSetContributorRemove") - proto.RegisterType((*MsgSetContributorRemoveResponse)(nil), "cardchain.cardchain.MsgSetContributorRemoveResponse") - proto.RegisterType((*MsgSetFinalize)(nil), "cardchain.cardchain.MsgSetFinalize") - proto.RegisterType((*MsgSetFinalizeResponse)(nil), "cardchain.cardchain.MsgSetFinalizeResponse") - proto.RegisterType((*MsgSetArtworkAdd)(nil), "cardchain.cardchain.MsgSetArtworkAdd") - proto.RegisterType((*MsgSetArtworkAddResponse)(nil), "cardchain.cardchain.MsgSetArtworkAddResponse") - proto.RegisterType((*MsgSetStoryAdd)(nil), "cardchain.cardchain.MsgSetStoryAdd") - proto.RegisterType((*MsgSetStoryAddResponse)(nil), "cardchain.cardchain.MsgSetStoryAddResponse") - proto.RegisterType((*MsgBoosterPackBuy)(nil), "cardchain.cardchain.MsgBoosterPackBuy") - proto.RegisterType((*MsgBoosterPackBuyResponse)(nil), "cardchain.cardchain.MsgBoosterPackBuyResponse") - proto.RegisterType((*MsgSellOfferCreate)(nil), "cardchain.cardchain.MsgSellOfferCreate") - proto.RegisterType((*MsgSellOfferCreateResponse)(nil), "cardchain.cardchain.MsgSellOfferCreateResponse") - proto.RegisterType((*MsgSellOfferBuy)(nil), "cardchain.cardchain.MsgSellOfferBuy") - proto.RegisterType((*MsgSellOfferBuyResponse)(nil), "cardchain.cardchain.MsgSellOfferBuyResponse") - proto.RegisterType((*MsgSellOfferRemove)(nil), "cardchain.cardchain.MsgSellOfferRemove") - proto.RegisterType((*MsgSellOfferRemoveResponse)(nil), "cardchain.cardchain.MsgSellOfferRemoveResponse") - proto.RegisterType((*MsgCardRaritySet)(nil), "cardchain.cardchain.MsgCardRaritySet") - proto.RegisterType((*MsgCardRaritySetResponse)(nil), "cardchain.cardchain.MsgCardRaritySetResponse") - proto.RegisterType((*MsgCouncilResponseCommit)(nil), "cardchain.cardchain.MsgCouncilResponseCommit") - proto.RegisterType((*MsgCouncilResponseCommitResponse)(nil), "cardchain.cardchain.MsgCouncilResponseCommitResponse") - proto.RegisterType((*MsgCouncilResponseReveal)(nil), "cardchain.cardchain.MsgCouncilResponseReveal") - proto.RegisterType((*MsgCouncilResponseRevealResponse)(nil), "cardchain.cardchain.MsgCouncilResponseRevealResponse") - proto.RegisterType((*MsgCouncilRestart)(nil), "cardchain.cardchain.MsgCouncilRestart") - proto.RegisterType((*MsgCouncilRestartResponse)(nil), "cardchain.cardchain.MsgCouncilRestartResponse") - proto.RegisterType((*MsgMatchConfirm)(nil), "cardchain.cardchain.MsgMatchConfirm") - proto.RegisterType((*MsgMatchConfirmResponse)(nil), "cardchain.cardchain.MsgMatchConfirmResponse") - proto.RegisterType((*MsgProfileCardSet)(nil), "cardchain.cardchain.MsgProfileCardSet") - proto.RegisterType((*MsgProfileCardSetResponse)(nil), "cardchain.cardchain.MsgProfileCardSetResponse") - proto.RegisterType((*MsgProfileWebsiteSet)(nil), "cardchain.cardchain.MsgProfileWebsiteSet") - proto.RegisterType((*MsgProfileWebsiteSetResponse)(nil), "cardchain.cardchain.MsgProfileWebsiteSetResponse") - proto.RegisterType((*MsgProfileBioSet)(nil), "cardchain.cardchain.MsgProfileBioSet") - proto.RegisterType((*MsgProfileBioSetResponse)(nil), "cardchain.cardchain.MsgProfileBioSetResponse") - proto.RegisterType((*MsgBoosterPackOpen)(nil), "cardchain.cardchain.MsgBoosterPackOpen") - proto.RegisterType((*MsgBoosterPackOpenResponse)(nil), "cardchain.cardchain.MsgBoosterPackOpenResponse") - proto.RegisterType((*MsgBoosterPackTransfer)(nil), "cardchain.cardchain.MsgBoosterPackTransfer") - proto.RegisterType((*MsgBoosterPackTransferResponse)(nil), "cardchain.cardchain.MsgBoosterPackTransferResponse") - proto.RegisterType((*MsgSetStoryWriterSet)(nil), "cardchain.cardchain.MsgSetStoryWriterSet") - proto.RegisterType((*MsgSetStoryWriterSetResponse)(nil), "cardchain.cardchain.MsgSetStoryWriterSetResponse") - proto.RegisterType((*MsgSetArtistSet)(nil), "cardchain.cardchain.MsgSetArtistSet") - proto.RegisterType((*MsgSetArtistSetResponse)(nil), "cardchain.cardchain.MsgSetArtistSetResponse") - proto.RegisterType((*MsgCardVoteMulti)(nil), "cardchain.cardchain.MsgCardVoteMulti") - proto.RegisterType((*MsgCardVoteMultiResponse)(nil), "cardchain.cardchain.MsgCardVoteMultiResponse") +type MsgMatchOpen struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerA string `protobuf:"bytes,2,opt,name=playerA,proto3" json:"playerA,omitempty"` + PlayerB string `protobuf:"bytes,3,opt,name=playerB,proto3" json:"playerB,omitempty"` + PlayerAdeck []uint64 `protobuf:"varint,4,rep,packed,name=playerAdeck,proto3" json:"playerAdeck,omitempty"` + PlayerBdeck []uint64 `protobuf:"varint,5,rep,packed,name=playerBdeck,proto3" json:"playerBdeck,omitempty"` } -func init() { proto.RegisterFile("cardchain/cardchain/tx.proto", fileDescriptor_3b4a3aba0ac94bc8) } - -var fileDescriptor_3b4a3aba0ac94bc8 = []byte{ - // 2307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xf7, 0x9a, 0x92, 0x2c, 0x8d, 0x65, 0xd9, 0x5e, 0x2b, 0x36, 0xbd, 0x56, 0x68, 0x9a, 0x91, - 0x6c, 0x59, 0x91, 0xc4, 0x4a, 0x8e, 0xed, 0x20, 0x68, 0x53, 0x88, 0x32, 0x5a, 0x14, 0xa8, 0x6a, - 0x77, 0xd9, 0x26, 0x4d, 0xbf, 0x82, 0x25, 0x39, 0xa2, 0xb6, 0xe2, 0xee, 0x30, 0xbb, 0x43, 0x3a, - 0x0a, 0x50, 0xa0, 0x48, 0x2f, 0x45, 0x7b, 0xe9, 0xb9, 0xb7, 0xde, 0x72, 0x74, 0x81, 0xf6, 0x1f, - 0x68, 0x2f, 0x39, 0xf4, 0x10, 0xe4, 0xd4, 0x53, 0x51, 0xd8, 0x07, 0xff, 0x1b, 0xc5, 0x7c, 0xec, - 0xec, 0xec, 0x70, 0x76, 0x76, 0x49, 0x20, 0x17, 0x9b, 0x33, 0xf3, 0x9b, 0xf7, 0x31, 0xf3, 0xe6, - 0xbd, 0xb7, 0x3f, 0x08, 0xac, 0x75, 0xbd, 0xa8, 0xd7, 0x3d, 0xf1, 0xfc, 0xb0, 0x99, 0xfe, 0xc2, - 0x9f, 0xee, 0x0e, 0x23, 0x84, 0x91, 0x7d, 0x4d, 0xcc, 0xed, 0x8a, 0x5f, 0xce, 0x55, 0x2f, 0xf0, - 0x43, 0xd4, 0xa4, 0xff, 0x32, 0x9c, 0x73, 0xa3, 0x8b, 0xe2, 0x00, 0xc5, 0xcd, 0x20, 0xee, 0x37, - 0xc7, 0x7b, 0xe4, 0x3f, 0xbe, 0x70, 0x93, 0x2d, 0x7c, 0x4c, 0x47, 0x4d, 0x36, 0xe0, 0x4b, 0xab, - 0x7d, 0xd4, 0x47, 0x6c, 0x9e, 0xfc, 0xe2, 0xb3, 0x75, 0x9d, 0x3d, 0x43, 0x2f, 0xf2, 0x82, 0x64, - 0x5f, 0x8d, 0xeb, 0xea, 0x78, 0x31, 0x6c, 0x8e, 0xf7, 0x3a, 0x10, 0x7b, 0x7b, 0xcd, 0x2e, 0xf2, - 0x43, 0x93, 0x84, 0x31, 0xc2, 0x7e, 0x98, 0x18, 0x75, 0x5b, 0x87, 0x08, 0x3c, 0xdc, 0x3d, 0xe1, - 0x80, 0x3b, 0x3a, 0x40, 0x17, 0x8d, 0xc2, 0xae, 0x3f, 0x10, 0x56, 0xe8, 0x20, 0x5e, 0xd4, 0x63, - 0xeb, 0x8d, 0x7f, 0x59, 0xe0, 0xf2, 0x51, 0xdc, 0xff, 0xe9, 0xb0, 0xe7, 0x61, 0xf8, 0x8c, 0xda, - 0x6f, 0x3f, 0x02, 0x4b, 0xde, 0x08, 0x9f, 0xa0, 0xc8, 0xc7, 0x67, 0x55, 0xab, 0x6e, 0x6d, 0x2e, - 0xb5, 0xaa, 0x5f, 0xff, 0x7d, 0x67, 0x95, 0x1f, 0xcb, 0x41, 0xaf, 0x17, 0xc1, 0x38, 0x6e, 0xe3, - 0xc8, 0x0f, 0xfb, 0x6e, 0x0a, 0xb5, 0xdf, 0x07, 0x0b, 0xec, 0x04, 0xaa, 0xe7, 0xeb, 0xd6, 0xe6, - 0xc5, 0xfd, 0x5b, 0xbb, 0x9a, 0x6b, 0xd9, 0x65, 0x4a, 0x5a, 0x4b, 0x5f, 0xfe, 0xf7, 0xf6, 0xb9, - 0x2f, 0x5e, 0xbf, 0xd8, 0xb2, 0x5c, 0xbe, 0xeb, 0xbd, 0x77, 0x3f, 0x7f, 0xfd, 0x62, 0x2b, 0x95, - 0xf7, 0xc7, 0xd7, 0x2f, 0xb6, 0x36, 0x52, 0xa3, 0x3f, 0x95, 0x1c, 0x50, 0x2c, 0x6e, 0xdc, 0x04, - 0x37, 0x94, 0x29, 0x17, 0xc6, 0x43, 0x14, 0xc6, 0xb0, 0xd1, 0x07, 0x97, 0xc8, 0x52, 0x0c, 0xa3, - 0xc3, 0x08, 0x7a, 0x18, 0xda, 0x55, 0x70, 0xa1, 0x4b, 0x7e, 0xa1, 0x88, 0xf9, 0xe6, 0x26, 0x43, - 0xb2, 0x12, 0xc2, 0xe7, 0x04, 0x4a, 0x1d, 0x58, 0x72, 0x93, 0xa1, 0xbd, 0x0a, 0xe6, 0xbd, 0x81, - 0xef, 0xc5, 0xd5, 0x0a, 0x9d, 0x67, 0x83, 0xf7, 0x96, 0x89, 0xbd, 0xc9, 0xee, 0xc6, 0x0d, 0xf0, - 0x46, 0x46, 0x91, 0xb0, 0x20, 0x00, 0x57, 0x8e, 0xe2, 0xfe, 0xa1, 0x17, 0xf5, 0xda, 0xdd, 0x13, - 0x18, 0xc0, 0xd6, 0xe8, 0xcc, 0x60, 0xc4, 0x1e, 0xa8, 0x74, 0xfc, 0x1e, 0x3f, 0xc1, 0x9b, 0xbb, - 0xfc, 0xcc, 0x49, 0x10, 0xed, 0xf2, 0x20, 0xda, 0x3d, 0x44, 0x7e, 0xd8, 0x9a, 0x23, 0xe7, 0xe7, - 0x12, 0xac, 0x62, 0xc7, 0x3e, 0xa8, 0xaa, 0xea, 0x12, 0x53, 0xec, 0xeb, 0x60, 0x81, 0x1c, 0xe2, - 0x0f, 0x7a, 0x54, 0xeb, 0x9c, 0xcb, 0x47, 0x8d, 0x7f, 0x5a, 0xc0, 0x4e, 0x36, 0x79, 0x63, 0x78, - 0x88, 0x42, 0x0c, 0x43, 0x6c, 0xb0, 0x32, 0x15, 0x74, 0x5e, 0x16, 0x44, 0x77, 0xb0, 0xcd, 0xf4, - 0xa8, 0x96, 0xdd, 0x64, 0x48, 0x8e, 0x30, 0x44, 0x18, 0xc6, 0xd5, 0x39, 0x76, 0x84, 0x74, 0x40, - 0xe4, 0x78, 0x11, 0xf6, 0x63, 0x5c, 0x9d, 0xa7, 0xd3, 0x7c, 0x64, 0xaf, 0x83, 0x4b, 0x1d, 0x6f, - 0xe0, 0x85, 0x5d, 0x78, 0x10, 0x76, 0x4f, 0x50, 0x54, 0x5d, 0xa8, 0x5b, 0x9b, 0x8b, 0x6e, 0x76, - 0x52, 0x71, 0xfc, 0x09, 0x70, 0x26, 0x7d, 0x10, 0xae, 0xdf, 0x05, 0x2b, 0x9e, 0x1f, 0xf5, 0x22, - 0x34, 0x3c, 0x1c, 0x78, 0x7e, 0x00, 0xd9, 0x11, 0x2c, 0xba, 0xca, 0x6c, 0xe3, 0x37, 0xe0, 0x22, - 0x97, 0xf2, 0x01, 0x32, 0x46, 0xcb, 0x03, 0x30, 0x37, 0x46, 0x18, 0xf2, 0x9b, 0xba, 0xad, 0x8d, - 0xf5, 0xb6, 0x1f, 0xf6, 0x07, 0x90, 0x08, 0x72, 0x29, 0x58, 0xb1, 0xf8, 0x3b, 0xe0, 0x9a, 0xa4, - 0x6b, 0x6a, 0x53, 0x03, 0xfa, 0x74, 0xc9, 0xf6, 0x9f, 0x44, 0x5e, 0x18, 0x1f, 0xc3, 0x68, 0x86, - 0x1b, 0x73, 0xc0, 0x62, 0x04, 0xbb, 0xd0, 0x1f, 0xc3, 0x88, 0x47, 0xb7, 0x18, 0x2b, 0xd6, 0xb2, - 0x47, 0x26, 0xab, 0x13, 0x21, 0xfe, 0x07, 0x8b, 0xbe, 0x32, 0xb2, 0xf6, 0x04, 0x85, 0xe6, 0x57, - 0x96, 0x67, 0xc8, 0x63, 0xb0, 0xe0, 0x05, 0x68, 0xc4, 0x23, 0xa7, 0x44, 0xec, 0x73, 0xb8, 0xf6, - 0x19, 0xa6, 0x96, 0x08, 0x1b, 0x7f, 0x6f, 0x81, 0xab, 0x7c, 0xe5, 0x20, 0xc2, 0xcf, 0x51, 0x74, - 0x7a, 0xd0, 0xeb, 0xcd, 0x60, 0xe7, 0x2a, 0x98, 0xf7, 0x03, 0xaf, 0x0f, 0x79, 0x80, 0xb3, 0x01, - 0x91, 0x73, 0x3c, 0x1a, 0x0c, 0x0e, 0x22, 0x4c, 0x03, 0x7c, 0xd1, 0x4d, 0x86, 0x8a, 0x79, 0xb7, - 0xc0, 0xcd, 0x09, 0x23, 0xa4, 0x4c, 0x71, 0x2d, 0x5d, 0xf4, 0x63, 0x7c, 0x78, 0xe2, 0x85, 0xfd, - 0x59, 0xce, 0x32, 0x7d, 0x56, 0x15, 0xf9, 0x59, 0x29, 0xb6, 0xbc, 0x09, 0x6e, 0x69, 0xd4, 0x09, - 0x6b, 0xbe, 0xcd, 0x72, 0x02, 0x2b, 0x27, 0x2e, 0xec, 0xfb, 0x31, 0x36, 0x45, 0x98, 0x22, 0x7c, - 0x8d, 0xbd, 0xc6, 0xec, 0x6e, 0x21, 0xfb, 0x7d, 0xb0, 0x9a, 0xae, 0x3e, 0x81, 0xd1, 0xb4, 0xd2, - 0x6b, 0x60, 0x4d, 0xb7, 0x5f, 0xc8, 0xff, 0xda, 0x02, 0x2b, 0x47, 0x71, 0xff, 0x88, 0x14, 0x4b, - 0x17, 0x0e, 0x51, 0x84, 0xcd, 0x79, 0x9f, 0x56, 0x55, 0x71, 0x8c, 0xc9, 0xd0, 0x6e, 0x80, 0xe5, - 0xe1, 0xc0, 0x3b, 0x83, 0x3d, 0x72, 0x48, 0xf1, 0x41, 0xb5, 0x52, 0xaf, 0x6c, 0xce, 0xb9, 0x99, - 0x39, 0x05, 0xd3, 0xaa, 0xce, 0x4d, 0x60, 0x5a, 0xf6, 0x23, 0x70, 0x01, 0x8d, 0x70, 0x17, 0x05, - 0x90, 0xe6, 0xb9, 0x95, 0xfd, 0x35, 0x6d, 0xba, 0x78, 0xca, 0x30, 0x6e, 0x02, 0x56, 0x9c, 0xae, - 0x82, 0xeb, 0x59, 0x9f, 0x84, 0xbb, 0x2e, 0x2b, 0x31, 0xec, 0x38, 0x0a, 0xeb, 0x5c, 0x4e, 0xd4, - 0x28, 0xda, 0x1c, 0x56, 0x47, 0x64, 0x99, 0x42, 0xdf, 0xaf, 0x68, 0x2a, 0x90, 0x2c, 0x81, 0xd1, - 0xc1, 0x70, 0x88, 0x7c, 0x63, 0xcd, 0xa0, 0x99, 0x86, 0x81, 0x79, 0x7d, 0x15, 0x63, 0x45, 0xf5, - 0x1d, 0x70, 0x3b, 0x47, 0xbc, 0xb0, 0xe0, 0x0b, 0x0b, 0x2c, 0x1f, 0xc5, 0xfd, 0x36, 0xc4, 0x85, - 0xee, 0xda, 0x60, 0x2e, 0xf4, 0x02, 0xc8, 0x75, 0xd2, 0xdf, 0x79, 0x0f, 0xc4, 0xae, 0x83, 0x8b, - 0x31, 0x46, 0xd1, 0xd9, 0x87, 0x91, 0x4f, 0xcc, 0x64, 0xb5, 0x4a, 0x9e, 0x22, 0xd7, 0x4d, 0x4a, - 0x5a, 0xe4, 0x77, 0x46, 0x18, 0x45, 0x71, 0x75, 0xbe, 0x5e, 0xd9, 0x5c, 0x72, 0x33, 0x73, 0x8a, - 0x37, 0xd7, 0x69, 0xac, 0x0b, 0x4b, 0x85, 0x0b, 0x90, 0xe6, 0x4c, 0x32, 0x4f, 0x5e, 0xa0, 0x31, - 0x17, 0xad, 0x82, 0xf9, 0x18, 0x62, 0x71, 0x61, 0x6c, 0x20, 0xdd, 0x63, 0xc5, 0x70, 0x8f, 0x2c, - 0x21, 0xa6, 0x6a, 0x84, 0xfe, 0x13, 0x1a, 0x34, 0x7c, 0xc1, 0x85, 0x01, 0x1a, 0xc3, 0x6f, 0xc8, - 0x04, 0x16, 0x4a, 0x19, 0x4d, 0x92, 0x15, 0xc9, 0xe9, 0xa4, 0x27, 0x38, 0xcb, 0x61, 0xd8, 0x60, - 0x6e, 0x14, 0x8b, 0x1a, 0x46, 0x7f, 0x6b, 0x73, 0xc6, 0x84, 0x26, 0x61, 0xc9, 0x29, 0x0d, 0xea, - 0xec, 0xfa, 0x8c, 0xc7, 0x52, 0x6c, 0x0c, 0x0b, 0x71, 0x9d, 0x32, 0x61, 0xcf, 0x8f, 0x68, 0x0a, - 0x6b, 0x43, 0xfc, 0x3d, 0x3f, 0xf4, 0x06, 0xfe, 0x67, 0x53, 0x9b, 0xa1, 0x4d, 0x1f, 0x92, 0x3c, - 0xa1, 0xe9, 0x38, 0x89, 0x84, 0x52, 0x85, 0x51, 0xef, 0xb2, 0xb6, 0x2c, 0xe6, 0xc5, 0x81, 0xa6, - 0xf6, 0xf5, 0x12, 0x6f, 0xdb, 0xe4, 0xb1, 0xcd, 0x68, 0x01, 0x7d, 0xa8, 0x49, 0x93, 0x4e, 0x07, - 0x79, 0x67, 0x90, 0x68, 0x11, 0xfa, 0x7f, 0x4c, 0xbb, 0x83, 0x16, 0x42, 0xa4, 0x8e, 0x3c, 0xf3, - 0xba, 0xa7, 0xe6, 0x36, 0xbd, 0xcc, 0x81, 0x1f, 0xd2, 0x5a, 0x9f, 0x15, 0x39, 0x75, 0x93, 0xf7, - 0x27, 0xd6, 0x9a, 0xb7, 0xe1, 0x60, 0xf0, 0xf4, 0xf8, 0xb8, 0xc4, 0x57, 0x4c, 0x5e, 0x4f, 0xf0, - 0x10, 0xcc, 0x0f, 0x23, 0xbf, 0x0b, 0xcb, 0xb6, 0x57, 0x0c, 0xad, 0xad, 0xea, 0x8a, 0x31, 0xe2, - 0x0c, 0x7f, 0x41, 0x1b, 0x52, 0xb1, 0x6a, 0x3e, 0x41, 0x92, 0x6a, 0x13, 0xa4, 0x30, 0x56, 0x9e, - 0xd2, 0xb6, 0x9f, 0xb2, 0x70, 0xa1, 0xf7, 0xd7, 0xd9, 0x23, 0x2a, 0x7c, 0xb4, 0xd3, 0xaa, 0x56, - 0xbc, 0x56, 0xde, 0xe9, 0x5f, 0x2d, 0xf1, 0x81, 0xe7, 0x7a, 0xe4, 0xc3, 0xb5, 0x0d, 0xf1, 0x6c, - 0x7d, 0x25, 0x8b, 0xa8, 0x8a, 0x1c, 0xd4, 0x8f, 0xc1, 0x42, 0x44, 0x85, 0xd2, 0x5a, 0xb4, 0x92, - 0xf3, 0x9d, 0x91, 0xea, 0x76, 0x39, 0x5c, 0x5f, 0xcc, 0x65, 0x13, 0x85, 0xfd, 0x7f, 0xb1, 0xe4, - 0x4a, 0x9f, 0x4c, 0x1f, 0xa2, 0x20, 0xf0, 0x4d, 0x7e, 0xac, 0x81, 0x25, 0x4e, 0x35, 0x08, 0x57, - 0xd2, 0x09, 0xb2, 0x8f, 0x14, 0xf7, 0x30, 0x86, 0xfc, 0x39, 0x26, 0x43, 0xbb, 0x06, 0x40, 0x3c, - 0xea, 0xf7, 0x61, 0x8c, 0x7d, 0x14, 0xf2, 0x0a, 0x2b, 0xcd, 0x28, 0x86, 0x37, 0x40, 0x3d, 0xcf, - 0x36, 0xe1, 0xc0, 0xdf, 0xb4, 0x0e, 0xb8, 0x70, 0x0c, 0xbd, 0xc1, 0xcc, 0x0e, 0x3c, 0xce, 0x3a, - 0xb0, 0xb2, 0xff, 0xa6, 0xf6, 0xe4, 0x85, 0x36, 0xe1, 0xdf, 0x75, 0xb0, 0x10, 0xc3, 0x6e, 0x04, - 0x31, 0xf7, 0x8d, 0x8f, 0xca, 0xf8, 0xc5, 0x4c, 0x16, 0x7e, 0x7d, 0xc4, 0x3e, 0x58, 0x04, 0x06, - 0x7b, 0xd1, 0xcc, 0x17, 0xa2, 0xff, 0x0c, 0xc9, 0x88, 0x16, 0x7a, 0xff, 0xcd, 0x38, 0x21, 0xda, - 0x7f, 0x1d, 0xa2, 0xf0, 0xd8, 0x8f, 0x82, 0x99, 0xba, 0x67, 0xa9, 0xeb, 0xad, 0x4c, 0xd1, 0xf5, - 0xda, 0xdf, 0x05, 0x80, 0x7c, 0x2c, 0xb3, 0xe6, 0x99, 0xf6, 0xd3, 0x25, 0xbe, 0xaf, 0xa5, 0x2d, - 0xda, 0xc4, 0x21, 0x7b, 0x23, 0x3c, 0x6d, 0xd3, 0x13, 0x7e, 0x16, 0xa1, 0x63, 0x7f, 0x00, 0x29, - 0x73, 0x30, 0xcb, 0xd3, 0xd5, 0x9e, 0x6d, 0x56, 0xa8, 0xd0, 0xf8, 0x33, 0xda, 0xee, 0xf0, 0xc5, - 0x0f, 0x61, 0x27, 0xf6, 0x31, 0x34, 0x2b, 0xad, 0x82, 0x0b, 0xcf, 0x19, 0x2e, 0x61, 0xa5, 0xf8, - 0x50, 0xdb, 0xde, 0x4c, 0x48, 0x16, 0x9a, 0x7f, 0x48, 0xb3, 0x14, 0x5f, 0x6f, 0xf9, 0xc8, 0xac, - 0xf5, 0x0a, 0xa8, 0x74, 0x7c, 0xc4, 0x35, 0x92, 0x9f, 0xda, 0x84, 0x92, 0x91, 0x26, 0x34, 0x75, - 0x68, 0x3a, 0x96, 0xea, 0xde, 0xd3, 0x21, 0x0c, 0x0d, 0xba, 0xd6, 0xc1, 0xa5, 0x4e, 0x0a, 0x16, - 0xa7, 0x9b, 0x9d, 0x54, 0xf4, 0x3f, 0xa2, 0x29, 0x59, 0xd1, 0x21, 0x8a, 0x2b, 0xd1, 0x45, 0xaf, - 0x26, 0xae, 0x5a, 0xf4, 0x73, 0x2c, 0x19, 0x36, 0x3e, 0xb7, 0x68, 0x07, 0x20, 0x6d, 0x2c, 0xc1, - 0x9d, 0x94, 0x32, 0x70, 0x0a, 0x26, 0xa5, 0x0e, 0x6a, 0x7a, 0x1b, 0xc4, 0x11, 0x8e, 0x93, 0xae, - 0xb8, 0x9d, 0x7e, 0x7a, 0x98, 0x2f, 0x4c, 0xdf, 0x13, 0x29, 0xdf, 0x33, 0x95, 0x89, 0xef, 0x99, - 0xbc, 0x1e, 0x39, 0xab, 0x57, 0x62, 0x53, 0x2f, 0x8b, 0x0e, 0xce, 0x8f, 0xf1, 0x2c, 0x26, 0x95, - 0xe3, 0x26, 0x92, 0x6a, 0x9f, 0x2a, 0x12, 0x36, 0x7c, 0x22, 0xca, 0x2d, 0x79, 0xf8, 0x47, 0xa3, - 0x01, 0xf6, 0x0d, 0x46, 0x3c, 0x04, 0xf3, 0x63, 0xca, 0x3b, 0x9e, 0x2f, 0x97, 0x47, 0x18, 0x5a, - 0xb1, 0xa6, 0x25, 0xca, 0xa7, 0x50, 0x39, 0x6d, 0x23, 0xb7, 0xff, 0x8f, 0x3a, 0xa8, 0x1c, 0xc5, - 0x7d, 0xbb, 0x03, 0x96, 0x33, 0x6c, 0xfb, 0xba, 0xd6, 0x22, 0x85, 0xce, 0x76, 0xb6, 0xcb, 0xa0, - 0x84, 0x4d, 0xbf, 0x04, 0x40, 0x62, 0xbc, 0x1b, 0xb9, 0x7b, 0x05, 0xc6, 0xd9, 0x2a, 0xc6, 0x08, - 0xe9, 0x10, 0x5c, 0xca, 0xb2, 0xd9, 0x1b, 0x79, 0x9b, 0x33, 0x30, 0x67, 0xa7, 0x14, 0x4c, 0xa8, - 0x39, 0x05, 0x97, 0x55, 0x42, 0xfa, 0x9e, 0x51, 0x42, 0x0a, 0x74, 0x9a, 0x25, 0x81, 0x42, 0xd9, - 0x07, 0x60, 0x51, 0x70, 0xbe, 0x75, 0xd3, 0x66, 0x82, 0x70, 0x36, 0x8b, 0x10, 0x42, 0x6e, 0x07, - 0x2c, 0x67, 0x08, 0xda, 0x75, 0xd3, 0xce, 0x04, 0x95, 0x7f, 0xdb, 0x3a, 0xf6, 0x95, 0xdc, 0xb6, - 0xc4, 0xbc, 0x36, 0x4c, 0x7b, 0x19, 0x26, 0xff, 0xb6, 0x27, 0x79, 0x53, 0xfb, 0x04, 0xac, 0x28, - 0x9c, 0xe9, 0x5d, 0xd3, 0xee, 0x14, 0xe7, 0xec, 0x96, 0xc3, 0x09, 0x4d, 0x21, 0xb8, 0x32, 0xc1, - 0x7d, 0x6e, 0x16, 0xc8, 0x10, 0x48, 0xe7, 0x5b, 0x65, 0x91, 0x99, 0x00, 0x53, 0xd8, 0xcd, 0xfc, - 0x00, 0xcb, 0x02, 0x0d, 0x01, 0xa6, 0x67, 0x3c, 0xed, 0x4f, 0xc0, 0xd5, 0x49, 0xba, 0xf3, 0x7e, - 0x81, 0x94, 0x14, 0xea, 0xec, 0x95, 0x86, 0x0a, 0x95, 0x1f, 0x83, 0x8b, 0x32, 0x01, 0xfa, 0x56, - 0x9e, 0x04, 0x09, 0xe4, 0xbc, 0x5d, 0x02, 0x94, 0x49, 0x04, 0x19, 0xce, 0x71, 0xa3, 0xc0, 0x48, - 0x9e, 0x6c, 0x76, 0x4a, 0xc1, 0x84, 0x9a, 0xcf, 0xc0, 0xaa, 0x96, 0x6a, 0xdc, 0x2e, 0x61, 0xab, - 0x40, 0x3b, 0xef, 0x4c, 0x83, 0x16, 0xba, 0x3f, 0x02, 0x4b, 0x29, 0xc7, 0x78, 0x27, 0x4f, 0x84, - 0x80, 0x38, 0xf7, 0x0b, 0x21, 0xf2, 0xb3, 0x95, 0xc8, 0xbf, 0x86, 0x69, 0x23, 0xc3, 0xe4, 0x3f, - 0xdb, 0x49, 0x76, 0x8f, 0xdc, 0x4d, 0x96, 0xda, 0xdb, 0x28, 0xd8, 0xcc, 0x60, 0xf9, 0x77, 0xa3, - 0xa5, 0xef, 0x48, 0x58, 0x4f, 0x72, 0x77, 0xc6, 0x43, 0xc8, 0x40, 0xf3, 0xc3, 0x3a, 0x97, 0xa7, - 0x23, 0xe1, 0xa0, 0x25, 0xe9, 0xb6, 0xcb, 0x89, 0xe2, 0x7e, 0xbe, 0x33, 0x0d, 0x5a, 0x7e, 0x52, - 0x32, 0x21, 0xf7, 0x96, 0x41, 0x48, 0x02, 0xca, 0x7f, 0x52, 0x1a, 0x2a, 0x8e, 0x5f, 0x9b, 0x94, - 0x6c, 0x4d, 0xd7, 0x26, 0xe5, 0xda, 0x9d, 0x52, 0x30, 0xc5, 0x0f, 0x41, 0xb5, 0x99, 0xfc, 0x48, - 0x40, 0x46, 0x3f, 0x54, 0x3a, 0x8d, 0x54, 0x0d, 0x85, 0x4b, 0xcb, 0xad, 0x1a, 0x59, 0x5c, 0x7e, - 0xd5, 0xc8, 0x21, 0xd2, 0x4e, 0xc1, 0x65, 0x95, 0x1c, 0xbb, 0x97, 0x6f, 0x69, 0x06, 0x98, 0x9f, - 0xc5, 0x73, 0x18, 0x2e, 0x52, 0xce, 0x33, 0xf4, 0xd6, 0x7a, 0xa1, 0x00, 0xe2, 0xd2, 0x76, 0x19, - 0x94, 0xd6, 0x21, 0x1e, 0xda, 0xc5, 0x0e, 0xf1, 0xa8, 0x6e, 0x96, 0x04, 0xaa, 0xbd, 0x5c, 0x4a, - 0x5c, 0x19, 0x7b, 0x39, 0x01, 0x33, 0xf7, 0x72, 0x13, 0x1c, 0x93, 0xfd, 0x5b, 0xf0, 0x86, 0x9e, - 0x5f, 0xda, 0x29, 0xac, 0xa3, 0x32, 0xdc, 0x79, 0x38, 0x15, 0xdc, 0xa0, 0x9e, 0xb3, 0x43, 0x65, - 0xd5, 0x33, 0x78, 0x69, 0xf5, 0x59, 0x22, 0x87, 0xb6, 0x50, 0x59, 0x16, 0xe7, 0x6e, 0xb1, 0x20, - 0x82, 0x33, 0xb4, 0x50, 0x5a, 0xea, 0x86, 0xc4, 0x67, 0x86, 0xb6, 0x59, 0x37, 0x16, 0x3d, 0x8e, - 0x72, 0xb6, 0xcb, 0xa0, 0x64, 0x6f, 0x14, 0xc6, 0x24, 0xd7, 0x9b, 0x2c, 0x2e, 0xdf, 0x1b, 0x3d, - 0x59, 0x42, 0x8a, 0xcb, 0x24, 0x53, 0x72, 0xbf, 0x40, 0x48, 0x0a, 0xcd, 0x2f, 0x2e, 0xb9, 0x2c, - 0x09, 0x79, 0x0f, 0x59, 0x8a, 0x64, 0xa3, 0x40, 0x06, 0x83, 0xe5, 0xbf, 0x07, 0x2d, 0x45, 0x42, - 0xde, 0xb8, 0xca, 0x8f, 0xdc, 0x2b, 0x91, 0xf7, 0x08, 0x30, 0xff, 0x8d, 0xe7, 0xb1, 0x21, 0xcf, - 0xc1, 0x35, 0x1d, 0xdf, 0xf1, 0x76, 0x09, 0x39, 0xe2, 0x8b, 0xe4, 0xc1, 0x14, 0x60, 0xa5, 0x39, - 0x50, 0x28, 0x8c, 0xfb, 0x45, 0x65, 0x44, 0x40, 0x8d, 0xcd, 0x81, 0x9e, 0xa0, 0x60, 0x09, 0x5a, - 0x62, 0x27, 0xd6, 0xcd, 0x75, 0x91, 0xa1, 0x4c, 0x09, 0x7a, 0x92, 0x80, 0x48, 0x72, 0x66, 0xca, - 0x3e, 0x6c, 0x14, 0x7d, 0x0e, 0x52, 0x98, 0x39, 0x67, 0x4e, 0x10, 0x0b, 0xce, 0xfc, 0xef, 0x5e, - 0xbf, 0xd8, 0xb2, 0x5a, 0xee, 0x97, 0x2f, 0x6b, 0xd6, 0x57, 0x2f, 0x6b, 0xd6, 0xff, 0x5e, 0xd6, - 0xac, 0x3f, 0xbf, 0xaa, 0x9d, 0xfb, 0xea, 0x55, 0xed, 0xdc, 0x7f, 0x5e, 0xd5, 0xce, 0xfd, 0xfc, - 0xdd, 0xbe, 0x8f, 0x4f, 0x46, 0x9d, 0xdd, 0x2e, 0x0a, 0x9a, 0x4f, 0x60, 0x17, 0x86, 0x38, 0xf2, - 0x06, 0x44, 0xd6, 0xf7, 0xbd, 0x00, 0x36, 0xf5, 0x7f, 0x39, 0x87, 0xcf, 0x86, 0x30, 0xee, 0x2c, - 0xd0, 0x3f, 0xfe, 0x7b, 0xf0, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xf0, 0x9e, 0x50, 0x56, - 0x29, 0x00, 0x00, +func (m *MsgMatchOpen) Reset() { *m = MsgMatchOpen{} } +func (m *MsgMatchOpen) String() string { return proto.CompactTextString(m) } +func (*MsgMatchOpen) ProtoMessage() {} +func (*MsgMatchOpen) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{78} } - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - // UpdateParams defines a (governance) operation for updating the module - // parameters. The authority defaults to the x/gov module account. - UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) - UserCreate(ctx context.Context, in *MsgUserCreate, opts ...grpc.CallOption) (*MsgUserCreateResponse, error) - CardSchemeBuy(ctx context.Context, in *MsgCardSchemeBuy, opts ...grpc.CallOption) (*MsgCardSchemeBuyResponse, error) - CardSaveContent(ctx context.Context, in *MsgCardSaveContent, opts ...grpc.CallOption) (*MsgCardSaveContentResponse, error) - CardVote(ctx context.Context, in *MsgCardVote, opts ...grpc.CallOption) (*MsgCardVoteResponse, error) - CardTransfer(ctx context.Context, in *MsgCardTransfer, opts ...grpc.CallOption) (*MsgCardTransferResponse, error) - CardDonate(ctx context.Context, in *MsgCardDonate, opts ...grpc.CallOption) (*MsgCardDonateResponse, error) - CardArtworkAdd(ctx context.Context, in *MsgCardArtworkAdd, opts ...grpc.CallOption) (*MsgCardArtworkAddResponse, error) - CardArtistChange(ctx context.Context, in *MsgCardArtistChange, opts ...grpc.CallOption) (*MsgCardArtistChangeResponse, error) - CouncilRegister(ctx context.Context, in *MsgCouncilRegister, opts ...grpc.CallOption) (*MsgCouncilRegisterResponse, error) - CouncilDeregister(ctx context.Context, in *MsgCouncilDeregister, opts ...grpc.CallOption) (*MsgCouncilDeregisterResponse, error) - MatchReport(ctx context.Context, in *MsgMatchReport, opts ...grpc.CallOption) (*MsgMatchReportResponse, error) - CouncilCreate(ctx context.Context, in *MsgCouncilCreate, opts ...grpc.CallOption) (*MsgCouncilCreateResponse, error) - MatchReporterAppoint(ctx context.Context, in *MsgMatchReporterAppoint, opts ...grpc.CallOption) (*MsgMatchReporterAppointResponse, error) - SetCreate(ctx context.Context, in *MsgSetCreate, opts ...grpc.CallOption) (*MsgSetCreateResponse, error) - SetCardAdd(ctx context.Context, in *MsgSetCardAdd, opts ...grpc.CallOption) (*MsgSetCardAddResponse, error) - SetCardRemove(ctx context.Context, in *MsgSetCardRemove, opts ...grpc.CallOption) (*MsgSetCardRemoveResponse, error) - SetContributorAdd(ctx context.Context, in *MsgSetContributorAdd, opts ...grpc.CallOption) (*MsgSetContributorAddResponse, error) - SetContributorRemove(ctx context.Context, in *MsgSetContributorRemove, opts ...grpc.CallOption) (*MsgSetContributorRemoveResponse, error) - SetFinalize(ctx context.Context, in *MsgSetFinalize, opts ...grpc.CallOption) (*MsgSetFinalizeResponse, error) - SetArtworkAdd(ctx context.Context, in *MsgSetArtworkAdd, opts ...grpc.CallOption) (*MsgSetArtworkAddResponse, error) - SetStoryAdd(ctx context.Context, in *MsgSetStoryAdd, opts ...grpc.CallOption) (*MsgSetStoryAddResponse, error) - BoosterPackBuy(ctx context.Context, in *MsgBoosterPackBuy, opts ...grpc.CallOption) (*MsgBoosterPackBuyResponse, error) - SellOfferCreate(ctx context.Context, in *MsgSellOfferCreate, opts ...grpc.CallOption) (*MsgSellOfferCreateResponse, error) - SellOfferBuy(ctx context.Context, in *MsgSellOfferBuy, opts ...grpc.CallOption) (*MsgSellOfferBuyResponse, error) - SellOfferRemove(ctx context.Context, in *MsgSellOfferRemove, opts ...grpc.CallOption) (*MsgSellOfferRemoveResponse, error) - CardRaritySet(ctx context.Context, in *MsgCardRaritySet, opts ...grpc.CallOption) (*MsgCardRaritySetResponse, error) - CouncilResponseCommit(ctx context.Context, in *MsgCouncilResponseCommit, opts ...grpc.CallOption) (*MsgCouncilResponseCommitResponse, error) - CouncilResponseReveal(ctx context.Context, in *MsgCouncilResponseReveal, opts ...grpc.CallOption) (*MsgCouncilResponseRevealResponse, error) - CouncilRestart(ctx context.Context, in *MsgCouncilRestart, opts ...grpc.CallOption) (*MsgCouncilRestartResponse, error) - MatchConfirm(ctx context.Context, in *MsgMatchConfirm, opts ...grpc.CallOption) (*MsgMatchConfirmResponse, error) - ProfileCardSet(ctx context.Context, in *MsgProfileCardSet, opts ...grpc.CallOption) (*MsgProfileCardSetResponse, error) - ProfileWebsiteSet(ctx context.Context, in *MsgProfileWebsiteSet, opts ...grpc.CallOption) (*MsgProfileWebsiteSetResponse, error) - ProfileBioSet(ctx context.Context, in *MsgProfileBioSet, opts ...grpc.CallOption) (*MsgProfileBioSetResponse, error) - BoosterPackOpen(ctx context.Context, in *MsgBoosterPackOpen, opts ...grpc.CallOption) (*MsgBoosterPackOpenResponse, error) - BoosterPackTransfer(ctx context.Context, in *MsgBoosterPackTransfer, opts ...grpc.CallOption) (*MsgBoosterPackTransferResponse, error) - SetStoryWriterSet(ctx context.Context, in *MsgSetStoryWriterSet, opts ...grpc.CallOption) (*MsgSetStoryWriterSetResponse, error) - SetArtistSet(ctx context.Context, in *MsgSetArtistSet, opts ...grpc.CallOption) (*MsgSetArtistSetResponse, error) - CardVoteMulti(ctx context.Context, in *MsgCardVoteMulti, opts ...grpc.CallOption) (*MsgCardVoteMultiResponse, error) +func (m *MsgMatchOpen) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -type msgClient struct { - cc grpc1.ClientConn +func (m *MsgMatchOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMatchOpen.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } - -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} +func (m *MsgMatchOpen) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMatchOpen.Merge(m, src) } - -func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { - out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/UpdateParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgMatchOpen) XXX_Size() int { + return m.Size() } - -func (c *msgClient) UserCreate(ctx context.Context, in *MsgUserCreate, opts ...grpc.CallOption) (*MsgUserCreateResponse, error) { - out := new(MsgUserCreateResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/UserCreate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgMatchOpen) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMatchOpen.DiscardUnknown(m) } -func (c *msgClient) CardSchemeBuy(ctx context.Context, in *MsgCardSchemeBuy, opts ...grpc.CallOption) (*MsgCardSchemeBuyResponse, error) { - out := new(MsgCardSchemeBuyResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardSchemeBuy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +var xxx_messageInfo_MsgMatchOpen proto.InternalMessageInfo -func (c *msgClient) CardSaveContent(ctx context.Context, in *MsgCardSaveContent, opts ...grpc.CallOption) (*MsgCardSaveContentResponse, error) { - out := new(MsgCardSaveContentResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardSaveContent", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgMatchOpen) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) CardVote(ctx context.Context, in *MsgCardVote, opts ...grpc.CallOption) (*MsgCardVoteResponse, error) { - out := new(MsgCardVoteResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardVote", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgMatchOpen) GetPlayerA() string { + if m != nil { + return m.PlayerA } - return out, nil + return "" } -func (c *msgClient) CardTransfer(ctx context.Context, in *MsgCardTransfer, opts ...grpc.CallOption) (*MsgCardTransferResponse, error) { - out := new(MsgCardTransferResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardTransfer", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgMatchOpen) GetPlayerB() string { + if m != nil { + return m.PlayerB } - return out, nil + return "" } -func (c *msgClient) CardDonate(ctx context.Context, in *MsgCardDonate, opts ...grpc.CallOption) (*MsgCardDonateResponse, error) { - out := new(MsgCardDonateResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardDonate", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgMatchOpen) GetPlayerAdeck() []uint64 { + if m != nil { + return m.PlayerAdeck } - return out, nil + return nil } -func (c *msgClient) CardArtworkAdd(ctx context.Context, in *MsgCardArtworkAdd, opts ...grpc.CallOption) (*MsgCardArtworkAddResponse, error) { - out := new(MsgCardArtworkAddResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardArtworkAdd", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgMatchOpen) GetPlayerBdeck() []uint64 { + if m != nil { + return m.PlayerBdeck } - return out, nil + return nil } -func (c *msgClient) CardArtistChange(ctx context.Context, in *MsgCardArtistChange, opts ...grpc.CallOption) (*MsgCardArtistChangeResponse, error) { - out := new(MsgCardArtistChangeResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardArtistChange", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgMatchOpenResponse struct { + MatchId uint64 `protobuf:"varint,1,opt,name=matchId,proto3" json:"matchId,omitempty"` } -func (c *msgClient) CouncilRegister(ctx context.Context, in *MsgCouncilRegister, opts ...grpc.CallOption) (*MsgCouncilRegisterResponse, error) { - out := new(MsgCouncilRegisterResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilRegister", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgMatchOpenResponse) Reset() { *m = MsgMatchOpenResponse{} } +func (m *MsgMatchOpenResponse) String() string { return proto.CompactTextString(m) } +func (*MsgMatchOpenResponse) ProtoMessage() {} +func (*MsgMatchOpenResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{79} +} +func (m *MsgMatchOpenResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMatchOpenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMatchOpenResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgMatchOpenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMatchOpenResponse.Merge(m, src) +} +func (m *MsgMatchOpenResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgMatchOpenResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMatchOpenResponse.DiscardUnknown(m) } -func (c *msgClient) CouncilDeregister(ctx context.Context, in *MsgCouncilDeregister, opts ...grpc.CallOption) (*MsgCouncilDeregisterResponse, error) { - out := new(MsgCouncilDeregisterResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilDeregister", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgMatchOpenResponse proto.InternalMessageInfo + +func (m *MsgMatchOpenResponse) GetMatchId() uint64 { + if m != nil { + return m.MatchId } - return out, nil + return 0 } -func (c *msgClient) MatchReport(ctx context.Context, in *MsgMatchReport, opts ...grpc.CallOption) (*MsgMatchReportResponse, error) { - out := new(MsgMatchReportResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchReport", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgSetNameSet struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SetId uint64 `protobuf:"varint,2,opt,name=setId,proto3" json:"setId,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (c *msgClient) CouncilCreate(ctx context.Context, in *MsgCouncilCreate, opts ...grpc.CallOption) (*MsgCouncilCreateResponse, error) { - out := new(MsgCouncilCreateResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilCreate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgSetNameSet) Reset() { *m = MsgSetNameSet{} } +func (m *MsgSetNameSet) String() string { return proto.CompactTextString(m) } +func (*MsgSetNameSet) ProtoMessage() {} +func (*MsgSetNameSet) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{80} } - -func (c *msgClient) MatchReporterAppoint(ctx context.Context, in *MsgMatchReporterAppoint, opts ...grpc.CallOption) (*MsgMatchReporterAppointResponse, error) { - out := new(MsgMatchReporterAppointResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchReporterAppoint", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgSetNameSet) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetNameSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetNameSet.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgSetNameSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetNameSet.Merge(m, src) +} +func (m *MsgSetNameSet) XXX_Size() int { + return m.Size() +} +func (m *MsgSetNameSet) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetNameSet.DiscardUnknown(m) } -func (c *msgClient) SetCreate(ctx context.Context, in *MsgSetCreate, opts ...grpc.CallOption) (*MsgSetCreateResponse, error) { - out := new(MsgSetCreateResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetCreate", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgSetNameSet proto.InternalMessageInfo + +func (m *MsgSetNameSet) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) SetCardAdd(ctx context.Context, in *MsgSetCardAdd, opts ...grpc.CallOption) (*MsgSetCardAddResponse, error) { - out := new(MsgSetCardAddResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetCardAdd", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgSetNameSet) GetSetId() uint64 { + if m != nil { + return m.SetId } - return out, nil + return 0 } -func (c *msgClient) SetCardRemove(ctx context.Context, in *MsgSetCardRemove, opts ...grpc.CallOption) (*MsgSetCardRemoveResponse, error) { - out := new(MsgSetCardRemoveResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetCardRemove", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgSetNameSet) GetName() string { + if m != nil { + return m.Name } - return out, nil + return "" } -func (c *msgClient) SetContributorAdd(ctx context.Context, in *MsgSetContributorAdd, opts ...grpc.CallOption) (*MsgSetContributorAddResponse, error) { - out := new(MsgSetContributorAddResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetContributorAdd", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgSetNameSetResponse struct { } -func (c *msgClient) SetContributorRemove(ctx context.Context, in *MsgSetContributorRemove, opts ...grpc.CallOption) (*MsgSetContributorRemoveResponse, error) { - out := new(MsgSetContributorRemoveResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetContributorRemove", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgSetNameSetResponse) Reset() { *m = MsgSetNameSetResponse{} } +func (m *MsgSetNameSetResponse) String() string { return proto.CompactTextString(m) } +func (*MsgSetNameSetResponse) ProtoMessage() {} +func (*MsgSetNameSetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{81} +} +func (m *MsgSetNameSetResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetNameSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetNameSetResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgSetNameSetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetNameSetResponse.Merge(m, src) +} +func (m *MsgSetNameSetResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgSetNameSetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetNameSetResponse.DiscardUnknown(m) } -func (c *msgClient) SetFinalize(ctx context.Context, in *MsgSetFinalize, opts ...grpc.CallOption) (*MsgSetFinalizeResponse, error) { - out := new(MsgSetFinalizeResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetFinalize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_MsgSetNameSetResponse proto.InternalMessageInfo + +type MsgProfileAliasSet struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` } -func (c *msgClient) SetArtworkAdd(ctx context.Context, in *MsgSetArtworkAdd, opts ...grpc.CallOption) (*MsgSetArtworkAddResponse, error) { - out := new(MsgSetArtworkAddResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetArtworkAdd", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProfileAliasSet) Reset() { *m = MsgProfileAliasSet{} } +func (m *MsgProfileAliasSet) String() string { return proto.CompactTextString(m) } +func (*MsgProfileAliasSet) ProtoMessage() {} +func (*MsgProfileAliasSet) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{82} +} +func (m *MsgProfileAliasSet) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProfileAliasSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProfileAliasSet.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProfileAliasSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProfileAliasSet.Merge(m, src) +} +func (m *MsgProfileAliasSet) XXX_Size() int { + return m.Size() +} +func (m *MsgProfileAliasSet) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProfileAliasSet.DiscardUnknown(m) } -func (c *msgClient) SetStoryAdd(ctx context.Context, in *MsgSetStoryAdd, opts ...grpc.CallOption) (*MsgSetStoryAddResponse, error) { - out := new(MsgSetStoryAddResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetStoryAdd", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProfileAliasSet proto.InternalMessageInfo + +func (m *MsgProfileAliasSet) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) BoosterPackBuy(ctx context.Context, in *MsgBoosterPackBuy, opts ...grpc.CallOption) (*MsgBoosterPackBuyResponse, error) { - out := new(MsgBoosterPackBuyResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/BoosterPackBuy", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProfileAliasSet) GetAlias() string { + if m != nil { + return m.Alias } - return out, nil + return "" } -func (c *msgClient) SellOfferCreate(ctx context.Context, in *MsgSellOfferCreate, opts ...grpc.CallOption) (*MsgSellOfferCreateResponse, error) { - out := new(MsgSellOfferCreateResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SellOfferCreate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgProfileAliasSetResponse struct { } -func (c *msgClient) SellOfferBuy(ctx context.Context, in *MsgSellOfferBuy, opts ...grpc.CallOption) (*MsgSellOfferBuyResponse, error) { - out := new(MsgSellOfferBuyResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SellOfferBuy", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProfileAliasSetResponse) Reset() { *m = MsgProfileAliasSetResponse{} } +func (m *MsgProfileAliasSetResponse) String() string { return proto.CompactTextString(m) } +func (*MsgProfileAliasSetResponse) ProtoMessage() {} +func (*MsgProfileAliasSetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{83} +} +func (m *MsgProfileAliasSetResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProfileAliasSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProfileAliasSetResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProfileAliasSetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProfileAliasSetResponse.Merge(m, src) +} +func (m *MsgProfileAliasSetResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgProfileAliasSetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProfileAliasSetResponse.DiscardUnknown(m) } -func (c *msgClient) SellOfferRemove(ctx context.Context, in *MsgSellOfferRemove, opts ...grpc.CallOption) (*MsgSellOfferRemoveResponse, error) { - out := new(MsgSellOfferRemoveResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SellOfferRemove", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_MsgProfileAliasSetResponse proto.InternalMessageInfo + +type MsgEarlyAccessInvite struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` } -func (c *msgClient) CardRaritySet(ctx context.Context, in *MsgCardRaritySet, opts ...grpc.CallOption) (*MsgCardRaritySetResponse, error) { - out := new(MsgCardRaritySetResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardRaritySet", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgEarlyAccessInvite) Reset() { *m = MsgEarlyAccessInvite{} } +func (m *MsgEarlyAccessInvite) String() string { return proto.CompactTextString(m) } +func (*MsgEarlyAccessInvite) ProtoMessage() {} +func (*MsgEarlyAccessInvite) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{84} +} +func (m *MsgEarlyAccessInvite) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEarlyAccessInvite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEarlyAccessInvite.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgEarlyAccessInvite) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEarlyAccessInvite.Merge(m, src) +} +func (m *MsgEarlyAccessInvite) XXX_Size() int { + return m.Size() +} +func (m *MsgEarlyAccessInvite) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEarlyAccessInvite.DiscardUnknown(m) } -func (c *msgClient) CouncilResponseCommit(ctx context.Context, in *MsgCouncilResponseCommit, opts ...grpc.CallOption) (*MsgCouncilResponseCommitResponse, error) { - out := new(MsgCouncilResponseCommitResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilResponseCommit", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgEarlyAccessInvite proto.InternalMessageInfo + +func (m *MsgEarlyAccessInvite) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) CouncilResponseReveal(ctx context.Context, in *MsgCouncilResponseReveal, opts ...grpc.CallOption) (*MsgCouncilResponseRevealResponse, error) { - out := new(MsgCouncilResponseRevealResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilResponseReveal", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgEarlyAccessInvite) GetUser() string { + if m != nil { + return m.User } - return out, nil + return "" } -func (c *msgClient) CouncilRestart(ctx context.Context, in *MsgCouncilRestart, opts ...grpc.CallOption) (*MsgCouncilRestartResponse, error) { - out := new(MsgCouncilRestartResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilRestart", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgEarlyAccessInviteResponse struct { } -func (c *msgClient) MatchConfirm(ctx context.Context, in *MsgMatchConfirm, opts ...grpc.CallOption) (*MsgMatchConfirmResponse, error) { - out := new(MsgMatchConfirmResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchConfirm", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgEarlyAccessInviteResponse) Reset() { *m = MsgEarlyAccessInviteResponse{} } +func (m *MsgEarlyAccessInviteResponse) String() string { return proto.CompactTextString(m) } +func (*MsgEarlyAccessInviteResponse) ProtoMessage() {} +func (*MsgEarlyAccessInviteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{85} +} +func (m *MsgEarlyAccessInviteResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEarlyAccessInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEarlyAccessInviteResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgEarlyAccessInviteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEarlyAccessInviteResponse.Merge(m, src) +} +func (m *MsgEarlyAccessInviteResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgEarlyAccessInviteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEarlyAccessInviteResponse.DiscardUnknown(m) } -func (c *msgClient) ProfileCardSet(ctx context.Context, in *MsgProfileCardSet, opts ...grpc.CallOption) (*MsgProfileCardSetResponse, error) { - out := new(MsgProfileCardSetResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileCardSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_MsgEarlyAccessInviteResponse proto.InternalMessageInfo + +type MsgZealyConnect struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ZealyId string `protobuf:"bytes,2,opt,name=zealyId,proto3" json:"zealyId,omitempty"` } -func (c *msgClient) ProfileWebsiteSet(ctx context.Context, in *MsgProfileWebsiteSet, opts ...grpc.CallOption) (*MsgProfileWebsiteSetResponse, error) { - out := new(MsgProfileWebsiteSetResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileWebsiteSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgZealyConnect) Reset() { *m = MsgZealyConnect{} } +func (m *MsgZealyConnect) String() string { return proto.CompactTextString(m) } +func (*MsgZealyConnect) ProtoMessage() {} +func (*MsgZealyConnect) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{86} } - -func (c *msgClient) ProfileBioSet(ctx context.Context, in *MsgProfileBioSet, opts ...grpc.CallOption) (*MsgProfileBioSetResponse, error) { - out := new(MsgProfileBioSetResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileBioSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgZealyConnect) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *msgClient) BoosterPackOpen(ctx context.Context, in *MsgBoosterPackOpen, opts ...grpc.CallOption) (*MsgBoosterPackOpenResponse, error) { - out := new(MsgBoosterPackOpenResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/BoosterPackOpen", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgZealyConnect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgZealyConnect.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -func (c *msgClient) BoosterPackTransfer(ctx context.Context, in *MsgBoosterPackTransfer, opts ...grpc.CallOption) (*MsgBoosterPackTransferResponse, error) { - out := new(MsgBoosterPackTransferResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/BoosterPackTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgZealyConnect) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgZealyConnect.Merge(m, src) } - -func (c *msgClient) SetStoryWriterSet(ctx context.Context, in *MsgSetStoryWriterSet, opts ...grpc.CallOption) (*MsgSetStoryWriterSetResponse, error) { - out := new(MsgSetStoryWriterSetResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetStoryWriterSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgZealyConnect) XXX_Size() int { + return m.Size() } - -func (c *msgClient) SetArtistSet(ctx context.Context, in *MsgSetArtistSet, opts ...grpc.CallOption) (*MsgSetArtistSetResponse, error) { - out := new(MsgSetArtistSetResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetArtistSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgZealyConnect) XXX_DiscardUnknown() { + xxx_messageInfo_MsgZealyConnect.DiscardUnknown(m) } -func (c *msgClient) CardVoteMulti(ctx context.Context, in *MsgCardVoteMulti, opts ...grpc.CallOption) (*MsgCardVoteMultiResponse, error) { - out := new(MsgCardVoteMultiResponse) - err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardVoteMulti", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgZealyConnect proto.InternalMessageInfo + +func (m *MsgZealyConnect) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -// MsgServer is the server API for Msg service. -type MsgServer interface { - // UpdateParams defines a (governance) operation for updating the module - // parameters. The authority defaults to the x/gov module account. - UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) - UserCreate(context.Context, *MsgUserCreate) (*MsgUserCreateResponse, error) - CardSchemeBuy(context.Context, *MsgCardSchemeBuy) (*MsgCardSchemeBuyResponse, error) - CardSaveContent(context.Context, *MsgCardSaveContent) (*MsgCardSaveContentResponse, error) - CardVote(context.Context, *MsgCardVote) (*MsgCardVoteResponse, error) - CardTransfer(context.Context, *MsgCardTransfer) (*MsgCardTransferResponse, error) - CardDonate(context.Context, *MsgCardDonate) (*MsgCardDonateResponse, error) - CardArtworkAdd(context.Context, *MsgCardArtworkAdd) (*MsgCardArtworkAddResponse, error) - CardArtistChange(context.Context, *MsgCardArtistChange) (*MsgCardArtistChangeResponse, error) - CouncilRegister(context.Context, *MsgCouncilRegister) (*MsgCouncilRegisterResponse, error) - CouncilDeregister(context.Context, *MsgCouncilDeregister) (*MsgCouncilDeregisterResponse, error) - MatchReport(context.Context, *MsgMatchReport) (*MsgMatchReportResponse, error) - CouncilCreate(context.Context, *MsgCouncilCreate) (*MsgCouncilCreateResponse, error) - MatchReporterAppoint(context.Context, *MsgMatchReporterAppoint) (*MsgMatchReporterAppointResponse, error) - SetCreate(context.Context, *MsgSetCreate) (*MsgSetCreateResponse, error) - SetCardAdd(context.Context, *MsgSetCardAdd) (*MsgSetCardAddResponse, error) - SetCardRemove(context.Context, *MsgSetCardRemove) (*MsgSetCardRemoveResponse, error) - SetContributorAdd(context.Context, *MsgSetContributorAdd) (*MsgSetContributorAddResponse, error) - SetContributorRemove(context.Context, *MsgSetContributorRemove) (*MsgSetContributorRemoveResponse, error) - SetFinalize(context.Context, *MsgSetFinalize) (*MsgSetFinalizeResponse, error) - SetArtworkAdd(context.Context, *MsgSetArtworkAdd) (*MsgSetArtworkAddResponse, error) - SetStoryAdd(context.Context, *MsgSetStoryAdd) (*MsgSetStoryAddResponse, error) - BoosterPackBuy(context.Context, *MsgBoosterPackBuy) (*MsgBoosterPackBuyResponse, error) - SellOfferCreate(context.Context, *MsgSellOfferCreate) (*MsgSellOfferCreateResponse, error) - SellOfferBuy(context.Context, *MsgSellOfferBuy) (*MsgSellOfferBuyResponse, error) - SellOfferRemove(context.Context, *MsgSellOfferRemove) (*MsgSellOfferRemoveResponse, error) - CardRaritySet(context.Context, *MsgCardRaritySet) (*MsgCardRaritySetResponse, error) - CouncilResponseCommit(context.Context, *MsgCouncilResponseCommit) (*MsgCouncilResponseCommitResponse, error) - CouncilResponseReveal(context.Context, *MsgCouncilResponseReveal) (*MsgCouncilResponseRevealResponse, error) - CouncilRestart(context.Context, *MsgCouncilRestart) (*MsgCouncilRestartResponse, error) - MatchConfirm(context.Context, *MsgMatchConfirm) (*MsgMatchConfirmResponse, error) - ProfileCardSet(context.Context, *MsgProfileCardSet) (*MsgProfileCardSetResponse, error) - ProfileWebsiteSet(context.Context, *MsgProfileWebsiteSet) (*MsgProfileWebsiteSetResponse, error) - ProfileBioSet(context.Context, *MsgProfileBioSet) (*MsgProfileBioSetResponse, error) - BoosterPackOpen(context.Context, *MsgBoosterPackOpen) (*MsgBoosterPackOpenResponse, error) - BoosterPackTransfer(context.Context, *MsgBoosterPackTransfer) (*MsgBoosterPackTransferResponse, error) - SetStoryWriterSet(context.Context, *MsgSetStoryWriterSet) (*MsgSetStoryWriterSetResponse, error) - SetArtistSet(context.Context, *MsgSetArtistSet) (*MsgSetArtistSetResponse, error) - CardVoteMulti(context.Context, *MsgCardVoteMulti) (*MsgCardVoteMultiResponse, error) +func (m *MsgZealyConnect) GetZealyId() string { + if m != nil { + return m.ZealyId + } + return "" } -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { +type MsgZealyConnectResponse struct { } -func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +func (m *MsgZealyConnectResponse) Reset() { *m = MsgZealyConnectResponse{} } +func (m *MsgZealyConnectResponse) String() string { return proto.CompactTextString(m) } +func (*MsgZealyConnectResponse) ProtoMessage() {} +func (*MsgZealyConnectResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{87} } -func (*UnimplementedMsgServer) UserCreate(ctx context.Context, req *MsgUserCreate) (*MsgUserCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserCreate not implemented") +func (m *MsgZealyConnectResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) CardSchemeBuy(ctx context.Context, req *MsgCardSchemeBuy) (*MsgCardSchemeBuyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardSchemeBuy not implemented") +func (m *MsgZealyConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgZealyConnectResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) CardSaveContent(ctx context.Context, req *MsgCardSaveContent) (*MsgCardSaveContentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardSaveContent not implemented") +func (m *MsgZealyConnectResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgZealyConnectResponse.Merge(m, src) } -func (*UnimplementedMsgServer) CardVote(ctx context.Context, req *MsgCardVote) (*MsgCardVoteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardVote not implemented") +func (m *MsgZealyConnectResponse) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) CardTransfer(ctx context.Context, req *MsgCardTransfer) (*MsgCardTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardTransfer not implemented") +func (m *MsgZealyConnectResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgZealyConnectResponse.DiscardUnknown(m) } -func (*UnimplementedMsgServer) CardDonate(ctx context.Context, req *MsgCardDonate) (*MsgCardDonateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardDonate not implemented") + +var xxx_messageInfo_MsgZealyConnectResponse proto.InternalMessageInfo + +type MsgEncounterCreate struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Drawlist []uint64 `protobuf:"varint,3,rep,packed,name=drawlist,proto3" json:"drawlist,omitempty"` + Parameters map[string]string `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Image []byte `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` } -func (*UnimplementedMsgServer) CardArtworkAdd(ctx context.Context, req *MsgCardArtworkAdd) (*MsgCardArtworkAddResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardArtworkAdd not implemented") + +func (m *MsgEncounterCreate) Reset() { *m = MsgEncounterCreate{} } +func (m *MsgEncounterCreate) String() string { return proto.CompactTextString(m) } +func (*MsgEncounterCreate) ProtoMessage() {} +func (*MsgEncounterCreate) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{88} } -func (*UnimplementedMsgServer) CardArtistChange(ctx context.Context, req *MsgCardArtistChange) (*MsgCardArtistChangeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardArtistChange not implemented") +func (m *MsgEncounterCreate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) CouncilRegister(ctx context.Context, req *MsgCouncilRegister) (*MsgCouncilRegisterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CouncilRegister not implemented") +func (m *MsgEncounterCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEncounterCreate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) CouncilDeregister(ctx context.Context, req *MsgCouncilDeregister) (*MsgCouncilDeregisterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CouncilDeregister not implemented") +func (m *MsgEncounterCreate) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEncounterCreate.Merge(m, src) } -func (*UnimplementedMsgServer) MatchReport(ctx context.Context, req *MsgMatchReport) (*MsgMatchReportResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MatchReport not implemented") +func (m *MsgEncounterCreate) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) CouncilCreate(ctx context.Context, req *MsgCouncilCreate) (*MsgCouncilCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CouncilCreate not implemented") +func (m *MsgEncounterCreate) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEncounterCreate.DiscardUnknown(m) } -func (*UnimplementedMsgServer) MatchReporterAppoint(ctx context.Context, req *MsgMatchReporterAppoint) (*MsgMatchReporterAppointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MatchReporterAppoint not implemented") + +var xxx_messageInfo_MsgEncounterCreate proto.InternalMessageInfo + +func (m *MsgEncounterCreate) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -func (*UnimplementedMsgServer) SetCreate(ctx context.Context, req *MsgSetCreate) (*MsgSetCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCreate not implemented") + +func (m *MsgEncounterCreate) GetName() string { + if m != nil { + return m.Name + } + return "" } -func (*UnimplementedMsgServer) SetCardAdd(ctx context.Context, req *MsgSetCardAdd) (*MsgSetCardAddResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCardAdd not implemented") + +func (m *MsgEncounterCreate) GetDrawlist() []uint64 { + if m != nil { + return m.Drawlist + } + return nil } -func (*UnimplementedMsgServer) SetCardRemove(ctx context.Context, req *MsgSetCardRemove) (*MsgSetCardRemoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetCardRemove not implemented") + +func (m *MsgEncounterCreate) GetParameters() map[string]string { + if m != nil { + return m.Parameters + } + return nil } -func (*UnimplementedMsgServer) SetContributorAdd(ctx context.Context, req *MsgSetContributorAdd) (*MsgSetContributorAddResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetContributorAdd not implemented") + +func (m *MsgEncounterCreate) GetImage() []byte { + if m != nil { + return m.Image + } + return nil } -func (*UnimplementedMsgServer) SetContributorRemove(ctx context.Context, req *MsgSetContributorRemove) (*MsgSetContributorRemoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetContributorRemove not implemented") + +type MsgEncounterCreateResponse struct { } -func (*UnimplementedMsgServer) SetFinalize(ctx context.Context, req *MsgSetFinalize) (*MsgSetFinalizeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFinalize not implemented") + +func (m *MsgEncounterCreateResponse) Reset() { *m = MsgEncounterCreateResponse{} } +func (m *MsgEncounterCreateResponse) String() string { return proto.CompactTextString(m) } +func (*MsgEncounterCreateResponse) ProtoMessage() {} +func (*MsgEncounterCreateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{89} } -func (*UnimplementedMsgServer) SetArtworkAdd(ctx context.Context, req *MsgSetArtworkAdd) (*MsgSetArtworkAddResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetArtworkAdd not implemented") +func (m *MsgEncounterCreateResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) SetStoryAdd(ctx context.Context, req *MsgSetStoryAdd) (*MsgSetStoryAddResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetStoryAdd not implemented") +func (m *MsgEncounterCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEncounterCreateResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) BoosterPackBuy(ctx context.Context, req *MsgBoosterPackBuy) (*MsgBoosterPackBuyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BoosterPackBuy not implemented") +func (m *MsgEncounterCreateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEncounterCreateResponse.Merge(m, src) } -func (*UnimplementedMsgServer) SellOfferCreate(ctx context.Context, req *MsgSellOfferCreate) (*MsgSellOfferCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SellOfferCreate not implemented") +func (m *MsgEncounterCreateResponse) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) SellOfferBuy(ctx context.Context, req *MsgSellOfferBuy) (*MsgSellOfferBuyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SellOfferBuy not implemented") +func (m *MsgEncounterCreateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEncounterCreateResponse.DiscardUnknown(m) } -func (*UnimplementedMsgServer) SellOfferRemove(ctx context.Context, req *MsgSellOfferRemove) (*MsgSellOfferRemoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SellOfferRemove not implemented") + +var xxx_messageInfo_MsgEncounterCreateResponse proto.InternalMessageInfo + +type MsgEncounterDo struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + EncounterId uint64 `protobuf:"varint,2,opt,name=encounterId,proto3" json:"encounterId,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (*UnimplementedMsgServer) CardRaritySet(ctx context.Context, req *MsgCardRaritySet) (*MsgCardRaritySetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardRaritySet not implemented") + +func (m *MsgEncounterDo) Reset() { *m = MsgEncounterDo{} } +func (m *MsgEncounterDo) String() string { return proto.CompactTextString(m) } +func (*MsgEncounterDo) ProtoMessage() {} +func (*MsgEncounterDo) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{90} } -func (*UnimplementedMsgServer) CouncilResponseCommit(ctx context.Context, req *MsgCouncilResponseCommit) (*MsgCouncilResponseCommitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CouncilResponseCommit not implemented") +func (m *MsgEncounterDo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) CouncilResponseReveal(ctx context.Context, req *MsgCouncilResponseReveal) (*MsgCouncilResponseRevealResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CouncilResponseReveal not implemented") +func (m *MsgEncounterDo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEncounterDo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) CouncilRestart(ctx context.Context, req *MsgCouncilRestart) (*MsgCouncilRestartResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CouncilRestart not implemented") +func (m *MsgEncounterDo) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEncounterDo.Merge(m, src) } -func (*UnimplementedMsgServer) MatchConfirm(ctx context.Context, req *MsgMatchConfirm) (*MsgMatchConfirmResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MatchConfirm not implemented") +func (m *MsgEncounterDo) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) ProfileCardSet(ctx context.Context, req *MsgProfileCardSet) (*MsgProfileCardSetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProfileCardSet not implemented") -} -func (*UnimplementedMsgServer) ProfileWebsiteSet(ctx context.Context, req *MsgProfileWebsiteSet) (*MsgProfileWebsiteSetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProfileWebsiteSet not implemented") -} -func (*UnimplementedMsgServer) ProfileBioSet(ctx context.Context, req *MsgProfileBioSet) (*MsgProfileBioSetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProfileBioSet not implemented") -} -func (*UnimplementedMsgServer) BoosterPackOpen(ctx context.Context, req *MsgBoosterPackOpen) (*MsgBoosterPackOpenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BoosterPackOpen not implemented") -} -func (*UnimplementedMsgServer) BoosterPackTransfer(ctx context.Context, req *MsgBoosterPackTransfer) (*MsgBoosterPackTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BoosterPackTransfer not implemented") -} -func (*UnimplementedMsgServer) SetStoryWriterSet(ctx context.Context, req *MsgSetStoryWriterSet) (*MsgSetStoryWriterSetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetStoryWriterSet not implemented") -} -func (*UnimplementedMsgServer) SetArtistSet(ctx context.Context, req *MsgSetArtistSet) (*MsgSetArtistSetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetArtistSet not implemented") -} -func (*UnimplementedMsgServer) CardVoteMulti(ctx context.Context, req *MsgCardVoteMulti) (*MsgCardVoteMultiResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CardVoteMulti not implemented") +func (m *MsgEncounterDo) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEncounterDo.DiscardUnknown(m) } -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) -} +var xxx_messageInfo_MsgEncounterDo proto.InternalMessageInfo -func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateParams) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/UpdateParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) +func (m *MsgEncounterDo) GetCreator() string { + if m != nil { + return m.Creator } - return interceptor(ctx, in, info, handler) + return "" } -func _Msg_UserCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUserCreate) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UserCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/UserCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UserCreate(ctx, req.(*MsgUserCreate)) +func (m *MsgEncounterDo) GetEncounterId() uint64 { + if m != nil { + return m.EncounterId } - return interceptor(ctx, in, info, handler) + return 0 } -func _Msg_CardSchemeBuy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardSchemeBuy) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardSchemeBuy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardSchemeBuy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardSchemeBuy(ctx, req.(*MsgCardSchemeBuy)) +func (m *MsgEncounterDo) GetUser() string { + if m != nil { + return m.User } - return interceptor(ctx, in, info, handler) + return "" } -func _Msg_CardSaveContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardSaveContent) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardSaveContent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardSaveContent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardSaveContent(ctx, req.(*MsgCardSaveContent)) - } - return interceptor(ctx, in, info, handler) +type MsgEncounterDoResponse struct { } -func _Msg_CardVote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardVote) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardVote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardVote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardVote(ctx, req.(*MsgCardVote)) +func (m *MsgEncounterDoResponse) Reset() { *m = MsgEncounterDoResponse{} } +func (m *MsgEncounterDoResponse) String() string { return proto.CompactTextString(m) } +func (*MsgEncounterDoResponse) ProtoMessage() {} +func (*MsgEncounterDoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{91} +} +func (m *MsgEncounterDoResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEncounterDoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEncounterDoResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *MsgEncounterDoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEncounterDoResponse.Merge(m, src) +} +func (m *MsgEncounterDoResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgEncounterDoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEncounterDoResponse.DiscardUnknown(m) } -func _Msg_CardTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardTransfer) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardTransfer(ctx, req.(*MsgCardTransfer)) - } - return interceptor(ctx, in, info, handler) +var xxx_messageInfo_MsgEncounterDoResponse proto.InternalMessageInfo + +type MsgEncounterClose struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + EncounterId uint64 `protobuf:"varint,2,opt,name=encounterId,proto3" json:"encounterId,omitempty"` + User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Won bool `protobuf:"varint,4,opt,name=won,proto3" json:"won,omitempty"` } -func _Msg_CardDonate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardDonate) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardDonate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardDonate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardDonate(ctx, req.(*MsgCardDonate)) +func (m *MsgEncounterClose) Reset() { *m = MsgEncounterClose{} } +func (m *MsgEncounterClose) String() string { return proto.CompactTextString(m) } +func (*MsgEncounterClose) ProtoMessage() {} +func (*MsgEncounterClose) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{92} +} +func (m *MsgEncounterClose) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEncounterClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEncounterClose.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *MsgEncounterClose) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEncounterClose.Merge(m, src) +} +func (m *MsgEncounterClose) XXX_Size() int { + return m.Size() +} +func (m *MsgEncounterClose) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEncounterClose.DiscardUnknown(m) } -func _Msg_CardArtworkAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardArtworkAdd) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardArtworkAdd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardArtworkAdd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardArtworkAdd(ctx, req.(*MsgCardArtworkAdd)) +var xxx_messageInfo_MsgEncounterClose proto.InternalMessageInfo + +func (m *MsgEncounterClose) GetCreator() string { + if m != nil { + return m.Creator } - return interceptor(ctx, in, info, handler) + return "" } -func _Msg_CardArtistChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardArtistChange) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CardArtistChange(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardArtistChange", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardArtistChange(ctx, req.(*MsgCardArtistChange)) +func (m *MsgEncounterClose) GetEncounterId() uint64 { + if m != nil { + return m.EncounterId } - return interceptor(ctx, in, info, handler) + return 0 } -func _Msg_CouncilRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCouncilRegister) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CouncilRegister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CouncilRegister", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CouncilRegister(ctx, req.(*MsgCouncilRegister)) +func (m *MsgEncounterClose) GetUser() string { + if m != nil { + return m.User } - return interceptor(ctx, in, info, handler) + return "" } -func _Msg_CouncilDeregister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCouncilDeregister) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CouncilDeregister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CouncilDeregister", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CouncilDeregister(ctx, req.(*MsgCouncilDeregister)) +func (m *MsgEncounterClose) GetWon() bool { + if m != nil { + return m.Won } - return interceptor(ctx, in, info, handler) + return false } -func _Msg_MatchReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgMatchReport) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).MatchReport(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/MatchReport", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).MatchReport(ctx, req.(*MsgMatchReport)) - } - return interceptor(ctx, in, info, handler) +type MsgEncounterCloseResponse struct { } -func _Msg_CouncilCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCouncilCreate) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CouncilCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CouncilCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CouncilCreate(ctx, req.(*MsgCouncilCreate)) +func (m *MsgEncounterCloseResponse) Reset() { *m = MsgEncounterCloseResponse{} } +func (m *MsgEncounterCloseResponse) String() string { return proto.CompactTextString(m) } +func (*MsgEncounterCloseResponse) ProtoMessage() {} +func (*MsgEncounterCloseResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{93} +} +func (m *MsgEncounterCloseResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEncounterCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEncounterCloseResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *MsgEncounterCloseResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEncounterCloseResponse.Merge(m, src) +} +func (m *MsgEncounterCloseResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgEncounterCloseResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEncounterCloseResponse.DiscardUnknown(m) } -func _Msg_MatchReporterAppoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgMatchReporterAppoint) - if err := dec(in); err != nil { +var xxx_messageInfo_MsgEncounterCloseResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgUpdateParams)(nil), "cardchain.cardchain.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "cardchain.cardchain.MsgUpdateParamsResponse") + proto.RegisterType((*MsgUserCreate)(nil), "cardchain.cardchain.MsgUserCreate") + proto.RegisterType((*MsgUserCreateResponse)(nil), "cardchain.cardchain.MsgUserCreateResponse") + proto.RegisterType((*MsgCardSchemeBuy)(nil), "cardchain.cardchain.MsgCardSchemeBuy") + proto.RegisterType((*MsgCardSchemeBuyResponse)(nil), "cardchain.cardchain.MsgCardSchemeBuyResponse") + proto.RegisterType((*MsgCardSaveContent)(nil), "cardchain.cardchain.MsgCardSaveContent") + proto.RegisterType((*MsgCardSaveContentResponse)(nil), "cardchain.cardchain.MsgCardSaveContentResponse") + proto.RegisterType((*MsgCardVote)(nil), "cardchain.cardchain.MsgCardVote") + proto.RegisterType((*MsgCardVoteResponse)(nil), "cardchain.cardchain.MsgCardVoteResponse") + proto.RegisterType((*MsgCardTransfer)(nil), "cardchain.cardchain.MsgCardTransfer") + proto.RegisterType((*MsgCardTransferResponse)(nil), "cardchain.cardchain.MsgCardTransferResponse") + proto.RegisterType((*MsgCardDonate)(nil), "cardchain.cardchain.MsgCardDonate") + proto.RegisterType((*MsgCardDonateResponse)(nil), "cardchain.cardchain.MsgCardDonateResponse") + proto.RegisterType((*MsgCardArtworkAdd)(nil), "cardchain.cardchain.MsgCardArtworkAdd") + proto.RegisterType((*MsgCardArtworkAddResponse)(nil), "cardchain.cardchain.MsgCardArtworkAddResponse") + proto.RegisterType((*MsgCardArtistChange)(nil), "cardchain.cardchain.MsgCardArtistChange") + proto.RegisterType((*MsgCardArtistChangeResponse)(nil), "cardchain.cardchain.MsgCardArtistChangeResponse") + proto.RegisterType((*MsgCouncilRegister)(nil), "cardchain.cardchain.MsgCouncilRegister") + proto.RegisterType((*MsgCouncilRegisterResponse)(nil), "cardchain.cardchain.MsgCouncilRegisterResponse") + proto.RegisterType((*MsgCouncilDeregister)(nil), "cardchain.cardchain.MsgCouncilDeregister") + proto.RegisterType((*MsgCouncilDeregisterResponse)(nil), "cardchain.cardchain.MsgCouncilDeregisterResponse") + proto.RegisterType((*MsgMatchReport)(nil), "cardchain.cardchain.MsgMatchReport") + proto.RegisterType((*MsgMatchReportResponse)(nil), "cardchain.cardchain.MsgMatchReportResponse") + proto.RegisterType((*MsgCouncilCreate)(nil), "cardchain.cardchain.MsgCouncilCreate") + proto.RegisterType((*MsgCouncilCreateResponse)(nil), "cardchain.cardchain.MsgCouncilCreateResponse") + proto.RegisterType((*MsgMatchReporterAppoint)(nil), "cardchain.cardchain.MsgMatchReporterAppoint") + proto.RegisterType((*MsgMatchReporterAppointResponse)(nil), "cardchain.cardchain.MsgMatchReporterAppointResponse") + proto.RegisterType((*MsgSetCreate)(nil), "cardchain.cardchain.MsgSetCreate") + proto.RegisterType((*MsgSetCreateResponse)(nil), "cardchain.cardchain.MsgSetCreateResponse") + proto.RegisterType((*MsgSetCardAdd)(nil), "cardchain.cardchain.MsgSetCardAdd") + proto.RegisterType((*MsgSetCardAddResponse)(nil), "cardchain.cardchain.MsgSetCardAddResponse") + proto.RegisterType((*MsgSetCardRemove)(nil), "cardchain.cardchain.MsgSetCardRemove") + proto.RegisterType((*MsgSetCardRemoveResponse)(nil), "cardchain.cardchain.MsgSetCardRemoveResponse") + proto.RegisterType((*MsgSetContributorAdd)(nil), "cardchain.cardchain.MsgSetContributorAdd") + proto.RegisterType((*MsgSetContributorAddResponse)(nil), "cardchain.cardchain.MsgSetContributorAddResponse") + proto.RegisterType((*MsgSetContributorRemove)(nil), "cardchain.cardchain.MsgSetContributorRemove") + proto.RegisterType((*MsgSetContributorRemoveResponse)(nil), "cardchain.cardchain.MsgSetContributorRemoveResponse") + proto.RegisterType((*MsgSetFinalize)(nil), "cardchain.cardchain.MsgSetFinalize") + proto.RegisterType((*MsgSetFinalizeResponse)(nil), "cardchain.cardchain.MsgSetFinalizeResponse") + proto.RegisterType((*MsgSetArtworkAdd)(nil), "cardchain.cardchain.MsgSetArtworkAdd") + proto.RegisterType((*MsgSetArtworkAddResponse)(nil), "cardchain.cardchain.MsgSetArtworkAddResponse") + proto.RegisterType((*MsgSetStoryAdd)(nil), "cardchain.cardchain.MsgSetStoryAdd") + proto.RegisterType((*MsgSetStoryAddResponse)(nil), "cardchain.cardchain.MsgSetStoryAddResponse") + proto.RegisterType((*MsgBoosterPackBuy)(nil), "cardchain.cardchain.MsgBoosterPackBuy") + proto.RegisterType((*MsgBoosterPackBuyResponse)(nil), "cardchain.cardchain.MsgBoosterPackBuyResponse") + proto.RegisterType((*MsgSellOfferCreate)(nil), "cardchain.cardchain.MsgSellOfferCreate") + proto.RegisterType((*MsgSellOfferCreateResponse)(nil), "cardchain.cardchain.MsgSellOfferCreateResponse") + proto.RegisterType((*MsgSellOfferBuy)(nil), "cardchain.cardchain.MsgSellOfferBuy") + proto.RegisterType((*MsgSellOfferBuyResponse)(nil), "cardchain.cardchain.MsgSellOfferBuyResponse") + proto.RegisterType((*MsgSellOfferRemove)(nil), "cardchain.cardchain.MsgSellOfferRemove") + proto.RegisterType((*MsgSellOfferRemoveResponse)(nil), "cardchain.cardchain.MsgSellOfferRemoveResponse") + proto.RegisterType((*MsgCardRaritySet)(nil), "cardchain.cardchain.MsgCardRaritySet") + proto.RegisterType((*MsgCardRaritySetResponse)(nil), "cardchain.cardchain.MsgCardRaritySetResponse") + proto.RegisterType((*MsgCouncilResponseCommit)(nil), "cardchain.cardchain.MsgCouncilResponseCommit") + proto.RegisterType((*MsgCouncilResponseCommitResponse)(nil), "cardchain.cardchain.MsgCouncilResponseCommitResponse") + proto.RegisterType((*MsgCouncilResponseReveal)(nil), "cardchain.cardchain.MsgCouncilResponseReveal") + proto.RegisterType((*MsgCouncilResponseRevealResponse)(nil), "cardchain.cardchain.MsgCouncilResponseRevealResponse") + proto.RegisterType((*MsgCouncilRestart)(nil), "cardchain.cardchain.MsgCouncilRestart") + proto.RegisterType((*MsgCouncilRestartResponse)(nil), "cardchain.cardchain.MsgCouncilRestartResponse") + proto.RegisterType((*MsgMatchConfirm)(nil), "cardchain.cardchain.MsgMatchConfirm") + proto.RegisterType((*MsgMatchConfirmResponse)(nil), "cardchain.cardchain.MsgMatchConfirmResponse") + proto.RegisterType((*MsgProfileCardSet)(nil), "cardchain.cardchain.MsgProfileCardSet") + proto.RegisterType((*MsgProfileCardSetResponse)(nil), "cardchain.cardchain.MsgProfileCardSetResponse") + proto.RegisterType((*MsgProfileWebsiteSet)(nil), "cardchain.cardchain.MsgProfileWebsiteSet") + proto.RegisterType((*MsgProfileWebsiteSetResponse)(nil), "cardchain.cardchain.MsgProfileWebsiteSetResponse") + proto.RegisterType((*MsgProfileBioSet)(nil), "cardchain.cardchain.MsgProfileBioSet") + proto.RegisterType((*MsgProfileBioSetResponse)(nil), "cardchain.cardchain.MsgProfileBioSetResponse") + proto.RegisterType((*MsgBoosterPackOpen)(nil), "cardchain.cardchain.MsgBoosterPackOpen") + proto.RegisterType((*MsgBoosterPackOpenResponse)(nil), "cardchain.cardchain.MsgBoosterPackOpenResponse") + proto.RegisterType((*MsgBoosterPackTransfer)(nil), "cardchain.cardchain.MsgBoosterPackTransfer") + proto.RegisterType((*MsgBoosterPackTransferResponse)(nil), "cardchain.cardchain.MsgBoosterPackTransferResponse") + proto.RegisterType((*MsgSetStoryWriterSet)(nil), "cardchain.cardchain.MsgSetStoryWriterSet") + proto.RegisterType((*MsgSetStoryWriterSetResponse)(nil), "cardchain.cardchain.MsgSetStoryWriterSetResponse") + proto.RegisterType((*MsgSetArtistSet)(nil), "cardchain.cardchain.MsgSetArtistSet") + proto.RegisterType((*MsgSetArtistSetResponse)(nil), "cardchain.cardchain.MsgSetArtistSetResponse") + proto.RegisterType((*MsgCardVoteMulti)(nil), "cardchain.cardchain.MsgCardVoteMulti") + proto.RegisterType((*MsgCardVoteMultiResponse)(nil), "cardchain.cardchain.MsgCardVoteMultiResponse") + proto.RegisterType((*MsgMatchOpen)(nil), "cardchain.cardchain.MsgMatchOpen") + proto.RegisterType((*MsgMatchOpenResponse)(nil), "cardchain.cardchain.MsgMatchOpenResponse") + proto.RegisterType((*MsgSetNameSet)(nil), "cardchain.cardchain.MsgSetNameSet") + proto.RegisterType((*MsgSetNameSetResponse)(nil), "cardchain.cardchain.MsgSetNameSetResponse") + proto.RegisterType((*MsgProfileAliasSet)(nil), "cardchain.cardchain.MsgProfileAliasSet") + proto.RegisterType((*MsgProfileAliasSetResponse)(nil), "cardchain.cardchain.MsgProfileAliasSetResponse") + proto.RegisterType((*MsgEarlyAccessInvite)(nil), "cardchain.cardchain.MsgEarlyAccessInvite") + proto.RegisterType((*MsgEarlyAccessInviteResponse)(nil), "cardchain.cardchain.MsgEarlyAccessInviteResponse") + proto.RegisterType((*MsgZealyConnect)(nil), "cardchain.cardchain.MsgZealyConnect") + proto.RegisterType((*MsgZealyConnectResponse)(nil), "cardchain.cardchain.MsgZealyConnectResponse") + proto.RegisterType((*MsgEncounterCreate)(nil), "cardchain.cardchain.MsgEncounterCreate") + proto.RegisterMapType((map[string]string)(nil), "cardchain.cardchain.MsgEncounterCreate.ParametersEntry") + proto.RegisterType((*MsgEncounterCreateResponse)(nil), "cardchain.cardchain.MsgEncounterCreateResponse") + proto.RegisterType((*MsgEncounterDo)(nil), "cardchain.cardchain.MsgEncounterDo") + proto.RegisterType((*MsgEncounterDoResponse)(nil), "cardchain.cardchain.MsgEncounterDoResponse") + proto.RegisterType((*MsgEncounterClose)(nil), "cardchain.cardchain.MsgEncounterClose") + proto.RegisterType((*MsgEncounterCloseResponse)(nil), "cardchain.cardchain.MsgEncounterCloseResponse") +} + +func init() { proto.RegisterFile("cardchain/cardchain/tx.proto", fileDescriptor_3b4a3aba0ac94bc8) } + +var fileDescriptor_3b4a3aba0ac94bc8 = []byte{ + // 2743 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5b, 0xcd, 0x6f, 0x14, 0xc9, + 0x15, 0xa7, 0x3d, 0xb6, 0xb1, 0x0b, 0x63, 0x96, 0xc6, 0x0b, 0x43, 0xc3, 0x1a, 0x33, 0xd8, 0x60, + 0x58, 0xf0, 0x2c, 0xb0, 0x7c, 0x08, 0x65, 0x37, 0xf2, 0xd8, 0x24, 0x5a, 0x29, 0x5e, 0x48, 0x3b, + 0x59, 0xc2, 0xe6, 0x63, 0xd5, 0xd3, 0x53, 0x1e, 0x77, 0xdc, 0xd3, 0x35, 0xdb, 0xdd, 0x33, 0x5e, + 0x23, 0x45, 0x8a, 0x36, 0x97, 0x28, 0xb9, 0xe4, 0x9c, 0x5b, 0x6e, 0x7b, 0x8a, 0x88, 0x94, 0xbf, + 0x20, 0xb9, 0xec, 0x21, 0x87, 0xd5, 0x9e, 0x72, 0x8a, 0x22, 0x38, 0x20, 0xe5, 0xaf, 0x88, 0xea, + 0xa3, 0xab, 0xab, 0x6b, 0xaa, 0xaa, 0x7b, 0x46, 0xc9, 0x05, 0xa6, 0xaa, 0x7f, 0xf5, 0xbe, 0xea, + 0x55, 0xbd, 0x57, 0xef, 0x01, 0xb8, 0xe8, 0x7b, 0x71, 0xc7, 0xdf, 0xf7, 0x82, 0xa8, 0x99, 0xff, + 0x4a, 0xbf, 0xd8, 0xe8, 0xc7, 0x28, 0x45, 0xf6, 0x19, 0x3e, 0xb7, 0xc1, 0x7f, 0x39, 0xa7, 0xbd, + 0x5e, 0x10, 0xa1, 0x26, 0xf9, 0x93, 0xe2, 0x9c, 0x73, 0x3e, 0x4a, 0x7a, 0x28, 0x69, 0xf6, 0x92, + 0x6e, 0x73, 0x78, 0x1b, 0xff, 0xc5, 0x3e, 0x9c, 0xa7, 0x1f, 0x3e, 0x23, 0xa3, 0x26, 0x1d, 0xb0, + 0x4f, 0x4b, 0x5d, 0xd4, 0x45, 0x74, 0x1e, 0xff, 0x62, 0xb3, 0x2b, 0x2a, 0x79, 0xfa, 0x5e, 0xec, + 0xf5, 0xb2, 0x75, 0xcb, 0x8c, 0x57, 0xdb, 0x4b, 0x60, 0x73, 0x78, 0xbb, 0x0d, 0x53, 0xef, 0x76, + 0xd3, 0x47, 0x41, 0x64, 0xa2, 0x30, 0x44, 0x69, 0x10, 0x65, 0x42, 0x5d, 0x52, 0x21, 0x7a, 0x5e, + 0xea, 0xef, 0x33, 0xc0, 0x65, 0x15, 0xc0, 0x47, 0x83, 0xc8, 0x0f, 0x42, 0x2e, 0x85, 0x0a, 0xe2, + 0xc5, 0x1d, 0xfa, 0xbd, 0xf1, 0x77, 0x0b, 0x9c, 0xda, 0x49, 0xba, 0x3f, 0xee, 0x77, 0xbc, 0x14, + 0x3e, 0x25, 0xf2, 0xdb, 0xf7, 0xc1, 0xbc, 0x37, 0x48, 0xf7, 0x51, 0x1c, 0xa4, 0x47, 0x75, 0x6b, + 0xc5, 0x5a, 0x9f, 0x6f, 0xd5, 0xbf, 0xfd, 0xeb, 0xad, 0x25, 0x66, 0x96, 0xcd, 0x4e, 0x27, 0x86, + 0x49, 0xb2, 0x9b, 0xc6, 0x41, 0xd4, 0x75, 0x73, 0xa8, 0xfd, 0x21, 0x98, 0xa5, 0x16, 0xa8, 0x4f, + 0xad, 0x58, 0xeb, 0x27, 0xee, 0x5c, 0xd8, 0x50, 0x6c, 0xcb, 0x06, 0x65, 0xd2, 0x9a, 0xff, 0xfa, + 0x5f, 0x97, 0x8e, 0x7d, 0xf5, 0xe6, 0xe5, 0x0d, 0xcb, 0x65, 0xab, 0x1e, 0x3d, 0xfc, 0xf2, 0xcd, + 0xcb, 0x1b, 0x39, 0xbd, 0xdf, 0xbd, 0x79, 0x79, 0x63, 0x2d, 0x17, 0xfa, 0x0b, 0x41, 0x01, 0x49, + 0xe2, 0xc6, 0x79, 0x70, 0x4e, 0x9a, 0x72, 0x61, 0xd2, 0x47, 0x51, 0x02, 0x1b, 0x5d, 0x70, 0x12, + 0x7f, 0x4a, 0x60, 0xbc, 0x15, 0x43, 0x2f, 0x85, 0x76, 0x1d, 0x1c, 0xf7, 0xf1, 0x2f, 0x14, 0x53, + 0xdd, 0xdc, 0x6c, 0x88, 0xbf, 0x44, 0xf0, 0x10, 0x43, 0x89, 0x02, 0xf3, 0x6e, 0x36, 0xb4, 0x97, + 0xc0, 0x8c, 0x17, 0x06, 0x5e, 0x52, 0xaf, 0x91, 0x79, 0x3a, 0x78, 0xb4, 0x80, 0xe5, 0xcd, 0x56, + 0x37, 0xce, 0x81, 0xb7, 0x0b, 0x8c, 0xb8, 0x04, 0x3d, 0xf0, 0xd6, 0x4e, 0xd2, 0xdd, 0xf2, 0xe2, + 0xce, 0xae, 0xbf, 0x0f, 0x7b, 0xb0, 0x35, 0x38, 0x32, 0x08, 0x71, 0x1b, 0xd4, 0xda, 0x41, 0x87, + 0x59, 0xf0, 0xfc, 0x06, 0xb3, 0x39, 0x76, 0xa2, 0x0d, 0xe6, 0x44, 0x1b, 0x5b, 0x28, 0x88, 0x5a, + 0xd3, 0xd8, 0x7e, 0x2e, 0xc6, 0x4a, 0x72, 0xdc, 0x01, 0x75, 0x99, 0x5d, 0x26, 0x8a, 0x7d, 0x16, + 0xcc, 0x62, 0x23, 0x7e, 0xd4, 0x21, 0x5c, 0xa7, 0x5d, 0x36, 0x6a, 0xfc, 0xcd, 0x02, 0x76, 0xb6, + 0xc8, 0x1b, 0xc2, 0x2d, 0x14, 0xa5, 0x30, 0x4a, 0x0d, 0x52, 0xe6, 0x84, 0xa6, 0x44, 0x42, 0x64, + 0x05, 0x5d, 0x4c, 0x4c, 0xb5, 0xe0, 0x66, 0x43, 0x6c, 0xc2, 0x08, 0xa5, 0x30, 0xa9, 0x4f, 0x53, + 0x13, 0x92, 0x01, 0xa6, 0xe3, 0xc5, 0x69, 0x90, 0xa4, 0xf5, 0x19, 0x32, 0xcd, 0x46, 0xf6, 0x2a, + 0x38, 0xd9, 0xf6, 0x42, 0x2f, 0xf2, 0xe1, 0x66, 0xe4, 0xef, 0xa3, 0xb8, 0x3e, 0xbb, 0x62, 0xad, + 0xcf, 0xb9, 0xc5, 0x49, 0x49, 0xf1, 0x6d, 0xe0, 0x8c, 0xea, 0xc0, 0x55, 0xbf, 0x0a, 0x16, 0xbd, + 0x20, 0xee, 0xc4, 0xa8, 0xbf, 0x15, 0x7a, 0x41, 0x0f, 0x52, 0x13, 0xcc, 0xb9, 0xd2, 0x6c, 0xe3, + 0x97, 0xe0, 0x04, 0xa3, 0xf2, 0x09, 0x32, 0x7a, 0xcb, 0x5d, 0x30, 0x3d, 0x44, 0x29, 0x64, 0x3b, + 0x75, 0x49, 0xe9, 0xeb, 0xbb, 0x41, 0xd4, 0x0d, 0x21, 0x26, 0xe4, 0x12, 0xb0, 0x24, 0xf1, 0x07, + 0xe0, 0x8c, 0xc0, 0x6b, 0x6c, 0x51, 0x7b, 0xe4, 0xe8, 0xe2, 0xe5, 0x3f, 0x8a, 0xbd, 0x28, 0xd9, + 0x83, 0xf1, 0x04, 0x3b, 0xe6, 0x80, 0xb9, 0x18, 0xfa, 0x30, 0x18, 0xc2, 0x98, 0x79, 0x37, 0x1f, + 0x4b, 0xd2, 0xd2, 0x43, 0x26, 0xb2, 0xe3, 0x2e, 0xfe, 0x5b, 0x8b, 0x9c, 0x32, 0xfc, 0x6d, 0x1b, + 0x45, 0xe6, 0x53, 0xa6, 0x13, 0xe4, 0x01, 0x98, 0xf5, 0x7a, 0x68, 0xc0, 0x3c, 0xa7, 0x82, 0xef, + 0x33, 0xb8, 0xf2, 0x18, 0xe6, 0x92, 0x70, 0x19, 0x7f, 0x63, 0x81, 0xd3, 0xec, 0xcb, 0x66, 0x9c, + 0x1e, 0xa2, 0xf8, 0x60, 0xb3, 0xd3, 0x99, 0x40, 0xce, 0x25, 0x30, 0x13, 0xf4, 0xbc, 0x2e, 0x64, + 0x0e, 0x4e, 0x07, 0x98, 0xce, 0xde, 0x20, 0x0c, 0x37, 0xe3, 0x94, 0x38, 0xf8, 0x9c, 0x9b, 0x0d, + 0x25, 0xf1, 0x2e, 0x80, 0xf3, 0x23, 0x42, 0x08, 0x37, 0xc5, 0x99, 0xfc, 0x63, 0x90, 0xa4, 0x5b, + 0xfb, 0x5e, 0xd4, 0x9d, 0xc4, 0x96, 0xf9, 0xb1, 0xaa, 0x89, 0xc7, 0x4a, 0x92, 0xe5, 0x1d, 0x70, + 0x41, 0xc1, 0x8e, 0x4b, 0xf3, 0x1d, 0x7a, 0x27, 0xd0, 0x70, 0xe2, 0xc2, 0x6e, 0x90, 0xa4, 0x26, + 0x0f, 0x93, 0x88, 0x5f, 0xa4, 0xa7, 0xb1, 0xb8, 0x9a, 0xd3, 0xfe, 0x10, 0x2c, 0xe5, 0x5f, 0xb7, + 0x61, 0x3c, 0x2e, 0xf5, 0x65, 0x70, 0x51, 0xb5, 0x9e, 0xd3, 0xff, 0xd6, 0x02, 0x8b, 0x3b, 0x49, + 0x77, 0x07, 0x07, 0x4b, 0x17, 0xf6, 0x51, 0x9c, 0x9a, 0xef, 0x7d, 0x12, 0x55, 0xb9, 0x19, 0xb3, + 0xa1, 0xdd, 0x00, 0x0b, 0xfd, 0xd0, 0x3b, 0x82, 0x1d, 0x6c, 0xa4, 0x64, 0xb3, 0x5e, 0x5b, 0xa9, + 0xad, 0x4f, 0xbb, 0x85, 0x39, 0x09, 0xd3, 0xaa, 0x4f, 0x8f, 0x60, 0x5a, 0xf6, 0x7d, 0x70, 0x1c, + 0x0d, 0x52, 0x1f, 0xf5, 0x20, 0xb9, 0xe7, 0x16, 0xef, 0x5c, 0x54, 0x5e, 0x17, 0x4f, 0x28, 0xc6, + 0xcd, 0xc0, 0x92, 0xd2, 0x75, 0x70, 0xb6, 0xa8, 0x13, 0x57, 0xd7, 0xa5, 0x21, 0x86, 0x9a, 0xa3, + 0x34, 0xce, 0x69, 0xbc, 0x46, 0xe2, 0xe6, 0xd0, 0x38, 0x22, 0xd2, 0xe4, 0xfc, 0x7e, 0x4e, 0xae, + 0x02, 0x41, 0x12, 0x18, 0x6f, 0xf6, 0xfb, 0x28, 0x30, 0xc6, 0x0c, 0x72, 0xd3, 0x50, 0x30, 0x8b, + 0xaf, 0x7c, 0x2c, 0xb1, 0xbe, 0x0c, 0x2e, 0x69, 0xc8, 0x73, 0x09, 0xbe, 0xb2, 0xc0, 0xc2, 0x4e, + 0xd2, 0xdd, 0x85, 0x69, 0xa9, 0xba, 0x36, 0x98, 0x8e, 0xbc, 0x1e, 0x64, 0x3c, 0xc9, 0x6f, 0xdd, + 0x01, 0xb1, 0x57, 0xc0, 0x89, 0x24, 0x45, 0xf1, 0xd1, 0xb3, 0x38, 0xc0, 0x62, 0xd2, 0x58, 0x25, + 0x4e, 0xe1, 0xed, 0xc6, 0x21, 0x2d, 0x0e, 0xda, 0x83, 0x14, 0xc5, 0x49, 0x7d, 0x66, 0xa5, 0xb6, + 0x3e, 0xef, 0x16, 0xe6, 0x24, 0x6d, 0xce, 0x12, 0x5f, 0xe7, 0x92, 0x72, 0x15, 0x20, 0xb9, 0x33, + 0xf1, 0x3c, 0x3e, 0x81, 0xc6, 0xbb, 0x68, 0x09, 0xcc, 0x24, 0x30, 0xe5, 0x1b, 0x46, 0x07, 0xc2, + 0x3e, 0xd6, 0x0c, 0xfb, 0x48, 0x2f, 0xc4, 0x9c, 0x0d, 0xe7, 0xbf, 0x4f, 0x9c, 0x86, 0x7d, 0x70, + 0x61, 0x0f, 0x0d, 0xe1, 0xff, 0x49, 0x04, 0xea, 0x4a, 0x05, 0x4e, 0x82, 0x14, 0x99, 0x75, 0x72, + 0x0b, 0x4e, 0x62, 0x0c, 0x1b, 0x4c, 0x0f, 0x12, 0x1e, 0xc3, 0xc8, 0x6f, 0xe5, 0x9d, 0x31, 0xc2, + 0x89, 0x4b, 0x72, 0x40, 0x9c, 0xba, 0xf8, 0x7d, 0x42, 0xb3, 0x94, 0x0b, 0x43, 0x5d, 0x5c, 0xc5, + 0x8c, 0xcb, 0xf3, 0x31, 0xb9, 0xc2, 0x76, 0x61, 0xfa, 0xbd, 0x20, 0xf2, 0xc2, 0xe0, 0xc5, 0xd8, + 0x62, 0x28, 0xaf, 0x0f, 0x81, 0x1e, 0xe7, 0xb4, 0x97, 0x79, 0x42, 0xa5, 0xc0, 0xa8, 0x56, 0x59, + 0x19, 0x16, 0x75, 0x7e, 0xa0, 0x88, 0x7d, 0x9d, 0x4c, 0xdb, 0x5d, 0x7c, 0xd8, 0x26, 0x94, 0x80, + 0x1c, 0xd4, 0x2c, 0x49, 0x27, 0x03, 0x9d, 0x0d, 0x32, 0x2e, 0x9c, 0xff, 0x0f, 0x49, 0x76, 0xd0, + 0x42, 0x08, 0xc7, 0x91, 0xa7, 0x9e, 0x7f, 0x60, 0x4e, 0xd3, 0xab, 0x18, 0x7c, 0x8b, 0xc4, 0xfa, + 0x22, 0xc9, 0xb1, 0x93, 0xbc, 0xdf, 0xd3, 0xd4, 0x7c, 0x17, 0x86, 0xe1, 0x93, 0xbd, 0xbd, 0x0a, + 0xaf, 0x18, 0x5d, 0x4e, 0x70, 0x0f, 0xcc, 0xf4, 0xe3, 0xc0, 0x87, 0x55, 0xd3, 0x2b, 0x8a, 0x56, + 0x46, 0x75, 0x49, 0x18, 0x6e, 0xc3, 0x9f, 0x92, 0x84, 0x94, 0x7f, 0x35, 0x5b, 0x10, 0x5f, 0xb5, + 0x19, 0x92, 0x0b, 0x2b, 0x4e, 0x29, 0xd3, 0x4f, 0x91, 0x38, 0xe7, 0xfb, 0x8b, 0xa2, 0x89, 0x4a, + 0x0f, 0xed, 0xb8, 0xac, 0x25, 0xad, 0xa5, 0x73, 0xfa, 0x27, 0x8b, 0x3f, 0xf0, 0x5c, 0x0f, 0x3f, + 0x5c, 0x77, 0x61, 0x3a, 0x59, 0x5e, 0x49, 0x3d, 0xaa, 0x26, 0x3a, 0xf5, 0x03, 0x30, 0x1b, 0x13, + 0xa2, 0x24, 0x16, 0x2d, 0x6a, 0xde, 0x19, 0x39, 0x6f, 0x97, 0xc1, 0xd5, 0xc1, 0x5c, 0x14, 0x91, + 0xcb, 0xff, 0x47, 0x4b, 0x8c, 0xf4, 0xd9, 0xf4, 0x16, 0xea, 0xf5, 0x02, 0x93, 0x1e, 0x17, 0xc1, + 0x3c, 0x2b, 0x35, 0x70, 0x55, 0xf2, 0x09, 0xbc, 0x0e, 0x07, 0xf7, 0x28, 0x81, 0xec, 0x38, 0x66, + 0x43, 0x7b, 0x19, 0x80, 0x64, 0xd0, 0xed, 0xc2, 0x24, 0x0d, 0x50, 0xc4, 0x22, 0xac, 0x30, 0x23, + 0x09, 0xde, 0x00, 0x2b, 0x3a, 0xd9, 0xb8, 0x02, 0x7f, 0x51, 0x2a, 0xe0, 0xc2, 0x21, 0xf4, 0xc2, + 0x89, 0x15, 0x78, 0x50, 0x54, 0x60, 0xf1, 0xce, 0x3b, 0x4a, 0xcb, 0x73, 0x6e, 0x5c, 0xbf, 0xb3, + 0x60, 0x36, 0x81, 0x7e, 0x0c, 0x53, 0xa6, 0x1b, 0x1b, 0x55, 0xd1, 0x8b, 0x8a, 0xcc, 0xf5, 0x7a, + 0x4e, 0x1f, 0x2c, 0x1c, 0x93, 0x7a, 0xf1, 0xc4, 0x1b, 0xa2, 0x7e, 0x86, 0x14, 0x48, 0x73, 0xbe, + 0xff, 0xa0, 0x35, 0x21, 0x92, 0x7f, 0x6d, 0xa1, 0x68, 0x2f, 0x88, 0x7b, 0x13, 0x65, 0xcf, 0x42, + 0xd6, 0x5b, 0x1b, 0x23, 0xeb, 0xb5, 0xbf, 0x0b, 0x00, 0x7e, 0x2c, 0xd3, 0xe4, 0x99, 0xe4, 0xd3, + 0x15, 0xde, 0xd7, 0xc2, 0x12, 0xe5, 0xc5, 0x21, 0x6a, 0xc3, 0x35, 0xdd, 0x25, 0x16, 0x7e, 0x1a, + 0xa3, 0xbd, 0x20, 0x84, 0xa4, 0x72, 0x30, 0xc9, 0xd1, 0x55, 0xda, 0xb6, 0x48, 0x94, 0x73, 0xfc, + 0x09, 0x49, 0x77, 0xd8, 0xc7, 0x67, 0xb0, 0x9d, 0x04, 0x29, 0x34, 0x33, 0xad, 0x83, 0xe3, 0x87, + 0x14, 0x97, 0x55, 0xa5, 0xd8, 0x50, 0x99, 0xde, 0x8c, 0x50, 0xe6, 0x9c, 0x7f, 0x40, 0x6e, 0x29, + 0xf6, 0xbd, 0x15, 0x20, 0x33, 0xd7, 0xb7, 0x40, 0xad, 0x1d, 0x20, 0xc6, 0x11, 0xff, 0x54, 0x5e, + 0x28, 0x05, 0x6a, 0x9c, 0x53, 0x9b, 0x5c, 0xc7, 0x42, 0xdc, 0x7b, 0xd2, 0x87, 0x91, 0x81, 0xd7, + 0x2a, 0x38, 0xd9, 0xce, 0xc1, 0xdc, 0xba, 0xc5, 0x49, 0x89, 0xff, 0x7d, 0x72, 0x25, 0x4b, 0x3c, + 0x78, 0x70, 0xc5, 0xbc, 0xc8, 0xd6, 0x24, 0x75, 0x8b, 0x3c, 0xc7, 0xb2, 0x61, 0xe3, 0x4b, 0x8b, + 0x64, 0x00, 0xc2, 0xc2, 0x0a, 0xb5, 0x93, 0x4a, 0x02, 0x8e, 0x51, 0x49, 0x59, 0x01, 0xcb, 0x6a, + 0x19, 0xb8, 0x09, 0x87, 0x59, 0x56, 0xbc, 0x9b, 0x3f, 0x3d, 0xcc, 0x1b, 0xa6, 0xce, 0x89, 0xa4, + 0xf7, 0x4c, 0x6d, 0xe4, 0x3d, 0xa3, 0xcb, 0x91, 0x8b, 0x7c, 0x85, 0x6a, 0xea, 0x29, 0x9e, 0xc1, + 0x05, 0x49, 0x3a, 0x89, 0x48, 0xd5, 0x6a, 0x13, 0x59, 0xb4, 0xcf, 0x19, 0x71, 0x19, 0x3e, 0xe7, + 0xe1, 0x16, 0x1f, 0xfc, 0x9d, 0x41, 0x98, 0x06, 0x06, 0x21, 0xee, 0x81, 0x99, 0x21, 0xa9, 0x3b, + 0x4e, 0x55, 0xbb, 0x47, 0x28, 0x5a, 0x92, 0xa6, 0xc5, 0xc3, 0x27, 0x67, 0x39, 0x76, 0x22, 0xf7, + 0x67, 0xfa, 0x62, 0x25, 0xf7, 0x50, 0xc9, 0x81, 0xa8, 0x83, 0xe3, 0xa4, 0x7c, 0x10, 0x6f, 0x66, + 0x47, 0x9e, 0x0d, 0xf3, 0x2f, 0xad, 0x2c, 0xac, 0xb2, 0x21, 0xde, 0x69, 0x06, 0xea, 0x40, 0xff, + 0x80, 0x55, 0x21, 0xc4, 0xa9, 0x1c, 0xd1, 0x22, 0x88, 0x19, 0x11, 0x41, 0xa6, 0x24, 0xa5, 0xdf, + 0x23, 0x3e, 0xc8, 0xe5, 0x15, 0x0f, 0x57, 0x76, 0xe1, 0x5b, 0x85, 0x0b, 0xbf, 0xe1, 0x65, 0x2f, + 0xda, 0x8f, 0xbd, 0x1e, 0x9c, 0xc4, 0x37, 0xb2, 0xa7, 0x7a, 0x2d, 0x7f, 0xaa, 0xeb, 0x5e, 0xb3, + 0x8c, 0x85, 0x50, 0x02, 0xb1, 0xf3, 0x0b, 0x69, 0x33, 0x0c, 0xbc, 0xa4, 0x54, 0x00, 0x5a, 0xd2, + 0x9f, 0xd2, 0x97, 0xf4, 0x69, 0xde, 0x27, 0xd1, 0x14, 0x38, 0x62, 0xfb, 0x3c, 0xf6, 0xe2, 0xf0, + 0x68, 0xd3, 0xf7, 0x61, 0x92, 0x7c, 0x14, 0x0d, 0x83, 0xb2, 0x4a, 0xc4, 0x20, 0xef, 0x2e, 0xe8, + 0xdf, 0xa8, 0x23, 0x34, 0x85, 0x80, 0x85, 0xcf, 0xdf, 0xa7, 0xd0, 0x0b, 0x8f, 0xb6, 0x50, 0x14, + 0x41, 0xbf, 0x24, 0x72, 0xbc, 0xc0, 0x48, 0x66, 0xe5, 0x79, 0x37, 0x1b, 0x2a, 0xcf, 0x9a, 0x48, + 0x34, 0xcf, 0x0d, 0xa7, 0x88, 0x59, 0x1f, 0x47, 0x38, 0x91, 0x48, 0x2b, 0xbc, 0x3e, 0x54, 0xc5, + 0x16, 0x07, 0xcc, 0x75, 0x62, 0xef, 0x30, 0xa4, 0x67, 0x1e, 0x7b, 0x1d, 0x1f, 0xdb, 0xcf, 0x00, + 0x20, 0xdd, 0x1f, 0x98, 0xc2, 0x38, 0x8b, 0xf5, 0x0f, 0x94, 0x67, 0x74, 0x54, 0x0c, 0xda, 0x4a, + 0x22, 0x2b, 0x1f, 0x47, 0x69, 0x7c, 0xe4, 0x0a, 0xa4, 0xf2, 0xf7, 0xe8, 0x8c, 0xf0, 0x1e, 0x75, + 0x3e, 0x00, 0xa7, 0xa4, 0x45, 0x38, 0xd2, 0x1d, 0x40, 0xd6, 0xe7, 0x72, 0xf1, 0x4f, 0xbc, 0x74, + 0xe8, 0x85, 0x83, 0x4c, 0x09, 0x3a, 0x78, 0x34, 0xf5, 0xd0, 0x52, 0xba, 0x87, 0x24, 0x14, 0x37, + 0x5d, 0x44, 0x1e, 0xb4, 0xfc, 0xeb, 0x36, 0x32, 0x3f, 0x48, 0x60, 0x06, 0xcc, 0x1f, 0x24, 0xc2, + 0x54, 0x85, 0x8a, 0x02, 0x7d, 0xda, 0x0a, 0xfc, 0xe4, 0xca, 0x77, 0x2e, 0x68, 0x88, 0x12, 0xf8, + 0xbf, 0x96, 0x06, 0xdb, 0xf1, 0x90, 0x25, 0xf4, 0x73, 0x2e, 0xfe, 0xa9, 0x4c, 0x8b, 0x8a, 0x42, + 0x64, 0x22, 0xde, 0xf9, 0xcf, 0x55, 0x50, 0xdb, 0x49, 0xba, 0x76, 0x1b, 0x2c, 0x14, 0x5a, 0x91, + 0xab, 0x3a, 0x57, 0x10, 0x51, 0xce, 0xcd, 0x2a, 0x28, 0x7e, 0x7f, 0xfd, 0x0c, 0x00, 0xa1, 0x1d, + 0xd8, 0xd0, 0xae, 0xe5, 0x18, 0xe7, 0x46, 0x39, 0x86, 0x53, 0x87, 0xe0, 0x64, 0xb1, 0xd5, 0xb7, + 0xa6, 0x5b, 0x5c, 0x80, 0x39, 0xb7, 0x2a, 0xc1, 0x38, 0x9b, 0x03, 0x70, 0x4a, 0xee, 0xd6, 0x5d, + 0x33, 0x52, 0xc8, 0x81, 0x4e, 0xb3, 0x22, 0x90, 0x33, 0xfb, 0x04, 0xcc, 0xf1, 0x86, 0xd8, 0x8a, + 0x69, 0x31, 0x46, 0x38, 0xeb, 0x65, 0x08, 0x4e, 0xb7, 0x0d, 0x16, 0x0a, 0xdd, 0xab, 0x55, 0xd3, + 0xca, 0x0c, 0xa5, 0xdf, 0x6d, 0x55, 0x6b, 0x0a, 0xef, 0xb6, 0xd0, 0x96, 0x6a, 0x98, 0xd6, 0x52, + 0x8c, 0x7e, 0xb7, 0x47, 0x9b, 0x4a, 0xf6, 0x3e, 0x58, 0x94, 0x1a, 0x4a, 0x57, 0x4d, 0xab, 0x73, + 0x9c, 0xb3, 0x51, 0x0d, 0xc7, 0x39, 0x45, 0xe0, 0xad, 0x91, 0xc6, 0xd0, 0x7a, 0x09, 0x0d, 0x8e, + 0x74, 0xde, 0xab, 0x8a, 0x2c, 0x38, 0x98, 0xd4, 0xfa, 0xd1, 0x3b, 0x58, 0x11, 0x68, 0x70, 0x30, + 0x75, 0x3b, 0xc8, 0xfe, 0x1c, 0x9c, 0x1e, 0xed, 0x05, 0x5d, 0x2f, 0xa1, 0x92, 0x43, 0x9d, 0xdb, + 0x95, 0xa1, 0x9c, 0xe5, 0x67, 0xe0, 0x84, 0xd8, 0x1d, 0xba, 0xa2, 0xa3, 0x20, 0x80, 0x9c, 0x77, + 0x2b, 0x80, 0x0a, 0x17, 0x41, 0xa1, 0x21, 0xb3, 0x56, 0x22, 0x24, 0xbb, 0x6c, 0x6e, 0x55, 0x82, + 0x71, 0x36, 0x2f, 0xc0, 0x92, 0xb2, 0x0f, 0x73, 0xb3, 0x82, 0xac, 0x1c, 0xed, 0xbc, 0x3f, 0x0e, + 0x9a, 0xf3, 0x7e, 0x0e, 0xe6, 0xf3, 0x06, 0xcc, 0x65, 0x1d, 0x09, 0x0e, 0x71, 0xae, 0x97, 0x42, + 0xc4, 0x63, 0x2b, 0x74, 0x46, 0x1a, 0xa6, 0x85, 0x14, 0xa3, 0x3f, 0xb6, 0xa3, 0xad, 0x0f, 0xbc, + 0x37, 0xc5, 0xbe, 0xc7, 0x5a, 0xc9, 0x62, 0x0a, 0xd3, 0xef, 0x8d, 0xb2, 0xb7, 0x81, 0xdd, 0x7a, + 0xb4, 0xb1, 0x61, 0x34, 0x42, 0x01, 0xaa, 0x77, 0x6b, 0x6d, 0x13, 0x03, 0xbb, 0x83, 0xb2, 0x83, + 0x71, 0xb3, 0x1a, 0x29, 0xa6, 0xe7, 0xfb, 0xe3, 0xa0, 0xc5, 0x23, 0x25, 0x76, 0x2b, 0xae, 0x18, + 0x88, 0x64, 0x20, 0xfd, 0x91, 0x52, 0xf4, 0x29, 0xd8, 0xb6, 0x09, 0x97, 0xad, 0x69, 0xdb, 0x84, + 0xbb, 0xf6, 0x56, 0x25, 0x98, 0xa4, 0x07, 0xef, 0x43, 0x98, 0xf4, 0xc8, 0x40, 0x46, 0x3d, 0xe4, + 0x5e, 0x03, 0x8e, 0x1a, 0x52, 0xa3, 0x41, 0x1b, 0x35, 0x8a, 0x38, 0x7d, 0xd4, 0xd0, 0x74, 0x19, + 0x0e, 0xc0, 0x29, 0xb9, 0x73, 0x70, 0x4d, 0x2f, 0x69, 0x01, 0xa8, 0xbf, 0xc5, 0x35, 0xe5, 0x7f, + 0x1c, 0xce, 0x0b, 0xb5, 0xff, 0xd5, 0x52, 0x02, 0x58, 0xa5, 0x9b, 0x55, 0x50, 0x4a, 0x85, 0x98, + 0x6b, 0x97, 0x2b, 0xc4, 0xbc, 0xba, 0x59, 0x11, 0x28, 0xe7, 0x72, 0x79, 0x55, 0xdf, 0x98, 0xcb, + 0x71, 0x98, 0x39, 0x97, 0x1b, 0x29, 0xc0, 0xdb, 0xbf, 0x02, 0x6f, 0xab, 0x8b, 0xef, 0xb7, 0x4a, + 0xe3, 0xa8, 0x08, 0x77, 0xee, 0x8d, 0x05, 0x37, 0xb0, 0x67, 0xa5, 0xf3, 0xaa, 0xec, 0x29, 0xbc, + 0x32, 0xfb, 0x62, 0x95, 0x9b, 0xa4, 0x50, 0xc5, 0x12, 0xf7, 0xd5, 0x72, 0x42, 0x18, 0x67, 0x48, + 0xa1, 0x94, 0x75, 0x6d, 0xec, 0x9f, 0x85, 0x9a, 0xf6, 0xaa, 0x31, 0xe8, 0x31, 0x94, 0x73, 0xb3, + 0x0a, 0x4a, 0xd4, 0x46, 0x2a, 0x27, 0x6b, 0xb5, 0x29, 0xe2, 0xf4, 0xda, 0xa8, 0x2b, 0xc9, 0x38, + 0xb8, 0x8c, 0x96, 0x91, 0xaf, 0x97, 0x10, 0xc9, 0xa1, 0xfa, 0xe0, 0xa2, 0x2d, 0x21, 0xe3, 0xf3, + 0x50, 0xac, 0x1f, 0xaf, 0x95, 0xd0, 0xa0, 0x30, 0xfd, 0x79, 0x50, 0xd6, 0x8f, 0xf1, 0x19, 0x97, + 0x8b, 0xc7, 0xd7, 0x2a, 0xdc, 0x7b, 0x18, 0xa8, 0x3f, 0xe3, 0xba, 0x52, 0xf1, 0x21, 0x38, 0xa3, + 0x2a, 0x06, 0xbf, 0x5b, 0x81, 0x0e, 0x7f, 0x91, 0xdc, 0x1d, 0x03, 0x2c, 0x25, 0x07, 0x52, 0x7d, + 0xf7, 0x7a, 0x59, 0x18, 0xe1, 0x50, 0x63, 0x72, 0xa0, 0xae, 0xde, 0xd2, 0x0b, 0x5a, 0x28, 0xdd, + 0xae, 0x9a, 0xe3, 0x22, 0x45, 0x99, 0x2e, 0xe8, 0xd1, 0xea, 0x6c, 0x76, 0x67, 0xe6, 0xa5, 0xd9, + 0xb5, 0xb2, 0xe7, 0x20, 0x81, 0x99, 0xef, 0xcc, 0xd1, 0xaa, 0xeb, 0x73, 0x30, 0x9f, 0x57, 0x52, + 0x2f, 0x1b, 0x8f, 0x28, 0xf1, 0x8b, 0xeb, 0xa5, 0x10, 0x29, 0xf5, 0xcc, 0x4a, 0x98, 0xa6, 0xd4, + 0x93, 0x61, 0x8c, 0xa9, 0xa7, 0x54, 0xa7, 0xc4, 0xce, 0x2d, 0x17, 0x29, 0xaf, 0x95, 0x1c, 0x8f, + 0x0c, 0xa8, 0x77, 0x6e, 0x4d, 0x89, 0x12, 0xfb, 0xd8, 0x68, 0x7d, 0x52, 0x6b, 0x8a, 0x11, 0xa8, + 0xde, 0xc7, 0xb4, 0x15, 0x4a, 0xec, 0x63, 0x85, 0xf2, 0xa4, 0xd6, 0xc7, 0x44, 0x94, 0xde, 0xc7, + 0x54, 0x55, 0x49, 0x6c, 0x43, 0xb9, 0x22, 0x79, 0xad, 0x62, 0xcd, 0x50, 0x6f, 0x43, 0x4d, 0x1d, + 0x0f, 0x67, 0x83, 0x62, 0x11, 0xef, 0x4a, 0xe9, 0xfa, 0x6d, 0xa4, 0xcf, 0x06, 0x15, 0xe5, 0x39, + 0x1c, 0x32, 0xa4, 0xd2, 0xdc, 0xd5, 0x72, 0x19, 0x31, 0x4e, 0x1f, 0x32, 0xd4, 0x55, 0x36, 0x67, + 0xe6, 0xd7, 0x6f, 0x5e, 0xde, 0xb0, 0x5a, 0xee, 0xd7, 0xaf, 0x96, 0xad, 0x6f, 0x5e, 0x2d, 0x5b, + 0xff, 0x7e, 0xb5, 0x6c, 0xfd, 0xe1, 0xf5, 0xf2, 0xb1, 0x6f, 0x5e, 0x2f, 0x1f, 0xfb, 0xe7, 0xeb, + 0xe5, 0x63, 0x9f, 0x3e, 0xec, 0x06, 0xe9, 0xfe, 0xa0, 0xbd, 0xe1, 0xa3, 0x5e, 0x73, 0x1b, 0xfa, + 0x30, 0x4a, 0x63, 0x2f, 0xc4, 0x07, 0xf0, 0xfb, 0x5e, 0x0f, 0x36, 0xd5, 0xff, 0x16, 0x3f, 0x3d, + 0xea, 0xc3, 0xa4, 0x3d, 0x4b, 0xfe, 0x3b, 0xc1, 0xdd, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x35, + 0xdc, 0x34, 0xd7, 0xa8, 0x31, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + UserCreate(ctx context.Context, in *MsgUserCreate, opts ...grpc.CallOption) (*MsgUserCreateResponse, error) + CardSchemeBuy(ctx context.Context, in *MsgCardSchemeBuy, opts ...grpc.CallOption) (*MsgCardSchemeBuyResponse, error) + CardSaveContent(ctx context.Context, in *MsgCardSaveContent, opts ...grpc.CallOption) (*MsgCardSaveContentResponse, error) + CardVote(ctx context.Context, in *MsgCardVote, opts ...grpc.CallOption) (*MsgCardVoteResponse, error) + CardTransfer(ctx context.Context, in *MsgCardTransfer, opts ...grpc.CallOption) (*MsgCardTransferResponse, error) + CardDonate(ctx context.Context, in *MsgCardDonate, opts ...grpc.CallOption) (*MsgCardDonateResponse, error) + CardArtworkAdd(ctx context.Context, in *MsgCardArtworkAdd, opts ...grpc.CallOption) (*MsgCardArtworkAddResponse, error) + CardArtistChange(ctx context.Context, in *MsgCardArtistChange, opts ...grpc.CallOption) (*MsgCardArtistChangeResponse, error) + CouncilRegister(ctx context.Context, in *MsgCouncilRegister, opts ...grpc.CallOption) (*MsgCouncilRegisterResponse, error) + CouncilDeregister(ctx context.Context, in *MsgCouncilDeregister, opts ...grpc.CallOption) (*MsgCouncilDeregisterResponse, error) + MatchReport(ctx context.Context, in *MsgMatchReport, opts ...grpc.CallOption) (*MsgMatchReportResponse, error) + CouncilCreate(ctx context.Context, in *MsgCouncilCreate, opts ...grpc.CallOption) (*MsgCouncilCreateResponse, error) + MatchReporterAppoint(ctx context.Context, in *MsgMatchReporterAppoint, opts ...grpc.CallOption) (*MsgMatchReporterAppointResponse, error) + SetCreate(ctx context.Context, in *MsgSetCreate, opts ...grpc.CallOption) (*MsgSetCreateResponse, error) + SetCardAdd(ctx context.Context, in *MsgSetCardAdd, opts ...grpc.CallOption) (*MsgSetCardAddResponse, error) + SetCardRemove(ctx context.Context, in *MsgSetCardRemove, opts ...grpc.CallOption) (*MsgSetCardRemoveResponse, error) + SetContributorAdd(ctx context.Context, in *MsgSetContributorAdd, opts ...grpc.CallOption) (*MsgSetContributorAddResponse, error) + SetContributorRemove(ctx context.Context, in *MsgSetContributorRemove, opts ...grpc.CallOption) (*MsgSetContributorRemoveResponse, error) + SetFinalize(ctx context.Context, in *MsgSetFinalize, opts ...grpc.CallOption) (*MsgSetFinalizeResponse, error) + SetArtworkAdd(ctx context.Context, in *MsgSetArtworkAdd, opts ...grpc.CallOption) (*MsgSetArtworkAddResponse, error) + SetStoryAdd(ctx context.Context, in *MsgSetStoryAdd, opts ...grpc.CallOption) (*MsgSetStoryAddResponse, error) + BoosterPackBuy(ctx context.Context, in *MsgBoosterPackBuy, opts ...grpc.CallOption) (*MsgBoosterPackBuyResponse, error) + SellOfferCreate(ctx context.Context, in *MsgSellOfferCreate, opts ...grpc.CallOption) (*MsgSellOfferCreateResponse, error) + SellOfferBuy(ctx context.Context, in *MsgSellOfferBuy, opts ...grpc.CallOption) (*MsgSellOfferBuyResponse, error) + SellOfferRemove(ctx context.Context, in *MsgSellOfferRemove, opts ...grpc.CallOption) (*MsgSellOfferRemoveResponse, error) + CardRaritySet(ctx context.Context, in *MsgCardRaritySet, opts ...grpc.CallOption) (*MsgCardRaritySetResponse, error) + CouncilResponseCommit(ctx context.Context, in *MsgCouncilResponseCommit, opts ...grpc.CallOption) (*MsgCouncilResponseCommitResponse, error) + CouncilResponseReveal(ctx context.Context, in *MsgCouncilResponseReveal, opts ...grpc.CallOption) (*MsgCouncilResponseRevealResponse, error) + CouncilRestart(ctx context.Context, in *MsgCouncilRestart, opts ...grpc.CallOption) (*MsgCouncilRestartResponse, error) + MatchConfirm(ctx context.Context, in *MsgMatchConfirm, opts ...grpc.CallOption) (*MsgMatchConfirmResponse, error) + ProfileCardSet(ctx context.Context, in *MsgProfileCardSet, opts ...grpc.CallOption) (*MsgProfileCardSetResponse, error) + ProfileWebsiteSet(ctx context.Context, in *MsgProfileWebsiteSet, opts ...grpc.CallOption) (*MsgProfileWebsiteSetResponse, error) + ProfileBioSet(ctx context.Context, in *MsgProfileBioSet, opts ...grpc.CallOption) (*MsgProfileBioSetResponse, error) + BoosterPackOpen(ctx context.Context, in *MsgBoosterPackOpen, opts ...grpc.CallOption) (*MsgBoosterPackOpenResponse, error) + BoosterPackTransfer(ctx context.Context, in *MsgBoosterPackTransfer, opts ...grpc.CallOption) (*MsgBoosterPackTransferResponse, error) + SetStoryWriterSet(ctx context.Context, in *MsgSetStoryWriterSet, opts ...grpc.CallOption) (*MsgSetStoryWriterSetResponse, error) + SetArtistSet(ctx context.Context, in *MsgSetArtistSet, opts ...grpc.CallOption) (*MsgSetArtistSetResponse, error) + CardVoteMulti(ctx context.Context, in *MsgCardVoteMulti, opts ...grpc.CallOption) (*MsgCardVoteMultiResponse, error) + MatchOpen(ctx context.Context, in *MsgMatchOpen, opts ...grpc.CallOption) (*MsgMatchOpenResponse, error) + SetNameSet(ctx context.Context, in *MsgSetNameSet, opts ...grpc.CallOption) (*MsgSetNameSetResponse, error) + ProfileAliasSet(ctx context.Context, in *MsgProfileAliasSet, opts ...grpc.CallOption) (*MsgProfileAliasSetResponse, error) + EarlyAccessInvite(ctx context.Context, in *MsgEarlyAccessInvite, opts ...grpc.CallOption) (*MsgEarlyAccessInviteResponse, error) + ZealyConnect(ctx context.Context, in *MsgZealyConnect, opts ...grpc.CallOption) (*MsgZealyConnectResponse, error) + EncounterCreate(ctx context.Context, in *MsgEncounterCreate, opts ...grpc.CallOption) (*MsgEncounterCreateResponse, error) + EncounterDo(ctx context.Context, in *MsgEncounterDo, opts ...grpc.CallOption) (*MsgEncounterDoResponse, error) + EncounterClose(ctx context.Context, in *MsgEncounterClose, opts ...grpc.CallOption) (*MsgEncounterCloseResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/UpdateParams", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).MatchReporterAppoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/MatchReporterAppoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).MatchReporterAppoint(ctx, req.(*MsgMatchReporterAppoint)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetCreate) - if err := dec(in); err != nil { +func (c *msgClient) UserCreate(ctx context.Context, in *MsgUserCreate, opts ...grpc.CallOption) (*MsgUserCreateResponse, error) { + out := new(MsgUserCreateResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/UserCreate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetCreate(ctx, req.(*MsgSetCreate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetCardAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetCardAdd) - if err := dec(in); err != nil { +func (c *msgClient) CardSchemeBuy(ctx context.Context, in *MsgCardSchemeBuy, opts ...grpc.CallOption) (*MsgCardSchemeBuyResponse, error) { + out := new(MsgCardSchemeBuyResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardSchemeBuy", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetCardAdd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetCardAdd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetCardAdd(ctx, req.(*MsgSetCardAdd)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetCardRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetCardRemove) - if err := dec(in); err != nil { +func (c *msgClient) CardSaveContent(ctx context.Context, in *MsgCardSaveContent, opts ...grpc.CallOption) (*MsgCardSaveContentResponse, error) { + out := new(MsgCardSaveContentResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardSaveContent", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetCardRemove(ctx, in) + return out, nil +} + +func (c *msgClient) CardVote(ctx context.Context, in *MsgCardVote, opts ...grpc.CallOption) (*MsgCardVoteResponse, error) { + out := new(MsgCardVoteResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardVote", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetCardRemove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetCardRemove(ctx, req.(*MsgSetCardRemove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetContributorAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetContributorAdd) - if err := dec(in); err != nil { +func (c *msgClient) CardTransfer(ctx context.Context, in *MsgCardTransfer, opts ...grpc.CallOption) (*MsgCardTransferResponse, error) { + out := new(MsgCardTransferResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardTransfer", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetContributorAdd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetContributorAdd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetContributorAdd(ctx, req.(*MsgSetContributorAdd)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetContributorRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetContributorRemove) - if err := dec(in); err != nil { +func (c *msgClient) CardDonate(ctx context.Context, in *MsgCardDonate, opts ...grpc.CallOption) (*MsgCardDonateResponse, error) { + out := new(MsgCardDonateResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardDonate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetContributorRemove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetContributorRemove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetContributorRemove(ctx, req.(*MsgSetContributorRemove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetFinalize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetFinalize) - if err := dec(in); err != nil { +func (c *msgClient) CardArtworkAdd(ctx context.Context, in *MsgCardArtworkAdd, opts ...grpc.CallOption) (*MsgCardArtworkAddResponse, error) { + out := new(MsgCardArtworkAddResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardArtworkAdd", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetFinalize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetFinalize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetFinalize(ctx, req.(*MsgSetFinalize)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetArtworkAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetArtworkAdd) - if err := dec(in); err != nil { +func (c *msgClient) CardArtistChange(ctx context.Context, in *MsgCardArtistChange, opts ...grpc.CallOption) (*MsgCardArtistChangeResponse, error) { + out := new(MsgCardArtistChangeResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardArtistChange", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetArtworkAdd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetArtworkAdd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetArtworkAdd(ctx, req.(*MsgSetArtworkAdd)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetStoryAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetStoryAdd) - if err := dec(in); err != nil { +func (c *msgClient) CouncilRegister(ctx context.Context, in *MsgCouncilRegister, opts ...grpc.CallOption) (*MsgCouncilRegisterResponse, error) { + out := new(MsgCouncilRegisterResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilRegister", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetStoryAdd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetStoryAdd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetStoryAdd(ctx, req.(*MsgSetStoryAdd)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_BoosterPackBuy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgBoosterPackBuy) - if err := dec(in); err != nil { +func (c *msgClient) CouncilDeregister(ctx context.Context, in *MsgCouncilDeregister, opts ...grpc.CallOption) (*MsgCouncilDeregisterResponse, error) { + out := new(MsgCouncilDeregisterResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilDeregister", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).BoosterPackBuy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/BoosterPackBuy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).BoosterPackBuy(ctx, req.(*MsgBoosterPackBuy)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SellOfferCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSellOfferCreate) - if err := dec(in); err != nil { +func (c *msgClient) MatchReport(ctx context.Context, in *MsgMatchReport, opts ...grpc.CallOption) (*MsgMatchReportResponse, error) { + out := new(MsgMatchReportResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchReport", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SellOfferCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SellOfferCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SellOfferCreate(ctx, req.(*MsgSellOfferCreate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SellOfferBuy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSellOfferBuy) - if err := dec(in); err != nil { +func (c *msgClient) CouncilCreate(ctx context.Context, in *MsgCouncilCreate, opts ...grpc.CallOption) (*MsgCouncilCreateResponse, error) { + out := new(MsgCouncilCreateResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilCreate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SellOfferBuy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SellOfferBuy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SellOfferBuy(ctx, req.(*MsgSellOfferBuy)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SellOfferRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSellOfferRemove) - if err := dec(in); err != nil { +func (c *msgClient) MatchReporterAppoint(ctx context.Context, in *MsgMatchReporterAppoint, opts ...grpc.CallOption) (*MsgMatchReporterAppointResponse, error) { + out := new(MsgMatchReporterAppointResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchReporterAppoint", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SellOfferRemove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SellOfferRemove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SellOfferRemove(ctx, req.(*MsgSellOfferRemove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_CardRaritySet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardRaritySet) - if err := dec(in); err != nil { +func (c *msgClient) SetCreate(ctx context.Context, in *MsgSetCreate, opts ...grpc.CallOption) (*MsgSetCreateResponse, error) { + out := new(MsgSetCreateResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetCreate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).CardRaritySet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardRaritySet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardRaritySet(ctx, req.(*MsgCardRaritySet)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_CouncilResponseCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCouncilResponseCommit) - if err := dec(in); err != nil { +func (c *msgClient) SetCardAdd(ctx context.Context, in *MsgSetCardAdd, opts ...grpc.CallOption) (*MsgSetCardAddResponse, error) { + out := new(MsgSetCardAddResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetCardAdd", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).CouncilResponseCommit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CouncilResponseCommit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CouncilResponseCommit(ctx, req.(*MsgCouncilResponseCommit)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_CouncilResponseReveal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCouncilResponseReveal) - if err := dec(in); err != nil { +func (c *msgClient) SetCardRemove(ctx context.Context, in *MsgSetCardRemove, opts ...grpc.CallOption) (*MsgSetCardRemoveResponse, error) { + out := new(MsgSetCardRemoveResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetCardRemove", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).CouncilResponseReveal(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CouncilResponseReveal", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CouncilResponseReveal(ctx, req.(*MsgCouncilResponseReveal)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_CouncilRestart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCouncilRestart) - if err := dec(in); err != nil { +func (c *msgClient) SetContributorAdd(ctx context.Context, in *MsgSetContributorAdd, opts ...grpc.CallOption) (*MsgSetContributorAddResponse, error) { + out := new(MsgSetContributorAddResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetContributorAdd", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).CouncilRestart(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CouncilRestart", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CouncilRestart(ctx, req.(*MsgCouncilRestart)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_MatchConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgMatchConfirm) - if err := dec(in); err != nil { +func (c *msgClient) SetContributorRemove(ctx context.Context, in *MsgSetContributorRemove, opts ...grpc.CallOption) (*MsgSetContributorRemoveResponse, error) { + out := new(MsgSetContributorRemoveResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetContributorRemove", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).MatchConfirm(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/MatchConfirm", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).MatchConfirm(ctx, req.(*MsgMatchConfirm)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_ProfileCardSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgProfileCardSet) - if err := dec(in); err != nil { +func (c *msgClient) SetFinalize(ctx context.Context, in *MsgSetFinalize, opts ...grpc.CallOption) (*MsgSetFinalizeResponse, error) { + out := new(MsgSetFinalizeResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetFinalize", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).ProfileCardSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/ProfileCardSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ProfileCardSet(ctx, req.(*MsgProfileCardSet)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_ProfileWebsiteSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgProfileWebsiteSet) - if err := dec(in); err != nil { +func (c *msgClient) SetArtworkAdd(ctx context.Context, in *MsgSetArtworkAdd, opts ...grpc.CallOption) (*MsgSetArtworkAddResponse, error) { + out := new(MsgSetArtworkAddResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetArtworkAdd", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).ProfileWebsiteSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/ProfileWebsiteSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ProfileWebsiteSet(ctx, req.(*MsgProfileWebsiteSet)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_ProfileBioSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgProfileBioSet) - if err := dec(in); err != nil { +func (c *msgClient) SetStoryAdd(ctx context.Context, in *MsgSetStoryAdd, opts ...grpc.CallOption) (*MsgSetStoryAddResponse, error) { + out := new(MsgSetStoryAddResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetStoryAdd", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).ProfileBioSet(ctx, in) + return out, nil +} + +func (c *msgClient) BoosterPackBuy(ctx context.Context, in *MsgBoosterPackBuy, opts ...grpc.CallOption) (*MsgBoosterPackBuyResponse, error) { + out := new(MsgBoosterPackBuyResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/BoosterPackBuy", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/ProfileBioSet", + return out, nil +} + +func (c *msgClient) SellOfferCreate(ctx context.Context, in *MsgSellOfferCreate, opts ...grpc.CallOption) (*MsgSellOfferCreateResponse, error) { + out := new(MsgSellOfferCreateResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SellOfferCreate", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ProfileBioSet(ctx, req.(*MsgProfileBioSet)) + return out, nil +} + +func (c *msgClient) SellOfferBuy(ctx context.Context, in *MsgSellOfferBuy, opts ...grpc.CallOption) (*MsgSellOfferBuyResponse, error) { + out := new(MsgSellOfferBuyResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SellOfferBuy", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_BoosterPackOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgBoosterPackOpen) - if err := dec(in); err != nil { +func (c *msgClient) SellOfferRemove(ctx context.Context, in *MsgSellOfferRemove, opts ...grpc.CallOption) (*MsgSellOfferRemoveResponse, error) { + out := new(MsgSellOfferRemoveResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SellOfferRemove", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).BoosterPackOpen(ctx, in) + return out, nil +} + +func (c *msgClient) CardRaritySet(ctx context.Context, in *MsgCardRaritySet, opts ...grpc.CallOption) (*MsgCardRaritySetResponse, error) { + out := new(MsgCardRaritySetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardRaritySet", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/BoosterPackOpen", + return out, nil +} + +func (c *msgClient) CouncilResponseCommit(ctx context.Context, in *MsgCouncilResponseCommit, opts ...grpc.CallOption) (*MsgCouncilResponseCommitResponse, error) { + out := new(MsgCouncilResponseCommitResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilResponseCommit", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).BoosterPackOpen(ctx, req.(*MsgBoosterPackOpen)) + return out, nil +} + +func (c *msgClient) CouncilResponseReveal(ctx context.Context, in *MsgCouncilResponseReveal, opts ...grpc.CallOption) (*MsgCouncilResponseRevealResponse, error) { + out := new(MsgCouncilResponseRevealResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilResponseReveal", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_BoosterPackTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgBoosterPackTransfer) - if err := dec(in); err != nil { +func (c *msgClient) CouncilRestart(ctx context.Context, in *MsgCouncilRestart, opts ...grpc.CallOption) (*MsgCouncilRestartResponse, error) { + out := new(MsgCouncilRestartResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CouncilRestart", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).BoosterPackTransfer(ctx, in) + return out, nil +} + +func (c *msgClient) MatchConfirm(ctx context.Context, in *MsgMatchConfirm, opts ...grpc.CallOption) (*MsgMatchConfirmResponse, error) { + out := new(MsgMatchConfirmResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchConfirm", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/BoosterPackTransfer", + return out, nil +} + +func (c *msgClient) ProfileCardSet(ctx context.Context, in *MsgProfileCardSet, opts ...grpc.CallOption) (*MsgProfileCardSetResponse, error) { + out := new(MsgProfileCardSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileCardSet", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).BoosterPackTransfer(ctx, req.(*MsgBoosterPackTransfer)) + return out, nil +} + +func (c *msgClient) ProfileWebsiteSet(ctx context.Context, in *MsgProfileWebsiteSet, opts ...grpc.CallOption) (*MsgProfileWebsiteSetResponse, error) { + out := new(MsgProfileWebsiteSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileWebsiteSet", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetStoryWriterSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetStoryWriterSet) - if err := dec(in); err != nil { +func (c *msgClient) ProfileBioSet(ctx context.Context, in *MsgProfileBioSet, opts ...grpc.CallOption) (*MsgProfileBioSetResponse, error) { + out := new(MsgProfileBioSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileBioSet", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetStoryWriterSet(ctx, in) + return out, nil +} + +func (c *msgClient) BoosterPackOpen(ctx context.Context, in *MsgBoosterPackOpen, opts ...grpc.CallOption) (*MsgBoosterPackOpenResponse, error) { + out := new(MsgBoosterPackOpenResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/BoosterPackOpen", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetStoryWriterSet", + return out, nil +} + +func (c *msgClient) BoosterPackTransfer(ctx context.Context, in *MsgBoosterPackTransfer, opts ...grpc.CallOption) (*MsgBoosterPackTransferResponse, error) { + out := new(MsgBoosterPackTransferResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/BoosterPackTransfer", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetStoryWriterSet(ctx, req.(*MsgSetStoryWriterSet)) + return out, nil +} + +func (c *msgClient) SetStoryWriterSet(ctx context.Context, in *MsgSetStoryWriterSet, opts ...grpc.CallOption) (*MsgSetStoryWriterSetResponse, error) { + out := new(MsgSetStoryWriterSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetStoryWriterSet", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SetArtistSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetArtistSet) - if err := dec(in); err != nil { +func (c *msgClient) SetArtistSet(ctx context.Context, in *MsgSetArtistSet, opts ...grpc.CallOption) (*MsgSetArtistSetResponse, error) { + out := new(MsgSetArtistSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetArtistSet", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SetArtistSet(ctx, in) + return out, nil +} + +func (c *msgClient) CardVoteMulti(ctx context.Context, in *MsgCardVoteMulti, opts ...grpc.CallOption) (*MsgCardVoteMultiResponse, error) { + out := new(MsgCardVoteMultiResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/CardVoteMulti", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/SetArtistSet", + return out, nil +} + +func (c *msgClient) MatchOpen(ctx context.Context, in *MsgMatchOpen, opts ...grpc.CallOption) (*MsgMatchOpenResponse, error) { + out := new(MsgMatchOpenResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/MatchOpen", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetArtistSet(ctx, req.(*MsgSetArtistSet)) + return out, nil +} + +func (c *msgClient) SetNameSet(ctx context.Context, in *MsgSetNameSet, opts ...grpc.CallOption) (*MsgSetNameSetResponse, error) { + out := new(MsgSetNameSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/SetNameSet", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_CardVoteMulti_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCardVoteMulti) - if err := dec(in); err != nil { +func (c *msgClient) ProfileAliasSet(ctx context.Context, in *MsgProfileAliasSet, opts ...grpc.CallOption) (*MsgProfileAliasSetResponse, error) { + out := new(MsgProfileAliasSetResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ProfileAliasSet", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).CardVoteMulti(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cardchain.cardchain.Msg/CardVoteMulti", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CardVoteMulti(ctx, req.(*MsgCardVoteMulti)) - } - return interceptor(ctx, in, info, handler) -} - -var Msg_serviceDesc = _Msg_serviceDesc -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cardchain.cardchain.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UpdateParams", - Handler: _Msg_UpdateParams_Handler, - }, - { - MethodName: "UserCreate", - Handler: _Msg_UserCreate_Handler, - }, - { - MethodName: "CardSchemeBuy", - Handler: _Msg_CardSchemeBuy_Handler, - }, - { - MethodName: "CardSaveContent", - Handler: _Msg_CardSaveContent_Handler, - }, - { - MethodName: "CardVote", - Handler: _Msg_CardVote_Handler, - }, - { - MethodName: "CardTransfer", - Handler: _Msg_CardTransfer_Handler, - }, - { - MethodName: "CardDonate", - Handler: _Msg_CardDonate_Handler, - }, - { - MethodName: "CardArtworkAdd", - Handler: _Msg_CardArtworkAdd_Handler, - }, - { - MethodName: "CardArtistChange", - Handler: _Msg_CardArtistChange_Handler, - }, - { - MethodName: "CouncilRegister", - Handler: _Msg_CouncilRegister_Handler, - }, - { - MethodName: "CouncilDeregister", - Handler: _Msg_CouncilDeregister_Handler, - }, - { - MethodName: "MatchReport", - Handler: _Msg_MatchReport_Handler, - }, - { - MethodName: "CouncilCreate", - Handler: _Msg_CouncilCreate_Handler, - }, - { - MethodName: "MatchReporterAppoint", - Handler: _Msg_MatchReporterAppoint_Handler, - }, - { - MethodName: "SetCreate", - Handler: _Msg_SetCreate_Handler, - }, - { - MethodName: "SetCardAdd", - Handler: _Msg_SetCardAdd_Handler, - }, - { - MethodName: "SetCardRemove", - Handler: _Msg_SetCardRemove_Handler, - }, - { - MethodName: "SetContributorAdd", - Handler: _Msg_SetContributorAdd_Handler, - }, - { - MethodName: "SetContributorRemove", - Handler: _Msg_SetContributorRemove_Handler, - }, - { - MethodName: "SetFinalize", - Handler: _Msg_SetFinalize_Handler, - }, - { - MethodName: "SetArtworkAdd", - Handler: _Msg_SetArtworkAdd_Handler, - }, - { - MethodName: "SetStoryAdd", - Handler: _Msg_SetStoryAdd_Handler, - }, - { - MethodName: "BoosterPackBuy", - Handler: _Msg_BoosterPackBuy_Handler, - }, - { - MethodName: "SellOfferCreate", - Handler: _Msg_SellOfferCreate_Handler, - }, - { - MethodName: "SellOfferBuy", - Handler: _Msg_SellOfferBuy_Handler, - }, - { - MethodName: "SellOfferRemove", - Handler: _Msg_SellOfferRemove_Handler, - }, - { - MethodName: "CardRaritySet", - Handler: _Msg_CardRaritySet_Handler, - }, - { - MethodName: "CouncilResponseCommit", - Handler: _Msg_CouncilResponseCommit_Handler, - }, - { - MethodName: "CouncilResponseReveal", - Handler: _Msg_CouncilResponseReveal_Handler, - }, - { - MethodName: "CouncilRestart", - Handler: _Msg_CouncilRestart_Handler, - }, - { - MethodName: "MatchConfirm", - Handler: _Msg_MatchConfirm_Handler, - }, - { - MethodName: "ProfileCardSet", - Handler: _Msg_ProfileCardSet_Handler, - }, - { - MethodName: "ProfileWebsiteSet", - Handler: _Msg_ProfileWebsiteSet_Handler, - }, - { - MethodName: "ProfileBioSet", - Handler: _Msg_ProfileBioSet_Handler, - }, - { - MethodName: "BoosterPackOpen", - Handler: _Msg_BoosterPackOpen_Handler, - }, - { - MethodName: "BoosterPackTransfer", - Handler: _Msg_BoosterPackTransfer_Handler, - }, - { - MethodName: "SetStoryWriterSet", - Handler: _Msg_SetStoryWriterSet_Handler, - }, - { - MethodName: "SetArtistSet", - Handler: _Msg_SetArtistSet_Handler, - }, - { - MethodName: "CardVoteMulti", - Handler: _Msg_CardVoteMulti_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "cardchain/cardchain/tx.proto", + return out, nil } -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) EarlyAccessInvite(ctx context.Context, in *MsgEarlyAccessInvite, opts ...grpc.CallOption) (*MsgEarlyAccessInviteResponse, error) { + out := new(MsgEarlyAccessInviteResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/EarlyAccessInvite", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return out, nil } -func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa +func (c *msgClient) ZealyConnect(ctx context.Context, in *MsgZealyConnect, opts ...grpc.CallOption) (*MsgZealyConnectResponse, error) { + out := new(MsgZealyConnectResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/ZealyConnect", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) EncounterCreate(ctx context.Context, in *MsgEncounterCreate, opts ...grpc.CallOption) (*MsgEncounterCreateResponse, error) { + out := new(MsgEncounterCreateResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/EncounterCreate", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + return out, nil } -func (m *MsgUserCreate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) EncounterDo(ctx context.Context, in *MsgEncounterDo, opts ...grpc.CallOption) (*MsgEncounterDoResponse, error) { + out := new(MsgEncounterDoResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/EncounterDo", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *MsgUserCreate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) EncounterClose(ctx context.Context, in *MsgEncounterClose, opts ...grpc.CallOption) (*MsgEncounterCloseResponse, error) { + out := new(MsgEncounterCloseResponse) + err := c.cc.Invoke(ctx, "/cardchain.cardchain.Msg/EncounterClose", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *MsgUserCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Alias) > 0 { - i -= len(m.Alias) - copy(dAtA[i:], m.Alias) - i = encodeVarintTx(dAtA, i, uint64(len(m.Alias))) - i-- - dAtA[i] = 0x1a - } - if len(m.NewUser) > 0 { - i -= len(m.NewUser) - copy(dAtA[i:], m.NewUser) - i = encodeVarintTx(dAtA, i, uint64(len(m.NewUser))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +// MsgServer is the server API for Msg service. +type MsgServer interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + UserCreate(context.Context, *MsgUserCreate) (*MsgUserCreateResponse, error) + CardSchemeBuy(context.Context, *MsgCardSchemeBuy) (*MsgCardSchemeBuyResponse, error) + CardSaveContent(context.Context, *MsgCardSaveContent) (*MsgCardSaveContentResponse, error) + CardVote(context.Context, *MsgCardVote) (*MsgCardVoteResponse, error) + CardTransfer(context.Context, *MsgCardTransfer) (*MsgCardTransferResponse, error) + CardDonate(context.Context, *MsgCardDonate) (*MsgCardDonateResponse, error) + CardArtworkAdd(context.Context, *MsgCardArtworkAdd) (*MsgCardArtworkAddResponse, error) + CardArtistChange(context.Context, *MsgCardArtistChange) (*MsgCardArtistChangeResponse, error) + CouncilRegister(context.Context, *MsgCouncilRegister) (*MsgCouncilRegisterResponse, error) + CouncilDeregister(context.Context, *MsgCouncilDeregister) (*MsgCouncilDeregisterResponse, error) + MatchReport(context.Context, *MsgMatchReport) (*MsgMatchReportResponse, error) + CouncilCreate(context.Context, *MsgCouncilCreate) (*MsgCouncilCreateResponse, error) + MatchReporterAppoint(context.Context, *MsgMatchReporterAppoint) (*MsgMatchReporterAppointResponse, error) + SetCreate(context.Context, *MsgSetCreate) (*MsgSetCreateResponse, error) + SetCardAdd(context.Context, *MsgSetCardAdd) (*MsgSetCardAddResponse, error) + SetCardRemove(context.Context, *MsgSetCardRemove) (*MsgSetCardRemoveResponse, error) + SetContributorAdd(context.Context, *MsgSetContributorAdd) (*MsgSetContributorAddResponse, error) + SetContributorRemove(context.Context, *MsgSetContributorRemove) (*MsgSetContributorRemoveResponse, error) + SetFinalize(context.Context, *MsgSetFinalize) (*MsgSetFinalizeResponse, error) + SetArtworkAdd(context.Context, *MsgSetArtworkAdd) (*MsgSetArtworkAddResponse, error) + SetStoryAdd(context.Context, *MsgSetStoryAdd) (*MsgSetStoryAddResponse, error) + BoosterPackBuy(context.Context, *MsgBoosterPackBuy) (*MsgBoosterPackBuyResponse, error) + SellOfferCreate(context.Context, *MsgSellOfferCreate) (*MsgSellOfferCreateResponse, error) + SellOfferBuy(context.Context, *MsgSellOfferBuy) (*MsgSellOfferBuyResponse, error) + SellOfferRemove(context.Context, *MsgSellOfferRemove) (*MsgSellOfferRemoveResponse, error) + CardRaritySet(context.Context, *MsgCardRaritySet) (*MsgCardRaritySetResponse, error) + CouncilResponseCommit(context.Context, *MsgCouncilResponseCommit) (*MsgCouncilResponseCommitResponse, error) + CouncilResponseReveal(context.Context, *MsgCouncilResponseReveal) (*MsgCouncilResponseRevealResponse, error) + CouncilRestart(context.Context, *MsgCouncilRestart) (*MsgCouncilRestartResponse, error) + MatchConfirm(context.Context, *MsgMatchConfirm) (*MsgMatchConfirmResponse, error) + ProfileCardSet(context.Context, *MsgProfileCardSet) (*MsgProfileCardSetResponse, error) + ProfileWebsiteSet(context.Context, *MsgProfileWebsiteSet) (*MsgProfileWebsiteSetResponse, error) + ProfileBioSet(context.Context, *MsgProfileBioSet) (*MsgProfileBioSetResponse, error) + BoosterPackOpen(context.Context, *MsgBoosterPackOpen) (*MsgBoosterPackOpenResponse, error) + BoosterPackTransfer(context.Context, *MsgBoosterPackTransfer) (*MsgBoosterPackTransferResponse, error) + SetStoryWriterSet(context.Context, *MsgSetStoryWriterSet) (*MsgSetStoryWriterSetResponse, error) + SetArtistSet(context.Context, *MsgSetArtistSet) (*MsgSetArtistSetResponse, error) + CardVoteMulti(context.Context, *MsgCardVoteMulti) (*MsgCardVoteMultiResponse, error) + MatchOpen(context.Context, *MsgMatchOpen) (*MsgMatchOpenResponse, error) + SetNameSet(context.Context, *MsgSetNameSet) (*MsgSetNameSetResponse, error) + ProfileAliasSet(context.Context, *MsgProfileAliasSet) (*MsgProfileAliasSetResponse, error) + EarlyAccessInvite(context.Context, *MsgEarlyAccessInvite) (*MsgEarlyAccessInviteResponse, error) + ZealyConnect(context.Context, *MsgZealyConnect) (*MsgZealyConnectResponse, error) + EncounterCreate(context.Context, *MsgEncounterCreate) (*MsgEncounterCreateResponse, error) + EncounterDo(context.Context, *MsgEncounterDo) (*MsgEncounterDoResponse, error) + EncounterClose(context.Context, *MsgEncounterClose) (*MsgEncounterCloseResponse, error) } -func (m *MsgUserCreateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { } -func (m *MsgUserCreateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") } - -func (m *MsgUserCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) UserCreate(ctx context.Context, req *MsgUserCreate) (*MsgUserCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCreate not implemented") } - -func (m *MsgCardSchemeBuy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) CardSchemeBuy(ctx context.Context, req *MsgCardSchemeBuy) (*MsgCardSchemeBuyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardSchemeBuy not implemented") } - -func (m *MsgCardSchemeBuy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) CardSaveContent(ctx context.Context, req *MsgCardSaveContent) (*MsgCardSaveContentResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardSaveContent not implemented") } - -func (m *MsgCardSchemeBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Bid.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) CardVote(ctx context.Context, req *MsgCardVote) (*MsgCardVoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardVote not implemented") } - -func (m *MsgCardSchemeBuyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) CardTransfer(ctx context.Context, req *MsgCardTransfer) (*MsgCardTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardTransfer not implemented") } - -func (m *MsgCardSchemeBuyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) CardDonate(ctx context.Context, req *MsgCardDonate) (*MsgCardDonateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardDonate not implemented") } - -func (m *MsgCardSchemeBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) CardArtworkAdd(ctx context.Context, req *MsgCardArtworkAdd) (*MsgCardArtworkAddResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardArtworkAdd not implemented") } - -func (m *MsgCardSaveContent) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) CardArtistChange(ctx context.Context, req *MsgCardArtistChange) (*MsgCardArtistChangeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardArtistChange not implemented") } - -func (m *MsgCardSaveContent) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) CouncilRegister(ctx context.Context, req *MsgCouncilRegister) (*MsgCouncilRegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CouncilRegister not implemented") } - -func (m *MsgCardSaveContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.BalanceAnchor { - i-- - if m.BalanceAnchor { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if len(m.Artist) > 0 { - i -= len(m.Artist) - copy(dAtA[i:], m.Artist) - i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) - i-- - dAtA[i] = 0x2a - } - if len(m.Notes) > 0 { - i -= len(m.Notes) - copy(dAtA[i:], m.Notes) - i = encodeVarintTx(dAtA, i, uint64(len(m.Notes))) - i-- - dAtA[i] = 0x22 - } - if len(m.Content) > 0 { - i -= len(m.Content) - copy(dAtA[i:], m.Content) - i = encodeVarintTx(dAtA, i, uint64(len(m.Content))) - i-- - dAtA[i] = 0x1a - } - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x10 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) CouncilDeregister(ctx context.Context, req *MsgCouncilDeregister) (*MsgCouncilDeregisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CouncilDeregister not implemented") } - -func (m *MsgCardSaveContentResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) MatchReport(ctx context.Context, req *MsgMatchReport) (*MsgMatchReportResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MatchReport not implemented") } - -func (m *MsgCardSaveContentResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) CouncilCreate(ctx context.Context, req *MsgCouncilCreate) (*MsgCouncilCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CouncilCreate not implemented") } - -func (m *MsgCardSaveContentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AirdropClaimed { - i-- - if m.AirdropClaimed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) MatchReporterAppoint(ctx context.Context, req *MsgMatchReporterAppoint) (*MsgMatchReporterAppointResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MatchReporterAppoint not implemented") } - -func (m *MsgCardVote) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) SetCreate(ctx context.Context, req *MsgSetCreate) (*MsgSetCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetCreate not implemented") +} +func (*UnimplementedMsgServer) SetCardAdd(ctx context.Context, req *MsgSetCardAdd) (*MsgSetCardAddResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetCardAdd not implemented") +} +func (*UnimplementedMsgServer) SetCardRemove(ctx context.Context, req *MsgSetCardRemove) (*MsgSetCardRemoveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetCardRemove not implemented") +} +func (*UnimplementedMsgServer) SetContributorAdd(ctx context.Context, req *MsgSetContributorAdd) (*MsgSetContributorAddResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetContributorAdd not implemented") +} +func (*UnimplementedMsgServer) SetContributorRemove(ctx context.Context, req *MsgSetContributorRemove) (*MsgSetContributorRemoveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetContributorRemove not implemented") +} +func (*UnimplementedMsgServer) SetFinalize(ctx context.Context, req *MsgSetFinalize) (*MsgSetFinalizeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetFinalize not implemented") +} +func (*UnimplementedMsgServer) SetArtworkAdd(ctx context.Context, req *MsgSetArtworkAdd) (*MsgSetArtworkAddResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetArtworkAdd not implemented") +} +func (*UnimplementedMsgServer) SetStoryAdd(ctx context.Context, req *MsgSetStoryAdd) (*MsgSetStoryAddResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetStoryAdd not implemented") +} +func (*UnimplementedMsgServer) BoosterPackBuy(ctx context.Context, req *MsgBoosterPackBuy) (*MsgBoosterPackBuyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BoosterPackBuy not implemented") +} +func (*UnimplementedMsgServer) SellOfferCreate(ctx context.Context, req *MsgSellOfferCreate) (*MsgSellOfferCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SellOfferCreate not implemented") +} +func (*UnimplementedMsgServer) SellOfferBuy(ctx context.Context, req *MsgSellOfferBuy) (*MsgSellOfferBuyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SellOfferBuy not implemented") +} +func (*UnimplementedMsgServer) SellOfferRemove(ctx context.Context, req *MsgSellOfferRemove) (*MsgSellOfferRemoveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SellOfferRemove not implemented") +} +func (*UnimplementedMsgServer) CardRaritySet(ctx context.Context, req *MsgCardRaritySet) (*MsgCardRaritySetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardRaritySet not implemented") +} +func (*UnimplementedMsgServer) CouncilResponseCommit(ctx context.Context, req *MsgCouncilResponseCommit) (*MsgCouncilResponseCommitResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CouncilResponseCommit not implemented") +} +func (*UnimplementedMsgServer) CouncilResponseReveal(ctx context.Context, req *MsgCouncilResponseReveal) (*MsgCouncilResponseRevealResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CouncilResponseReveal not implemented") +} +func (*UnimplementedMsgServer) CouncilRestart(ctx context.Context, req *MsgCouncilRestart) (*MsgCouncilRestartResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CouncilRestart not implemented") +} +func (*UnimplementedMsgServer) MatchConfirm(ctx context.Context, req *MsgMatchConfirm) (*MsgMatchConfirmResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MatchConfirm not implemented") +} +func (*UnimplementedMsgServer) ProfileCardSet(ctx context.Context, req *MsgProfileCardSet) (*MsgProfileCardSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProfileCardSet not implemented") +} +func (*UnimplementedMsgServer) ProfileWebsiteSet(ctx context.Context, req *MsgProfileWebsiteSet) (*MsgProfileWebsiteSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProfileWebsiteSet not implemented") +} +func (*UnimplementedMsgServer) ProfileBioSet(ctx context.Context, req *MsgProfileBioSet) (*MsgProfileBioSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProfileBioSet not implemented") +} +func (*UnimplementedMsgServer) BoosterPackOpen(ctx context.Context, req *MsgBoosterPackOpen) (*MsgBoosterPackOpenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BoosterPackOpen not implemented") +} +func (*UnimplementedMsgServer) BoosterPackTransfer(ctx context.Context, req *MsgBoosterPackTransfer) (*MsgBoosterPackTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BoosterPackTransfer not implemented") +} +func (*UnimplementedMsgServer) SetStoryWriterSet(ctx context.Context, req *MsgSetStoryWriterSet) (*MsgSetStoryWriterSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetStoryWriterSet not implemented") +} +func (*UnimplementedMsgServer) SetArtistSet(ctx context.Context, req *MsgSetArtistSet) (*MsgSetArtistSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetArtistSet not implemented") +} +func (*UnimplementedMsgServer) CardVoteMulti(ctx context.Context, req *MsgCardVoteMulti) (*MsgCardVoteMultiResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CardVoteMulti not implemented") +} +func (*UnimplementedMsgServer) MatchOpen(ctx context.Context, req *MsgMatchOpen) (*MsgMatchOpenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MatchOpen not implemented") +} +func (*UnimplementedMsgServer) SetNameSet(ctx context.Context, req *MsgSetNameSet) (*MsgSetNameSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetNameSet not implemented") +} +func (*UnimplementedMsgServer) ProfileAliasSet(ctx context.Context, req *MsgProfileAliasSet) (*MsgProfileAliasSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProfileAliasSet not implemented") +} +func (*UnimplementedMsgServer) EarlyAccessInvite(ctx context.Context, req *MsgEarlyAccessInvite) (*MsgEarlyAccessInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EarlyAccessInvite not implemented") +} +func (*UnimplementedMsgServer) ZealyConnect(ctx context.Context, req *MsgZealyConnect) (*MsgZealyConnectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ZealyConnect not implemented") +} +func (*UnimplementedMsgServer) EncounterCreate(ctx context.Context, req *MsgEncounterCreate) (*MsgEncounterCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EncounterCreate not implemented") +} +func (*UnimplementedMsgServer) EncounterDo(ctx context.Context, req *MsgEncounterDo) (*MsgEncounterDoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EncounterDo not implemented") +} +func (*UnimplementedMsgServer) EncounterClose(ctx context.Context, req *MsgEncounterClose) (*MsgEncounterCloseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EncounterClose not implemented") } -func (m *MsgCardVote) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) } -func (m *MsgCardVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Vote != nil { - { - size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardVoteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_UserCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUserCreate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCardVoteResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCardVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AirdropClaimed { - i-- - if m.AirdropClaimed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 + if interceptor == nil { + return srv.(MsgServer).UserCreate(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/UserCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UserCreate(ctx, req.(*MsgUserCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardTransfer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CardSchemeBuy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardSchemeBuy) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCardTransfer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCardTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Receiver) > 0 { - i -= len(m.Receiver) - copy(dAtA[i:], m.Receiver) - i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).CardSchemeBuy(ctx, in) } - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x10 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardSchemeBuy", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardSchemeBuy(ctx, req.(*MsgCardSchemeBuy)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgCardTransferResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CardSaveContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardSaveContent) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCardTransferResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).CardSaveContent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardSaveContent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardSaveContent(ctx, req.(*MsgCardSaveContent)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_CardVote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardVote) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CardVote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardVote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardVote(ctx, req.(*MsgCardVote)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardDonate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CardTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardTransfer) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).CardTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardTransfer(ctx, req.(*MsgCardTransfer)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardDonate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_CardDonate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardDonate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CardDonate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardDonate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardDonate(ctx, req.(*MsgCardDonate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardDonate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) +func _Msg_CardArtworkAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardArtworkAdd) + if err := dec(in); err != nil { + return nil, err } - i-- - dAtA[i] = 0x1a - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x10 + if interceptor == nil { + return srv.(MsgServer).CardArtworkAdd(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardArtworkAdd", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardArtworkAdd(ctx, req.(*MsgCardArtworkAdd)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardDonateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CardArtistChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardArtistChange) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).CardArtistChange(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardArtistChange", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardArtistChange(ctx, req.(*MsgCardArtistChange)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardDonateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_CouncilRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCouncilRegister) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CouncilRegister(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CouncilRegister", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CouncilRegister(ctx, req.(*MsgCouncilRegister)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardDonateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_CouncilDeregister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCouncilDeregister) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CouncilDeregister(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CouncilDeregister", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CouncilDeregister(ctx, req.(*MsgCouncilDeregister)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtworkAdd) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_MatchReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMatchReport) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).MatchReport(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/MatchReport", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MatchReport(ctx, req.(*MsgMatchReport)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtworkAdd) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_CouncilCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCouncilCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CouncilCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CouncilCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CouncilCreate(ctx, req.(*MsgCouncilCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtworkAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.FullArt { - i-- - if m.FullArt { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 +func _Msg_MatchReporterAppoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMatchReporterAppoint) + if err := dec(in); err != nil { + return nil, err } - if len(m.Image) > 0 { - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).MatchReporterAppoint(ctx, in) } - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x10 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/MatchReporterAppoint", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MatchReporterAppoint(ctx, req.(*MsgMatchReporterAppoint)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtworkAddResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SetCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetCreate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).SetCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetCreate(ctx, req.(*MsgSetCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtworkAddResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCardArtworkAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgCardArtistChange) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SetCardAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetCardAdd) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCardArtistChange) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCardArtistChange) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Artist) > 0 { - i -= len(m.Artist) - copy(dAtA[i:], m.Artist) - i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).SetCardAdd(ctx, in) } - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x10 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetCardAdd", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetCardAdd(ctx, req.(*MsgSetCardAdd)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtistChangeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SetCardRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetCardRemove) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCardArtistChangeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).SetCardRemove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetCardRemove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetCardRemove(ctx, req.(*MsgSetCardRemove)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCardArtistChangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_SetContributorAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetContributorAdd) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetContributorAdd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetContributorAdd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetContributorAdd(ctx, req.(*MsgSetContributorAdd)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilRegister) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SetContributorRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetContributorRemove) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).SetContributorRemove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetContributorRemove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetContributorRemove(ctx, req.(*MsgSetContributorRemove)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilRegister) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_SetFinalize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetFinalize) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetFinalize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetFinalize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetFinalize(ctx, req.(*MsgSetFinalize)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilRegister) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa +func _Msg_SetArtworkAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetArtworkAdd) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).SetArtworkAdd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetArtworkAdd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetArtworkAdd(ctx, req.(*MsgSetArtworkAdd)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilRegisterResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SetStoryAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetStoryAdd) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).SetStoryAdd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetStoryAdd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetStoryAdd(ctx, req.(*MsgSetStoryAdd)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilRegisterResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_BoosterPackBuy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBoosterPackBuy) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).BoosterPackBuy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/BoosterPackBuy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).BoosterPackBuy(ctx, req.(*MsgBoosterPackBuy)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_SellOfferCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSellOfferCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SellOfferCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SellOfferCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SellOfferCreate(ctx, req.(*MsgSellOfferCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilDeregister) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SellOfferBuy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSellOfferBuy) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).SellOfferBuy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SellOfferBuy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SellOfferBuy(ctx, req.(*MsgSellOfferBuy)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilDeregister) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCouncilDeregister) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa +func _Msg_SellOfferRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSellOfferRemove) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).SellOfferRemove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SellOfferRemove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SellOfferRemove(ctx, req.(*MsgSellOfferRemove)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilDeregisterResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CardRaritySet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardRaritySet) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCouncilDeregisterResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCouncilDeregisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).CardRaritySet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardRaritySet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardRaritySet(ctx, req.(*MsgCardRaritySet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReport) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CouncilResponseCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCouncilResponseCommit) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgMatchReport) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).CouncilResponseCommit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CouncilResponseCommit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CouncilResponseCommit(ctx, req.(*MsgCouncilResponseCommit)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Outcome != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Outcome)) - i-- - dAtA[i] = 0x28 - } - if len(m.PlayedCardsB) > 0 { - dAtA6 := make([]byte, len(m.PlayedCardsB)*10) - var j5 int - for _, num := range m.PlayedCardsB { - for num >= 1<<7 { - dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j5++ - } - dAtA6[j5] = uint8(num) - j5++ - } - i -= j5 - copy(dAtA[i:], dAtA6[:j5]) - i = encodeVarintTx(dAtA, i, uint64(j5)) - i-- - dAtA[i] = 0x22 +func _Msg_CouncilResponseReveal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCouncilResponseReveal) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayedCardsA) > 0 { - dAtA8 := make([]byte, len(m.PlayedCardsA)*10) - var j7 int - for _, num := range m.PlayedCardsA { - for num >= 1<<7 { - dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j7++ - } - dAtA8[j7] = uint8(num) - j7++ - } - i -= j7 - copy(dAtA[i:], dAtA8[:j7]) - i = encodeVarintTx(dAtA, i, uint64(j7)) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).CouncilResponseReveal(ctx, in) } - if m.MatchId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.MatchId)) - i-- - dAtA[i] = 0x10 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CouncilResponseReveal", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CouncilResponseReveal(ctx, req.(*MsgCouncilResponseReveal)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReportResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CouncilRestart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCouncilRestart) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgMatchReportResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgMatchReportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).CouncilRestart(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CouncilRestart", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CouncilRestart(ctx, req.(*MsgCouncilRestart)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilCreate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_MatchConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMatchConfirm) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCouncilCreate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCouncilCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x10 + if interceptor == nil { + return srv.(MsgServer).MatchConfirm(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/MatchConfirm", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MatchConfirm(ctx, req.(*MsgMatchConfirm)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilCreateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_ProfileCardSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProfileCardSet) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCouncilCreateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).ProfileCardSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/ProfileCardSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProfileCardSet(ctx, req.(*MsgProfileCardSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCouncilCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_ProfileWebsiteSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProfileWebsiteSet) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProfileWebsiteSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/ProfileWebsiteSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProfileWebsiteSet(ctx, req.(*MsgProfileWebsiteSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReporterAppoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_ProfileBioSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProfileBioSet) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).ProfileBioSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/ProfileBioSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProfileBioSet(ctx, req.(*MsgProfileBioSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReporterAppoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_BoosterPackOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBoosterPackOpen) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).BoosterPackOpen(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/BoosterPackOpen", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).BoosterPackOpen(ctx, req.(*MsgBoosterPackOpen)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReporterAppoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Reporter) > 0 { - i -= len(m.Reporter) - copy(dAtA[i:], m.Reporter) - i = encodeVarintTx(dAtA, i, uint64(len(m.Reporter))) - i-- - dAtA[i] = 0x12 +func _Msg_BoosterPackTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBoosterPackTransfer) + if err := dec(in); err != nil { + return nil, err } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(MsgServer).BoosterPackTransfer(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/BoosterPackTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).BoosterPackTransfer(ctx, req.(*MsgBoosterPackTransfer)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReporterAppointResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SetStoryWriterSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetStoryWriterSet) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).SetStoryWriterSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetStoryWriterSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetStoryWriterSet(ctx, req.(*MsgSetStoryWriterSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReporterAppointResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_SetArtistSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetArtistSet) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetArtistSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetArtistSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetArtistSet(ctx, req.(*MsgSetArtistSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgMatchReporterAppointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_CardVoteMulti_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCardVoteMulti) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CardVoteMulti(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/CardVoteMulti", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CardVoteMulti(ctx, req.(*MsgCardVoteMulti)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCreate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_MatchOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMatchOpen) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).MatchOpen(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/MatchOpen", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MatchOpen(ctx, req.(*MsgMatchOpen)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCreate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_SetNameSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetNameSet) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetNameSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/SetNameSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetNameSet(ctx, req.(*MsgSetNameSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Contributors) > 0 { - for iNdEx := len(m.Contributors) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Contributors[iNdEx]) - copy(dAtA[i:], m.Contributors[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.Contributors[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.StoryWriter) > 0 { - i -= len(m.StoryWriter) - copy(dAtA[i:], m.StoryWriter) - i = encodeVarintTx(dAtA, i, uint64(len(m.StoryWriter))) - i-- - dAtA[i] = 0x22 +func _Msg_ProfileAliasSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProfileAliasSet) + if err := dec(in); err != nil { + return nil, err } - if len(m.Artist) > 0 { - i -= len(m.Artist) - copy(dAtA[i:], m.Artist) - i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).ProfileAliasSet(ctx, in) } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/ProfileAliasSet", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProfileAliasSet(ctx, req.(*MsgProfileAliasSet)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCreateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_EarlyAccessInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEarlyAccessInvite) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).EarlyAccessInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/EarlyAccessInvite", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EarlyAccessInvite(ctx, req.(*MsgEarlyAccessInvite)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCreateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_ZealyConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgZealyConnect) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ZealyConnect(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/ZealyConnect", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ZealyConnect(ctx, req.(*MsgZealyConnect)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgSetCardAdd) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_EncounterCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEncounterCreate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).EncounterCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/EncounterCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EncounterCreate(ctx, req.(*MsgEncounterCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCardAdd) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_EncounterDo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEncounterDo) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EncounterDo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/EncounterDo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EncounterDo(ctx, req.(*MsgEncounterDo)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCardAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) - i-- - dAtA[i] = 0x18 +func _Msg_EncounterClose_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEncounterClose) + if err := dec(in); err != nil { + return nil, err } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) - i-- - dAtA[i] = 0x10 + if interceptor == nil { + return srv.(MsgServer).EncounterClose(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cardchain.cardchain.Msg/EncounterClose", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EncounterClose(ctx, req.(*MsgEncounterClose)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgSetCardAddResponse) Marshal() (dAtA []byte, err error) { +var Msg_serviceDesc = _Msg_serviceDesc +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "cardchain.cardchain.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + { + MethodName: "UserCreate", + Handler: _Msg_UserCreate_Handler, + }, + { + MethodName: "CardSchemeBuy", + Handler: _Msg_CardSchemeBuy_Handler, + }, + { + MethodName: "CardSaveContent", + Handler: _Msg_CardSaveContent_Handler, + }, + { + MethodName: "CardVote", + Handler: _Msg_CardVote_Handler, + }, + { + MethodName: "CardTransfer", + Handler: _Msg_CardTransfer_Handler, + }, + { + MethodName: "CardDonate", + Handler: _Msg_CardDonate_Handler, + }, + { + MethodName: "CardArtworkAdd", + Handler: _Msg_CardArtworkAdd_Handler, + }, + { + MethodName: "CardArtistChange", + Handler: _Msg_CardArtistChange_Handler, + }, + { + MethodName: "CouncilRegister", + Handler: _Msg_CouncilRegister_Handler, + }, + { + MethodName: "CouncilDeregister", + Handler: _Msg_CouncilDeregister_Handler, + }, + { + MethodName: "MatchReport", + Handler: _Msg_MatchReport_Handler, + }, + { + MethodName: "CouncilCreate", + Handler: _Msg_CouncilCreate_Handler, + }, + { + MethodName: "MatchReporterAppoint", + Handler: _Msg_MatchReporterAppoint_Handler, + }, + { + MethodName: "SetCreate", + Handler: _Msg_SetCreate_Handler, + }, + { + MethodName: "SetCardAdd", + Handler: _Msg_SetCardAdd_Handler, + }, + { + MethodName: "SetCardRemove", + Handler: _Msg_SetCardRemove_Handler, + }, + { + MethodName: "SetContributorAdd", + Handler: _Msg_SetContributorAdd_Handler, + }, + { + MethodName: "SetContributorRemove", + Handler: _Msg_SetContributorRemove_Handler, + }, + { + MethodName: "SetFinalize", + Handler: _Msg_SetFinalize_Handler, + }, + { + MethodName: "SetArtworkAdd", + Handler: _Msg_SetArtworkAdd_Handler, + }, + { + MethodName: "SetStoryAdd", + Handler: _Msg_SetStoryAdd_Handler, + }, + { + MethodName: "BoosterPackBuy", + Handler: _Msg_BoosterPackBuy_Handler, + }, + { + MethodName: "SellOfferCreate", + Handler: _Msg_SellOfferCreate_Handler, + }, + { + MethodName: "SellOfferBuy", + Handler: _Msg_SellOfferBuy_Handler, + }, + { + MethodName: "SellOfferRemove", + Handler: _Msg_SellOfferRemove_Handler, + }, + { + MethodName: "CardRaritySet", + Handler: _Msg_CardRaritySet_Handler, + }, + { + MethodName: "CouncilResponseCommit", + Handler: _Msg_CouncilResponseCommit_Handler, + }, + { + MethodName: "CouncilResponseReveal", + Handler: _Msg_CouncilResponseReveal_Handler, + }, + { + MethodName: "CouncilRestart", + Handler: _Msg_CouncilRestart_Handler, + }, + { + MethodName: "MatchConfirm", + Handler: _Msg_MatchConfirm_Handler, + }, + { + MethodName: "ProfileCardSet", + Handler: _Msg_ProfileCardSet_Handler, + }, + { + MethodName: "ProfileWebsiteSet", + Handler: _Msg_ProfileWebsiteSet_Handler, + }, + { + MethodName: "ProfileBioSet", + Handler: _Msg_ProfileBioSet_Handler, + }, + { + MethodName: "BoosterPackOpen", + Handler: _Msg_BoosterPackOpen_Handler, + }, + { + MethodName: "BoosterPackTransfer", + Handler: _Msg_BoosterPackTransfer_Handler, + }, + { + MethodName: "SetStoryWriterSet", + Handler: _Msg_SetStoryWriterSet_Handler, + }, + { + MethodName: "SetArtistSet", + Handler: _Msg_SetArtistSet_Handler, + }, + { + MethodName: "CardVoteMulti", + Handler: _Msg_CardVoteMulti_Handler, + }, + { + MethodName: "MatchOpen", + Handler: _Msg_MatchOpen_Handler, + }, + { + MethodName: "SetNameSet", + Handler: _Msg_SetNameSet_Handler, + }, + { + MethodName: "ProfileAliasSet", + Handler: _Msg_ProfileAliasSet_Handler, + }, + { + MethodName: "EarlyAccessInvite", + Handler: _Msg_EarlyAccessInvite_Handler, + }, + { + MethodName: "ZealyConnect", + Handler: _Msg_ZealyConnect_Handler, + }, + { + MethodName: "EncounterCreate", + Handler: _Msg_EncounterCreate_Handler, + }, + { + MethodName: "EncounterDo", + Handler: _Msg_EncounterDo_Handler, + }, + { + MethodName: "EncounterClose", + Handler: _Msg_EncounterClose_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cardchain/cardchain/tx.proto", +} + +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6560,20 +6593,37 @@ func (m *MsgSetCardAddResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetCardAddResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetCardAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - return len(dAtA) - i, nil -} - -func (m *MsgSetCardRemove) Marshal() (dAtA []byte, err error) { + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6583,25 +6633,52 @@ func (m *MsgSetCardRemove) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetCardRemove) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetCardRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + return len(dAtA) - i, nil +} + +func (m *MsgUserCreate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUserCreate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUserCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Alias) > 0 { + i -= len(m.Alias) + copy(dAtA[i:], m.Alias) + i = encodeVarintTx(dAtA, i, uint64(len(m.Alias))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + if len(m.NewUser) > 0 { + i -= len(m.NewUser) + copy(dAtA[i:], m.NewUser) + i = encodeVarintTx(dAtA, i, uint64(len(m.NewUser))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) @@ -6613,7 +6690,7 @@ func (m *MsgSetCardRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetCardRemoveResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgUserCreateResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6623,12 +6700,12 @@ func (m *MsgSetCardRemoveResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetCardRemoveResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUserCreateResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetCardRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUserCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6636,7 +6713,7 @@ func (m *MsgSetCardRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgSetContributorAdd) Marshal() (dAtA []byte, err error) { +func (m *MsgCardSchemeBuy) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6646,28 +6723,26 @@ func (m *MsgSetContributorAdd) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetContributorAdd) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardSchemeBuy) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetContributorAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardSchemeBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.User) > 0 { - i -= len(m.User) - copy(dAtA[i:], m.User) - i = encodeVarintTx(dAtA, i, uint64(len(m.User))) - i-- - dAtA[i] = 0x1a - } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) - i-- - dAtA[i] = 0x10 + { + size, err := m.Bid.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) @@ -6678,7 +6753,7 @@ func (m *MsgSetContributorAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetContributorAddResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardSchemeBuyResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6688,20 +6763,25 @@ func (m *MsgSetContributorAddResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetContributorAddResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardSchemeBuyResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetContributorAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardSchemeBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *MsgSetContributorRemove) Marshal() (dAtA []byte, err error) { +func (m *MsgCardSaveContent) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6711,25 +6791,49 @@ func (m *MsgSetContributorRemove) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetContributorRemove) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardSaveContent) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetContributorRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardSaveContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.User) > 0 { - i -= len(m.User) - copy(dAtA[i:], m.User) - i = encodeVarintTx(dAtA, i, uint64(len(m.User))) + if m.BalanceAnchor { + i-- + if m.BalanceAnchor { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.Artist) > 0 { + i -= len(m.Artist) + copy(dAtA[i:], m.Artist) + i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) + i-- + dAtA[i] = 0x2a + } + if len(m.Notes) > 0 { + i -= len(m.Notes) + copy(dAtA[i:], m.Notes) + i = encodeVarintTx(dAtA, i, uint64(len(m.Notes))) + i-- + dAtA[i] = 0x22 + } + if len(m.Content) > 0 { + i -= len(m.Content) + copy(dAtA[i:], m.Content) + i = encodeVarintTx(dAtA, i, uint64(len(m.Content))) i-- dAtA[i] = 0x1a } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- dAtA[i] = 0x10 } @@ -6743,7 +6847,7 @@ func (m *MsgSetContributorRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgSetContributorRemoveResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardSaveContentResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6753,20 +6857,30 @@ func (m *MsgSetContributorRemoveResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetContributorRemoveResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardSaveContentResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetContributorRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardSaveContentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.AirdropClaimed { + i-- + if m.AirdropClaimed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *MsgSetFinalize) Marshal() (dAtA []byte, err error) { +func (m *MsgCardVote) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6776,20 +6890,27 @@ func (m *MsgSetFinalize) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetFinalize) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardVote) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetFinalize) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + if m.Vote != nil { + { + size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) @@ -6801,7 +6922,7 @@ func (m *MsgSetFinalize) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetFinalizeResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardVoteResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6811,20 +6932,30 @@ func (m *MsgSetFinalizeResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetFinalizeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardVoteResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetFinalizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.AirdropClaimed { + i-- + if m.AirdropClaimed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *MsgSetArtworkAdd) Marshal() (dAtA []byte, err error) { +func (m *MsgCardTransfer) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6834,25 +6965,25 @@ func (m *MsgSetArtworkAdd) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetArtworkAdd) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardTransfer) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetArtworkAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Image) > 0 { - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) + if len(m.Receiver) > 0 { + i -= len(m.Receiver) + copy(dAtA[i:], m.Receiver) + i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) i-- dAtA[i] = 0x1a } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- dAtA[i] = 0x10 } @@ -6866,7 +6997,7 @@ func (m *MsgSetArtworkAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetArtworkAddResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardTransferResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6876,12 +7007,12 @@ func (m *MsgSetArtworkAddResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetArtworkAddResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardTransferResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetArtworkAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6889,7 +7020,7 @@ func (m *MsgSetArtworkAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgSetStoryAdd) Marshal() (dAtA []byte, err error) { +func (m *MsgCardDonate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6899,25 +7030,28 @@ func (m *MsgSetStoryAdd) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetStoryAdd) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardDonate) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetStoryAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardDonate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Story) > 0 { - i -= len(m.Story) - copy(dAtA[i:], m.Story) - i = encodeVarintTx(dAtA, i, uint64(len(m.Story))) - i-- - dAtA[i] = 0x1a + { + size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x1a + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- dAtA[i] = 0x10 } @@ -6931,7 +7065,7 @@ func (m *MsgSetStoryAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetStoryAddResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardDonateResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6941,12 +7075,12 @@ func (m *MsgSetStoryAddResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetStoryAddResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardDonateResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetStoryAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardDonateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6954,7 +7088,7 @@ func (m *MsgSetStoryAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgBoosterPackBuy) Marshal() (dAtA []byte, err error) { +func (m *MsgCardArtworkAdd) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6964,18 +7098,35 @@ func (m *MsgBoosterPackBuy) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBoosterPackBuy) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardArtworkAdd) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgBoosterPackBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardArtworkAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + if m.FullArt { + i-- + if m.FullArt { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) + i-- + dAtA[i] = 0x1a + } + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- dAtA[i] = 0x10 } @@ -6989,7 +7140,7 @@ func (m *MsgBoosterPackBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgBoosterPackBuyResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardArtworkAddResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6999,30 +7150,20 @@ func (m *MsgBoosterPackBuyResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBoosterPackBuyResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardArtworkAddResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgBoosterPackBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardArtworkAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.AirdropClaimed { - i-- - if m.AirdropClaimed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *MsgSellOfferCreate) Marshal() (dAtA []byte, err error) { +func (m *MsgCardArtistChange) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7032,26 +7173,23 @@ func (m *MsgSellOfferCreate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSellOfferCreate) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardArtistChange) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardArtistChange) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - { - size, err := m.Price.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) + if len(m.Artist) > 0 { + i -= len(m.Artist) + copy(dAtA[i:], m.Artist) + i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) + i-- + dAtA[i] = 0x1a } - i-- - dAtA[i] = 0x1a if m.CardId != 0 { i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- @@ -7067,7 +7205,7 @@ func (m *MsgSellOfferCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSellOfferCreateResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCardArtistChangeResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7077,12 +7215,12 @@ func (m *MsgSellOfferCreateResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSellOfferCreateResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCardArtistChangeResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCardArtistChangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7090,7 +7228,7 @@ func (m *MsgSellOfferCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *MsgSellOfferBuy) Marshal() (dAtA []byte, err error) { +func (m *MsgCouncilRegister) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7100,21 +7238,16 @@ func (m *MsgSellOfferBuy) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSellOfferBuy) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCouncilRegister) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCouncilRegister) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SellOfferId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SellOfferId)) - i-- - dAtA[i] = 0x10 - } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) @@ -7125,7 +7258,7 @@ func (m *MsgSellOfferBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSellOfferBuyResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCouncilRegisterResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7135,12 +7268,12 @@ func (m *MsgSellOfferBuyResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSellOfferBuyResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCouncilRegisterResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCouncilRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7148,7 +7281,7 @@ func (m *MsgSellOfferBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgSellOfferRemove) Marshal() (dAtA []byte, err error) { +func (m *MsgCouncilDeregister) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7158,21 +7291,16 @@ func (m *MsgSellOfferRemove) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSellOfferRemove) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCouncilDeregister) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCouncilDeregister) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SellOfferId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SellOfferId)) - i-- - dAtA[i] = 0x10 - } if len(m.Creator) > 0 { i -= len(m.Creator) copy(dAtA[i:], m.Creator) @@ -7183,7 +7311,7 @@ func (m *MsgSellOfferRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSellOfferRemoveResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCouncilDeregisterResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7193,12 +7321,12 @@ func (m *MsgSellOfferRemoveResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSellOfferRemoveResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCouncilDeregisterResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCouncilDeregisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7206,7 +7334,7 @@ func (m *MsgSellOfferRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *MsgCardRaritySet) Marshal() (dAtA []byte, err error) { +func (m *MsgMatchReport) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7216,28 +7344,59 @@ func (m *MsgCardRaritySet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCardRaritySet) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgMatchReport) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCardRaritySet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgMatchReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Rarity != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Rarity)) + if m.Outcome != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Outcome)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x28 } - if m.SetId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + if len(m.PlayedCardsB) > 0 { + dAtA6 := make([]byte, len(m.PlayedCardsB)*10) + var j5 int + for _, num := range m.PlayedCardsB { + for num >= 1<<7 { + dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j5++ + } + dAtA6[j5] = uint8(num) + j5++ + } + i -= j5 + copy(dAtA[i:], dAtA6[:j5]) + i = encodeVarintTx(dAtA, i, uint64(j5)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x22 } - if m.CardId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + if len(m.PlayedCardsA) > 0 { + dAtA8 := make([]byte, len(m.PlayedCardsA)*10) + var j7 int + for _, num := range m.PlayedCardsA { + for num >= 1<<7 { + dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j7++ + } + dAtA8[j7] = uint8(num) + j7++ + } + i -= j7 + copy(dAtA[i:], dAtA8[:j7]) + i = encodeVarintTx(dAtA, i, uint64(j7)) + i-- + dAtA[i] = 0x1a + } + if m.MatchId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MatchId)) i-- dAtA[i] = 0x10 } @@ -7251,7 +7410,7 @@ func (m *MsgCardRaritySet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgCardRaritySetResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgMatchReportResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7261,12 +7420,12 @@ func (m *MsgCardRaritySetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCardRaritySetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgMatchReportResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCardRaritySetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgMatchReportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7274,7 +7433,7 @@ func (m *MsgCardRaritySetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgCouncilResponseCommit) Marshal() (dAtA []byte, err error) { +func (m *MsgCouncilCreate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7284,32 +7443,18 @@ func (m *MsgCouncilResponseCommit) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCouncilResponseCommit) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCouncilCreate) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCouncilCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Suggestion) > 0 { - i -= len(m.Suggestion) - copy(dAtA[i:], m.Suggestion) - i = encodeVarintTx(dAtA, i, uint64(len(m.Suggestion))) - i-- - dAtA[i] = 0x22 - } - if len(m.Reponse) > 0 { - i -= len(m.Reponse) - copy(dAtA[i:], m.Reponse) - i = encodeVarintTx(dAtA, i, uint64(len(m.Reponse))) - i-- - dAtA[i] = 0x1a - } - if m.CouncilId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CouncilId)) + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- dAtA[i] = 0x10 } @@ -7323,7 +7468,7 @@ func (m *MsgCouncilResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgCouncilResponseCommitResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCouncilCreateResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7333,12 +7478,12 @@ func (m *MsgCouncilResponseCommitResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCouncilResponseCommitResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCouncilCreateResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilResponseCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCouncilCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7346,7 +7491,7 @@ func (m *MsgCouncilResponseCommitResponse) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *MsgCouncilResponseReveal) Marshal() (dAtA []byte, err error) { +func (m *MsgMatchReporterAppoint) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7356,32 +7501,22 @@ func (m *MsgCouncilResponseReveal) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCouncilResponseReveal) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgMatchReporterAppoint) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilResponseReveal) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgMatchReporterAppoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Secret) > 0 { - i -= len(m.Secret) - copy(dAtA[i:], m.Secret) - i = encodeVarintTx(dAtA, i, uint64(len(m.Secret))) - i-- - dAtA[i] = 0x22 - } - if m.Reponse != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Reponse)) - i-- - dAtA[i] = 0x18 - } - if m.CouncilId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CouncilId)) + if len(m.Reporter) > 0 { + i -= len(m.Reporter) + copy(dAtA[i:], m.Reporter) + i = encodeVarintTx(dAtA, i, uint64(len(m.Reporter))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if len(m.Creator) > 0 { i -= len(m.Creator) @@ -7393,7 +7528,7 @@ func (m *MsgCouncilResponseReveal) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgCouncilResponseRevealResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgMatchReporterAppointResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7403,12 +7538,12 @@ func (m *MsgCouncilResponseRevealResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCouncilResponseRevealResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgMatchReporterAppointResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilResponseRevealResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgMatchReporterAppointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7416,7 +7551,7 @@ func (m *MsgCouncilResponseRevealResponse) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *MsgCouncilRestart) Marshal() (dAtA []byte, err error) { +func (m *MsgSetCreate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7426,32 +7561,57 @@ func (m *MsgCouncilRestart) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCouncilRestart) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetCreate) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilRestart) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.CouncilId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.CouncilId)) - i-- - dAtA[i] = 0x10 + if len(m.Contributors) > 0 { + for iNdEx := len(m.Contributors) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Contributors[iNdEx]) + copy(dAtA[i:], m.Contributors[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.Contributors[iNdEx]))) + i-- + dAtA[i] = 0x2a + } } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + if len(m.StoryWriter) > 0 { + i -= len(m.StoryWriter) + copy(dAtA[i:], m.StoryWriter) + i = encodeVarintTx(dAtA, i, uint64(len(m.StoryWriter))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x22 } - return len(dAtA) - i, nil -} - -func (m *MsgCouncilRestartResponse) Marshal() (dAtA []byte, err error) { + if len(m.Artist) > 0 { + i -= len(m.Artist) + copy(dAtA[i:], m.Artist) + i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSetCreateResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7461,12 +7621,12 @@ func (m *MsgCouncilRestartResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCouncilRestartResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetCreateResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilRestartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7474,7 +7634,7 @@ func (m *MsgCouncilRestartResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *MsgMatchConfirm) Marshal() (dAtA []byte, err error) { +func (m *MsgSetCardAdd) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7484,37 +7644,23 @@ func (m *MsgMatchConfirm) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgMatchConfirm) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetCardAdd) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgMatchConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetCardAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.VotedCards) > 0 { - for iNdEx := len(m.VotedCards) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.VotedCards[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.Outcome != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Outcome)) + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- dAtA[i] = 0x18 } - if m.MatchId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.MatchId)) + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) i-- dAtA[i] = 0x10 } @@ -7528,7 +7674,7 @@ func (m *MsgMatchConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgMatchConfirmResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetCardAddResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7538,12 +7684,12 @@ func (m *MsgMatchConfirmResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgMatchConfirmResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetCardAddResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgMatchConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetCardAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7551,7 +7697,7 @@ func (m *MsgMatchConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgProfileCardSet) Marshal() (dAtA []byte, err error) { +func (m *MsgSetCardRemove) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7561,12 +7707,12 @@ func (m *MsgProfileCardSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgProfileCardSet) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetCardRemove) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileCardSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetCardRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7574,6 +7720,11 @@ func (m *MsgProfileCardSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { if m.CardId != 0 { i = encodeVarintTx(dAtA, i, uint64(m.CardId)) i-- + dAtA[i] = 0x18 + } + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- dAtA[i] = 0x10 } if len(m.Creator) > 0 { @@ -7586,7 +7737,7 @@ func (m *MsgProfileCardSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgProfileCardSetResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetCardRemoveResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7596,12 +7747,12 @@ func (m *MsgProfileCardSetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgProfileCardSetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetCardRemoveResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileCardSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetCardRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7609,7 +7760,7 @@ func (m *MsgProfileCardSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *MsgProfileWebsiteSet) Marshal() (dAtA []byte, err error) { +func (m *MsgSetContributorAdd) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7619,22 +7770,27 @@ func (m *MsgProfileWebsiteSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgProfileWebsiteSet) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetContributorAdd) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileWebsiteSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetContributorAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Website) > 0 { - i -= len(m.Website) - copy(dAtA[i:], m.Website) - i = encodeVarintTx(dAtA, i, uint64(len(m.Website))) + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarintTx(dAtA, i, uint64(len(m.User))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a + } + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x10 } if len(m.Creator) > 0 { i -= len(m.Creator) @@ -7646,7 +7802,7 @@ func (m *MsgProfileWebsiteSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgProfileWebsiteSetResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetContributorAddResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7656,12 +7812,12 @@ func (m *MsgProfileWebsiteSetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgProfileWebsiteSetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetContributorAddResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileWebsiteSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetContributorAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7669,7 +7825,7 @@ func (m *MsgProfileWebsiteSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *MsgProfileBioSet) Marshal() (dAtA []byte, err error) { +func (m *MsgSetContributorRemove) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7679,22 +7835,27 @@ func (m *MsgProfileBioSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgProfileBioSet) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetContributorRemove) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileBioSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetContributorRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Bio) > 0 { - i -= len(m.Bio) - copy(dAtA[i:], m.Bio) - i = encodeVarintTx(dAtA, i, uint64(len(m.Bio))) + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarintTx(dAtA, i, uint64(len(m.User))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a + } + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x10 } if len(m.Creator) > 0 { i -= len(m.Creator) @@ -7706,7 +7867,7 @@ func (m *MsgProfileBioSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgProfileBioSetResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetContributorRemoveResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7716,12 +7877,12 @@ func (m *MsgProfileBioSetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgProfileBioSetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetContributorRemoveResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileBioSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetContributorRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7729,7 +7890,7 @@ func (m *MsgProfileBioSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgBoosterPackOpen) Marshal() (dAtA []byte, err error) { +func (m *MsgSetFinalize) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7739,18 +7900,18 @@ func (m *MsgBoosterPackOpen) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBoosterPackOpen) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetFinalize) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgBoosterPackOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetFinalize) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.BoosterPackId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.BoosterPackId)) + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) i-- dAtA[i] = 0x10 } @@ -7764,7 +7925,7 @@ func (m *MsgBoosterPackOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgBoosterPackOpenResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetFinalizeResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7774,38 +7935,20 @@ func (m *MsgBoosterPackOpenResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBoosterPackOpenResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetFinalizeResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgBoosterPackOpenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetFinalizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.CardIds) > 0 { - dAtA11 := make([]byte, len(m.CardIds)*10) - var j10 int - for _, num := range m.CardIds { - for num >= 1<<7 { - dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j10++ - } - dAtA11[j10] = uint8(num) - j10++ - } - i -= j10 - copy(dAtA[i:], dAtA11[:j10]) - i = encodeVarintTx(dAtA, i, uint64(j10)) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *MsgBoosterPackTransfer) Marshal() (dAtA []byte, err error) { +func (m *MsgSetArtworkAdd) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7815,25 +7958,25 @@ func (m *MsgBoosterPackTransfer) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBoosterPackTransfer) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetArtworkAdd) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgBoosterPackTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetArtworkAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Receiver) > 0 { - i -= len(m.Receiver) - copy(dAtA[i:], m.Receiver) - i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) i-- dAtA[i] = 0x1a } - if m.BoosterPackId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.BoosterPackId)) + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) i-- dAtA[i] = 0x10 } @@ -7847,7 +7990,7 @@ func (m *MsgBoosterPackTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgBoosterPackTransferResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetArtworkAddResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7857,12 +8000,12 @@ func (m *MsgBoosterPackTransferResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBoosterPackTransferResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetArtworkAddResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgBoosterPackTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetArtworkAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7870,7 +8013,7 @@ func (m *MsgBoosterPackTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *MsgSetStoryWriterSet) Marshal() (dAtA []byte, err error) { +func (m *MsgSetStoryAdd) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7880,20 +8023,20 @@ func (m *MsgSetStoryWriterSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetStoryWriterSet) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetStoryAdd) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetStoryWriterSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetStoryAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.StoryWriter) > 0 { - i -= len(m.StoryWriter) - copy(dAtA[i:], m.StoryWriter) - i = encodeVarintTx(dAtA, i, uint64(len(m.StoryWriter))) + if len(m.Story) > 0 { + i -= len(m.Story) + copy(dAtA[i:], m.Story) + i = encodeVarintTx(dAtA, i, uint64(len(m.Story))) i-- dAtA[i] = 0x1a } @@ -7912,7 +8055,7 @@ func (m *MsgSetStoryWriterSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetStoryWriterSetResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetStoryAddResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7922,12 +8065,12 @@ func (m *MsgSetStoryWriterSetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetStoryWriterSetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetStoryAddResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetStoryWriterSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetStoryAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7935,7 +8078,7 @@ func (m *MsgSetStoryWriterSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *MsgSetArtistSet) Marshal() (dAtA []byte, err error) { +func (m *MsgBoosterPackBuy) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7945,23 +8088,16 @@ func (m *MsgSetArtistSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetArtistSet) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgBoosterPackBuy) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetArtistSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgBoosterPackBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Artist) > 0 { - i -= len(m.Artist) - copy(dAtA[i:], m.Artist) - i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) - i-- - dAtA[i] = 0x1a - } if m.SetId != 0 { i = encodeVarintTx(dAtA, i, uint64(m.SetId)) i-- @@ -7977,7 +8113,7 @@ func (m *MsgSetArtistSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetArtistSetResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgBoosterPackBuyResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7987,20 +8123,30 @@ func (m *MsgSetArtistSetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetArtistSetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgBoosterPackBuyResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetArtistSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgBoosterPackBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.AirdropClaimed { + i-- + if m.AirdropClaimed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *MsgCardVoteMulti) Marshal() (dAtA []byte, err error) { +func (m *MsgSellOfferCreate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8010,29 +8156,30 @@ func (m *MsgCardVoteMulti) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCardVoteMulti) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSellOfferCreate) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCardVoteMulti) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSellOfferCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Votes) > 0 { - for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + { + size, err := m.Price.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + i-- + dAtA[i] = 0x10 } if len(m.Creator) > 0 { i -= len(m.Creator) @@ -8044,7 +8191,7 @@ func (m *MsgCardVoteMulti) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgCardVoteMultiResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSellOfferCreateResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8054,1178 +8201,4401 @@ func (m *MsgCardVoteMultiResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCardVoteMultiResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSellOfferCreateResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCardVoteMultiResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSellOfferCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.AirdropClaimed { - i-- - if m.AirdropClaimed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MsgUpdateParams) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgSellOfferBuy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - l = m.Params.Size() - n += 1 + l + sovTx(uint64(l)) - return n + return dAtA[:n], nil } -func (m *MsgUpdateParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgSellOfferBuy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUserCreate) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSellOfferBuy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.NewUser) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.SellOfferId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SellOfferId)) + i-- + dAtA[i] = 0x10 } - l = len(m.Alias) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgUserCreateResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgSellOfferBuyResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCardSchemeBuy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Bid.Size() - n += 1 + l + sovTx(uint64(l)) - return n +func (m *MsgSellOfferBuyResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCardSchemeBuyResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSellOfferBuyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - return n + return len(dAtA) - i, nil } -func (m *MsgCardSaveContent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - l = len(m.Content) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Notes) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Artist) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.BalanceAnchor { - n += 2 +func (m *MsgSellOfferRemove) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgCardSaveContentResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AirdropClaimed { - n += 2 - } - return n +func (m *MsgSellOfferRemove) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCardVote) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSellOfferRemove) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.SellOfferId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SellOfferId)) + i-- + dAtA[i] = 0x10 } - if m.Vote != nil { - l = m.Vote.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgCardVoteResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AirdropClaimed { - n += 2 +func (m *MsgSellOfferRemoveResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgCardTransfer) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSellOfferRemoveResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSellOfferRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - l = len(m.Receiver) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *MsgCardTransferResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCardRaritySet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCardDonate) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgCardRaritySet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCardRaritySet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.Rarity != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Rarity)) + i-- + dAtA[i] = 0x20 + } + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x18 } if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + i-- + dAtA[i] = 0x10 } - l = m.Amount.Size() - n += 1 + l + sovTx(uint64(l)) - return n + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MsgCardDonateResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCardRaritySetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCardRaritySetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCardRaritySetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgCardArtworkAdd) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCouncilResponseCommit) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCouncilResponseCommit) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCouncilResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Suggestion) > 0 { + i -= len(m.Suggestion) + copy(dAtA[i:], m.Suggestion) + i = encodeVarintTx(dAtA, i, uint64(len(m.Suggestion))) + i-- + dAtA[i] = 0x22 } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) + if len(m.Reponse) > 0 { + i -= len(m.Reponse) + copy(dAtA[i:], m.Reponse) + i = encodeVarintTx(dAtA, i, uint64(len(m.Reponse))) + i-- + dAtA[i] = 0x1a } - l = len(m.Image) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.CouncilId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CouncilId)) + i-- + dAtA[i] = 0x10 } - if m.FullArt { - n += 2 + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgCardArtworkAddResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCouncilResponseCommitResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCouncilResponseCommitResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCouncilResponseCommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgCardArtistChange) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCouncilResponseReveal) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCouncilResponseReveal) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCouncilResponseReveal) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Secret) > 0 { + i -= len(m.Secret) + copy(dAtA[i:], m.Secret) + i = encodeVarintTx(dAtA, i, uint64(len(m.Secret))) + i-- + dAtA[i] = 0x22 } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) + if m.Reponse != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Reponse)) + i-- + dAtA[i] = 0x18 } - l = len(m.Artist) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.CouncilId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CouncilId)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MsgCardArtistChangeResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCouncilResponseRevealResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCouncilRegister) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n +func (m *MsgCouncilResponseRevealResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilRegisterResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgCouncilResponseRevealResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgCouncilDeregister) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgCouncilRestart) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgCouncilDeregisterResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgCouncilRestart) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgMatchReport) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgCouncilRestart) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.MatchId != 0 { - n += 1 + sovTx(uint64(m.MatchId)) - } - if len(m.PlayedCardsA) > 0 { - l = 0 - for _, e := range m.PlayedCardsA { - l += sovTx(uint64(e)) - } - n += 1 + sovTx(uint64(l)) + l - } - if len(m.PlayedCardsB) > 0 { - l = 0 - for _, e := range m.PlayedCardsB { - l += sovTx(uint64(e)) - } - n += 1 + sovTx(uint64(l)) + l + if m.CouncilId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CouncilId)) + i-- + dAtA[i] = 0x10 } - if m.Outcome != 0 { - n += 1 + sovTx(uint64(m.Outcome)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgMatchReportResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCouncilRestartResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCouncilCreate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - return n +func (m *MsgCouncilRestartResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilCreateResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgCouncilRestartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgMatchReporterAppoint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Reporter) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgMatchConfirm) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgMatchReporterAppointResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgMatchConfirm) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetCreate) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgMatchConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.VotedCards) > 0 { + for iNdEx := len(m.VotedCards) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.VotedCards[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } } - l = len(m.Artist) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.Outcome != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Outcome)) + i-- + dAtA[i] = 0x18 } - l = len(m.StoryWriter) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.MatchId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MatchId)) + i-- + dAtA[i] = 0x10 } - if len(m.Contributors) > 0 { - for _, s := range m.Contributors { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgSetCreateResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgMatchConfirmResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgSetCardAdd) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - return n +func (m *MsgMatchConfirmResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetCardAddResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgMatchConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgSetCardRemove) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) +func (m *MsgProfileCardSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgSetCardRemoveResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgProfileCardSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetContributorAdd) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgProfileCardSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + i-- + dAtA[i] = 0x10 } - l = len(m.User) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgSetContributorAddResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgProfileCardSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgSetContributorRemove) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) - } - l = len(m.User) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n +func (m *MsgProfileCardSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetContributorRemoveResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgProfileCardSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgSetFinalize) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) +func (m *MsgProfileWebsiteSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgSetFinalizeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgProfileWebsiteSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetArtworkAdd) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgProfileWebsiteSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) + if len(m.Website) > 0 { + i -= len(m.Website) + copy(dAtA[i:], m.Website) + i = encodeVarintTx(dAtA, i, uint64(len(m.Website))) + i-- + dAtA[i] = 0x12 } - l = len(m.Image) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgSetArtworkAddResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgProfileWebsiteSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgSetStoryAdd) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) - } - l = len(m.Story) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n +func (m *MsgProfileWebsiteSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetStoryAddResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgProfileWebsiteSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgBoosterPackBuy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) +func (m *MsgProfileBioSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgBoosterPackBuyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AirdropClaimed { - n += 2 - } - return n +func (m *MsgProfileBioSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSellOfferCreate) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgProfileBioSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Bio) > 0 { + i -= len(m.Bio) + copy(dAtA[i:], m.Bio) + i = encodeVarintTx(dAtA, i, uint64(len(m.Bio))) + i-- + dAtA[i] = 0x12 } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - l = m.Price.Size() - n += 1 + l + sovTx(uint64(l)) - return n + return len(dAtA) - i, nil } -func (m *MsgSellOfferCreateResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgProfileBioSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgSellOfferBuy) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgProfileBioSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProfileBioSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.SellOfferId != 0 { - n += 1 + sovTx(uint64(m.SellOfferId)) - } - return n + return len(dAtA) - i, nil } -func (m *MsgSellOfferBuyResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgBoosterPackOpen) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgSellOfferRemove) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgBoosterPackOpen) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBoosterPackOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.BoosterPackId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.BoosterPackId)) + i-- + dAtA[i] = 0x10 } - if m.SellOfferId != 0 { - n += 1 + sovTx(uint64(m.SellOfferId)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgSellOfferRemoveResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgBoosterPackOpenResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCardRaritySet) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgBoosterPackOpenResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBoosterPackOpenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) - } - if m.Rarity != 0 { - n += 1 + sovTx(uint64(m.Rarity)) + if len(m.CardIds) > 0 { + dAtA11 := make([]byte, len(m.CardIds)*10) + var j10 int + for _, num := range m.CardIds { + for num >= 1<<7 { + dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j10++ + } + dAtA11[j10] = uint8(num) + j10++ + } + i -= j10 + copy(dAtA[i:], dAtA11[:j10]) + i = encodeVarintTx(dAtA, i, uint64(j10)) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgCardRaritySetResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgBoosterPackTransfer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCouncilResponseCommit) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgBoosterPackTransfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBoosterPackTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CouncilId != 0 { - n += 1 + sovTx(uint64(m.CouncilId)) + if len(m.Receiver) > 0 { + i -= len(m.Receiver) + copy(dAtA[i:], m.Receiver) + i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) + i-- + dAtA[i] = 0x1a } - l = len(m.Reponse) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.BoosterPackId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.BoosterPackId)) + i-- + dAtA[i] = 0x10 } - l = len(m.Suggestion) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgCouncilResponseCommitResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgBoosterPackTransferResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgCouncilResponseReveal) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CouncilId != 0 { - n += 1 + sovTx(uint64(m.CouncilId)) - } - if m.Reponse != 0 { - n += 1 + sovTx(uint64(m.Reponse)) - } - l = len(m.Secret) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n +func (m *MsgBoosterPackTransferResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCouncilResponseRevealResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgBoosterPackTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgCouncilRestart) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CouncilId != 0 { - n += 1 + sovTx(uint64(m.CouncilId)) +func (m *MsgSetStoryWriterSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgCouncilRestartResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgSetStoryWriterSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgMatchConfirm) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSetStoryWriterSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.StoryWriter) > 0 { + i -= len(m.StoryWriter) + copy(dAtA[i:], m.StoryWriter) + i = encodeVarintTx(dAtA, i, uint64(len(m.StoryWriter))) + i-- + dAtA[i] = 0x1a } - if m.MatchId != 0 { - n += 1 + sovTx(uint64(m.MatchId)) + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x10 } - if m.Outcome != 0 { - n += 1 + sovTx(uint64(m.Outcome)) - } - if len(m.VotedCards) > 0 { - for _, e := range m.VotedCards { - l = e.Size() - n += 1 + l + sovTx(uint64(l)) - } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgMatchConfirmResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgSetStoryWriterSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgProfileCardSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.CardId != 0 { - n += 1 + sovTx(uint64(m.CardId)) - } - return n +func (m *MsgSetStoryWriterSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileCardSetResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSetStoryWriterSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgProfileWebsiteSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Website) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgSetArtistSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgProfileWebsiteSetResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgSetArtistSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgProfileBioSet) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgSetArtistSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Artist) > 0 { + i -= len(m.Artist) + copy(dAtA[i:], m.Artist) + i = encodeVarintTx(dAtA, i, uint64(len(m.Artist))) + i-- + dAtA[i] = 0x1a } - l = len(m.Bio) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.SetId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MsgProfileBioSetResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgSetArtistSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgSetArtistSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetArtistSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgBoosterPackOpen) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCardVoteMulti) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCardVoteMulti) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCardVoteMulti) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Votes) > 0 { + for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } - if m.BoosterPackId != 0 { - n += 1 + sovTx(uint64(m.BoosterPackId)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgBoosterPackOpenResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCardVoteMultiResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCardVoteMultiResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCardVoteMultiResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.CardIds) > 0 { - l = 0 - for _, e := range m.CardIds { - l += sovTx(uint64(e)) + if m.AirdropClaimed { + i-- + if m.AirdropClaimed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - n += 1 + sovTx(uint64(l)) + l + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *MsgBoosterPackTransfer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.BoosterPackId != 0 { - n += 1 + sovTx(uint64(m.BoosterPackId)) - } - l = len(m.Receiver) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgMatchOpen) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MsgBoosterPackTransferResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *MsgMatchOpen) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetStoryWriterSet) Size() (n int) { - if m == nil { - return 0 +func (m *MsgMatchOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerBdeck) > 0 { + dAtA13 := make([]byte, len(m.PlayerBdeck)*10) + var j12 int + for _, num := range m.PlayerBdeck { + for num >= 1<<7 { + dAtA13[j12] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j12++ + } + dAtA13[j12] = uint8(num) + j12++ + } + i -= j12 + copy(dAtA[i:], dAtA13[:j12]) + i = encodeVarintTx(dAtA, i, uint64(j12)) + i-- + dAtA[i] = 0x2a + } + if len(m.PlayerAdeck) > 0 { + dAtA15 := make([]byte, len(m.PlayerAdeck)*10) + var j14 int + for _, num := range m.PlayerAdeck { + for num >= 1<<7 { + dAtA15[j14] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j14++ + } + dAtA15[j14] = uint8(num) + j14++ + } + i -= j14 + copy(dAtA[i:], dAtA15[:j14]) + i = encodeVarintTx(dAtA, i, uint64(j14)) + i-- + dAtA[i] = 0x22 + } + if len(m.PlayerB) > 0 { + i -= len(m.PlayerB) + copy(dAtA[i:], m.PlayerB) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerB))) + i-- + dAtA[i] = 0x1a + } + if len(m.PlayerA) > 0 { + i -= len(m.PlayerA) + copy(dAtA[i:], m.PlayerA) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerA))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgMatchOpenResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgMatchOpenResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMatchOpenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.MatchId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MatchId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgSetNameSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSetNameSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetNameSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a } if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) + i = encodeVarintTx(dAtA, i, uint64(m.SetId)) + i-- + dAtA[i] = 0x10 } - l = len(m.StoryWriter) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgSetStoryWriterSetResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgSetNameSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgSetNameSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetNameSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgSetArtistSet) Size() (n int) { - if m == nil { - return 0 +func (m *MsgProfileAliasSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProfileAliasSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProfileAliasSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Alias) > 0 { + i -= len(m.Alias) + copy(dAtA[i:], m.Alias) + i = encodeVarintTx(dAtA, i, uint64(len(m.Alias))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgProfileAliasSetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgProfileAliasSetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProfileAliasSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *MsgEarlyAccessInvite) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.SetId != 0 { - n += 1 + sovTx(uint64(m.SetId)) + return dAtA[:n], nil +} + +func (m *MsgEarlyAccessInvite) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEarlyAccessInvite) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarintTx(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0x12 } - l = len(m.Artist) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgSetArtistSetResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgEarlyAccessInviteResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgEarlyAccessInviteResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEarlyAccessInviteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgCardVoteMulti) Size() (n int) { - if m == nil { - return 0 +func (m *MsgZealyConnect) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgZealyConnect) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgZealyConnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.ZealyId) > 0 { + i -= len(m.ZealyId) + copy(dAtA[i:], m.ZealyId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ZealyId))) + i-- + dAtA[i] = 0x12 } - if len(m.Votes) > 0 { - for _, e := range m.Votes { - l = e.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgZealyConnectResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgZealyConnectResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgZealyConnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgEncounterCreate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEncounterCreate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEncounterCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) + i-- + dAtA[i] = 0x2a + } + if len(m.Parameters) > 0 { + for k := range m.Parameters { + v := m.Parameters[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintTx(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintTx(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintTx(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Drawlist) > 0 { + dAtA17 := make([]byte, len(m.Drawlist)*10) + var j16 int + for _, num := range m.Drawlist { + for num >= 1<<7 { + dAtA17[j16] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j16++ + } + dAtA17[j16] = uint8(num) + j16++ + } + i -= j16 + copy(dAtA[i:], dAtA17[:j16]) + i = encodeVarintTx(dAtA, i, uint64(j16)) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgEncounterCreateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEncounterCreateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEncounterCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgEncounterDo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEncounterDo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEncounterDo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarintTx(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0x1a + } + if m.EncounterId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.EncounterId)) + i-- + dAtA[i] = 0x10 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgEncounterDoResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEncounterDoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEncounterDoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgEncounterClose) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEncounterClose) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEncounterClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Won { + i-- + if m.Won { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.User) > 0 { + i -= len(m.User) + copy(dAtA[i:], m.User) + i = encodeVarintTx(dAtA, i, uint64(len(m.User))) + i-- + dAtA[i] = 0x1a + } + if m.EncounterId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.EncounterId)) + i-- + dAtA[i] = 0x10 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgEncounterCloseResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEncounterCloseResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEncounterCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUserCreate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.NewUser) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Alias) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgUserCreateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCardSchemeBuy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Bid.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgCardSchemeBuyResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + return n +} + +func (m *MsgCardSaveContent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = len(m.Content) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Notes) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Artist) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.BalanceAnchor { + n += 2 + } + return n +} + +func (m *MsgCardSaveContentResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AirdropClaimed { + n += 2 + } + return n +} + +func (m *MsgCardVote) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Vote != nil { + l = m.Vote.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCardVoteResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AirdropClaimed { + n += 2 + } + return n +} + +func (m *MsgCardTransfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = len(m.Receiver) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCardTransferResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCardDonate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgCardDonateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCardArtworkAdd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = len(m.Image) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.FullArt { + n += 2 + } + return n +} + +func (m *MsgCardArtworkAddResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCardArtistChange) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = len(m.Artist) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCardArtistChangeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCouncilRegister) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCouncilRegisterResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCouncilDeregister) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCouncilDeregisterResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgMatchReport) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.MatchId != 0 { + n += 1 + sovTx(uint64(m.MatchId)) + } + if len(m.PlayedCardsA) > 0 { + l = 0 + for _, e := range m.PlayedCardsA { + l += sovTx(uint64(e)) + } + n += 1 + sovTx(uint64(l)) + l + } + if len(m.PlayedCardsB) > 0 { + l = 0 + for _, e := range m.PlayedCardsB { + l += sovTx(uint64(e)) + } + n += 1 + sovTx(uint64(l)) + l + } + if m.Outcome != 0 { + n += 1 + sovTx(uint64(m.Outcome)) + } + return n +} + +func (m *MsgMatchReportResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCouncilCreate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + return n +} + +func (m *MsgCouncilCreateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgMatchReporterAppoint) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Reporter) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgMatchReporterAppointResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetCreate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Artist) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StoryWriter) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Contributors) > 0 { + for _, s := range m.Contributors { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgSetCreateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetCardAdd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + return n +} + +func (m *MsgSetCardAddResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetCardRemove) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + return n +} + +func (m *MsgSetCardRemoveResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetContributorAdd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetContributorAddResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetContributorRemove) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetContributorRemoveResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetFinalize) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + return n +} + +func (m *MsgSetFinalizeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetArtworkAdd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.Image) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetArtworkAddResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetStoryAdd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.Story) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetStoryAddResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgBoosterPackBuy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + return n +} + +func (m *MsgBoosterPackBuyResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AirdropClaimed { + n += 2 + } + return n +} + +func (m *MsgSellOfferCreate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = m.Price.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgSellOfferCreateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSellOfferBuy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SellOfferId != 0 { + n += 1 + sovTx(uint64(m.SellOfferId)) + } + return n +} + +func (m *MsgSellOfferBuyResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSellOfferRemove) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SellOfferId != 0 { + n += 1 + sovTx(uint64(m.SellOfferId)) + } + return n +} + +func (m *MsgSellOfferRemoveResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCardRaritySet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + if m.Rarity != 0 { + n += 1 + sovTx(uint64(m.Rarity)) + } + return n +} + +func (m *MsgCardRaritySetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCouncilResponseCommit) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CouncilId != 0 { + n += 1 + sovTx(uint64(m.CouncilId)) + } + l = len(m.Reponse) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Suggestion) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCouncilResponseCommitResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCouncilResponseReveal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CouncilId != 0 { + n += 1 + sovTx(uint64(m.CouncilId)) + } + if m.Reponse != 0 { + n += 1 + sovTx(uint64(m.Reponse)) + } + l = len(m.Secret) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCouncilResponseRevealResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCouncilRestart) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CouncilId != 0 { + n += 1 + sovTx(uint64(m.CouncilId)) + } + return n +} + +func (m *MsgCouncilRestartResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgMatchConfirm) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.MatchId != 0 { + n += 1 + sovTx(uint64(m.MatchId)) + } + if m.Outcome != 0 { + n += 1 + sovTx(uint64(m.Outcome)) + } + if len(m.VotedCards) > 0 { + for _, e := range m.VotedCards { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgMatchConfirmResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgProfileCardSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + return n +} + +func (m *MsgProfileCardSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgProfileWebsiteSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Website) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgProfileWebsiteSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgProfileBioSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Bio) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgProfileBioSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgBoosterPackOpen) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.BoosterPackId != 0 { + n += 1 + sovTx(uint64(m.BoosterPackId)) + } + return n +} + +func (m *MsgBoosterPackOpenResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.CardIds) > 0 { + l = 0 + for _, e := range m.CardIds { + l += sovTx(uint64(e)) + } + n += 1 + sovTx(uint64(l)) + l + } + return n +} + +func (m *MsgBoosterPackTransfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.BoosterPackId != 0 { + n += 1 + sovTx(uint64(m.BoosterPackId)) + } + l = len(m.Receiver) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgBoosterPackTransferResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetStoryWriterSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.StoryWriter) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetStoryWriterSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgSetArtistSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.Artist) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetArtistSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCardVoteMulti) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Votes) > 0 { + for _, e := range m.Votes { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgCardVoteMultiResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AirdropClaimed { + n += 2 + } + return n +} + +func (m *MsgMatchOpen) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerA) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerB) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.PlayerAdeck) > 0 { + l = 0 + for _, e := range m.PlayerAdeck { + l += sovTx(uint64(e)) + } + n += 1 + sovTx(uint64(l)) + l + } + if len(m.PlayerBdeck) > 0 { + l = 0 + for _, e := range m.PlayerBdeck { + l += sovTx(uint64(e)) + } + n += 1 + sovTx(uint64(l)) + l + } + return n +} + +func (m *MsgMatchOpenResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.MatchId != 0 { + n += 1 + sovTx(uint64(m.MatchId)) + } + return n +} + +func (m *MsgSetNameSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.SetId != 0 { + n += 1 + sovTx(uint64(m.SetId)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetNameSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgProfileAliasSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Alias) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgProfileAliasSetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgEarlyAccessInvite) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgEarlyAccessInviteResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgZealyConnect) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ZealyId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgZealyConnectResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgEncounterCreate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Drawlist) > 0 { + l = 0 + for _, e := range m.Drawlist { + l += sovTx(uint64(e)) + } + n += 1 + sovTx(uint64(l)) + l + } + if len(m.Parameters) > 0 { + for k, v := range m.Parameters { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovTx(uint64(len(k))) + 1 + len(v) + sovTx(uint64(len(v))) + n += mapEntrySize + 1 + sovTx(uint64(mapEntrySize)) + } + } + l = len(m.Image) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgEncounterCreateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgEncounterDo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.EncounterId != 0 { + n += 1 + sovTx(uint64(m.EncounterId)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgEncounterDoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgEncounterClose) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.EncounterId != 0 { + n += 1 + sovTx(uint64(m.EncounterId)) + } + l = len(m.User) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Won { + n += 2 + } + return n +} + +func (m *MsgEncounterCloseResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUserCreate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUserCreate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewUser", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewUser = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Alias = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUserCreateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUserCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUserCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardSchemeBuy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardSchemeBuy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardSchemeBuy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bid", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Bid.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardSchemeBuyResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardSchemeBuyResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardSchemeBuyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + } + m.CardId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CardId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardSaveContent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardSaveContent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + } + m.CardId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CardId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Content = append(m.Content[:0], dAtA[iNdEx:postIndex]...) + if m.Content == nil { + m.Content = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Notes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Notes = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Artist = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BalanceAnchor", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.BalanceAnchor = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardSaveContentResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardSaveContentResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardSaveContentResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AirdropClaimed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardVote) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardVote: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardVote: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Vote == nil { + m.Vote = &SingleVote{} + } + if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardVoteResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardVoteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardVoteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AirdropClaimed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardTransfer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardTransfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + } + m.CardId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CardId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Receiver = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardTransferResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardTransferResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardDonate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardDonate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + } + m.CardId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CardId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCardDonateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardDonateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardDonateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - return n -} -func (m *MsgCardVoteMultiResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AirdropClaimed { - n += 2 + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { +func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9248,15 +12618,15 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardArtworkAdd: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardArtworkAdd: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9284,13 +12654,32 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Authority = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + } + m.CardId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CardId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -9300,25 +12689,46 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Image = append(m.Image[:0], dAtA[iNdEx:postIndex]...) + if m.Image == nil { + m.Image = []byte{} } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FullArt", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.FullArt = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -9340,7 +12750,7 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCardArtworkAddResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9363,10 +12773,10 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardArtworkAddResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardArtworkAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9390,7 +12800,7 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { +func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9413,10 +12823,10 @@ func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUserCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardArtistChange: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUserCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardArtistChange: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -9452,10 +12862,10 @@ func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewUser", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) } - var stringLen uint64 + m.CardId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -9465,27 +12875,14 @@ func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.CardId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewUser = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9513,7 +12910,7 @@ func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Alias = string(dAtA[iNdEx:postIndex]) + m.Artist = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9536,7 +12933,7 @@ func (m *MsgUserCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUserCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCardArtistChangeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9559,10 +12956,10 @@ func (m *MsgUserCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUserCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardArtistChangeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUserCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardArtistChangeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9586,7 +12983,7 @@ func (m *MsgUserCreateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardSchemeBuy) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilRegister) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9609,10 +13006,10 @@ func (m *MsgCardSchemeBuy) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardSchemeBuy: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilRegister: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardSchemeBuy: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilRegister: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -9647,11 +13044,111 @@ func (m *MsgCardSchemeBuy) Unmarshal(dAtA []byte) error { } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCouncilRegisterResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCouncilRegisterResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCouncilRegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCouncilDeregister) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCouncilDeregister: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCouncilDeregister: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Bid", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -9661,24 +13158,23 @@ func (m *MsgCardSchemeBuy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Bid.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9701,7 +13197,7 @@ func (m *MsgCardSchemeBuy) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardSchemeBuyResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilDeregisterResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9724,31 +13220,12 @@ func (m *MsgCardSchemeBuyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardSchemeBuyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilDeregisterResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardSchemeBuyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilDeregisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) - } - m.CardId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CardId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -9770,7 +13247,7 @@ func (m *MsgCardSchemeBuyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { +func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9793,10 +13270,10 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardSaveContent: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMatchReport: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardSaveContent: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMatchReport: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -9833,9 +13310,9 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MatchId", wireType) } - m.CardId = 0 + m.MatchId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -9845,16 +13322,168 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.MatchId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayedCardsA = append(m.PlayedCardsA, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.PlayedCardsA) == 0 { + m.PlayedCardsA = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayedCardsA = append(m.PlayedCardsA, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PlayedCardsA", wireType) } - var byteLen int + case 4: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayedCardsB = append(m.PlayedCardsB, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.PlayedCardsB) == 0 { + m.PlayedCardsB = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayedCardsB = append(m.PlayedCardsB, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PlayedCardsB", wireType) + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + } + m.Outcome = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -9864,61 +13493,114 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + m.Outcome |= Outcome(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { - return ErrInvalidLengthTx + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + byteLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - if postIndex > l { + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgMatchReportResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Content = append(m.Content[:0], dAtA[iNdEx:postIndex]...) - if m.Content == nil { - m.Content = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Notes", wireType) + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgMatchReportResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMatchReportResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCouncilCreate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Notes = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCouncilCreate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCouncilCreate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9946,13 +13628,13 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Artist = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BalanceAnchor", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) } - var v int + m.CardId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -9962,12 +13644,11 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.CardId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.BalanceAnchor = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -9989,7 +13670,7 @@ func (m *MsgCardSaveContent) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardSaveContentResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilCreateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10012,32 +13693,12 @@ func (m *MsgCardSaveContentResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardSaveContentResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilCreateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardSaveContentResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AirdropClaimed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -10059,7 +13720,7 @@ func (m *MsgCardSaveContentResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardVote) Unmarshal(dAtA []byte) error { +func (m *MsgMatchReporterAppoint) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10082,10 +13743,10 @@ func (m *MsgCardVote) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardVote: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMatchReporterAppoint: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardVote: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMatchReporterAppoint: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10122,9 +13783,9 @@ func (m *MsgCardVote) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reporter", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10134,28 +13795,74 @@ func (m *MsgCardVote) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Vote == nil { - m.Vote = &SingleVote{} - } - if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Reporter = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgMatchReporterAppointResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgMatchReporterAppointResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMatchReporterAppointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -10177,7 +13884,7 @@ func (m *MsgCardVote) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardVoteResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10200,17 +13907,17 @@ func (m *MsgCardVoteResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardVoteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardVoteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetCreate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10220,65 +13927,59 @@ func (m *MsgCardVoteResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.AirdropClaimed = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgCardTransfer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCardTransfer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardTransfer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10306,13 +14007,13 @@ func (m *MsgCardTransfer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.Artist = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StoryWriter", wireType) } - m.CardId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10322,14 +14023,27 @@ func (m *MsgCardTransfer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 3: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StoryWriter = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Contributors", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10357,7 +14071,7 @@ func (m *MsgCardTransfer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Receiver = string(dAtA[iNdEx:postIndex]) + m.Contributors = append(m.Contributors, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -10380,7 +14094,7 @@ func (m *MsgCardTransfer) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardTransferResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetCreateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10403,10 +14117,10 @@ func (m *MsgCardTransferResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardTransferResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetCreateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10430,7 +14144,7 @@ func (m *MsgCardTransferResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { +func (m *MsgSetCardAdd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10453,10 +14167,10 @@ func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardDonate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetCardAdd: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardDonate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetCardAdd: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10493,9 +14207,9 @@ func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.CardId = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10505,16 +14219,16 @@ func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) } - var msglen int + m.CardId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10524,25 +14238,11 @@ func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.CardId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -10564,7 +14264,7 @@ func (m *MsgCardDonate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardDonateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetCardAddResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10587,10 +14287,10 @@ func (m *MsgCardDonateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardDonateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetCardAddResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardDonateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetCardAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10614,7 +14314,7 @@ func (m *MsgCardDonateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { +func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10637,10 +14337,10 @@ func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardArtworkAdd: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetCardRemove: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardArtworkAdd: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetCardRemove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10677,9 +14377,9 @@ func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.CardId = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10689,50 +14389,16 @@ func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Image = append(m.Image[:0], dAtA[iNdEx:postIndex]...) - if m.Image == nil { - m.Image = []byte{} - } - iNdEx = postIndex - case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FullArt", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) } - var v int + m.CardId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10742,12 +14408,11 @@ func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.CardId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.FullArt = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -10769,7 +14434,7 @@ func (m *MsgCardArtworkAdd) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardArtworkAddResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetCardRemoveResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10792,10 +14457,10 @@ func (m *MsgCardArtworkAddResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardArtworkAddResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetCardRemoveResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardArtworkAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetCardRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10819,7 +14484,7 @@ func (m *MsgCardArtworkAddResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { +func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10842,10 +14507,10 @@ func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardArtistChange: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetContributorAdd: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardArtistChange: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetContributorAdd: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10882,9 +14547,9 @@ func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.CardId = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10894,14 +14559,14 @@ func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10929,7 +14594,7 @@ func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Artist = string(dAtA[iNdEx:postIndex]) + m.User = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10952,7 +14617,7 @@ func (m *MsgCardArtistChange) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardArtistChangeResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetContributorAddResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10975,10 +14640,10 @@ func (m *MsgCardArtistChangeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardArtistChangeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetContributorAddResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardArtistChangeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetContributorAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11002,7 +14667,7 @@ func (m *MsgCardArtistChangeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilRegister) Unmarshal(dAtA []byte) error { +func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11015,25 +14680,76 @@ func (m *MsgCouncilRegister) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgSetContributorRemove: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetContributorRemove: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + } + m.SetId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SetId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilRegister: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilRegister: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11061,7 +14777,7 @@ func (m *MsgCouncilRegister) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.User = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11084,7 +14800,7 @@ func (m *MsgCouncilRegister) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilRegisterResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetContributorRemoveResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11107,10 +14823,10 @@ func (m *MsgCouncilRegisterResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilRegisterResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetContributorRemoveResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilRegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetContributorRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11134,7 +14850,7 @@ func (m *MsgCouncilRegisterResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilDeregister) Unmarshal(dAtA []byte) error { +func (m *MsgSetFinalize) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11157,10 +14873,10 @@ func (m *MsgCouncilDeregister) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilDeregister: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetFinalize: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilDeregister: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetFinalize: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11195,6 +14911,25 @@ func (m *MsgCouncilDeregister) Unmarshal(dAtA []byte) error { } m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + } + m.SetId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SetId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -11216,7 +14951,7 @@ func (m *MsgCouncilDeregister) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilDeregisterResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetFinalizeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11239,10 +14974,10 @@ func (m *MsgCouncilDeregisterResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilDeregisterResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetFinalizeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilDeregisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetFinalizeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11266,7 +15001,7 @@ func (m *MsgCouncilDeregisterResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { +func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11289,10 +15024,10 @@ func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgMatchReport: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetArtworkAdd: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMatchReport: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetArtworkAdd: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11329,9 +15064,9 @@ func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.MatchId = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -11341,168 +15076,16 @@ func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MatchId |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PlayedCardsA = append(m.PlayedCardsA, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.PlayedCardsA) == 0 { - m.PlayedCardsA = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PlayedCardsA = append(m.PlayedCardsA, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field PlayedCardsA", wireType) - } - case 4: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PlayedCardsB = append(m.PlayedCardsB, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.PlayedCardsB) == 0 { - m.PlayedCardsB = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PlayedCardsB = append(m.PlayedCardsB, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field PlayedCardsB", wireType) - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) } - m.Outcome = 0 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -11512,11 +15095,26 @@ func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Outcome |= Outcome(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Image = append(m.Image[:0], dAtA[iNdEx:postIndex]...) + if m.Image == nil { + m.Image = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -11538,7 +15136,7 @@ func (m *MsgMatchReport) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgMatchReportResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetArtworkAddResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11561,10 +15159,10 @@ func (m *MsgMatchReportResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgMatchReportResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetArtworkAddResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMatchReportResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetArtworkAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11588,7 +15186,7 @@ func (m *MsgMatchReportResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilCreate) Unmarshal(dAtA []byte) error { +func (m *MsgSetStoryAdd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11611,10 +15209,10 @@ func (m *MsgCouncilCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetStoryAdd: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetStoryAdd: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11651,9 +15249,9 @@ func (m *MsgCouncilCreate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.CardId = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -11663,11 +15261,43 @@ func (m *MsgCouncilCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Story", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Story = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -11689,7 +15319,7 @@ func (m *MsgCouncilCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetStoryAddResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11712,10 +15342,10 @@ func (m *MsgCouncilCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetStoryAddResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetStoryAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11739,7 +15369,7 @@ func (m *MsgCouncilCreateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgMatchReporterAppoint) Unmarshal(dAtA []byte) error { +func (m *MsgBoosterPackBuy) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11762,10 +15392,10 @@ func (m *MsgMatchReporterAppoint) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgMatchReporterAppoint: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBoosterPackBuy: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMatchReporterAppoint: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBoosterPackBuy: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11801,10 +15431,10 @@ func (m *MsgMatchReporterAppoint) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reporter", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - var stringLen uint64 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -11814,24 +15444,11 @@ func (m *MsgMatchReporterAppoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reporter = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -11853,7 +15470,7 @@ func (m *MsgMatchReporterAppoint) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgMatchReporterAppointResponse) Unmarshal(dAtA []byte) error { +func (m *MsgBoosterPackBuyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11876,12 +15493,32 @@ func (m *MsgMatchReporterAppointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgMatchReporterAppointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBoosterPackBuyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMatchReporterAppointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBoosterPackBuyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AirdropClaimed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -11903,7 +15540,7 @@ func (m *MsgMatchReporterAppointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { +func (m *MsgSellOfferCreate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11926,10 +15563,10 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSellOfferCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSellOfferCreate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11965,10 +15602,10 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) } - var stringLen uint64 + m.CardId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -11978,29 +15615,16 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.CardId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12010,27 +15634,128 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.Artist = string(dAtA[iNdEx:postIndex]) + if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSellOfferCreateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgSellOfferCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSellOfferCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSellOfferBuy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgSellOfferBuy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSellOfferBuy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StoryWriter", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12058,13 +15783,13 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StoryWriter = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Contributors", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SellOfferId", wireType) } - var stringLen uint64 + m.SellOfferId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12074,24 +15799,11 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.SellOfferId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Contributors = append(m.Contributors, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -12113,7 +15825,7 @@ func (m *MsgSetCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSellOfferBuyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12136,10 +15848,10 @@ func (m *MsgSetCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSellOfferBuyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSellOfferBuyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12163,7 +15875,7 @@ func (m *MsgSetCreateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetCardAdd) Unmarshal(dAtA []byte) error { +func (m *MsgSellOfferRemove) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12186,10 +15898,10 @@ func (m *MsgSetCardAdd) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetCardAdd: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSellOfferRemove: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetCardAdd: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSellOfferRemove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12226,28 +15938,9 @@ func (m *MsgSetCardAdd) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) - } - m.SetId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SetId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SellOfferId", wireType) } - m.CardId = 0 + m.SellOfferId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12257,7 +15950,7 @@ func (m *MsgSetCardAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.SellOfferId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12283,7 +15976,7 @@ func (m *MsgSetCardAdd) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetCardAddResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSellOfferRemoveResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12306,10 +15999,10 @@ func (m *MsgSetCardAddResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetCardAddResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSellOfferRemoveResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetCardAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSellOfferRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12333,7 +16026,7 @@ func (m *MsgSetCardAddResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { +func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12356,10 +16049,10 @@ func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetCardRemove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardRaritySet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetCardRemove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardRaritySet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12395,6 +16088,25 @@ func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + } + m.CardId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CardId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } @@ -12413,11 +16125,11 @@ func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { break } } - case 3: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Rarity", wireType) } - m.CardId = 0 + m.Rarity = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12427,7 +16139,7 @@ func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + m.Rarity |= CardRarity(b&0x7F) << shift if b < 0x80 { break } @@ -12453,7 +16165,7 @@ func (m *MsgSetCardRemove) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetCardRemoveResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCardRaritySetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12476,10 +16188,10 @@ func (m *MsgSetCardRemoveResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetCardRemoveResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardRaritySetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetCardRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardRaritySetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12503,7 +16215,7 @@ func (m *MsgSetCardRemoveResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12526,10 +16238,10 @@ func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetContributorAdd: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilResponseCommit: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetContributorAdd: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilResponseCommit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12566,9 +16278,9 @@ func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CouncilId", wireType) } - m.SetId = 0 + m.CouncilId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12578,14 +16290,14 @@ func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + m.CouncilId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reponse", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12613,7 +16325,39 @@ func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.User = string(dAtA[iNdEx:postIndex]) + m.Reponse = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Suggestion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Suggestion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12636,7 +16380,7 @@ func (m *MsgSetContributorAdd) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetContributorAddResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilResponseCommitResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12659,10 +16403,10 @@ func (m *MsgSetContributorAddResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetContributorAddResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilResponseCommitResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetContributorAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilResponseCommitResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12686,7 +16430,7 @@ func (m *MsgSetContributorAddResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilResponseReveal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12709,10 +16453,10 @@ func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetContributorRemove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilResponseReveal: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetContributorRemove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilResponseReveal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12749,9 +16493,9 @@ func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CouncilId", wireType) } - m.SetId = 0 + m.CouncilId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12761,14 +16505,33 @@ func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + m.CouncilId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Reponse", wireType) + } + m.Reponse = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Reponse |= Response(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12796,7 +16559,7 @@ func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.User = string(dAtA[iNdEx:postIndex]) + m.Secret = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12819,7 +16582,7 @@ func (m *MsgSetContributorRemove) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetContributorRemoveResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilResponseRevealResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12842,10 +16605,10 @@ func (m *MsgSetContributorRemoveResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetContributorRemoveResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilResponseRevealResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetContributorRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilResponseRevealResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12869,7 +16632,7 @@ func (m *MsgSetContributorRemoveResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetFinalize) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilRestart) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12892,10 +16655,10 @@ func (m *MsgSetFinalize) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetFinalize: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilRestart: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetFinalize: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilRestart: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12932,9 +16695,9 @@ func (m *MsgSetFinalize) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CouncilId", wireType) } - m.SetId = 0 + m.CouncilId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12944,7 +16707,7 @@ func (m *MsgSetFinalize) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + m.CouncilId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12970,7 +16733,7 @@ func (m *MsgSetFinalize) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetFinalizeResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCouncilRestartResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12993,10 +16756,10 @@ func (m *MsgSetFinalizeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetFinalizeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCouncilRestartResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetFinalizeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCouncilRestartResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13020,7 +16783,7 @@ func (m *MsgSetFinalizeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { +func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13043,10 +16806,10 @@ func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetArtworkAdd: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMatchConfirm: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetArtworkAdd: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMatchConfirm: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13083,9 +16846,9 @@ func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MatchId", wireType) } - m.SetId = 0 + m.MatchId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13095,16 +16858,35 @@ func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + m.MatchId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + } + m.Outcome = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Outcome |= Outcome(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field VotedCards", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13114,24 +16896,24 @@ func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.Image = append(m.Image[:0], dAtA[iNdEx:postIndex]...) - if m.Image == nil { - m.Image = []byte{} + m.VotedCards = append(m.VotedCards, &SingleVote{}) + if err := m.VotedCards[len(m.VotedCards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -13155,7 +16937,7 @@ func (m *MsgSetArtworkAdd) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetArtworkAddResponse) Unmarshal(dAtA []byte) error { +func (m *MsgMatchConfirmResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13178,10 +16960,10 @@ func (m *MsgSetArtworkAddResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetArtworkAddResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMatchConfirmResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetArtworkAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMatchConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13205,7 +16987,7 @@ func (m *MsgSetArtworkAddResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetStoryAdd) Unmarshal(dAtA []byte) error { +func (m *MsgProfileCardSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13228,10 +17010,10 @@ func (m *MsgSetStoryAdd) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetStoryAdd: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileCardSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetStoryAdd: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileCardSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13268,28 +17050,9 @@ func (m *MsgSetStoryAdd) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) - } - m.SetId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SetId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Story", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) } - var stringLen uint64 + m.CardId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13299,24 +17062,11 @@ func (m *MsgSetStoryAdd) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.CardId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Story = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -13338,7 +17088,7 @@ func (m *MsgSetStoryAdd) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetStoryAddResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProfileCardSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13361,10 +17111,10 @@ func (m *MsgSetStoryAddResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetStoryAddResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileCardSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetStoryAddResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileCardSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13388,7 +17138,7 @@ func (m *MsgSetStoryAddResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBoosterPackBuy) Unmarshal(dAtA []byte) error { +func (m *MsgProfileWebsiteSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13411,10 +17161,10 @@ func (m *MsgBoosterPackBuy) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgBoosterPackBuy: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileWebsiteSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBoosterPackBuy: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileWebsiteSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13450,10 +17200,10 @@ func (m *MsgBoosterPackBuy) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Website", wireType) } - m.SetId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13463,11 +17213,24 @@ func (m *MsgBoosterPackBuy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Website = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -13489,7 +17252,7 @@ func (m *MsgBoosterPackBuy) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBoosterPackBuyResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProfileWebsiteSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13512,32 +17275,12 @@ func (m *MsgBoosterPackBuyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgBoosterPackBuyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileWebsiteSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBoosterPackBuyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileWebsiteSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AirdropClaimed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -13559,7 +17302,7 @@ func (m *MsgBoosterPackBuyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSellOfferCreate) Unmarshal(dAtA []byte) error { +func (m *MsgProfileBioSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13582,10 +17325,10 @@ func (m *MsgSellOfferCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSellOfferCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileBioSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSellOfferCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileBioSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13621,29 +17364,10 @@ func (m *MsgSellOfferCreate) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) - } - m.CardId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CardId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Bio", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13653,24 +17377,23 @@ func (m *MsgSellOfferCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Bio = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13693,7 +17416,7 @@ func (m *MsgSellOfferCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSellOfferCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProfileBioSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13716,10 +17439,10 @@ func (m *MsgSellOfferCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSellOfferCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileBioSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSellOfferCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileBioSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13743,7 +17466,7 @@ func (m *MsgSellOfferCreateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSellOfferBuy) Unmarshal(dAtA []byte) error { +func (m *MsgBoosterPackOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13766,10 +17489,10 @@ func (m *MsgSellOfferBuy) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSellOfferBuy: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBoosterPackOpen: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSellOfferBuy: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBoosterPackOpen: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13806,9 +17529,9 @@ func (m *MsgSellOfferBuy) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SellOfferId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BoosterPackId", wireType) } - m.SellOfferId = 0 + m.BoosterPackId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13818,7 +17541,7 @@ func (m *MsgSellOfferBuy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SellOfferId |= uint64(b&0x7F) << shift + m.BoosterPackId |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13844,7 +17567,7 @@ func (m *MsgSellOfferBuy) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSellOfferBuyResponse) Unmarshal(dAtA []byte) error { +func (m *MsgBoosterPackOpenResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13867,12 +17590,88 @@ func (m *MsgSellOfferBuyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSellOfferBuyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBoosterPackOpenResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSellOfferBuyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBoosterPackOpenResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CardIds = append(m.CardIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.CardIds) == 0 { + m.CardIds = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CardIds = append(m.CardIds, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field CardIds", wireType) + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -13894,7 +17693,7 @@ func (m *MsgSellOfferBuyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSellOfferRemove) Unmarshal(dAtA []byte) error { +func (m *MsgBoosterPackTransfer) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13917,10 +17716,10 @@ func (m *MsgSellOfferRemove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSellOfferRemove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBoosterPackTransfer: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSellOfferRemove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBoosterPackTransfer: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13957,9 +17756,9 @@ func (m *MsgSellOfferRemove) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SellOfferId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BoosterPackId", wireType) } - m.SellOfferId = 0 + m.BoosterPackId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13969,11 +17768,43 @@ func (m *MsgSellOfferRemove) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SellOfferId |= uint64(b&0x7F) << shift + m.BoosterPackId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Receiver = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -13995,7 +17826,7 @@ func (m *MsgSellOfferRemove) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSellOfferRemoveResponse) Unmarshal(dAtA []byte) error { +func (m *MsgBoosterPackTransferResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14018,10 +17849,10 @@ func (m *MsgSellOfferRemoveResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSellOfferRemoveResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBoosterPackTransferResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSellOfferRemoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBoosterPackTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -14045,7 +17876,7 @@ func (m *MsgSellOfferRemoveResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { +func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14068,10 +17899,10 @@ func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardRaritySet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetStoryWriterSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardRaritySet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetStoryWriterSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14107,25 +17938,6 @@ func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) - } - m.CardId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CardId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } @@ -14144,11 +17956,11 @@ func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { break } } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Rarity", wireType) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StoryWriter", wireType) } - m.Rarity = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14158,11 +17970,24 @@ func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Rarity |= CardRarity(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StoryWriter = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14184,7 +18009,7 @@ func (m *MsgCardRaritySet) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardRaritySetResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetStoryWriterSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14207,10 +18032,10 @@ func (m *MsgCardRaritySetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardRaritySetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetStoryWriterSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardRaritySetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetStoryWriterSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -14234,7 +18059,7 @@ func (m *MsgCardRaritySetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { +func (m *MsgSetArtistSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14257,10 +18082,10 @@ func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilResponseCommit: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetArtistSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilResponseCommit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetArtistSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14297,9 +18122,9 @@ func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CouncilId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.CouncilId = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14309,46 +18134,14 @@ func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CouncilId |= uint64(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reponse", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reponse = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Suggestion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14376,7 +18169,7 @@ func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Suggestion = string(dAtA[iNdEx:postIndex]) + m.Artist = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14399,7 +18192,7 @@ func (m *MsgCouncilResponseCommit) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilResponseCommitResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetArtistSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14422,10 +18215,10 @@ func (m *MsgCouncilResponseCommitResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilResponseCommitResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetArtistSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilResponseCommitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetArtistSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -14449,7 +18242,7 @@ func (m *MsgCouncilResponseCommitResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilResponseReveal) Unmarshal(dAtA []byte) error { +func (m *MsgCardVoteMulti) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14472,10 +18265,10 @@ func (m *MsgCouncilResponseReveal) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilResponseReveal: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCardVoteMulti: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilResponseReveal: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCardVoteMulti: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14511,48 +18304,10 @@ func (m *MsgCouncilResponseReveal) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CouncilId", wireType) - } - m.CouncilId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CouncilId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Reponse", wireType) - } - m.Reponse = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Reponse |= Response(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14562,23 +18317,25 @@ func (m *MsgCouncilResponseReveal) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.Secret = string(dAtA[iNdEx:postIndex]) + m.Votes = append(m.Votes, &SingleVote{}) + if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -14601,7 +18358,7 @@ func (m *MsgCouncilResponseReveal) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilResponseRevealResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCardVoteMultiResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14620,16 +18377,36 @@ func (m *MsgCouncilResponseRevealResponse) Unmarshal(dAtA []byte) error { if b < 0x80 { break } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilResponseRevealResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilResponseRevealResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCardVoteMultiResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCardVoteMultiResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AirdropClaimed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14651,7 +18428,7 @@ func (m *MsgCouncilResponseRevealResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilRestart) Unmarshal(dAtA []byte) error { +func (m *MsgMatchOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14674,10 +18451,10 @@ func (m *MsgCouncilRestart) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilRestart: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMatchOpen: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilRestart: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMatchOpen: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14713,10 +18490,10 @@ func (m *MsgCouncilRestart) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CouncilId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerA", wireType) } - m.CouncilId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14726,11 +18503,208 @@ func (m *MsgCouncilRestart) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CouncilId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerA = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerB", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerB = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayerAdeck = append(m.PlayerAdeck, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.PlayerAdeck) == 0 { + m.PlayerAdeck = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayerAdeck = append(m.PlayerAdeck, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerAdeck", wireType) + } + case 5: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayerBdeck = append(m.PlayerBdeck, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.PlayerBdeck) == 0 { + m.PlayerBdeck = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PlayerBdeck = append(m.PlayerBdeck, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerBdeck", wireType) + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14752,7 +18726,7 @@ func (m *MsgCouncilRestart) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCouncilRestartResponse) Unmarshal(dAtA []byte) error { +func (m *MsgMatchOpenResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14775,12 +18749,31 @@ func (m *MsgCouncilRestartResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCouncilRestartResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMatchOpenResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCouncilRestartResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMatchOpenResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchId", wireType) + } + m.MatchId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MatchId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14802,7 +18795,7 @@ func (m *MsgCouncilRestartResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { +func (m *MsgSetNameSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14825,10 +18818,10 @@ func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgMatchConfirm: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetNameSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMatchConfirm: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetNameSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14865,28 +18858,9 @@ func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MatchId", wireType) - } - m.MatchId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MatchId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) } - m.Outcome = 0 + m.SetId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14896,16 +18870,16 @@ func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Outcome |= Outcome(b&0x7F) << shift + m.SetId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VotedCards", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14915,25 +18889,23 @@ func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.VotedCards = append(m.VotedCards, &SingleVote{}) - if err := m.VotedCards[len(m.VotedCards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14956,7 +18928,7 @@ func (m *MsgMatchConfirm) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgMatchConfirmResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetNameSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14979,10 +18951,10 @@ func (m *MsgMatchConfirmResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgMatchConfirmResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetNameSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgMatchConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetNameSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -15006,7 +18978,7 @@ func (m *MsgMatchConfirmResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgProfileCardSet) Unmarshal(dAtA []byte) error { +func (m *MsgProfileAliasSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15029,10 +19001,10 @@ func (m *MsgProfileCardSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgProfileCardSet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileAliasSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgProfileCardSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileAliasSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15068,10 +19040,10 @@ func (m *MsgProfileCardSet) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CardId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) } - m.CardId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15081,11 +19053,24 @@ func (m *MsgProfileCardSet) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CardId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Alias = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -15107,7 +19092,7 @@ func (m *MsgProfileCardSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgProfileCardSetResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProfileAliasSetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15130,10 +19115,10 @@ func (m *MsgProfileCardSetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgProfileCardSetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProfileAliasSetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgProfileCardSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProfileAliasSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -15157,7 +19142,7 @@ func (m *MsgProfileCardSetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgProfileWebsiteSet) Unmarshal(dAtA []byte) error { +func (m *MsgEarlyAccessInvite) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15180,10 +19165,10 @@ func (m *MsgProfileWebsiteSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgProfileWebsiteSet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEarlyAccessInvite: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgProfileWebsiteSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEarlyAccessInvite: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15220,7 +19205,7 @@ func (m *MsgProfileWebsiteSet) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Website", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15248,7 +19233,7 @@ func (m *MsgProfileWebsiteSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Website = string(dAtA[iNdEx:postIndex]) + m.User = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15271,7 +19256,7 @@ func (m *MsgProfileWebsiteSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgProfileWebsiteSetResponse) Unmarshal(dAtA []byte) error { +func (m *MsgEarlyAccessInviteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15294,10 +19279,10 @@ func (m *MsgProfileWebsiteSetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgProfileWebsiteSetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEarlyAccessInviteResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgProfileWebsiteSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEarlyAccessInviteResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -15321,7 +19306,7 @@ func (m *MsgProfileWebsiteSetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgProfileBioSet) Unmarshal(dAtA []byte) error { +func (m *MsgZealyConnect) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15344,10 +19329,10 @@ func (m *MsgProfileBioSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgProfileBioSet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgZealyConnect: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgProfileBioSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgZealyConnect: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15384,7 +19369,7 @@ func (m *MsgProfileBioSet) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Bio", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ZealyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15412,7 +19397,7 @@ func (m *MsgProfileBioSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Bio = string(dAtA[iNdEx:postIndex]) + m.ZealyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15435,7 +19420,7 @@ func (m *MsgProfileBioSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgProfileBioSetResponse) Unmarshal(dAtA []byte) error { +func (m *MsgZealyConnectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15458,10 +19443,10 @@ func (m *MsgProfileBioSetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgProfileBioSetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgZealyConnectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgProfileBioSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgZealyConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -15485,7 +19470,7 @@ func (m *MsgProfileBioSetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBoosterPackOpen) Unmarshal(dAtA []byte) error { +func (m *MsgEncounterCreate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15508,10 +19493,10 @@ func (m *MsgBoosterPackOpen) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgBoosterPackOpen: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEncounterCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBoosterPackOpen: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEncounterCreate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15547,10 +19532,10 @@ func (m *MsgBoosterPackOpen) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BoosterPackId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - m.BoosterPackId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15560,62 +19545,25 @@ func (m *MsgBoosterPackOpen) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BoosterPackId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBoosterPackOpenResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBoosterPackOpenResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBoosterPackOpenResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType == 0 { var v uint64 for shift := uint(0); ; shift += 7 { @@ -15632,7 +19580,7 @@ func (m *MsgBoosterPackOpenResponse) Unmarshal(dAtA []byte) error { break } } - m.CardIds = append(m.CardIds, v) + m.Drawlist = append(m.Drawlist, v) } else if wireType == 2 { var packedLen int for shift := uint(0); ; shift += 7 { @@ -15667,8 +19615,8 @@ func (m *MsgBoosterPackOpenResponse) Unmarshal(dAtA []byte) error { } } elementCount = count - if elementCount != 0 && len(m.CardIds) == 0 { - m.CardIds = make([]uint64, 0, elementCount) + if elementCount != 0 && len(m.Drawlist) == 0 { + m.Drawlist = make([]uint64, 0, elementCount) } for iNdEx < postIndex { var v uint64 @@ -15686,66 +19634,16 @@ func (m *MsgBoosterPackOpenResponse) Unmarshal(dAtA []byte) error { break } } - m.CardIds = append(m.CardIds, v) + m.Drawlist = append(m.Drawlist, v) } } else { - return fmt.Errorf("proto: wrong wireType = %d for field CardIds", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBoosterPackTransfer) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + return fmt.Errorf("proto: wrong wireType = %d for field Drawlist", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBoosterPackTransfer: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBoosterPackTransfer: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15755,48 +19653,124 @@ func (m *MsgBoosterPackTransfer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Parameters == nil { + m.Parameters = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthTx + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTx + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthTx + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTx + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Parameters[mapkey] = mapvalue iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BoosterPackId", wireType) - } - m.BoosterPackId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.BoosterPackId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15806,23 +19780,25 @@ func (m *MsgBoosterPackTransfer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.Receiver = string(dAtA[iNdEx:postIndex]) + m.Image = append(m.Image[:0], dAtA[iNdEx:postIndex]...) + if m.Image == nil { + m.Image = []byte{} + } iNdEx = postIndex default: iNdEx = preIndex @@ -15845,7 +19821,7 @@ func (m *MsgBoosterPackTransfer) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBoosterPackTransferResponse) Unmarshal(dAtA []byte) error { +func (m *MsgEncounterCreateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15868,10 +19844,10 @@ func (m *MsgBoosterPackTransferResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgBoosterPackTransferResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEncounterCreateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBoosterPackTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEncounterCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -15895,7 +19871,7 @@ func (m *MsgBoosterPackTransferResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { +func (m *MsgEncounterDo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15918,10 +19894,10 @@ func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetStoryWriterSet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEncounterDo: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetStoryWriterSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEncounterDo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15958,9 +19934,9 @@ func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EncounterId", wireType) } - m.SetId = 0 + m.EncounterId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15970,14 +19946,14 @@ func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + m.EncounterId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StoryWriter", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16005,7 +19981,7 @@ func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StoryWriter = string(dAtA[iNdEx:postIndex]) + m.User = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16028,7 +20004,7 @@ func (m *MsgSetStoryWriterSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetStoryWriterSetResponse) Unmarshal(dAtA []byte) error { +func (m *MsgEncounterDoResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16051,10 +20027,10 @@ func (m *MsgSetStoryWriterSetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetStoryWriterSetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEncounterDoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetStoryWriterSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEncounterDoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -16078,7 +20054,7 @@ func (m *MsgSetStoryWriterSetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetArtistSet) Unmarshal(dAtA []byte) error { +func (m *MsgEncounterClose) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16101,10 +20077,10 @@ func (m *MsgSetArtistSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetArtistSet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEncounterClose: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetArtistSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEncounterClose: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16141,9 +20117,9 @@ func (m *MsgSetArtistSet) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EncounterId", wireType) } - m.SetId = 0 + m.EncounterId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -16153,146 +20129,14 @@ func (m *MsgSetArtistSet) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SetId |= uint64(b&0x7F) << shift + m.EncounterId |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Artist", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Artist = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSetArtistSetResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSetArtistSetResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetArtistSetResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgCardVoteMulti) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCardVoteMulti: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardVoteMulti: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16320,13 +20164,13 @@ func (m *MsgCardVoteMulti) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.User = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Won", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -16336,26 +20180,12 @@ func (m *MsgCardVoteMulti) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Votes = append(m.Votes, &SingleVote{}) - if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.Won = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -16377,7 +20207,7 @@ func (m *MsgCardVoteMulti) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCardVoteMultiResponse) Unmarshal(dAtA []byte) error { +func (m *MsgEncounterCloseResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16400,32 +20230,12 @@ func (m *MsgCardVoteMultiResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCardVoteMultiResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgEncounterCloseResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCardVoteMultiResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgEncounterCloseResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AirdropClaimed", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AirdropClaimed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:])