diff --git a/cmd/Cardchaind/cmd/root.go b/cmd/Cardchaind/cmd/root.go index 42fa5020..4fdebf44 100644 --- a/cmd/Cardchaind/cmd/root.go +++ b/cmd/Cardchaind/cmd/root.go @@ -350,4 +350,4 @@ func initAppConfig() (string, interface{}) { customAppTemplate := serverconfig.DefaultConfigTemplate return customAppTemplate, customAppConfig -} \ No newline at end of file +} diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index bf1547b4..51dfe1d2 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -35549,152 +35549,6 @@ paths: description: >- QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: owner - in: path - required: true - type: string - - name: connection_id - in: path - required: true - type: string - tags: - - Query - /ibc/apps/interchain_accounts/controller/v1/params: - get: - summary: Params queries all parameters of the ICA controller submodule. - operationId: IbcApplicationsInterchainAccountsControllerV1Params - responses: - '200': - description: A successful response. - schema: - type: object - properties: - params: - type: object - properties: - controller_enabled: - type: boolean - description: >- - controller_enabled enables or disables the controller - submodule. - description: >- - Params defines the set of on-chain interchain accounts - parameters. - - The following parameters may be used to disable the controller - submodule. - description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - tags: - - Query - /ibc/apps/interchain_accounts/host/v1/params: - get: - summary: Params queries all parameters of the ICA host submodule. - operationId: IbcApplicationsInterchainAccountsHostV1Params - responses: - '200': - description: A successful response. - schema: - type: object - properties: - params: - type: object - properties: - host_enabled: - type: boolean - description: host_enabled enables or disables the host submodule. - allow_messages: - type: array - items: - type: string - description: >- - allow_messages defines a list of sdk message typeURLs - allowed to be executed on a host chain. - description: >- - Params defines the set of on-chain interchain accounts - parameters. - - The following parameters may be used to disable the host - submodule. - description: >- - QueryParamsResponse is the response type for the Query/Params RPC - method. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - tags: - - Query - /ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address: - get: - summary: >- - EscrowAddress returns the escrow address for a particular port and - channel id. - operationId: IbcApplicationsTransferV1EscrowAddress - responses: - '200': - description: A successful response. - schema: - type: object - properties: - escrow_address: - type: string - title: the escrow account address - description: >- - QueryEscrowAddressResponse is the response type of the - EscrowAddress RPC method. default: description: An unexpected error response. schema: @@ -35881,35 +35735,37 @@ paths: "value": "1.212s" } parameters: - - name: channel_id - description: unique channel identifier + - name: owner in: path required: true type: string - - name: port_id - description: unique port identifier + - name: connection_id in: path required: true type: string tags: - Query - /ibc/apps/transfer/v1/denom_hashes/{trace}: + /ibc/apps/interchain_accounts/controller/v1/params: get: - summary: DenomHash queries a denomination hash information. - operationId: IbcApplicationsTransferV1DenomHash + summary: Params queries all parameters of the ICA controller submodule. + operationId: IbcApplicationsInterchainAccountsControllerV1Params responses: '200': description: A successful response. schema: type: object properties: - hash: - type: string - description: hash (in hex format) of the denomination trace information. + params: + description: params defines the parameters of the module. + type: object + properties: + controller_enabled: + type: boolean + description: >- + controller_enabled enables or disables the controller + submodule. description: >- - QueryDenomHashResponse is the response type for the - Query/DenomHash RPC - + QueryParamsResponse is the response type for the Query/Params RPC method. default: description: An unexpected error response. @@ -36096,78 +35952,537 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: trace - description: The denomination trace ([port_id]/[channel_id])+/[denom] - in: path - required: true - type: string tags: - Query - /ibc/apps/transfer/v1/denom_traces: + /ibc/apps/interchain_accounts/host/v1/params: get: - summary: DenomTraces queries all denomination traces. - operationId: IbcApplicationsTransferV1DenomTraces + summary: Params queries all parameters of the ICA host submodule. + operationId: IbcApplicationsInterchainAccountsHostV1Params responses: '200': description: A successful response. schema: type: object properties: - denom_traces: + params: + description: params defines the parameters of the module. + type: object + properties: + host_enabled: + type: boolean + description: host_enabled enables or disables the host submodule. + allow_messages: + type: array + items: + type: string + description: >- + allow_messages defines a list of sdk message typeURLs + allowed to be executed on a host chain. + description: >- + QueryParamsResponse is the response type for the Query/Params RPC + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: type: array items: type: object properties: - path: - type: string - description: >- - path defines the chain of port/channel identifiers used - for tracing the - - source of the fungible token. - base_denom: + '@type': type: string - description: base denomination of the relayed fungible token. - description: >- - DenomTrace contains the base denomination for ICS20 fungible - tokens and the - - source tracing information path. - description: denom_traces returns all denominations trace information. - pagination: - type: object - properties: - next_key: - type: string - format: byte - description: |- - next_key is the key to be passed to PageRequest.key to - query the next page most efficiently. It will be empty if - there are no more results. - total: - type: string - format: uint64 - title: >- - total is total number of results available if - PageRequest.count_total - - was set, its value is undefined otherwise - description: >- - PageResponse is to be embedded in gRPC response messages where - the - - corresponding request message has used PageRequest. - - message SomeResponse { - repeated Bar results = 1; - PageResponse page = 2; - } + additionalProperties: {} + tags: + - Query + /ibc/apps/transfer/v1/channels/{channel_id}/ports/{port_id}/escrow_address: + get: + summary: >- + EscrowAddress returns the escrow address for a particular port and + channel id. + operationId: IbcApplicationsTransferV1EscrowAddress + responses: + '200': + description: A successful response. + schema: + type: object + properties: + escrow_address: + type: string + title: the escrow account address description: >- - QueryConnectionsResponse is the response type for the - Query/DenomTraces RPC - - method. + QueryEscrowAddressResponse is the response type of the + EscrowAddress RPC method. + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + description: >- + A URL/resource name that uniquely identifies the type of + the serialized + + protocol buffer message. This string must contain at + least + + one "/" character. The last segment of the URL's path + must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in + a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary + all types that they + + expect it to use in the context of Any. However, for + URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally + set up a type + + server that maps type URLs to message definitions as + follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a + [google.protobuf.Type][] + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based + on the + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in + the official + + protobuf release, and it is not used for type URLs + beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) + might be + + used with implementation specific semantics. + additionalProperties: {} + description: >- + `Any` contains an arbitrary serialized protocol buffer + message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values + in the form + + of utility functions or additional generated methods of the + Any type. + + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by + default use + + 'type.googleapis.com/full.type.name' as the type URL and the + unpack + + methods only use the fully qualified type name after the + last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield + type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with + an + + additional field `@type` which contains the type URL. + Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom + JSON + + representation, that representation will be embedded adding + a field + + `value` which holds the custom JSON in addition to the + `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: channel_id + description: unique channel identifier + in: path + required: true + type: string + - name: port_id + description: unique port identifier + in: path + required: true + type: string + tags: + - Query + /ibc/apps/transfer/v1/denom_hashes/{trace}: + get: + summary: DenomHash queries a denomination hash information. + operationId: IbcApplicationsTransferV1DenomHash + responses: + '200': + description: A successful response. + schema: + type: object + properties: + hash: + type: string + description: hash (in hex format) of the denomination trace information. + description: >- + QueryDenomHashResponse is the response type for the + Query/DenomHash RPC + + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + description: >- + A URL/resource name that uniquely identifies the type of + the serialized + + protocol buffer message. This string must contain at + least + + one "/" character. The last segment of the URL's path + must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in + a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary + all types that they + + expect it to use in the context of Any. However, for + URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally + set up a type + + server that maps type URLs to message definitions as + follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a + [google.protobuf.Type][] + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based + on the + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in + the official + + protobuf release, and it is not used for type URLs + beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) + might be + + used with implementation specific semantics. + additionalProperties: {} + description: >- + `Any` contains an arbitrary serialized protocol buffer + message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values + in the form + + of utility functions or additional generated methods of the + Any type. + + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by + default use + + 'type.googleapis.com/full.type.name' as the type URL and the + unpack + + methods only use the fully qualified type name after the + last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield + type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with + an + + additional field `@type` which contains the type URL. + Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom + JSON + + representation, that representation will be embedded adding + a field + + `value` which holds the custom JSON in addition to the + `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: trace + description: The denomination trace ([port_id]/[channel_id])+/[denom] + in: path + required: true + type: string + tags: + - Query + /ibc/apps/transfer/v1/denom_traces: + get: + summary: DenomTraces queries all denomination traces. + operationId: IbcApplicationsTransferV1DenomTraces + responses: + '200': + description: A successful response. + schema: + type: object + properties: + denom_traces: + type: array + items: + type: object + properties: + path: + type: string + description: >- + path defines the chain of port/channel identifiers used + for tracing the + + source of the fungible token. + base_denom: + type: string + description: base denomination of the relayed fungible token. + description: >- + DenomTrace contains the base denomination for ICS20 fungible + tokens and the + + source tracing information path. + description: denom_traces returns all denominations trace information. + pagination: + description: pagination defines the pagination in the response. + type: object + properties: + next_key: + type: string + format: byte + description: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently. It will be empty if + there are no more results. + total: + type: string + format: uint64 + title: >- + total is total number of results available if + PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QueryConnectionsResponse is the response type for the + Query/DenomTraces RPC + + method. default: description: An unexpected error response. schema: @@ -36651,6 +36966,7 @@ paths: type: object properties: params: + description: params defines the parameters of the module. type: object properties: send_enabled: @@ -36667,16 +36983,6 @@ paths: transfers to this chain. - description: >- - Params defines the set of IBC transfer parameters. - - NOTE: To prevent a single token from being transferred, set - the - - TransfersEnabled parameter to true and then set the bank - module's SendEnabled - - parameter for the denomination to false. description: >- QueryParamsResponse is the response type for the Query/Params RPC method. @@ -36883,6 +37189,7 @@ paths: type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -36905,6 +37212,7 @@ paths: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -36917,8 +37225,8 @@ paths: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -36929,7 +37237,6 @@ paths: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -36957,6 +37264,7 @@ paths: identifier fields. description: list of stored channels of the chain. pagination: + title: pagination response type: object properties: next_key: @@ -36985,6 +37293,7 @@ paths: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -37012,13 +37321,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients description: >- QueryChannelsResponse is the response type for the Query/Channels RPC method. @@ -37277,9 +37579,11 @@ paths: type: object properties: channel: + title: channel associated with the request identifiers type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -37302,6 +37606,7 @@ paths: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -37313,8 +37618,8 @@ paths: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -37325,7 +37630,6 @@ paths: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -37353,6 +37657,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -37380,13 +37685,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients description: >- QueryChannelResponse is the response type for the Query/Channel RPC method. @@ -37608,6 +37906,7 @@ paths: type: object properties: identified_client_state: + title: client state associated with the channel type: object properties: client_id: @@ -37786,6 +38085,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state description: >- IdentifiedClientState defines a client state with an additional client @@ -37796,6 +38096,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -37823,13 +38124,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryChannelClientStateResponse is the Response type for the Query/QueryChannelClientState RPC method @@ -38212,6 +38506,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state associated with the channel client_id: type: string title: client ID associated with the consensus state @@ -38220,6 +38515,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -38247,13 +38543,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryChannelClientStateResponse is the Response type for the Query/QueryChannelClientState RPC method @@ -38488,6 +38777,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -38515,13 +38805,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QuerySequenceResponse is the request type for the Query/QueryNextSequenceReceiveResponse RPC method @@ -38767,6 +39050,7 @@ paths: state as a commitment, acknowledgement, or a receipt. pagination: + title: pagination response type: object properties: next_key: @@ -38795,6 +39079,7 @@ paths: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -38822,13 +39107,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryPacketAcknowledgemetsResponse is the request type for the Query/QueryPacketAcknowledgements RPC method @@ -39114,6 +39392,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -39141,13 +39420,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: >- QueryPacketAcknowledgementResponse defines the client query response for a @@ -39401,6 +39673,7 @@ paths: state as a commitment, acknowledgement, or a receipt. pagination: + title: pagination response type: object properties: next_key: @@ -39429,6 +39702,7 @@ paths: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -39456,13 +39730,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryPacketCommitmentsResponse is the request type for the Query/QueryPacketCommitments RPC method @@ -39741,6 +40008,7 @@ paths: format: uint64 title: list of unreceived acknowledgement sequences height: + title: query block height type: object properties: revision_number: @@ -39768,13 +40036,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryUnreceivedAcksResponse is the response type for the Query/UnreceivedAcks RPC method @@ -40007,6 +40268,7 @@ paths: format: uint64 title: list of unreceived packet sequences height: + title: query block height type: object properties: revision_number: @@ -40034,13 +40296,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryUnreceivedPacketsResponse is the response type for the Query/UnreceivedPacketCommitments RPC method @@ -40271,6 +40526,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -40298,13 +40554,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: >- QueryPacketCommitmentResponse defines the client query response for a packet @@ -40539,6 +40788,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -40566,13 +40816,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: >- QueryPacketReceiptResponse defines the client query response for a packet @@ -40803,6 +41046,7 @@ paths: type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -40825,6 +41069,7 @@ paths: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -40837,8 +41082,8 @@ paths: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -40849,7 +41094,6 @@ paths: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -40877,6 +41121,7 @@ paths: identifier fields. description: list of channels associated with a connection. pagination: + title: pagination response type: object properties: next_key: @@ -40905,6 +41150,7 @@ paths: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -40932,13 +41178,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryConnectionChannelsResponse is the Response type for the Query/QueryConnectionChannels RPC method @@ -41127,281 +41366,68 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: connection - description: connection unique identifier - in: path - required: true - type: string - - name: pagination.key - description: |- - key is a value returned in PageResponse.next_key to begin - querying the next page most efficiently. Only one of offset or key - should be set. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: >- - offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key - should - - be set. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: >- - limit is the total number of results to be returned in the result - page. - - If left empty it will default to a value to be set by each app. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: >- - count_total is set to true to indicate that the result set should - include - - a count of the total number of items available for pagination in - UIs. - - count_total is only respected when offset is used. It is ignored - when key - - is set. - in: query - required: false - type: boolean - - name: pagination.reverse - description: >- - reverse is set to true if results are to be returned in the - descending order. - - - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean - tags: - - Query - /ibc/client/v1/params: - get: - summary: ClientParams queries all parameters of the ibc client. - operationId: IbcCoreClientV1ClientParams - responses: - '200': - description: A successful response. - schema: - type: object - properties: - params: - type: object - properties: - allowed_clients: - type: array - items: - type: string - description: >- - allowed_clients defines the list of allowed client state - types. - description: Params defines the set of IBC light client parameters. - description: >- - QueryClientParamsResponse is the response type for the - Query/ClientParams RPC - - method. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } + parameters: + - name: connection + description: connection unique identifier + in: path + required: true + type: string + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key + should + + be set. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result + page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should + include + + a count of the total number of items available for pagination in + UIs. + + count_total is only respected when offset is used. It is ignored + when key + + is set. + in: query + required: false + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the + descending order. + + + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean tags: - Query /ibc/core/client/v1/client_states: @@ -41423,6 +41449,7 @@ paths: type: string title: client identifier client_state: + title: client state type: object properties: '@type': @@ -41604,6 +41631,7 @@ paths: identifier field. description: list of stored ClientStates of the chain. pagination: + title: pagination response type: object properties: next_key: @@ -42059,11 +42087,13 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state associated with the request identifier proof: type: string format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -42091,13 +42121,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients description: >- QueryClientStateResponse is the response type for the Query/ClientState RPC @@ -42527,6 +42550,7 @@ paths: type: object properties: height: + title: consensus state height type: object properties: revision_number: @@ -42554,13 +42578,6 @@ paths: the RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the - purposes of updating and - - freezing clients consensus_state: type: object properties: @@ -42736,6 +42753,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state description: >- ConsensusStateWithHeight defines a consensus state with an additional height @@ -42743,6 +42761,7 @@ paths: field. title: consensus states associated with the identifier pagination: + title: pagination response type: object properties: next_key: @@ -43073,6 +43092,7 @@ paths: freezing clients title: consensus state heights pagination: + title: pagination response type: object properties: next_key: @@ -43535,6 +43555,9 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: >- + consensus state associated with the client identifier at the + given height proof: type: string format: byte @@ -43793,6 +43816,219 @@ paths: type: boolean tags: - Query + /ibc/core/client/v1/params: + get: + summary: ClientParams queries all parameters of the ibc client submodule. + operationId: IbcCoreClientV1ClientParams + responses: + '200': + description: A successful response. + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + allowed_clients: + type: array + items: + type: string + description: >- + allowed_clients defines the list of allowed client state + types. + description: >- + QueryClientParamsResponse is the response type for the + Query/ClientParams RPC + + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + description: >- + A URL/resource name that uniquely identifies the type of + the serialized + + protocol buffer message. This string must contain at + least + + one "/" character. The last segment of the URL's path + must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in + a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary + all types that they + + expect it to use in the context of Any. However, for + URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally + set up a type + + server that maps type URLs to message definitions as + follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a + [google.protobuf.Type][] + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based + on the + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in + the official + + protobuf release, and it is not used for type URLs + beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) + might be + + used with implementation specific semantics. + additionalProperties: {} + description: >- + `Any` contains an arbitrary serialized protocol buffer + message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values + in the form + + of utility functions or additional generated methods of the + Any type. + + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by + default use + + 'type.googleapis.com/full.type.name' as the type URL and the + unpack + + methods only use the fully qualified type name after the + last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield + type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with + an + + additional field `@type` which contains the type URL. + Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom + JSON + + representation, that representation will be embedded adding + a field + + `value` which holds the custom JSON in addition to the + `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + tags: + - Query /ibc/core/client/v1/upgraded_client_states: get: summary: UpgradedClientState queries an Upgraded IBC light client. @@ -43972,6 +44208,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state associated with the request identifier description: |- QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method. @@ -44341,6 +44578,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: Consensus state associated with the request identifier description: |- QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method. @@ -44553,6 +44791,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was generated type: object properties: revision_number: @@ -44580,13 +44819,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryClientConnectionsResponse is the response type for the Query/ClientConnections RPC method @@ -44830,6 +45062,7 @@ paths: channels or packets utilising this connection state: + description: current state of the connection end. type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -44837,18 +45070,8 @@ paths: - STATE_TRYOPEN - STATE_OPEN default: STATE_UNINITIALIZED_UNSPECIFIED - description: >- - State defines if a connection is in one of the following - states: - - INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A connection end has just started the opening handshake. - - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty - chain. - - STATE_OPEN: A connection end has completed the handshake. counterparty: + description: counterparty chain associated with this connection. type: object properties: client_id: @@ -44866,6 +45089,7 @@ paths: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -44878,9 +45102,6 @@ paths: be append(Path.KeyPath, append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated - with a connection end. delay_period: type: string format: uint64 @@ -44892,6 +45113,7 @@ paths: identifier field. description: list of stored connections of the chain. pagination: + title: pagination response type: object properties: next_key: @@ -44920,6 +45142,7 @@ paths: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -44947,13 +45170,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients description: >- QueryConnectionsResponse is the response type for the Query/Connections RPC @@ -45214,6 +45430,7 @@ paths: type: object properties: connection: + title: connection associated with the request identifier type: object properties: client_id: @@ -45245,6 +45462,7 @@ paths: channels or packets utilising this connection. state: + description: current state of the connection end. type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -45252,18 +45470,8 @@ paths: - STATE_TRYOPEN - STATE_OPEN default: STATE_UNINITIALIZED_UNSPECIFIED - description: >- - State defines if a connection is in one of the following - states: - - INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A connection end has just started the opening handshake. - - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty - chain. - - STATE_OPEN: A connection end has completed the handshake. counterparty: + description: counterparty chain associated with this connection. type: object properties: client_id: @@ -45281,6 +45489,7 @@ paths: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -45293,9 +45502,6 @@ paths: append(Path.KeyPath, append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated - with a connection end. delay_period: type: string format: uint64 @@ -45321,6 +45527,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -45348,13 +45555,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients description: >- QueryConnectionResponse is the response type for the Query/Connection RPC @@ -45569,6 +45769,7 @@ paths: type: object properties: identified_client_state: + title: client state associated with the channel type: object properties: client_id: @@ -45747,6 +45948,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state description: >- IdentifiedClientState defines a client state with an additional client @@ -45757,6 +45959,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -45784,13 +45987,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryConnectionClientStateResponse is the response type for the Query/ConnectionClientState RPC method @@ -46168,6 +46364,7 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state associated with the channel client_id: type: string title: client ID associated with the consensus state @@ -46176,6 +46373,7 @@ paths: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -46203,13 +46401,6 @@ paths: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients title: |- QueryConnectionConsensusStateResponse is the response type for the Query/ConnectionConsensusState RPC method @@ -46398,22 +46589,238 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - parameters: - - name: connection_id - description: connection identifier - in: path - required: true - type: string - - name: revision_number - in: path - required: true - type: string - format: uint64 - - name: revision_height - in: path - required: true - type: string - format: uint64 + parameters: + - name: connection_id + description: connection identifier + in: path + required: true + type: string + - name: revision_number + in: path + required: true + type: string + format: uint64 + - name: revision_height + in: path + required: true + type: string + format: uint64 + tags: + - Query + /ibc/core/connection/v1/params: + get: + summary: ConnectionParams queries all parameters of the ibc connection submodule. + operationId: IbcCoreConnectionV1ConnectionParams + responses: + '200': + description: A successful response. + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + max_expected_time_per_block: + type: string + format: uint64 + description: >- + maximum expected time per block (in nanoseconds), used to + enforce block delay. This parameter should reflect the + + largest amount of time that the chain might reasonably + take to produce the next block under normal operating + + conditions. A safe choice is 3-5x the expected time per + block. + description: >- + QueryConnectionParamsResponse is the response type for the + Query/ConnectionParams RPC method. + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + description: >- + A URL/resource name that uniquely identifies the type of + the serialized + + protocol buffer message. This string must contain at + least + + one "/" character. The last segment of the URL's path + must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in + a canonical form + + (e.g., leading "." is not accepted). + + + In practice, teams usually precompile into the binary + all types that they + + expect it to use in the context of Any. However, for + URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally + set up a type + + server that maps type URLs to message definitions as + follows: + + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a + [google.protobuf.Type][] + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based + on the + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in + the official + + protobuf release, and it is not used for type URLs + beginning with + + type.googleapis.com. + + + Schemes other than `http`, `https` (or the empty scheme) + might be + + used with implementation specific semantics. + additionalProperties: {} + description: >- + `Any` contains an arbitrary serialized protocol buffer + message along with a + + URL that describes the type of the serialized message. + + + Protobuf library provides support to pack/unpack Any values + in the form + + of utility functions or additional generated methods of the + Any type. + + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by + default use + + 'type.googleapis.com/full.type.name' as the type URL and the + unpack + + methods only use the fully qualified type name after the + last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield + type + + name "y.z". + + + + JSON + + ==== + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with + an + + additional field `@type` which contains the type URL. + Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom + JSON + + representation, that representation will be embedded adding + a field + + `value` which holds the custom JSON in addition to the + `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } tags: - Query definitions: @@ -71271,6 +71678,8 @@ definitions: type: object DecentralCardGame.cardchain.cardchain.MsgFinalizeCollectionResponse: type: object + DecentralCardGame.cardchain.cardchain.MsgMultiVoteCardResponse: + type: object DecentralCardGame.cardchain.cardchain.MsgOpenBoosterPackResponse: type: object DecentralCardGame.cardchain.cardchain.MsgRegisterForCouncilResponse: @@ -71810,6 +72219,14 @@ definitions: validReports: type: string format: uint64 + DecentralCardGame.cardchain.cardchain.SingleVote: + type: object + properties: + cardId: + type: string + format: uint64 + voteType: + type: string DecentralCardGame.cardchain.cardchain.Status: type: string enum: @@ -71992,6 +72409,21 @@ definitions: type: string hash: type: string + ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse: + type: object + properties: + channel_id: + type: string + title: >- + MsgRegisterInterchainAccountResponse defines the response for + Msg/MsgRegisterInterchainAccountResponse + ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse: + type: object + properties: + sequence: + type: string + format: uint64 + title: MsgSendTxResponse defines the response for MsgSendTx ibc.applications.interchain_accounts.controller.v1.Params: type: object properties: @@ -72013,17 +72445,52 @@ definitions: type: object properties: params: + description: params defines the parameters of the module. type: object properties: controller_enabled: type: boolean description: controller_enabled enables or disables the controller submodule. - description: >- - Params defines the set of on-chain interchain accounts parameters. - - The following parameters may be used to disable the controller - submodule. description: QueryParamsResponse is the response type for the Query/Params RPC method. + ibc.applications.interchain_accounts.v1.InterchainAccountPacketData: + type: object + properties: + type: + type: string + enum: + - TYPE_UNSPECIFIED + - TYPE_EXECUTE_TX + default: TYPE_UNSPECIFIED + description: |- + - TYPE_UNSPECIFIED: Default zero value enumeration + - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain + title: >- + Type defines a classification of message issued from a controller + chain to its associated interchain accounts + + host + data: + type: string + format: byte + memo: + type: string + description: >- + InterchainAccountPacketData is comprised of a raw transaction, type of + transaction and optional memo field. + ibc.applications.interchain_accounts.v1.Type: + type: string + enum: + - TYPE_UNSPECIFIED + - TYPE_EXECUTE_TX + default: TYPE_UNSPECIFIED + description: |- + - TYPE_UNSPECIFIED: Default zero value enumeration + - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain + title: >- + Type defines a classification of message issued from a controller chain to + its associated interchain accounts + + host ibc.applications.interchain_accounts.host.v1.Params: type: object properties: @@ -72044,6 +72511,7 @@ definitions: type: object properties: params: + description: params defines the parameters of the module. type: object properties: host_enabled: @@ -72056,9 +72524,6 @@ definitions: description: >- allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. - description: |- - Params defines the set of on-chain interchain accounts parameters. - The following parameters may be used to disable the host submodule. description: QueryParamsResponse is the response type for the Query/Params RPC method. ibc.applications.transfer.v1.DenomTrace: type: object @@ -72080,6 +72545,11 @@ definitions: source tracing information path. ibc.applications.transfer.v1.MsgTransferResponse: type: object + properties: + sequence: + type: string + format: uint64 + title: sequence number of the transfer packet sent description: MsgTransferResponse defines the Msg/Transfer response type. ibc.applications.transfer.v1.Params: type: object @@ -72165,6 +72635,7 @@ definitions: source tracing information path. description: denom_traces returns all denominations trace information. pagination: + description: pagination defines the pagination in the response. type: object properties: next_key: @@ -72182,14 +72653,6 @@ definitions: PageRequest.count_total was set, its value is undefined otherwise - description: |- - PageResponse is to be embedded in gRPC response messages where the - corresponding request message has used PageRequest. - - message SomeResponse { - repeated Bar results = 1; - PageResponse page = 2; - } description: >- QueryConnectionsResponse is the response type for the Query/DenomTraces RPC @@ -72208,6 +72671,7 @@ definitions: type: object properties: params: + description: params defines the parameters of the module. type: object properties: send_enabled: @@ -72224,15 +72688,6 @@ definitions: transfers to this chain. - description: >- - Params defines the set of IBC transfer parameters. - - NOTE: To prevent a single token from being transferred, set the - - TransfersEnabled parameter to true and then set the bank module's - SendEnabled - - parameter for the denomination to false. description: QueryParamsResponse is the response type for the Query/Params RPC method. ibc.core.client.v1.Height: type: object @@ -72263,6 +72718,7 @@ definitions: type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -72283,6 +72739,7 @@ definitions: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -72294,8 +72751,8 @@ definitions: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -72306,7 +72763,6 @@ definitions: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -72337,6 +72793,7 @@ definitions: type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -72357,6 +72814,7 @@ definitions: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -72368,8 +72826,8 @@ definitions: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -72380,7 +72838,6 @@ definitions: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -72549,6 +73006,7 @@ definitions: format: byte title: actual opaque bytes transferred directly to the application module timeout_height: + title: block height after which the packet times out type: object properties: revision_number: @@ -72575,13 +73033,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients timeout_timestamp: type: string format: uint64 @@ -72615,6 +73066,7 @@ definitions: type: object properties: identified_client_state: + title: client state associated with the channel type: object properties: client_id: @@ -72783,6 +73235,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state description: |- IdentifiedClientState defines a client state with an additional client identifier field. @@ -72791,6 +73244,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -72817,13 +73271,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryChannelClientStateResponse is the Response type for the Query/QueryChannelClientState RPC method @@ -72987,6 +73434,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state associated with the channel client_id: type: string title: client ID associated with the consensus state @@ -72995,6 +73443,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -73021,13 +73470,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryChannelClientStateResponse is the Response type for the Query/QueryChannelClientState RPC method @@ -73035,9 +73477,11 @@ definitions: type: object properties: channel: + title: channel associated with the request identifiers type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -73058,6 +73502,7 @@ definitions: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -73069,8 +73514,8 @@ definitions: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -73081,7 +73526,6 @@ definitions: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -73106,6 +73550,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -73132,13 +73577,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients description: >- QueryChannelResponse is the response type for the Query/Channel RPC method. @@ -73155,6 +73593,7 @@ definitions: type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -73175,6 +73614,7 @@ definitions: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -73186,8 +73626,8 @@ definitions: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -73198,7 +73638,6 @@ definitions: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -73224,6 +73663,7 @@ definitions: identifier fields. description: list of stored channels of the chain. pagination: + title: pagination response type: object properties: next_key: @@ -73250,6 +73690,7 @@ definitions: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -73276,13 +73717,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients description: >- QueryChannelsResponse is the response type for the Query/Channels RPC method. @@ -73295,6 +73729,7 @@ definitions: type: object properties: state: + title: current state of the channel end type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -73315,6 +73750,7 @@ definitions: - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive packets. ordering: + title: whether the channel is ordered or unordered type: string enum: - ORDER_NONE_UNSPECIFIED @@ -73326,8 +73762,8 @@ definitions: - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in which they were sent. - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED counterparty: + title: counterparty channel end type: object properties: port_id: @@ -73338,7 +73774,6 @@ definitions: channel_id: type: string title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty connection_hops: type: array items: @@ -73364,6 +73799,7 @@ definitions: identifier fields. description: list of channels associated with a connection. pagination: + title: pagination response type: object properties: next_key: @@ -73390,6 +73826,7 @@ definitions: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -73416,13 +73853,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryConnectionChannelsResponse is the Response type for the Query/QueryConnectionChannels RPC method @@ -73438,6 +73868,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -73464,13 +73895,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QuerySequenceResponse is the request type for the Query/QueryNextSequenceReceiveResponse RPC method @@ -73486,6 +73910,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -73512,13 +73937,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryPacketAcknowledgementResponse defines the client query response for a packet which also includes a proof and the height from which the @@ -73555,6 +73973,7 @@ definitions: state as a commitment, acknowledgement, or a receipt. pagination: + title: pagination response type: object properties: next_key: @@ -73581,6 +74000,7 @@ definitions: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -73607,13 +74027,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryPacketAcknowledgemetsResponse is the request type for the Query/QueryPacketAcknowledgements RPC method @@ -73629,6 +74042,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -73655,13 +74069,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: >- QueryPacketCommitmentResponse defines the client query response for a packet @@ -73701,6 +74108,7 @@ definitions: state as a commitment, acknowledgement, or a receipt. pagination: + title: pagination response type: object properties: next_key: @@ -73727,6 +74135,7 @@ definitions: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -73753,13 +74162,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryPacketCommitmentsResponse is the request type for the Query/QueryPacketCommitments RPC method @@ -73774,6 +74176,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -73800,13 +74203,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: >- QueryPacketReceiptResponse defines the client query response for a packet @@ -73824,6 +74220,7 @@ definitions: format: uint64 title: list of unreceived acknowledgement sequences height: + title: query block height type: object properties: revision_number: @@ -73850,13 +74247,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryUnreceivedAcksResponse is the response type for the Query/UnreceivedAcks RPC method @@ -73870,6 +74260,7 @@ definitions: format: uint64 title: list of unreceived packet sequences height: + title: query block height type: object properties: revision_number: @@ -73896,13 +74287,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryUnreceivedPacketsResponse is the response type for the Query/UnreceivedPacketCommitments RPC method @@ -74103,6 +74487,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state description: |- IdentifiedClientState defines a client state with an additional client identifier field. @@ -74110,6 +74495,7 @@ definitions: type: object properties: height: + title: consensus state height type: object properties: revision_number: @@ -74136,13 +74522,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients consensus_state: type: object properties: @@ -74300,6 +74679,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state description: >- ConsensusStateWithHeight defines a consensus state with an additional height @@ -74332,6 +74712,7 @@ definitions: type: object properties: params: + description: params defines the parameters of the module. type: object properties: allowed_clients: @@ -74339,7 +74720,6 @@ definitions: items: type: string description: allowed_clients defines the list of allowed client state types. - description: Params defines the set of IBC light client parameters. description: >- QueryClientParamsResponse is the response type for the Query/ClientParams RPC @@ -74505,11 +74885,13 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state associated with the request identifier proof: type: string format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -74536,13 +74918,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients description: >- QueryClientStateResponse is the response type for the Query/ClientState RPC @@ -74562,6 +74937,7 @@ definitions: type: string title: client identifier client_state: + title: client state type: object properties: '@type': @@ -74735,6 +75111,7 @@ definitions: identifier field. description: list of stored ClientStates of the chain. pagination: + title: pagination response type: object properties: next_key: @@ -74817,6 +75194,7 @@ definitions: freezing clients title: consensus state heights pagination: + title: pagination response type: object properties: next_key: @@ -75005,6 +75383,9 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: >- + consensus state associated with the client identifier at the given + height proof: type: string format: byte @@ -75057,6 +75438,7 @@ definitions: type: object properties: height: + title: consensus state height type: object properties: revision_number: @@ -75084,13 +75466,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients consensus_state: type: object properties: @@ -75258,6 +75633,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state description: >- ConsensusStateWithHeight defines a consensus state with an additional height @@ -75265,6 +75641,7 @@ definitions: field. title: consensus states associated with the identifier pagination: + title: pagination response type: object properties: next_key: @@ -75453,6 +75830,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state associated with the request identifier description: |- QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method. @@ -75616,6 +75994,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: Consensus state associated with the request identifier description: |- QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method. @@ -75659,6 +76038,7 @@ definitions: channels or packets utilising this connection. state: + description: current state of the connection end. type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -75666,16 +76046,8 @@ definitions: - STATE_TRYOPEN - STATE_OPEN default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a connection is in one of the following states: - INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A connection end has just started the opening handshake. - - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty - chain. - - STATE_OPEN: A connection end has completed the handshake. counterparty: + description: counterparty chain associated with this connection. type: object properties: client_id: @@ -75693,6 +76065,7 @@ definitions: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -75705,9 +76078,6 @@ definitions: append(Path.KeyPath, append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. delay_period: type: string format: uint64 @@ -75741,6 +76111,7 @@ definitions: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -75789,6 +76160,7 @@ definitions: channels or packets utilising this connection state: + description: current state of the connection end. type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -75796,16 +76168,8 @@ definitions: - STATE_TRYOPEN - STATE_OPEN default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a connection is in one of the following states: - INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A connection end has just started the opening handshake. - - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty - chain. - - STATE_OPEN: A connection end has completed the handshake. counterparty: + description: counterparty chain associated with this connection. type: object properties: client_id: @@ -75823,6 +76187,7 @@ definitions: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -75835,9 +76200,6 @@ definitions: append(Path.KeyPath, append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. delay_period: type: string format: uint64 @@ -75865,6 +76227,21 @@ definitions: description: >- MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. + ibc.core.connection.v1.Params: + type: object + properties: + max_expected_time_per_block: + type: string + format: uint64 + description: >- + maximum expected time per block (in nanoseconds), used to enforce + block delay. This parameter should reflect the + + largest amount of time that the chain might reasonably take to produce + the next block under normal operating + + conditions. A safe choice is 3-5x the expected time per block. + description: Params defines the set of Connection parameters. ibc.core.connection.v1.QueryClientConnectionsResponse: type: object properties: @@ -75878,6 +76255,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was generated type: object properties: revision_number: @@ -75904,13 +76282,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryClientConnectionsResponse is the response type for the Query/ClientConnections RPC method @@ -75918,6 +76289,7 @@ definitions: type: object properties: identified_client_state: + title: client state associated with the channel type: object properties: client_id: @@ -76086,6 +76458,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: client state description: |- IdentifiedClientState defines a client state with an additional client identifier field. @@ -76094,6 +76467,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -76120,13 +76494,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryConnectionClientStateResponse is the response type for the Query/ConnectionClientState RPC method @@ -76290,6 +76657,7 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + title: consensus state associated with the channel client_id: type: string title: client ID associated with the consensus state @@ -76298,6 +76666,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -76324,20 +76693,35 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients title: |- QueryConnectionConsensusStateResponse is the response type for the Query/ConnectionConsensusState RPC method + ibc.core.connection.v1.QueryConnectionParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + max_expected_time_per_block: + type: string + format: uint64 + description: >- + maximum expected time per block (in nanoseconds), used to enforce + block delay. This parameter should reflect the + + largest amount of time that the chain might reasonably take to + produce the next block under normal operating + + conditions. A safe choice is 3-5x the expected time per block. + description: >- + QueryConnectionParamsResponse is the response type for the + Query/ConnectionParams RPC method. ibc.core.connection.v1.QueryConnectionResponse: type: object properties: connection: + title: connection associated with the request identifier type: object properties: client_id: @@ -76367,6 +76751,7 @@ definitions: channels or packets utilising this connection. state: + description: current state of the connection end. type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -76374,16 +76759,8 @@ definitions: - STATE_TRYOPEN - STATE_OPEN default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a connection is in one of the following states: - INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A connection end has just started the opening handshake. - - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty - chain. - - STATE_OPEN: A connection end has completed the handshake. counterparty: + description: counterparty chain associated with this connection. type: object properties: client_id: @@ -76401,6 +76778,7 @@ definitions: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -76413,9 +76791,6 @@ definitions: append(Path.KeyPath, append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. delay_period: type: string format: uint64 @@ -76441,6 +76816,7 @@ definitions: format: byte title: merkle proof of existence proof_height: + title: height at which the proof was retrieved type: object properties: revision_number: @@ -76467,13 +76843,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients description: >- QueryConnectionResponse is the response type for the Query/Connection RPC @@ -76519,6 +76888,7 @@ definitions: channels or packets utilising this connection state: + description: current state of the connection end. type: string enum: - STATE_UNINITIALIZED_UNSPECIFIED @@ -76526,16 +76896,8 @@ definitions: - STATE_TRYOPEN - STATE_OPEN default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a connection is in one of the following states: - INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A connection end has just started the opening handshake. - - STATE_TRYOPEN: A connection end has acknowledged the handshake step on the counterparty - chain. - - STATE_OPEN: A connection end has completed the handshake. counterparty: + description: counterparty chain associated with this connection. type: object properties: client_id: @@ -76553,6 +76915,7 @@ definitions: given connection. prefix: + description: commitment merkle prefix of the counterparty chain. type: object properties: key_prefix: @@ -76565,9 +76928,6 @@ definitions: append(Path.KeyPath, append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. delay_period: type: string format: uint64 @@ -76577,6 +76937,7 @@ definitions: identifier field. description: list of stored connections of the chain. pagination: + title: pagination response type: object properties: next_key: @@ -76603,6 +76964,7 @@ definitions: PageResponse page = 2; } height: + title: query block height type: object properties: revision_number: @@ -76629,13 +76991,6 @@ definitions: RevisionHeight gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients description: >- QueryConnectionsResponse is the response type for the Query/Connections RPC diff --git a/proto/cardchain/card.proto b/proto/cardchain/cardchain/card.proto similarity index 100% rename from proto/cardchain/card.proto rename to proto/cardchain/cardchain/card.proto diff --git a/proto/cardchain/collection.proto b/proto/cardchain/cardchain/collection.proto similarity index 100% rename from proto/cardchain/collection.proto rename to proto/cardchain/cardchain/collection.proto diff --git a/proto/cardchain/collection_proposal.proto b/proto/cardchain/cardchain/collection_proposal.proto similarity index 100% rename from proto/cardchain/collection_proposal.proto rename to proto/cardchain/cardchain/collection_proposal.proto diff --git a/proto/cardchain/copyright_proposal.proto b/proto/cardchain/cardchain/copyright_proposal.proto similarity index 100% rename from proto/cardchain/copyright_proposal.proto rename to proto/cardchain/cardchain/copyright_proposal.proto diff --git a/proto/cardchain/council.proto b/proto/cardchain/cardchain/council.proto similarity index 100% rename from proto/cardchain/council.proto rename to proto/cardchain/cardchain/council.proto diff --git a/proto/cardchain/genesis.proto b/proto/cardchain/cardchain/genesis.proto similarity index 69% rename from proto/cardchain/genesis.proto rename to proto/cardchain/cardchain/genesis.proto index 6f77735e..f98ff3ba 100644 --- a/proto/cardchain/genesis.proto +++ b/proto/cardchain/cardchain/genesis.proto @@ -2,16 +2,16 @@ syntax = "proto3"; package DecentralCardGame.cardchain.cardchain; import "gogoproto/gogo.proto"; -import "cardchain/params.proto"; -import "cardchain/card.proto"; -import "cardchain/user.proto"; -import "cardchain/match.proto"; -import "cardchain/collection.proto"; -import "cardchain/sell_offer.proto"; -import "cardchain/running_average.proto"; -import "cardchain/council.proto"; -import "cardchain/image.proto"; -import "cardchain/server.proto"; +import "cardchain/cardchain/params.proto"; +import "cardchain/cardchain/card.proto"; +import "cardchain/cardchain/user.proto"; +import "cardchain/cardchain/match.proto"; +import "cardchain/cardchain/collection.proto"; +import "cardchain/cardchain/sell_offer.proto"; +import "cardchain/cardchain/running_average.proto"; +import "cardchain/cardchain/council.proto"; +import "cardchain/cardchain/image.proto"; +import "cardchain/cardchain/server.proto"; import "cosmos/base/v1beta1/coin.proto"; // this line is used by starport scaffolding # genesis/proto/import diff --git a/proto/cardchain/image.proto b/proto/cardchain/cardchain/image.proto similarity index 100% rename from proto/cardchain/image.proto rename to proto/cardchain/cardchain/image.proto diff --git a/proto/cardchain/match.proto b/proto/cardchain/cardchain/match.proto similarity index 91% rename from proto/cardchain/match.proto rename to proto/cardchain/cardchain/match.proto index 8158eb91..be90154b 100644 --- a/proto/cardchain/match.proto +++ b/proto/cardchain/cardchain/match.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package DecentralCardGame.cardchain.cardchain; option go_package = "github.com/DecentralCardGame/Cardchain/x/cardchain/types"; -import "cardchain/tx.proto"; +import "cardchain/cardchain/tx.proto"; message Match { diff --git a/proto/cardchain/match_reporter_proposal.proto b/proto/cardchain/cardchain/match_reporter_proposal.proto similarity index 100% rename from proto/cardchain/match_reporter_proposal.proto rename to proto/cardchain/cardchain/match_reporter_proposal.proto diff --git a/proto/cardchain/num.proto b/proto/cardchain/cardchain/num.proto similarity index 100% rename from proto/cardchain/num.proto rename to proto/cardchain/cardchain/num.proto diff --git a/proto/cardchain/params.proto b/proto/cardchain/cardchain/params.proto similarity index 100% rename from proto/cardchain/params.proto rename to proto/cardchain/cardchain/params.proto diff --git a/proto/cardchain/query.proto b/proto/cardchain/cardchain/query.proto similarity index 93% rename from proto/cardchain/query.proto rename to proto/cardchain/cardchain/query.proto index 745331f1..b16d2524 100644 --- a/proto/cardchain/query.proto +++ b/proto/cardchain/cardchain/query.proto @@ -4,17 +4,17 @@ package DecentralCardGame.cardchain.cardchain; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "cardchain/params.proto"; -import "cardchain/vote_right.proto"; -import "cardchain/voting_results.proto"; -import "cardchain/card.proto"; -import "cardchain/user.proto"; -import "cardchain/match.proto"; -import "cardchain/collection.proto"; -import "cardchain/sell_offer.proto"; -import "cardchain/council.proto"; -import "cardchain/server.proto"; -import "cardchain/tx.proto"; +import "cardchain/cardchain/params.proto"; +import "cardchain/cardchain/vote_right.proto"; +import "cardchain/cardchain/voting_results.proto"; +import "cardchain/cardchain/card.proto"; +import "cardchain/cardchain/user.proto"; +import "cardchain/cardchain/match.proto"; +import "cardchain/cardchain/collection.proto"; +import "cardchain/cardchain/sell_offer.proto"; +import "cardchain/cardchain/council.proto"; +import "cardchain/cardchain/server.proto"; +import "cardchain/cardchain/tx.proto"; // this line is used by starport scaffolding # 1 diff --git a/proto/cardchain/running_average.proto b/proto/cardchain/cardchain/running_average.proto similarity index 100% rename from proto/cardchain/running_average.proto rename to proto/cardchain/cardchain/running_average.proto diff --git a/proto/cardchain/sell_offer.proto b/proto/cardchain/cardchain/sell_offer.proto similarity index 100% rename from proto/cardchain/sell_offer.proto rename to proto/cardchain/cardchain/sell_offer.proto diff --git a/proto/cardchain/server.proto b/proto/cardchain/cardchain/server.proto similarity index 100% rename from proto/cardchain/server.proto rename to proto/cardchain/cardchain/server.proto diff --git a/proto/cardchain/cardchain/tx.proto b/proto/cardchain/cardchain/tx.proto new file mode 100644 index 00000000..2f5c5384 --- /dev/null +++ b/proto/cardchain/cardchain/tx.proto @@ -0,0 +1,411 @@ +syntax = "proto3"; + +package DecentralCardGame.cardchain.cardchain; + +import "gogoproto/gogo.proto"; +import "cardchain/cardchain/council.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +// this line is used by starport scaffolding # proto/tx/import + +option go_package = "github.com/DecentralCardGame/Cardchain/x/cardchain/types"; + +// Msg defines the Msg service. +service Msg { + rpc Createuser (MsgCreateuser ) returns (MsgCreateuserResponse ); + rpc BuyCardScheme (MsgBuyCardScheme ) returns (MsgBuyCardSchemeResponse ); + rpc VoteCard (MsgVoteCard ) returns (MsgVoteCardResponse ); + rpc SaveCardContent (MsgSaveCardContent ) returns (MsgSaveCardContentResponse ); + rpc TransferCard (MsgTransferCard ) returns (MsgTransferCardResponse ); + rpc DonateToCard (MsgDonateToCard ) returns (MsgDonateToCardResponse ); + rpc AddArtwork (MsgAddArtwork ) returns (MsgAddArtworkResponse ); + rpc SubmitCopyrightProposal (MsgSubmitCopyrightProposal ) returns (MsgSubmitCopyrightProposalResponse ); + rpc ChangeArtist (MsgChangeArtist ) returns (MsgChangeArtistResponse ); + rpc RegisterForCouncil (MsgRegisterForCouncil ) returns (MsgRegisterForCouncilResponse ); + rpc ReportMatch (MsgReportMatch ) returns (MsgReportMatchResponse ); + rpc SubmitMatchReporterProposal (MsgSubmitMatchReporterProposal ) returns (MsgSubmitMatchReporterProposalResponse ); + rpc ApointMatchReporter (MsgApointMatchReporter ) returns (MsgApointMatchReporterResponse ); + rpc CreateCollection (MsgCreateCollection ) returns (MsgCreateCollectionResponse ); + rpc AddCardToCollection (MsgAddCardToCollection ) returns (MsgAddCardToCollectionResponse ); + rpc FinalizeCollection (MsgFinalizeCollection ) returns (MsgFinalizeCollectionResponse ); + rpc BuyCollection (MsgBuyCollection ) returns (MsgBuyCollectionResponse ); + rpc RemoveCardFromCollection (MsgRemoveCardFromCollection ) returns (MsgRemoveCardFromCollectionResponse ); + rpc RemoveContributorFromCollection (MsgRemoveContributorFromCollection) returns (MsgRemoveContributorFromCollectionResponse); + rpc AddContributorToCollection (MsgAddContributorToCollection ) returns (MsgAddContributorToCollectionResponse ); + rpc SubmitCollectionProposal (MsgSubmitCollectionProposal ) returns (MsgSubmitCollectionProposalResponse ); + rpc CreateSellOffer (MsgCreateSellOffer ) returns (MsgCreateSellOfferResponse ); + rpc BuyCard (MsgBuyCard ) returns (MsgBuyCardResponse ); + rpc RemoveSellOffer (MsgRemoveSellOffer ) returns (MsgRemoveSellOfferResponse ); + rpc AddArtworkToCollection (MsgAddArtworkToCollection ) returns (MsgAddArtworkToCollectionResponse ); + rpc AddStoryToCollection (MsgAddStoryToCollection ) returns (MsgAddStoryToCollectionResponse ); + rpc SetCardRarity (MsgSetCardRarity ) returns (MsgSetCardRarityResponse ); + rpc CreateCouncil (MsgCreateCouncil ) returns (MsgCreateCouncilResponse ); + rpc CommitCouncilResponse (MsgCommitCouncilResponse ) returns (MsgCommitCouncilResponseResponse ); + rpc RevealCouncilResponse (MsgRevealCouncilResponse ) returns (MsgRevealCouncilResponseResponse ); + rpc RestartCouncil (MsgRestartCouncil ) returns (MsgRestartCouncilResponse ); + rpc RewokeCouncilRegistration (MsgRewokeCouncilRegistration ) returns (MsgRewokeCouncilRegistrationResponse ); + rpc ConfirmMatch (MsgConfirmMatch ) returns (MsgConfirmMatchResponse ); + rpc SetProfileCard (MsgSetProfileCard ) returns (MsgSetProfileCardResponse ); + rpc OpenBoosterPack (MsgOpenBoosterPack ) returns (MsgOpenBoosterPackResponse ); + rpc TransferBoosterPack (MsgTransferBoosterPack ) returns (MsgTransferBoosterPackResponse ); + rpc SetCollectionStoryWriter (MsgSetCollectionStoryWriter ) returns (MsgSetCollectionStoryWriterResponse ); + rpc SetCollectionArtist (MsgSetCollectionArtist ) returns (MsgSetCollectionArtistResponse ); + rpc SetUserWebsite (MsgSetUserWebsite ) returns (MsgSetUserWebsiteResponse ); + rpc SetUserBiography (MsgSetUserBiography ) returns (MsgSetUserBiographyResponse ); + + // this line is used by starport scaffolding # proto/tx/rpc + rpc MultiVoteCard (MsgMultiVoteCard) returns (MsgMultiVoteCardResponse); +} +message MsgCreateuser { + string creator = 1; + string newUser = 2; + string alias = 3; +} + +message MsgCreateuserResponse {} + +message MsgBuyCardScheme { + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + string creator = 1; + cosmos.base.v1beta1.Coin bid = 2 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; + + /* + string bid = 2; + */} + +message MsgBuyCardSchemeResponse {} + +message MsgVoteCard { + string creator = 1; + uint64 cardId = 2; + string voteType = 3; +} + +message MsgVoteCardResponse { + bool airdropClaimed = 1; +} + +message MsgSaveCardContent { + string creator = 1; + uint64 cardId = 2; + bytes content = 3; + + // bytes image = 4; + // string fullArt = 5; + string notes = 4; + string artist = 5; +} + +message MsgSaveCardContentResponse { + bool airdropClaimed = 1; +} + +message MsgTransferCard { + string creator = 1; + uint64 cardId = 2; + string receiver = 4; +} + +message MsgTransferCardResponse {} + +message MsgDonateToCard { + string creator = 1; + uint64 cardId = 2; + string amount = 3 [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin"]; +} + +message MsgDonateToCardResponse {} + +message MsgAddArtwork { + string creator = 1; + uint64 cardId = 2; + bytes image = 3; + bool fullArt = 4; +} + +message MsgAddArtworkResponse {} + +message MsgSubmitCopyrightProposal { + string creator = 1; + uint64 cardId = 2; + string description = 3; + string link = 4; +} + +message MsgSubmitCopyrightProposalResponse {} + +message MsgChangeArtist { + string creator = 1; + uint64 cardID = 2; + string artist = 3; +} + +message MsgChangeArtistResponse {} + +message MsgRegisterForCouncil { + string creator = 1; +} + +message MsgRegisterForCouncilResponse {} + +message MsgReportMatch { + string creator = 1; + string playerA = 2; + string playerB = 3; + repeated uint64 cardsA = 5; + repeated uint64 cardsB = 6; + Outcome outcome = 7; +} + +enum Outcome { + AWon = 0; + BWon = 1; + Draw = 2; + Aborted = 3; +} +message MsgReportMatchResponse { + uint64 matchId = 1; +} + +message MsgSubmitMatchReporterProposal { + string creator = 1; + string reporter = 2; + string deposit = 3; + string description = 4; +} + +message MsgSubmitMatchReporterProposalResponse {} + +message MsgApointMatchReporter { + string creator = 1; + string reporter = 2; +} + +message MsgApointMatchReporterResponse {} + +message MsgCreateCollection { + string creator = 1; + string name = 2; + string artist = 3; + string storyWriter = 4; + repeated string contributors = 5; +} + +message MsgCreateCollectionResponse {} + +message MsgAddCardToCollection { + string creator = 1; + uint64 collectionId = 2; + uint64 cardId = 3; +} + +message MsgAddCardToCollectionResponse {} + +message MsgFinalizeCollection { + string creator = 1; + uint64 collectionId = 2; +} + +message MsgFinalizeCollectionResponse {} + +message MsgBuyCollection { + string creator = 1; + uint64 collectionId = 2; +} + +message MsgBuyCollectionResponse { + bool airdropClaimed = 1; +} + +message MsgRemoveCardFromCollection { + string creator = 1; + uint64 collectionId = 2; + uint64 cardId = 3; +} + +message MsgRemoveCardFromCollectionResponse {} + +message MsgRemoveContributorFromCollection { + string creator = 1; + uint64 collectionId = 2; + string user = 3; +} + +message MsgRemoveContributorFromCollectionResponse {} + +message MsgAddContributorToCollection { + string creator = 1; + uint64 collectionId = 2; + string user = 3; +} + +message MsgAddContributorToCollectionResponse {} + +message MsgSubmitCollectionProposal { + string creator = 1; + uint64 collectionId = 2; +} + +message MsgSubmitCollectionProposalResponse {} + +message MsgCreateSellOffer { + string creator = 1; + uint64 card = 2; + string price = 3 [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin"]; +} + +message MsgCreateSellOfferResponse {} + +message MsgBuyCard { + string creator = 1; + uint64 sellOfferId = 2; +} + +message MsgBuyCardResponse {} + +message MsgRemoveSellOffer { + string creator = 1; + uint64 sellOfferId = 2; +} + +message MsgRemoveSellOfferResponse {} + +message MsgAddArtworkToCollection { + string creator = 1; + uint64 collectionId = 2; + bytes image = 3; +} + +message MsgAddArtworkToCollectionResponse {} + +message MsgAddStoryToCollection { + string creator = 1; + uint64 collectionId = 2; + string story = 3; +} + +message MsgAddStoryToCollectionResponse {} + +message MsgSetCardRarity { + string creator = 1; + uint64 cardId = 2; + uint64 collectionId = 3; + string rarity = 4; +} + +message MsgSetCardRarityResponse {} + +message MsgCreateCouncil { + string creator = 1; + uint64 cardId = 2; +} + +message MsgCreateCouncilResponse {} + +// Add revision +message MsgCommitCouncilResponse { + string creator = 1; + string response = 2; + uint64 councilId = 3; + string suggestion = 4; +} + +message MsgCommitCouncilResponseResponse {} + +message MsgRevealCouncilResponse { + string creator = 1; + Response response = 2; + string secret = 3; + uint64 councilId = 4; +} + +message MsgRevealCouncilResponseResponse {} + +message MsgRestartCouncil { + string creator = 1; + uint64 councilId = 2; +} + +message MsgRestartCouncilResponse {} + +message MsgRewokeCouncilRegistration { + string creator = 1; +} + +message MsgRewokeCouncilRegistrationResponse {} + +message MsgConfirmMatch { + string creator = 1; + uint64 matchId = 2; + Outcome outcome = 3; +} + +message MsgConfirmMatchResponse {} + +message MsgSetProfileCard { + string creator = 1; + uint64 cardId = 2; +} + +message MsgSetProfileCardResponse {} + +message MsgOpenBoosterPack { + string creator = 1; + uint64 boosterPackId = 2; +} + +message MsgOpenBoosterPackResponse {} + +message MsgTransferBoosterPack { + string creator = 1; + uint64 boosterPackId = 2; + string receiver = 3; +} + +message MsgTransferBoosterPackResponse {} + +message MsgSetCollectionStoryWriter { + string creator = 1; + uint64 collectionId = 2; + string storyWriter = 3; +} + +message MsgSetCollectionStoryWriterResponse {} + +message MsgSetCollectionArtist { + string creator = 1; + uint64 collectionId = 2; + string artist = 3; +} + +message MsgSetCollectionArtistResponse {} + +message MsgSetUserWebsite { + string creator = 1; + string website = 2; +} + +message MsgSetUserWebsiteResponse {} + +message MsgSetUserBiography { + string creator = 1; + string biography = 2; +} + +message MsgSetUserBiographyResponse {} + + +message SingleVote { + uint64 cardId = 1; + string voteType = 2; +} + +// this line is used by starport scaffolding # proto/tx/message +message MsgMultiVoteCard { + string creator = 1; + repeated SingleVote votes = 2; +} + +message MsgMultiVoteCardResponse {} + diff --git a/proto/cardchain/user.proto b/proto/cardchain/cardchain/user.proto similarity index 95% rename from proto/cardchain/user.proto rename to proto/cardchain/cardchain/user.proto index 3ebd0af2..813b9c66 100644 --- a/proto/cardchain/user.proto +++ b/proto/cardchain/cardchain/user.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package DecentralCardGame.cardchain.cardchain; option go_package = "github.com/DecentralCardGame/Cardchain/x/cardchain/types"; -import "cardchain/vote_right.proto"; +import "cardchain/cardchain/vote_right.proto"; message User { diff --git a/proto/cardchain/vote_right.proto b/proto/cardchain/cardchain/vote_right.proto similarity index 100% rename from proto/cardchain/vote_right.proto rename to proto/cardchain/cardchain/vote_right.proto diff --git a/proto/cardchain/voting_result.proto b/proto/cardchain/cardchain/voting_result.proto similarity index 100% rename from proto/cardchain/voting_result.proto rename to proto/cardchain/cardchain/voting_result.proto diff --git a/proto/cardchain/voting_results.proto b/proto/cardchain/cardchain/voting_results.proto similarity index 89% rename from proto/cardchain/voting_results.proto rename to proto/cardchain/cardchain/voting_results.proto index cf8036ba..0f0bba13 100644 --- a/proto/cardchain/voting_results.proto +++ b/proto/cardchain/cardchain/voting_results.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package DecentralCardGame.cardchain.cardchain; option go_package = "github.com/DecentralCardGame/Cardchain/x/cardchain/types"; -import "cardchain/voting_result.proto"; +import "cardchain/cardchain/voting_result.proto"; message VotingResults { diff --git a/proto/cardchain/tx.proto b/proto/cardchain/tx.proto deleted file mode 100644 index b14d6525..00000000 --- a/proto/cardchain/tx.proto +++ /dev/null @@ -1,432 +0,0 @@ -syntax = "proto3"; -package DecentralCardGame.cardchain.cardchain; - -import "gogoproto/gogo.proto"; -import "cardchain/council.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -// this line is used by starport scaffolding # proto/tx/import - -option go_package = "github.com/DecentralCardGame/Cardchain/x/cardchain/types"; - -// Msg defines the Msg service. -service Msg { - rpc Createuser(MsgCreateuser) returns (MsgCreateuserResponse); - rpc BuyCardScheme(MsgBuyCardScheme) returns (MsgBuyCardSchemeResponse); - rpc VoteCard(MsgVoteCard) returns (MsgVoteCardResponse); - rpc SaveCardContent(MsgSaveCardContent) returns (MsgSaveCardContentResponse); - rpc TransferCard(MsgTransferCard) returns (MsgTransferCardResponse); - rpc DonateToCard(MsgDonateToCard) returns (MsgDonateToCardResponse); - rpc AddArtwork(MsgAddArtwork) returns (MsgAddArtworkResponse); - rpc SubmitCopyrightProposal(MsgSubmitCopyrightProposal) returns (MsgSubmitCopyrightProposalResponse); - rpc ChangeArtist(MsgChangeArtist) returns (MsgChangeArtistResponse); - rpc RegisterForCouncil(MsgRegisterForCouncil) returns (MsgRegisterForCouncilResponse); - rpc ReportMatch(MsgReportMatch) returns (MsgReportMatchResponse); - rpc SubmitMatchReporterProposal(MsgSubmitMatchReporterProposal) returns (MsgSubmitMatchReporterProposalResponse); - rpc ApointMatchReporter(MsgApointMatchReporter) returns (MsgApointMatchReporterResponse); - rpc CreateCollection(MsgCreateCollection) returns (MsgCreateCollectionResponse); - rpc AddCardToCollection(MsgAddCardToCollection) returns (MsgAddCardToCollectionResponse); - rpc FinalizeCollection(MsgFinalizeCollection) returns (MsgFinalizeCollectionResponse); - rpc BuyCollection(MsgBuyCollection) returns (MsgBuyCollectionResponse); - rpc RemoveCardFromCollection(MsgRemoveCardFromCollection) returns (MsgRemoveCardFromCollectionResponse); - rpc RemoveContributorFromCollection(MsgRemoveContributorFromCollection) returns (MsgRemoveContributorFromCollectionResponse); - rpc AddContributorToCollection(MsgAddContributorToCollection) returns (MsgAddContributorToCollectionResponse); - rpc SubmitCollectionProposal(MsgSubmitCollectionProposal) returns (MsgSubmitCollectionProposalResponse); - rpc CreateSellOffer(MsgCreateSellOffer) returns (MsgCreateSellOfferResponse); - rpc BuyCard(MsgBuyCard) returns (MsgBuyCardResponse); - rpc RemoveSellOffer(MsgRemoveSellOffer) returns (MsgRemoveSellOfferResponse); - rpc AddArtworkToCollection(MsgAddArtworkToCollection) returns (MsgAddArtworkToCollectionResponse); - rpc AddStoryToCollection(MsgAddStoryToCollection) returns (MsgAddStoryToCollectionResponse); - rpc SetCardRarity(MsgSetCardRarity) returns (MsgSetCardRarityResponse); - rpc CreateCouncil(MsgCreateCouncil) returns (MsgCreateCouncilResponse); - rpc CommitCouncilResponse(MsgCommitCouncilResponse) returns (MsgCommitCouncilResponseResponse); - rpc RevealCouncilResponse(MsgRevealCouncilResponse) returns (MsgRevealCouncilResponseResponse); - rpc RestartCouncil(MsgRestartCouncil) returns (MsgRestartCouncilResponse); - rpc RewokeCouncilRegistration(MsgRewokeCouncilRegistration) returns (MsgRewokeCouncilRegistrationResponse); - rpc ConfirmMatch(MsgConfirmMatch) returns (MsgConfirmMatchResponse); - rpc SetProfileCard(MsgSetProfileCard) returns (MsgSetProfileCardResponse); - rpc OpenBoosterPack(MsgOpenBoosterPack) returns (MsgOpenBoosterPackResponse); - rpc TransferBoosterPack(MsgTransferBoosterPack) returns (MsgTransferBoosterPackResponse); - rpc SetCollectionStoryWriter(MsgSetCollectionStoryWriter) returns (MsgSetCollectionStoryWriterResponse); - rpc SetCollectionArtist(MsgSetCollectionArtist) returns (MsgSetCollectionArtistResponse); - rpc SetUserWebsite(MsgSetUserWebsite) returns (MsgSetUserWebsiteResponse); - rpc SetUserBiography(MsgSetUserBiography) returns (MsgSetUserBiographyResponse); -// this line is used by starport scaffolding # proto/tx/rpc -} - -message MsgCreateuser { - string creator = 1; - string newUser = 2; - string alias = 3; -} - -message MsgCreateuserResponse { -} - -message MsgBuyCardScheme { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string creator = 1; - cosmos.base.v1beta1.Coin bid = 2 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"];; - /* string bid = 2; */ -} - -message MsgBuyCardSchemeResponse { -} - -message MsgVoteCard { - string creator = 1; - uint64 cardId = 2; - string voteType = 3; -} - -message MsgVoteCardResponse { - bool airdropClaimed = 1; -} - -message MsgSaveCardContent { - string creator = 1; - uint64 cardId = 2; - bytes content = 3; -// bytes image = 4; -// string fullArt = 5; - string notes = 4; - string artist = 5; -} - -message MsgSaveCardContentResponse { - bool airdropClaimed = 1; -} - -message MsgTransferCard { - string creator = 1; - uint64 cardId = 2; - string receiver = 4; -} - -message MsgTransferCardResponse { -} - -message MsgDonateToCard { - string creator = 1; - uint64 cardId = 2; - string amount = 3 [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin"];; -} - -message MsgDonateToCardResponse { -} - -message MsgAddArtwork { - string creator = 1; - uint64 cardId = 2; - bytes image = 3; - bool fullArt = 4; -} - -message MsgAddArtworkResponse { -} - -message MsgSubmitCopyrightProposal { - string creator = 1; - uint64 cardId = 2; - string description = 3; - string link = 4; -} - -message MsgSubmitCopyrightProposalResponse { -} - -message MsgChangeArtist { - string creator = 1; - uint64 cardID = 2; - string artist = 3; -} - -message MsgChangeArtistResponse { -} - -message MsgRegisterForCouncil { - string creator = 1; -} - -message MsgRegisterForCouncilResponse { -} - -message MsgReportMatch { - string creator = 1; - string playerA = 2; - string playerB = 3; - repeated uint64 cardsA = 5; - repeated uint64 cardsB = 6; - Outcome outcome = 7; -} - -enum Outcome { - AWon = 0; - BWon = 1; - Draw = 2; - Aborted = 3; -} - -message MsgReportMatchResponse { - uint64 matchId = 1; -} - -message MsgSubmitMatchReporterProposal { - string creator = 1; - string reporter = 2; - string deposit = 3; - string description = 4; -} - -message MsgSubmitMatchReporterProposalResponse { -} - -message MsgApointMatchReporter { - string creator = 1; - string reporter = 2; -} - -message MsgApointMatchReporterResponse { -} - -message MsgCreateCollection { - string creator = 1; - string name = 2; - string artist = 3; - string storyWriter = 4; - repeated string contributors = 5; -} - -message MsgCreateCollectionResponse { -} - -message MsgAddCardToCollection { - string creator = 1; - uint64 collectionId = 2; - uint64 cardId = 3; -} - -message MsgAddCardToCollectionResponse { -} - -message MsgFinalizeCollection { - string creator = 1; - uint64 collectionId = 2; -} - -message MsgFinalizeCollectionResponse { -} - -message MsgBuyCollection { - string creator = 1; - uint64 collectionId = 2; -} - -message MsgBuyCollectionResponse { - bool airdropClaimed = 1; -} - -message MsgRemoveCardFromCollection { - string creator = 1; - uint64 collectionId = 2; - uint64 cardId = 3; -} - -message MsgRemoveCardFromCollectionResponse { -} - -message MsgRemoveContributorFromCollection { - string creator = 1; - uint64 collectionId = 2; - string user = 3; -} - -message MsgRemoveContributorFromCollectionResponse { -} - -message MsgAddContributorToCollection { - string creator = 1; - uint64 collectionId = 2; - string user = 3; -} - -message MsgAddContributorToCollectionResponse { -} - -message MsgSubmitCollectionProposal { - string creator = 1; - uint64 collectionId = 2; -} - -message MsgSubmitCollectionProposalResponse { -} - -message MsgCreateSellOffer { - string creator = 1; - uint64 card = 2; - string price = 3 [(gogoproto.nullable) = false, (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin"];; -} - -message MsgCreateSellOfferResponse { -} - -message MsgBuyCard { - string creator = 1; - uint64 sellOfferId = 2; -} - -message MsgBuyCardResponse { -} - -message MsgRemoveSellOffer { - string creator = 1; - uint64 sellOfferId = 2; -} - -message MsgRemoveSellOfferResponse { -} - -message MsgAddArtworkToCollection { - string creator = 1; - uint64 collectionId = 2; - bytes image = 3; -} - -message MsgAddArtworkToCollectionResponse { -} - -message MsgAddStoryToCollection { - string creator = 1; - uint64 collectionId = 2; - string story = 3; -} - -message MsgAddStoryToCollectionResponse { -} - -message MsgSetCardRarity { - string creator = 1; - uint64 cardId = 2; - uint64 collectionId = 3; - string rarity = 4; -} - -message MsgSetCardRarityResponse { -} - -message MsgCreateCouncil { - string creator = 1; - uint64 cardId = 2; -} - -message MsgCreateCouncilResponse { -} - -// Add revision - -message MsgCommitCouncilResponse { - string creator = 1; - string response = 2; - uint64 councilId = 3; - string suggestion = 4; -} - -message MsgCommitCouncilResponseResponse { -} - -message MsgRevealCouncilResponse { - string creator = 1; - Response response = 2; - string secret = 3; - uint64 councilId = 4; -} - -message MsgRevealCouncilResponseResponse { -} - -message MsgRestartCouncil { - string creator = 1; - uint64 councilId = 2; -} - -message MsgRestartCouncilResponse { -} - -message MsgRewokeCouncilRegistration { - string creator = 1; -} - -message MsgRewokeCouncilRegistrationResponse { -} - -message MsgConfirmMatch { - string creator = 1; - uint64 matchId = 2; - Outcome outcome = 3; -} - -message MsgConfirmMatchResponse { -} - -message MsgSetProfileCard { - string creator = 1; - uint64 cardId = 2; -} - -message MsgSetProfileCardResponse { -} - -message MsgOpenBoosterPack { - string creator = 1; - uint64 boosterPackId = 2; -} - -message MsgOpenBoosterPackResponse { -} - -message MsgTransferBoosterPack { - string creator = 1; - uint64 boosterPackId = 2; - string receiver = 3; -} - -message MsgTransferBoosterPackResponse { -} - -message MsgSetCollectionStoryWriter { - string creator = 1; - uint64 collectionId = 2; - string storyWriter = 3; -} - -message MsgSetCollectionStoryWriterResponse { -} - -message MsgSetCollectionArtist { - string creator = 1; - uint64 collectionId = 2; - string artist = 3; -} - -message MsgSetCollectionArtistResponse { -} - -message MsgSetUserWebsite { - string creator = 1; - string website = 2; -} - -message MsgSetUserWebsiteResponse { -} - -message MsgSetUserBiography { - string creator = 1; - string biography = 2; -} - -message MsgSetUserBiographyResponse { -} - -// this line is used by starport scaffolding # proto/tx/message diff --git a/x/cardchain/client/cli/tx.go b/x/cardchain/client/cli/tx.go index 798381da..63665004 100644 --- a/x/cardchain/client/cli/tx.go +++ b/x/cardchain/client/cli/tx.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" "github.com/DecentralCardGame/Cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/client" ) var ( @@ -69,6 +69,7 @@ func GetTxCmd() *cobra.Command { cmd.AddCommand(CmdSetCollectionArtist()) cmd.AddCommand(CmdSetUserWebsite()) cmd.AddCommand(CmdSetUserBiography()) + cmd.AddCommand(CmdMultiVoteCard()) // this line is used by starport scaffolding # 1 return cmd diff --git a/x/cardchain/client/cli/tx_multi_vote_card.go b/x/cardchain/client/cli/tx_multi_vote_card.go new file mode 100644 index 00000000..3b47bc83 --- /dev/null +++ b/x/cardchain/client/cli/tx_multi_vote_card.go @@ -0,0 +1,40 @@ +package cli + +import ( + "strconv" + + "github.com/DecentralCardGame/Cardchain/x/cardchain/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/spf13/cobra" +) + +var _ = strconv.Itoa(0) + +func CmdMultiVoteCard() *cobra.Command { + cmd := &cobra.Command{ + Use: "multi-vote-card", + Short: "Broadcast message MultiVoteCard", + Args: cobra.ExactArgs(0), + RunE: func(cmd *cobra.Command, args []string) (err error) { + + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + msg := types.NewMsgMultiVoteCard( + clientCtx.GetFromAddress().String(), + ) + if err := msg.ValidateBasic(); err != nil { + return err + } + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} diff --git a/x/cardchain/keeper/coin.go b/x/cardchain/keeper/coin.go index 093af107..6dd3b5a5 100644 --- a/x/cardchain/keeper/coin.go +++ b/x/cardchain/keeper/coin.go @@ -10,9 +10,9 @@ import ( // MulCoin multiplies a Coin with an int func MulCoin(coin sdk.Coin, amt int64) sdk.Coin { return sdk.Coin{ - Denom: coin.Denom, - Amount: coin.Amount.Mul(sdk.NewInt(amt)), - } + Denom: coin.Denom, + Amount: coin.Amount.Mul(sdk.NewInt(amt)), + } } // MulCoinFloat multiplies a Coin with a float @@ -23,17 +23,17 @@ func MulCoinFloat(coin sdk.Coin, amt float64) sdk.Coin { var newAmount big.Int oldAmount.Int(&newAmount) return sdk.Coin{ - Denom: coin.Denom, - Amount: sdk.NewIntFromBigInt(&newAmount), - } + Denom: coin.Denom, + Amount: sdk.NewIntFromBigInt(&newAmount), + } } // QuoCoin devides a Coin with by int func QuoCoin(coin sdk.Coin, amt int64) sdk.Coin { return sdk.Coin{ - Denom: coin.Denom, - Amount: coin.Amount.Quo(sdk.NewInt(amt)), - } + Denom: coin.Denom, + Amount: coin.Amount.Quo(sdk.NewInt(amt)), + } } // MintCoinsToAddr adds coins to an Account diff --git a/x/cardchain/keeper/msg_server_commit_council_response.go b/x/cardchain/keeper/msg_server_commit_council_response.go index f4e610e8..41903d86 100644 --- a/x/cardchain/keeper/msg_server_commit_council_response.go +++ b/x/cardchain/keeper/msg_server_commit_council_response.go @@ -38,16 +38,16 @@ func (k msgServer) CommitCouncilResponse(goCtx context.Context, msg *types.MsgCo } resp := types.WrapHashResponse{ - User: msg.Creator, - Hash: msg.Response, - } + User: msg.Creator, + Hash: msg.Response, + } council.HashResponses = append(council.HashResponses, &resp) if msg.Suggestion != "" { // Direcly reveal when a suggestion is made clearResp := types.WrapClearResponse{ - User: msg.Creator, - Response: types.Response_Suggestion, - Suggestion: msg.Suggestion, - } + User: msg.Creator, + Response: types.Response_Suggestion, + Suggestion: msg.Suggestion, + } council.ClearResponses = append(council.ClearResponses, &clearResp) } diff --git a/x/cardchain/keeper/msg_server_multi_vote_card.go b/x/cardchain/keeper/msg_server_multi_vote_card.go new file mode 100644 index 00000000..05ec051d --- /dev/null +++ b/x/cardchain/keeper/msg_server_multi_vote_card.go @@ -0,0 +1,38 @@ +package keeper + +import ( + "context" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + "github.com/DecentralCardGame/Cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +func (k msgServer) MultiVoteCard(goCtx context.Context, msg *types.MsgMultiVoteCard) (*types.MsgMultiVoteCardResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + var n int = 0 + + voter, err := k.GetUserFromString(ctx, msg.Creator) + if err != nil { + return nil, sdkerrors.Wrap(types.ErrInvalidAccAddress, "Unable to convert to AccAddress") + } + + defer k.incVotesAverageBy(ctx, int64(n + 1)) + defer k.SetUserFromUser(ctx, voter) + + voteRights := voter.VoteRights + + for i, vote := range msg.Votes { + err := k.voteCard(ctx, &voter, &voteRights, vote.CardId, vote.VoteType) + if err != nil { + return nil, err + } + n = i + } + + k.incVotesAverageBy(ctx, 1) + + k.ClaimAirDrop(ctx, &voter, types.AirDrop_vote) + + return &types.MsgMultiVoteCardResponse{}, nil +} diff --git a/x/cardchain/keeper/msg_server_report_match.go b/x/cardchain/keeper/msg_server_report_match.go index 370e328a..fce997ed 100644 --- a/x/cardchain/keeper/msg_server_report_match.go +++ b/x/cardchain/keeper/msg_server_report_match.go @@ -38,9 +38,9 @@ func (k msgServer) ReportMatch(goCtx context.Context, msg *types.MsgReportMatch) if msg.Outcome == types.Outcome_Aborted { err = k.DistributeCoins(ctx, &match, msg.Outcome) - if err != nil { - return nil, err - } + if err != nil { + return nil, err + } k.ReportServerMatch(ctx, msg.Creator, 1, true) } diff --git a/x/cardchain/keeper/msg_server_vote_card.go b/x/cardchain/keeper/msg_server_vote_card.go index f50110dd..08564008 100644 --- a/x/cardchain/keeper/msg_server_vote_card.go +++ b/x/cardchain/keeper/msg_server_vote_card.go @@ -2,12 +2,10 @@ package keeper import ( "context" - "fmt" "github.com/DecentralCardGame/Cardchain/x/cardchain/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "golang.org/x/exp/slices" ) func (k msgServer) VoteCard(goCtx context.Context, msg *types.MsgVoteCard) (*types.MsgVoteCardResponse, error) { @@ -19,63 +17,10 @@ func (k msgServer) VoteCard(goCtx context.Context, msg *types.MsgVoteCard) (*typ } voteRights := voter.VoteRights - rightsIndex := slices.IndexFunc(voteRights, func(s *types.VoteRight) bool { return s.CardId == msg.CardId }) - // check if voting rights are true - if rightsIndex < 0 { - return nil, sdkerrors.Wrap(types.ErrVoterHasNoVotingRights, "No Voting Rights") - } - - //check if voting rights are timed out - if ctx.BlockHeight() > voteRights[rightsIndex].ExpireBlock { - k.RemoveVoteRight(ctx, &voter, rightsIndex) - return nil, sdkerrors.Wrap(types.ErrVoteRightIsExpired, "Voting Right has expired") - } - - // if the vote right is valid, get the Card - card := k.Cards.Get(ctx, msg.CardId) - - // check if card status is valid - if card.Status != types.Status_permanent && card.Status != types.Status_trial { - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, "Voting on a card is only possible if it is in trial or a permanent card") - } - - switch msg.VoteType { - case "fair_enough": - card.FairEnoughVotes++ - case "inappropriate": - card.InappropriateVotes++ - case "overpowered": - card.OverpoweredVotes++ - case "underpowered": - card.UnderpoweredVotes++ - default: - errMsg := fmt.Sprintf("Unrecognized card vote type: %s", msg.VoteType) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) - } - card.Voters = append(card.Voters, msg.Creator) - - // check for specific bounty on the card - if !card.VotePool.IsZero() { - reward := k.GetParams(ctx).TrialVoteReward - err := k.MintCoinsToAddr(ctx, voter.Addr, sdk.Coins{reward}) - if err != nil { - return nil, sdkerrors.Wrap(sdkerrors.ErrInsufficientFunds, err.Error()) - } - card.VotePool.Sub(reward) // TODO actually if there is less than 1cr then it should be adjusted - } - - amount := k.GetVoteReward(ctx) - k.MintCoinsToAddr(ctx, voter.Addr, sdk.Coins{amount}) - k.SubPoolCredits(ctx, BalancersPoolKey, amount) - - k.Cards.Set(ctx, msg.CardId, card) - - votes := k.RunningAverages.Get(ctx, Votes24ValueKey) - votes.Arr[len(votes.Arr)-1]++ - k.RunningAverages.Set(ctx, Votes24ValueKey, votes) + k.voteCard(ctx, &voter, &voteRights, msg.CardId, msg.VoteType) - k.RemoveVoteRight(ctx, &voter, rightsIndex) + k.incVotesAverageBy(ctx, 1) claimedAirdrop := k.ClaimAirDrop(ctx, &voter, types.AirDrop_vote) k.SetUserFromUser(ctx, voter) diff --git a/x/cardchain/keeper/user.go b/x/cardchain/keeper/user.go index 38ed077f..b9597622 100644 --- a/x/cardchain/keeper/user.go +++ b/x/cardchain/keeper/user.go @@ -19,9 +19,9 @@ func (k Keeper) CreateUser(ctx sdk.Context, addr sdk.AccAddress, alias string) e if err != nil { k.InitUser(ctx, addr, alias) } else { - return types.ErrUserAlreadyExists - } - return nil + return types.ErrUserAlreadyExists + } + return nil } // InitUser Initializes a new user diff --git a/x/cardchain/keeper/vote_right.go b/x/cardchain/keeper/vote_right.go index e7f79583..6aad5047 100644 --- a/x/cardchain/keeper/vote_right.go +++ b/x/cardchain/keeper/vote_right.go @@ -7,12 +7,12 @@ import ( // GetVoteReward Calculates winner rewards func (k Keeper) GetVoteReward(ctx sdk.Context) sdk.Coin { - params := k.GetParams(ctx) + params := k.GetParams(ctx) pool := k.Pools.Get(ctx, BalancersPoolKey) - reward := QuoCoin(*pool, params.VotePoolFraction) - if reward.Amount.Int64() > params.VotingRewardCap { - return sdk.NewInt64Coin(reward.Denom, params.VotingRewardCap) + reward := QuoCoin(*pool, params.VotePoolFraction) + if reward.Amount.Int64() > params.VotingRewardCap { + return sdk.NewInt64Coin(reward.Denom, params.VotingRewardCap) } return reward } diff --git a/x/cardchain/keeper/voting.go b/x/cardchain/keeper/voting.go new file mode 100644 index 00000000..6845c2f1 --- /dev/null +++ b/x/cardchain/keeper/voting.go @@ -0,0 +1,81 @@ +package keeper + +import ( + "fmt" + + "github.com/DecentralCardGame/Cardchain/x/cardchain/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "golang.org/x/exp/slices" +) + +func (k msgServer) voteCard( + ctx sdk.Context, + voter *User, + voteRights *[]*types.VoteRight, + cardId uint64, + voteType string, +) error { + rightsIndex := slices.IndexFunc(*voteRights, func(s *types.VoteRight) bool { return s.CardId == cardId }) + + // check if voting rights are true + if rightsIndex < 0 { + return sdkerrors.Wrap(types.ErrVoterHasNoVotingRights, "No Voting Rights") + } + + //check if voting rights are timed out + if ctx.BlockHeight() > (*voteRights)[rightsIndex].ExpireBlock { + k.RemoveVoteRight(ctx, voter, rightsIndex) + return sdkerrors.Wrap(types.ErrVoteRightIsExpired, "Voting Right has expired") + } + + // if the vote right is valid, get the Card + card := k.Cards.Get(ctx, cardId) + + // check if card status is valid + if card.Status != types.Status_permanent && card.Status != types.Status_trial { + return sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, "Voting on a card is only possible if it is in trial or a permanent card") + } + + switch voteType { + case "fair_enough": + card.FairEnoughVotes++ + case "inappropriate": + card.InappropriateVotes++ + case "overpowered": + card.OverpoweredVotes++ + case "underpowered": + card.UnderpoweredVotes++ + default: + errMsg := fmt.Sprintf("Unrecognized card vote type: %s", voteType) + return sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + } + card.Voters = append(card.Voters, voter.Addr.String()) + + // check for specific bounty on the card + if !card.VotePool.IsZero() { + reward := k.GetParams(ctx).TrialVoteReward + err := k.MintCoinsToAddr(ctx, voter.Addr, sdk.Coins{reward}) + if err != nil { + return sdkerrors.Wrap(sdkerrors.ErrInsufficientFunds, err.Error()) + } + card.VotePool.Sub(reward) // TODO actually if there is less than 1cr then it should be adjusted + } + + amount := k.GetVoteReward(ctx) + k.MintCoinsToAddr(ctx, voter.Addr, sdk.Coins{amount}) + k.SubPoolCredits(ctx, BalancersPoolKey, amount) + k.RemoveVoteRight(ctx, voter, rightsIndex) + + *voteRights = append((*voteRights)[:rightsIndex], (*voteRights)[rightsIndex+1:]...) + + k.Cards.Set(ctx, cardId, card) + + return nil +} + +func (k msgServer) incVotesAverageBy(ctx sdk.Context, n int64) { + votes := k.RunningAverages.Get(ctx, Votes24ValueKey) + votes.Arr[len(votes.Arr)-1] += n + k.RunningAverages.Set(ctx, Votes24ValueKey, votes) +} diff --git a/x/cardchain/module_simulation.go b/x/cardchain/module_simulation.go index 0aefba9c..1bd2b4e8 100644 --- a/x/cardchain/module_simulation.go +++ b/x/cardchain/module_simulation.go @@ -184,6 +184,10 @@ const ( // TODO: Determine the simulation weight value defaultWeightMsgSetUserBiography int = 100 + opWeightMsgMultiVoteCard = "op_weight_msg_multi_vote_card" + // TODO: Determine the simulation weight value + defaultWeightMsgMultiVoteCard int = 100 + // this line is used by starport scaffolding # simapp/module/const ) @@ -657,6 +661,17 @@ func (am AppModule) WeightedOperations(simState module.SimulationState) []simtyp cardchainsimulation.SimulateMsgSetUserBiography(am.accountKeeper, am.bankKeeper, am.keeper), )) + var weightMsgMultiVoteCard int + simState.AppParams.GetOrGenerate(simState.Cdc, opWeightMsgMultiVoteCard, &weightMsgMultiVoteCard, nil, + func(_ *rand.Rand) { + weightMsgMultiVoteCard = defaultWeightMsgMultiVoteCard + }, + ) + operations = append(operations, simulation.NewWeightedOperation( + weightMsgMultiVoteCard, + cardchainsimulation.SimulateMsgMultiVoteCard(am.accountKeeper, am.bankKeeper, am.keeper), + )) + // this line is used by starport scaffolding # simapp/module/operation return operations diff --git a/x/cardchain/simulation/simap.go b/x/cardchain/simulation/helpers.go similarity index 100% rename from x/cardchain/simulation/simap.go rename to x/cardchain/simulation/helpers.go diff --git a/x/cardchain/simulation/multi_vote_card.go b/x/cardchain/simulation/multi_vote_card.go new file mode 100644 index 00000000..86520652 --- /dev/null +++ b/x/cardchain/simulation/multi_vote_card.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 SimulateMsgMultiVoteCard( + 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.MsgMultiVoteCard{ + Creator: simAccount.Address.String(), + } + + // TODO: Handling the MultiVoteCard simulation + + return simtypes.NoOpMsg(types.ModuleName, msg.Type(), "MultiVoteCard simulation not implemented"), nil, nil + } +} diff --git a/x/cardchain/types/card.pb.go b/x/cardchain/types/card.pb.go index 29796cb9..c72b7ec2 100644 --- a/x/cardchain/types/card.pb.go +++ b/x/cardchain/types/card.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/card.proto +// source: cardchain/cardchain/card.proto package types @@ -67,7 +67,7 @@ func (x Status) String() string { } func (Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cc719406a70201e7, []int{0} + return fileDescriptor_a360ffd2377ddc30, []int{0} } type Card struct { @@ -91,7 +91,7 @@ func (m *Card) Reset() { *m = Card{} } func (m *Card) String() string { return proto.CompactTextString(m) } func (*Card) ProtoMessage() {} func (*Card) Descriptor() ([]byte, []int) { - return fileDescriptor_cc719406a70201e7, []int{0} + return fileDescriptor_a360ffd2377ddc30, []int{0} } func (m *Card) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -232,7 +232,7 @@ func (m *OutpCard) Reset() { *m = OutpCard{} } func (m *OutpCard) String() string { return proto.CompactTextString(m) } func (*OutpCard) ProtoMessage() {} func (*OutpCard) Descriptor() ([]byte, []int) { - return fileDescriptor_cc719406a70201e7, []int{1} + return fileDescriptor_a360ffd2377ddc30, []int{1} } func (m *OutpCard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -358,45 +358,45 @@ func init() { proto.RegisterType((*OutpCard)(nil), "DecentralCardGame.cardchain.cardchain.OutpCard") } -func init() { proto.RegisterFile("cardchain/card.proto", fileDescriptor_cc719406a70201e7) } +func init() { proto.RegisterFile("cardchain/cardchain/card.proto", fileDescriptor_a360ffd2377ddc30) } -var fileDescriptor_cc719406a70201e7 = []byte{ - // 549 bytes of a gzipped FileDescriptorProto +var fileDescriptor_a360ffd2377ddc30 = []byte{ + // 550 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x54, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0xde, 0xe9, 0x66, 0xb3, 0xc9, 0xb3, 0x5d, 0xe3, 0xb0, 0x48, 0x14, 0x49, 0x43, 0x41, 0x0c, - 0xc5, 0x26, 0xa0, 0x17, 0xaf, 0xb6, 0x16, 0x11, 0x0f, 0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0x24, 0x05, 0xb0, 0x55, 0x36, 0xc1, 0x0a, 0xbd, 0x1e, 0x5d, 0x03, 0xd7, 0x9c, 0x94, 0x76, + 0x3b, 0x1e, 0xa1, 0x2e, 0x0c, 0xb4, 0x2c, 0x58, 0xe9, 0xad, 0x98, 0x0a, 0xca, 0x8a, 0x71, 0xe4, + 0xda, 0xeb, 0xb7, 0x50, 0x35, 0xaa, 0x46, 0x9e, 0x63, 0xee, 0x59, 0x6d, 0x8f, 0x43, 0xc6, 0x39, + 0xe6, 0xde, 0x80, 0x8e, 0x00, 0xba, 0x78, 0x5f, 0x08, 0xee, 0xd9, 0x94, 0xc2, 0xa8, 0xc3, 0x07, + 0x28, 0x4f, 0x4d, 0x6e, 0x48, 0x1d, 0xb0, 0xb8, 0xe0, 0xe8, 0x39, 0x3b, 0xe9, 0xd9, 0x65, 0x40, + 0xce, 0x2f, 0x03, 0xf2, 0xe3, 0x32, 0x20, 0x9f, 0xa7, 0x41, 0xef, 0x7c, 0x1a, 0xf4, 0xbe, 0x4d, + 0x83, 0xde, 0xbb, 0x67, 0xd7, 0xde, 0x6f, 0xc9, 0x1a, 0xc9, 0xee, 0xfc, 0x8a, 0x7e, 0xbc, 0x76, + 0x51, 0xcd, 0xab, 0x1e, 0xda, 0x66, 0x86, 0xa7, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x15, 0x9c, + 0xf9, 0x88, 0x75, 0x05, 0x00, 0x00, } func (m *Card) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/codec.go b/x/cardchain/types/codec.go index 3426fd04..7bbddfba 100644 --- a/x/cardchain/types/codec.go +++ b/x/cardchain/types/codec.go @@ -52,6 +52,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgSetCollectionArtist{}, "cardchain/SetCollectionArtist", nil) cdc.RegisterConcrete(&MsgSetUserWebsite{}, "cardchain/SetUserWebsite", nil) cdc.RegisterConcrete(&MsgSetUserBiography{}, "cardchain/SetUserBiography", nil) + cdc.RegisterConcrete(&MsgMultiVoteCard{}, "cardchain/MultiVoteCard", nil) // this line is used by starport scaffolding # 2 } @@ -185,6 +186,9 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSetUserBiography{}, ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgMultiVoteCard{}, + ) // this line is used by starport scaffolding # 3 msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/cardchain/types/collection.pb.go b/x/cardchain/types/collection.pb.go index ae49c67e..3dc33571 100644 --- a/x/cardchain/types/collection.pb.go +++ b/x/cardchain/types/collection.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/collection.proto +// source: cardchain/cardchain/collection.proto package types @@ -50,7 +50,7 @@ func (x CStatus) String() string { } func (CStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fdd74a16aa19652d, []int{0} + return fileDescriptor_bfff38131151e449, []int{0} } type Collection struct { @@ -69,7 +69,7 @@ func (m *Collection) Reset() { *m = Collection{} } func (m *Collection) String() string { return proto.CompactTextString(m) } func (*Collection) ProtoMessage() {} func (*Collection) Descriptor() ([]byte, []int) { - return fileDescriptor_fdd74a16aa19652d, []int{0} + return fileDescriptor_bfff38131151e449, []int{0} } func (m *Collection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -177,7 +177,7 @@ func (m *OutpCollection) Reset() { *m = OutpCollection{} } func (m *OutpCollection) String() string { return proto.CompactTextString(m) } func (*OutpCollection) ProtoMessage() {} func (*OutpCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_fdd74a16aa19652d, []int{1} + return fileDescriptor_bfff38131151e449, []int{1} } func (m *OutpCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -275,35 +275,37 @@ func init() { proto.RegisterType((*OutpCollection)(nil), "DecentralCardGame.cardchain.cardchain.OutpCollection") } -func init() { proto.RegisterFile("cardchain/collection.proto", fileDescriptor_fdd74a16aa19652d) } +func init() { + proto.RegisterFile("cardchain/cardchain/collection.proto", fileDescriptor_bfff38131151e449) +} -var fileDescriptor_fdd74a16aa19652d = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x93, 0xc1, 0x8a, 0xd5, 0x30, - 0x14, 0x86, 0x9b, 0xdb, 0x4e, 0xef, 0xf4, 0x38, 0x0e, 0x25, 0x88, 0x04, 0x91, 0x52, 0x06, 0x84, - 0xe2, 0xa2, 0x05, 0xdd, 0xb8, 0x72, 0x61, 0x45, 0x71, 0x25, 0x64, 0x16, 0x82, 0xbb, 0xdc, 0x34, - 0xce, 0x0d, 0xb6, 0x4d, 0x49, 0x4e, 0x47, 0xc7, 0xa7, 0xf0, 0x49, 0x7c, 0x0e, 0x97, 0xb3, 0x74, - 0x29, 0xf7, 0xbe, 0x88, 0x34, 0x53, 0x6f, 0x15, 0x37, 0xae, 0x04, 0x77, 0xf9, 0xff, 0x73, 0x7e, - 0x4e, 0xf8, 0xe0, 0x87, 0x7b, 0x52, 0xd8, 0x46, 0x6e, 0x85, 0xee, 0x2b, 0x69, 0xda, 0x56, 0x49, - 0xd4, 0xa6, 0x2f, 0x07, 0x6b, 0xd0, 0xd0, 0x07, 0xcf, 0x95, 0x54, 0x3d, 0x5a, 0xd1, 0xd6, 0xc2, - 0x36, 0x2f, 0x45, 0xa7, 0xca, 0xc3, 0xf6, 0xf2, 0x3a, 0xfb, 0xb2, 0x02, 0xa8, 0x0f, 0x59, 0x4a, - 0x21, 0xea, 0x45, 0xa7, 0x18, 0xc9, 0x49, 0x91, 0x70, 0xff, 0xa6, 0x77, 0xe0, 0x68, 0xda, 0x77, - 0x6c, 0x95, 0x87, 0x45, 0xc4, 0x6f, 0x04, 0xbd, 0x0b, 0xb1, 0xb0, 0xa8, 0x1d, 0xb2,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0xf8, 0xb6, 0xcf, 0x82, 0xb7, 0x4f, 0x2e, 0x34, 0x6e, 0xc7, 0x4d, 0x29, 0x4d, 0x57, - 0xfd, 0xf1, 0xf3, 0xaa, 0x3e, 0x74, 0xe3, 0x63, 0xb5, 0xf4, 0x04, 0xaf, 0x06, 0xe5, 0x36, 0xb1, - 0xef, 0xc8, 0xe3, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x01, 0x8c, 0x7f, 0x7f, 0x41, 0x03, 0x00, - 0x00, +var fileDescriptor_bfff38131151e449 = []byte{ + // 386 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x93, 0x31, 0x8b, 0xd4, 0x40, + 0x14, 0xc7, 0x33, 0x9b, 0x5c, 0xf6, 0xf2, 0x3c, 0x8f, 0x30, 0x88, 0x4c, 0x21, 0x21, 0x1c, 0x0a, + 0xc1, 0x22, 0x0b, 0xda, 0x58, 0x59, 0x18, 0x51, 0xac, 0x84, 0xb9, 0x42, 0xb0, 0x9b, 0x9d, 0x8c, + 0xb7, 0x83, 0x49, 0x26, 0xcc, 0xbc, 0x9c, 0x9e, 0x9f, 0xc2, 0x4f, 0xe2, 0xe7, 0xb0, 0xdc, 0xd2, + 0x52, 0x76, 0xbf, 0x88, 0x64, 0x36, 0xee, 0xae, 0xd8, 0x58, 0x09, 0xd7, 0xbd, 0xff, 0x7f, 0xde, + 0x9f, 0x37, 0xfc, 0xe0, 0x0f, 0x0f, 0xa5, 0xb0, 0xb5, 0x5c, 0x09, 0xdd, 0x2d, 0x8e, 0x26, 0xd3, + 0x34, 0x4a, 0xa2, 0x36, 0x5d, 0xd9, 0x5b, 0x83, 0x86, 0x3e, 0x7a, 0xa9, 0xa4, 0xea, 0xd0, 0x8a, + 0xa6, 0x12, 0xb6, 0x7e, 0x2d, 0x5a, 0x55, 0xee, 0xb7, 0x0f, 0xd3, 0xc5, 0xb7, 0x19,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 0x51, 0x5f, 0xab, 0x74, 0x46, 0xcf, 0xe0, 0x54, 0x58, 0xb9, 0xd2, 0xd7, 0xaa, + 0x4e, 0xc3, 0x17, 0xfc, 0xfb, 0x26, 0x23, 0xeb, 0x4d, 0x46, 0x7e, 0x6e, 0x32, 0xf2, 0x75, 0x9b, + 0x05, 0xeb, 0x6d, 0x16, 0xfc, 0xd8, 0x66, 0xc1, 0xfb, 0x67, 0x57, 0x1a, 0x57, 0xc3, 0xb2, 0x94, + 0xa6, 0x5d, 0xfc, 0xf5, 0xf3, 0x45, 0xb5, 0xef, 0xc6, 0xe7, 0xa3, 0x9e, 0xe0, 0x4d, 0xaf, 0xdc, + 0x32, 0xf6, 0x1d, 0x79, 0xfa, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xa6, 0x10, 0x41, 0x4b, 0x03, + 0x00, 0x00, } func (m *Collection) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/collection_proposal.pb.go b/x/cardchain/types/collection_proposal.pb.go index 61470ae4..57f6b4bf 100644 --- a/x/cardchain/types/collection_proposal.pb.go +++ b/x/cardchain/types/collection_proposal.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/collection_proposal.proto +// source: cardchain/cardchain/collection_proposal.proto package types @@ -32,7 +32,7 @@ func (m *CollectionProposal) Reset() { *m = CollectionProposal{} } func (m *CollectionProposal) String() string { return proto.CompactTextString(m) } func (*CollectionProposal) ProtoMessage() {} func (*CollectionProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_4db9be4c6d3d0839, []int{0} + return fileDescriptor_d1f16944bc7ec925, []int{0} } func (m *CollectionProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -87,24 +87,24 @@ func init() { } func init() { - proto.RegisterFile("cardchain/collection_proposal.proto", fileDescriptor_4db9be4c6d3d0839) + proto.RegisterFile("cardchain/cardchain/collection_proposal.proto", fileDescriptor_d1f16944bc7ec925) } -var fileDescriptor_4db9be4c6d3d0839 = []byte{ +var fileDescriptor_d1f16944bc7ec925 = []byte{ // 211 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x4f, 0xce, 0xcf, 0xc9, 0x49, 0x4d, 0x2e, 0xc9, 0xcc, 0xcf, - 0x8b, 0x2f, 0x28, 0xca, 0x2f, 0xc8, 0x2f, 0x4e, 0xcc, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, 0x4a, 0x71, 0x4f, - 0xcc, 0x4d, 0xd5, 0x83, 0x6b, 0x43, 0xb0, 0x94, 0x0a, 0xb8, 0x84, 0x9c, 0xe1, 0x66, 0x04, 0x40, - 0x8d, 0x10, 0x12, 0xe1, 0x62, 0x2d, 0xc9, 0x2c, 0xc9, 0x49, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, - 0x0c, 0x82, 0x70, 0x84, 0x14, 0xb8, 0xb8, 0x53, 0x52, 0x8b, 0x93, 0x8b, 0x32, 0x0b, 0x40, 0x8a, - 0x25, 0x98, 0xc0, 0x72, 0xc8, 0x42, 0x42, 0x4a, 0x5c, 0x3c, 0x08, 0x17, 0x79, 0xa6, 0x48, 0x30, - 0x2b, 0x30, 0x6a, 0xb0, 0x04, 0xa1, 0x88, 0x39, 0x05, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, - 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, - 0xb1, 0x1c, 0x43, 0x94, 0x45, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, - 0x86, 0xeb, 0xf5, 0x9d, 0xe1, 0x9e, 0xae, 0xd0, 0x47, 0x04, 0x40, 0x49, 0x65, 0x41, 0x6a, 0x71, - 0x12, 0x1b, 0xd8, 0xcf, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x43, 0x03, 0x2c, 0x1a, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4d, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0x62, 0xe5, 0xe7, 0xe4, 0xa4, 0x26, 0x97, 0x64, 0xe6, + 0xe7, 0xc5, 0x17, 0x14, 0xe5, 0x17, 0xe4, 0x17, 0x27, 0xe6, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, + 0x0b, 0xa9, 0xba, 0xa4, 0x26, 0xa7, 0xe6, 0x95, 0x14, 0x25, 0xe6, 0x38, 0x27, 0x16, 0xa5, 0xb8, + 0x27, 0xe6, 0xa6, 0xea, 0xc1, 0xb5, 0x21, 0x58, 0x4a, 0x05, 0x5c, 0x42, 0xce, 0x70, 0x33, 0x02, + 0xa0, 0x46, 0x08, 0x89, 0x70, 0xb1, 0x96, 0x64, 0x96, 0xe4, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, + 0x70, 0x06, 0x41, 0x38, 0x42, 0x0a, 0x5c, 0xdc, 0x29, 0xa9, 0xc5, 0xc9, 0x45, 0x99, 0x05, 0x20, + 0xc5, 0x12, 0x4c, 0x60, 0x39, 0x64, 0x21, 0x21, 0x25, 0x2e, 0x1e, 0x84, 0x8b, 0x3c, 0x53, 0x24, + 0x98, 0x15, 0x18, 0x35, 0x58, 0x82, 0x50, 0xc4, 0x9c, 0x82, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, + 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, + 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x22, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, + 0x1f, 0xc3, 0xf5, 0xfa, 0xce, 0x70, 0x4f, 0x57, 0x20, 0x05, 0x40, 0x49, 0x65, 0x41, 0x6a, 0x71, + 0x12, 0x1b, 0xd8, 0xcf, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x28, 0x9a, 0x21, 0x24, 0x01, 0x00, 0x00, } diff --git a/x/cardchain/types/copyright_proposal.pb.go b/x/cardchain/types/copyright_proposal.pb.go index 6c906803..0e0c3248 100644 --- a/x/cardchain/types/copyright_proposal.pb.go +++ b/x/cardchain/types/copyright_proposal.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/copyright_proposal.proto +// source: cardchain/cardchain/copyright_proposal.proto package types @@ -34,7 +34,7 @@ func (m *CopyrightProposal) Reset() { *m = CopyrightProposal{} } func (m *CopyrightProposal) String() string { return proto.CompactTextString(m) } func (*CopyrightProposal) ProtoMessage() {} func (*CopyrightProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_a901b405fe94b0ae, []int{0} + return fileDescriptor_48a3a807ac2154f2, []int{0} } func (m *CopyrightProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -96,26 +96,26 @@ func init() { } func init() { - proto.RegisterFile("cardchain/copyright_proposal.proto", fileDescriptor_a901b405fe94b0ae) + proto.RegisterFile("cardchain/cardchain/copyright_proposal.proto", fileDescriptor_48a3a807ac2154f2) } -var fileDescriptor_a901b405fe94b0ae = []byte{ +var fileDescriptor_48a3a807ac2154f2 = []byte{ // 238 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x4f, 0xce, 0x2f, 0xa8, 0x2c, 0xca, 0x4c, 0xcf, 0x28, 0x89, - 0x2f, 0x28, 0xca, 0x2f, 0xc8, 0x2f, 0x4e, 0xcc, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, - 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, 0x4a, 0x71, 0x4f, 0xcc, - 0x4d, 0xd5, 0x83, 0xeb, 0x42, 0xb0, 0xa4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x3a, 0xf4, 0x41, - 0x2c, 0x88, 0x66, 0xa5, 0x72, 0x2e, 0x41, 0x67, 0x98, 0xc1, 0x01, 0x50, 0x73, 0x85, 0x44, 0xb8, - 0x58, 0x4b, 0x32, 0x4b, 0x72, 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x20, 0x1c, 0x21, - 0x05, 0x2e, 0xee, 0x94, 0xd4, 0xe2, 0xe4, 0xa2, 0xcc, 0x82, 0x92, 0xcc, 0xfc, 0x3c, 0x09, 0x26, - 0xb0, 0x1c, 0xb2, 0x90, 0x90, 0x10, 0x17, 0x4b, 0x4e, 0x66, 0x5e, 0xb6, 0x04, 0x33, 0x58, 0x0a, - 0xcc, 0x16, 0x12, 0xe3, 0x62, 0x03, 0xb9, 0xc1, 0x33, 0x45, 0x82, 0x45, 0x81, 0x51, 0x83, 0x25, - 0x08, 0xca, 0x73, 0x0a, 0x3a, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, - 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x8b, - 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x0c, 0xaf, 0xe9, 0x3b, 0xc3, - 0x03, 0xa4, 0x42, 0x1f, 0x11, 0x38, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x3f, 0x19, - 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x89, 0xc0, 0x8a, 0x36, 0x01, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x49, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0x62, 0xe5, 0x17, 0x54, 0x16, 0x65, 0xa6, 0x67, 0x94, + 0xc4, 0x17, 0x14, 0xe5, 0x17, 0xe4, 0x17, 0x27, 0xe6, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, + 0xa9, 0xba, 0xa4, 0x26, 0xa7, 0xe6, 0x95, 0x14, 0x25, 0xe6, 0x38, 0x27, 0x16, 0xa5, 0xb8, 0x27, + 0xe6, 0xa6, 0xea, 0xc1, 0x75, 0x21, 0x58, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x1d, 0xfa, + 0x20, 0x16, 0x44, 0xb3, 0x52, 0x39, 0x97, 0xa0, 0x33, 0xcc, 0xe0, 0x00, 0xa8, 0xb9, 0x42, 0x22, + 0x5c, 0xac, 0x25, 0x99, 0x25, 0x39, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x10, 0x8e, + 0x90, 0x02, 0x17, 0x77, 0x4a, 0x6a, 0x71, 0x72, 0x51, 0x66, 0x41, 0x49, 0x66, 0x7e, 0x9e, 0x04, + 0x13, 0x58, 0x0e, 0x59, 0x48, 0x48, 0x88, 0x8b, 0x25, 0x27, 0x33, 0x2f, 0x5b, 0x82, 0x19, 0x2c, + 0x05, 0x66, 0x0b, 0x89, 0x71, 0xb1, 0x81, 0xdc, 0xe0, 0x99, 0x22, 0xc1, 0xa2, 0xc0, 0xa8, 0xc1, + 0x12, 0x04, 0xe5, 0x39, 0x05, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, + 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, + 0x45, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0x86, 0xd7, 0xf4, 0x9d, + 0xe1, 0x01, 0x52, 0x81, 0x14, 0x38, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x3f, 0x19, + 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x8b, 0x2d, 0xce, 0x40, 0x01, 0x00, 0x00, } func (m *CopyrightProposal) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/council.pb.go b/x/cardchain/types/council.pb.go index be534bb7..78a4afd0 100644 --- a/x/cardchain/types/council.pb.go +++ b/x/cardchain/types/council.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/council.proto +// source: cardchain/cardchain/council.proto package types @@ -49,7 +49,7 @@ func (x Response) String() string { } func (Response) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7e7c85d7820f234e, []int{0} + return fileDescriptor_fcd39b22a840d084, []int{0} } type CouncelingStatus int32 @@ -86,7 +86,7 @@ func (x CouncelingStatus) String() string { } func (CouncelingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7e7c85d7820f234e, []int{1} + return fileDescriptor_fcd39b22a840d084, []int{1} } type Council struct { @@ -103,7 +103,7 @@ func (m *Council) Reset() { *m = Council{} } func (m *Council) String() string { return proto.CompactTextString(m) } func (*Council) ProtoMessage() {} func (*Council) Descriptor() ([]byte, []int) { - return fileDescriptor_7e7c85d7820f234e, []int{0} + return fileDescriptor_fcd39b22a840d084, []int{0} } func (m *Council) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -184,7 +184,7 @@ func (m *WrapClearResponse) Reset() { *m = WrapClearResponse{} } func (m *WrapClearResponse) String() string { return proto.CompactTextString(m) } func (*WrapClearResponse) ProtoMessage() {} func (*WrapClearResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e7c85d7820f234e, []int{1} + return fileDescriptor_fcd39b22a840d084, []int{1} } func (m *WrapClearResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -243,7 +243,7 @@ func (m *WrapHashResponse) Reset() { *m = WrapHashResponse{} } func (m *WrapHashResponse) String() string { return proto.CompactTextString(m) } func (*WrapHashResponse) ProtoMessage() {} func (*WrapHashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e7c85d7820f234e, []int{2} + return fileDescriptor_fcd39b22a840d084, []int{2} } func (m *WrapHashResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -294,43 +294,43 @@ func init() { proto.RegisterType((*WrapHashResponse)(nil), "DecentralCardGame.cardchain.cardchain.WrapHashResponse") } -func init() { proto.RegisterFile("cardchain/council.proto", fileDescriptor_7e7c85d7820f234e) } +func init() { proto.RegisterFile("cardchain/cardchain/council.proto", fileDescriptor_fcd39b22a840d084) } -var fileDescriptor_7e7c85d7820f234e = []byte{ - // 519 bytes of a gzipped FileDescriptorProto +var fileDescriptor_fcd39b22a840d084 = []byte{ + // 520 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc7, 0xed, 0x38, 0xcd, 0xc7, 0x94, 0xa6, 0xdb, 0x05, 0x81, 0xc5, 0xc1, 0x8d, 0x22, 0x21, + 0x10, 0xc7, 0xed, 0x38, 0xcd, 0xc7, 0x94, 0xa6, 0xdb, 0x05, 0x21, 0x8b, 0x83, 0x1b, 0x22, 0x21, 0xa2, 0x22, 0x6c, 0x09, 0x0e, 0x54, 0x1c, 0x6b, 0x24, 0x40, 0x08, 0x2a, 0x6d, 0x0e, 0x08, 0x24, 0x24, 0xb6, 0xf6, 0xc8, 0xb1, 0x70, 0xbc, 0xd1, 0xee, 0xba, 0xa2, 0xe2, 0x25, 0x38, 0xf0, 0x30, 0x3c, 0x42, 0x8f, 0x3d, 0x22, 0x0e, 0x15, 0x4a, 0x5e, 0x04, 0x79, 0x6b, 0x1c, 0x93, 0x72, 0x08, - 0x27, 0xcf, 0x8e, 0x67, 0x7e, 0xfb, 0x9f, 0x99, 0x1d, 0xb8, 0x13, 0x71, 0x19, 0x47, 0x53, 0x9e, - 0xe6, 0x41, 0x24, 0x8a, 0x3c, 0x4a, 0x33, 0x7f, 0x2e, 0x85, 0x16, 0xf4, 0xde, 0x33, 0x8c, 0x30, - 0xd7, 0x92, 0x67, 0x21, 0x97, 0xf1, 0x73, 0x3e, 0x43, 0xbf, 0x0e, 0x5d, 0x59, 0x77, 0x6f, 0x25, - 0x22, 0x11, 0x26, 0x23, 0x28, 0xad, 0xab, 0xe4, 0xd1, 0x77, 0x07, 0xba, 0xe1, 0x15, 0x8e, 0xde, - 0x86, 0x4e, 0x19, 0xfe, 0x32, 0x76, 0xed, 0xa1, 0x3d, 0x6e, 0xb3, 0xea, 0x54, 0xfa, 0x4f, 0x85, - 0x46, 0xa9, 0xdc, 0xd6, 0xd0, 0x19, 0xf7, 0x59, 0x75, 0xa2, 0x1f, 0x60, 0x67, 0xca, 0xd5, 0x94, - 0xa1, 0x9a, 0x8b, 0x5c, 0xa1, 0x72, 0x9d, 0xa1, 0x33, 0xde, 0x7e, 0xf4, 0xc4, 0xdf, 0x48, 0x90, - 0xff, 0x56, 0xf2, 0xf9, 0x8b, 0x46, 0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, + 0x34, 0x97, 0xda, 0xed, 0x9a, 0x91, 0x34, 0x3c, 0xa3, 0x6f, 0x36, 0xec, 0x5d, 0xab, 0x91, 0x52, + 0x68, 0x17, 0x0a, 0xa5, 0x19, 0x61, 0x9f, 0x19, 0xbb, 0xac, 0x53, 0x56, 0xff, 0xdd, 0x96, 0x11, + 0x17, 0x6c, 0x28, 0xae, 0x6e, 0x5d, 0x0d, 0x28, 0x65, 0xa9, 0x22, 0x49, 0x50, 0xe9, 0x54, 0xe4, + 0xae, 0x63, 0xae, 0x69, 0x78, 0x46, 0x4f, 0x81, 0xac, 0x4f, 0xf6, 0x9f, 0xa2, 0x28, 0xb4, 0xcb, + 0x79, 0x1b, 0x41, 0x7d, 0x66, 0xec, 0x83, 0x07, 0xd0, 0xab, 0x73, 0xba, 0xe0, 0xbc, 0x43, 0x45, + 0x2c, 0xda, 0x81, 0xd6, 0x1b, 0x41, 0x6c, 0x3a, 0x00, 0x98, 0xd4, 0xd7, 0x90, 0xd6, 0xc1, 0x17, + 0x20, 0xeb, 0xbd, 0xa3, 0xbb, 0xb0, 0x5d, 0x2d, 0xc7, 0xf1, 0x1c, 0x73, 0x62, 0x51, 0x0a, 0x83, + 0xca, 0x11, 0x4a, 0xe4, 0x1a, 0x63, 0x62, 0xd3, 0x3d, 0xd8, 0xf9, 0xe3, 0xcb, 0x84, 0xc2, 0x98, + 0xb4, 0xe8, 0x0d, 0xe8, 0x45, 0x62, 0x36, 0x4b, 0xcb, 0x00, 0xa7, 0x3c, 0x49, 0x3c, 0x45, 0x9e, + 0x61, 0x4c, 0xda, 0xf4, 0x26, 0xec, 0xae, 0xca, 0x53, 0xaf, 0x79, 0x8c, 0x64, 0xeb, 0x88, 0x9d, + 0x2f, 0x3c, 0xfb, 0x62, 0xe1, 0xd9, 0xbf, 0x16, 0x9e, 0xfd, 0x75, 0xe9, 0x59, 0x17, 0x4b, 0xcf, + 0xfa, 0xb1, 0xf4, 0xac, 0xf7, 0x87, 0x8d, 0xa7, 0x73, 0xad, 0xc9, 0x41, 0x58, 0x2f, 0xf1, 0xe7, + 0xc6, 0x42, 0x9b, 0x07, 0x75, 0xd2, 0x31, 0x2b, 0xf9, 0xf8, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x65, 0xe1, 0xac, 0xb6, 0xf4, 0x03, 0x00, 0x00, } func (m *Council) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/errors.go b/x/cardchain/types/errors.go index 9d8a2f52..709793db 100644 --- a/x/cardchain/types/errors.go +++ b/x/cardchain/types/errors.go @@ -29,5 +29,5 @@ var ( ErrCardobject = sdkerrors.Register(ModuleName, 19, "Faulty cardobject") ErrBoosterPack = sdkerrors.Register(ModuleName, 20, "Unable to open Boosterpack") ErrStringLength = sdkerrors.Register(ModuleName, 21, "String literal too long") - ErrUserAlreadyExists = sdkerrors.Register(ModuleName, 22, "User already exists") + ErrUserAlreadyExists = sdkerrors.Register(ModuleName, 22, "User already exists") ) diff --git a/x/cardchain/types/generic_type_keeper/generic_type_keeper.go b/x/cardchain/types/generic_type_keeper/generic_type_keeper.go index 4ae524d1..fd73c35b 100644 --- a/x/cardchain/types/generic_type_keeper/generic_type_keeper.go +++ b/x/cardchain/types/generic_type_keeper/generic_type_keeper.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/DecentralCardGame/Cardchain/x/cardchain/types" "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // ItemIterator is a generic wrapper for sdk.KVStorePrefixIterator that provides unmarshaling of objects diff --git a/x/cardchain/types/generic_type_keeper/keyworded_generic_type_keeper.go b/x/cardchain/types/generic_type_keeper/keyworded_generic_type_keeper.go index ebb8464b..6344c8f3 100644 --- a/x/cardchain/types/generic_type_keeper/keyworded_generic_type_keeper.go +++ b/x/cardchain/types/generic_type_keeper/keyworded_generic_type_keeper.go @@ -2,8 +2,8 @@ package generic_type_keeper import ( "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" "golang.org/x/exp/slices" ) diff --git a/x/cardchain/types/genesis.pb.go b/x/cardchain/types/genesis.pb.go index c8355dcb..481412cd 100644 --- a/x/cardchain/types/genesis.pb.go +++ b/x/cardchain/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/genesis.proto +// source: cardchain/cardchain/genesis.proto package types @@ -46,7 +46,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_a663dc965f961584, []int{0} + return fileDescriptor_c4e78aa6e403ddd4, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -163,47 +163,47 @@ func init() { proto.RegisterType((*GenesisState)(nil), "DecentralCardGame.cardchain.cardchain.GenesisState") } -func init() { proto.RegisterFile("cardchain/genesis.proto", fileDescriptor_a663dc965f961584) } +func init() { proto.RegisterFile("cardchain/cardchain/genesis.proto", fileDescriptor_c4e78aa6e403ddd4) } -var fileDescriptor_a663dc965f961584 = []byte{ - // 581 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6f, 0xd3, 0x3e, - 0x14, 0xc7, 0x9b, 0xdf, 0xb6, 0x76, 0x75, 0xf7, 0x63, 0xc8, 0x1a, 0x9b, 0xa9, 0x50, 0x5a, 0x21, - 0x21, 0x2a, 0x41, 0x13, 0x3a, 0x84, 0xc4, 0xb5, 0xed, 0x44, 0x05, 0x68, 0xa2, 0x72, 0xc5, 0x05, - 0x0e, 0x95, 0x9b, 0x78, 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 0x6d, 0x74, 0xea, 0x03, 0x5b, 0xf5, 0xfd, 0xd7, 0x6d, 0xeb, 0xa9, 0xe7, 0xc7, 0xf3, - 0xe5, 0xcc, 0x72, 0x44, 0x68, 0xa7, 0xd6, 0x4b, 0x3e, 0x5d, 0x70, 0xbf, 0xd8, 0xf1, 0xb7, 0x05, - 0x87, 0x84, 0xb8, 0x03, 0xc2, 0xef, 0xd0, 0x61, 0x6a, 0x75, 0x20, 0x47, 0xfa, 0x42, 0x56, 0xe9, - 0x8a, 0x69, 0x19, 0xcd, 0xf4, 0x78, 0x8a, 0x8e, 0x69, 0x32, 0x57, 0xfd, 0x64, 0xac, 0x80, 0xfc, - 0xaf, 0x91, 0xaf, 0x4a, 0x22, 0xff, 0x56, 0xd3, 0x7f, 0x69, 0xf8, 0x02, 0x55, 0xf5, 0xf8, 0x01, - 0xb9, 0x77, 0x27, 0xa3, 0xbc, 0x55, 0x22, 0x9a, 0x6a, 0xf1, 0x08, 0xd5, 0x26, 0x7a, 0x5a, 0x81, - 0x1c, 0x6b, 0x4c, 0xb7, 0x74, 0x3f, 0x95, 0x8a, 0x6e, 0xd5, 0x03, 0x7a, 0xbd, 0x36, 0x8d, 0x9b, - 0xb5, 0x69, 0xfc, 0x5e, 0x9b, 0xc6, 0xf7, 0x8d, 0x59, 0xb9, 0xd9, 0x98, 0x95, 0x9f, 0x1b, 0xb3, - 0xf2, 0xe9, 0x75, 0xa1, 0x21, 0x3b, 0x6c, 0x7b, 0x98, 0xbd, 0x1a, 0x5f, 0xed, 0xfc, 0x05, 0xd1, - 0x6d, 0x9a, 0x55, 0xf5, 0x0b, 0xf1, 0xf2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x8f, 0xb1, - 0xbc, 0x95, 0x05, 0x00, 0x00, +var fileDescriptor_c4e78aa6e403ddd4 = []byte{ + // 586 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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, 0xf9, 0xab, + 0xf1, 0x75, 0xe3, 0x05, 0xd1, 0x63, 0x1a, 0x57, 0xf5, 0x0b, 0xf1, 0xf2, 0x4f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x22, 0x29, 0xab, 0x3a, 0x03, 0x06, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/image.pb.go b/x/cardchain/types/image.pb.go index 27f2c490..bfa88a8d 100644 --- a/x/cardchain/types/image.pb.go +++ b/x/cardchain/types/image.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/image.proto +// source: cardchain/cardchain/image.proto package types @@ -30,7 +30,7 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_3499ce64c55ab1be, []int{0} + return fileDescriptor_b6b2c1057391213a, []int{0} } func (m *Image) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -70,20 +70,20 @@ func init() { proto.RegisterType((*Image)(nil), "DecentralCardGame.cardchain.cardchain.Image") } -func init() { proto.RegisterFile("cardchain/image.proto", fileDescriptor_3499ce64c55ab1be) } +func init() { proto.RegisterFile("cardchain/cardchain/image.proto", fileDescriptor_b6b2c1057391213a) } -var fileDescriptor_3499ce64c55ab1be = []byte{ - // 154 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xcf, 0xcc, 0x4d, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, 0x4a, - 0x71, 0x4f, 0xcc, 0x4d, 0xd5, 0x83, 0x2b, 0x44, 0xb0, 0x94, 0x64, 0xb9, 0x58, 0x3d, 0x41, 0xba, - 0x84, 0x44, 0xb8, 0x58, 0xc1, 0xda, 0x25, 0x18, 0x15, 0x18, 0x35, 0x78, 0x82, 0x20, 0x1c, 0xa7, - 0xa0, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, - 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xb2, 0x48, 0xcf, 0x2c, 0xc9, - 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xc7, 0xb0, 0x4a, 0xdf, 0x19, 0xee, 0xa6, 0x0a, 0x7d, - 0x84, 0xfb, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x0e, 0x34, 0x06, 0x04, 0x00, 0x00, - 0xff, 0xff, 0xf7, 0x30, 0xe6, 0xfa, 0xb9, 0x00, 0x00, 0x00, +var fileDescriptor_b6b2c1057391213a = []byte{ + // 155 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0x32, 0x73, 0x13, 0xd3, 0x53, 0xf5, 0x0a, 0x8a, + 0xf2, 0x4b, 0xf2, 0x85, 0x54, 0x5d, 0x52, 0x93, 0x53, 0xf3, 0x4a, 0x8a, 0x12, 0x73, 0x9c, 0x13, + 0x8b, 0x52, 0xdc, 0x13, 0x73, 0x53, 0xf5, 0xe0, 0x0a, 0x11, 0x2c, 0x25, 0x59, 0x2e, 0x56, 0x4f, + 0x90, 0x2e, 0x21, 0x11, 0x2e, 0x56, 0xb0, 0x76, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x08, + 0xc7, 0x29, 0xe8, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, + 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x2c, 0xd2, 0x33, + 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x31, 0xac, 0xd2, 0x77, 0x86, 0xbb, 0xa9, + 0x02, 0xc9, 0x7d, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x07, 0x1a, 0x03, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x15, 0xff, 0x6d, 0xf0, 0xc3, 0x00, 0x00, 0x00, } func (m *Image) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/match.pb.go b/x/cardchain/types/match.pb.go index 2d1165c9..c66361b5 100644 --- a/x/cardchain/types/match.pb.go +++ b/x/cardchain/types/match.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/match.proto +// source: cardchain/cardchain/match.proto package types @@ -35,7 +35,7 @@ func (m *Match) Reset() { *m = Match{} } func (m *Match) String() string { return proto.CompactTextString(m) } func (*Match) ProtoMessage() {} func (*Match) Descriptor() ([]byte, []int) { - return fileDescriptor_bcab7767e7f2388f, []int{0} + return fileDescriptor_f49b609716516c9f, []int{0} } func (m *Match) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -117,7 +117,7 @@ func (m *MatchPlayer) Reset() { *m = MatchPlayer{} } func (m *MatchPlayer) String() string { return proto.CompactTextString(m) } func (*MatchPlayer) ProtoMessage() {} func (*MatchPlayer) Descriptor() ([]byte, []int) { - return fileDescriptor_bcab7767e7f2388f, []int{1} + return fileDescriptor_f49b609716516c9f, []int{1} } func (m *MatchPlayer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -179,32 +179,32 @@ func init() { proto.RegisterType((*MatchPlayer)(nil), "DecentralCardGame.cardchain.cardchain.MatchPlayer") } -func init() { proto.RegisterFile("cardchain/match.proto", fileDescriptor_bcab7767e7f2388f) } +func init() { proto.RegisterFile("cardchain/cardchain/match.proto", fileDescriptor_f49b609716516c9f) } -var fileDescriptor_bcab7767e7f2388f = []byte{ - // 343 bytes of a gzipped FileDescriptorProto +var fileDescriptor_f49b609716516c9f = []byte{ + // 344 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xc1, 0x6a, 0x32, 0x31, - 0x14, 0x85, 0x8d, 0xce, 0xff, 0xab, 0x11, 0x4a, 0x09, 0x14, 0x82, 0x94, 0x21, 0x08, 0x85, 0xa1, - 0x8b, 0x0c, 0xd8, 0x4d, 0xb7, 0x55, 0xa1, 0x5d, 0xb4, 0xb4, 0x64, 0xd9, 0x5d, 0x4c, 0xd2, 0x1a, - 0x30, 0x93, 0x21, 0x13, 0x41, 0xdf, 0xa2, 0xef, 0xd1, 0x17, 0xe9, 0x52, 0xe8, 0xa6, 0xcb, 0xa2, - 0x2f, 0x52, 0x8c, 0xe8, 0x0c, 0xb8, 0x11, 0xdc, 0xdd, 0x1c, 0x72, 0xbe, 0x9c, 0x7b, 0x73, 0xe1, - 0x85, 0xe0, 0x4e, 0x8a, 0x09, 0xd7, 0x59, 0x6a, 0xb8, 0x17, 0x13, 0x9a, 0x3b, 0xeb, 0x2d, 0xba, - 0x1a, 0x29, 0xa1, 0x32, 0xef, 0xf8, 0x74, 0xc8, 0x9d, 0xbc, 0xe7, 0x46, 0xd1, 0xfd, 0xc5, 0xb2, - 0xea, 0xa2, 0xd2, 0xed, 0xe7, 0x5b, 0x6b, 0xef, 0xbb, 0x0e, 0xff, 0x3d, 0x6d, 0x50, 0xe8, 0x12, - 0xb6, 0xbd, 0x36, 0xaa, 0xf0, 0xdc, 0xe4, 0x18, 0x10, 0x90, 0x44, 0xac, 0x14, 0x50, 0x17, 0xb6, - 0x9c, 0xca, 0xad, 0xf3, 0xca, 0xe1, 0x3a, 0x01, 0x49, 0x9b, 0xed, 0xcf, 0xe8, 0x11, 0x36, 0xf3, - 0x29, 0x5f, 0x28, 0x77, 0x87, 0x1b, 0x04, 0x24, 0x9d, 0x7e, 0x9f, 0x1e, 0x15, 0x88, 0x86, 0x87, - 0x5f, 0x82, 0x95, 0xed, 0x10, 0x25, 0x6d, 0x80, 0xa3, 0x53, 0x69, 0x03, 0xf4, 0x00, 0x9b, 0x76, - 0xe6, 0x85, 0x35, 0x0a, 0x37, 0x09, 0x48, 0xce, 0xfa, 0xf4, 0x48, 0xda, 0xf3, 0xd6, 0xc5, 0x76, - 0x76, 0x74, 0x0d, 0xcf, 0x85, 0xd5, 0x59, 0x31, 0xd2, 0x85, 0x77, 0x7a, 0x3c, 0xf3, 0x4a, 0x62, - 0x48, 0x40, 0xd2, 0x62, 0x07, 0x7a, 0xef, 0x13, 0xc0, 0x4e, 0x25, 0x0e, 0x42, 0x30, 0xe2, 0x52, - 0xba, 0x30, 0xd6, 0x36, 0x0b, 0x35, 0x22, 0xb0, 0x13, 0x42, 0xca, 0x4d, 0x8c, 0x02, 0xd7, 0x49, - 0x23, 0x89, 0x58, 0x55, 0xda, 0xfc, 0x88, 0xb0, 0xd9, 0x9b, 0x76, 0x46, 0xc9, 0x30, 0xd9, 0x16, - 0x2b, 0x85, 0x6a, 0x67, 0xd1, 0x49, 0x9d, 0x0d, 0xd8, 0xd7, 0x2a, 0x06, 0xcb, 0x55, 0x0c, 0x7e, - 0x57, 0x31, 0xf8, 0x58, 0xc7, 0xb5, 0xe5, 0x3a, 0xae, 0xfd, 0xac, 0xe3, 0xda, 0xeb, 0xed, 0xbb, - 0xf6, 0x93, 0xd9, 0x98, 0x0a, 0x6b, 0xd2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 0x35, 0x02, 0x92, 0x56, 0xbf, 0x4f, 0x8f, 0xb2, 0x46, + 0xc3, 0xc3, 0xcf, 0xa1, 0x95, 0xed, 0x10, 0x05, 0x6d, 0x80, 0xa3, 0x53, 0x69, 0x03, 0x74, 0x0f, + 0xeb, 0x76, 0xe6, 0x85, 0x35, 0x0a, 0xd7, 0x09, 0x48, 0xce, 0xfa, 0xf4, 0x48, 0xda, 0xd3, 0xb6, + 0x8b, 0xed, 0xda, 0xd1, 0x15, 0x3c, 0x17, 0x56, 0xa7, 0xf9, 0x48, 0xe7, 0xde, 0xe9, 0xf1, 0xcc, + 0x2b, 0x89, 0x21, 0x01, 0x49, 0x83, 0x1d, 0xe8, 0xdd, 0x0f, 0x00, 0x5b, 0x25, 0x3b, 0x08, 0xc1, + 0x88, 0x4b, 0xe9, 0xc2, 0x5a, 0x9b, 0x2c, 0xd4, 0x88, 0xc0, 0x56, 0x30, 0x29, 0x37, 0x36, 0x72, + 0x5c, 0x25, 0xb5, 0x24, 0x62, 0x65, 0x69, 0xf3, 0x23, 0xc2, 0xa6, 0xaf, 0xda, 0x19, 0x25, 0xc3, + 0x66, 0x1b, 0xac, 0x10, 0xca, 0x93, 0x45, 0x27, 0x4d, 0x36, 0x60, 0x9f, 0xab, 0x18, 0x2c, 0x57, + 0x31, 0xf8, 0x59, 0xc5, 0xe0, 0x7d, 0x1d, 0x57, 0x96, 0xeb, 0xb8, 0xf2, 0xbd, 0x8e, 0x2b, 0x2f, + 0x37, 0x6f, 0xda, 0x4f, 0x66, 0x63, 0x2a, 0xac, 0xe9, 0x1d, 0xc0, 0x7b, 0xc3, 0x7d, 0x9c, 0xe6, + 0xe5, 0x68, 0x2d, 0x32, 0x95, 0x8f, 0xff, 0x87, 0x78, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, + 0xb4, 0x35, 0xe3, 0xdb, 0xc6, 0x02, 0x00, 0x00, } func (m *Match) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/match_reporter_proposal.pb.go b/x/cardchain/types/match_reporter_proposal.pb.go index 86badc2a..2e3ceb42 100644 --- a/x/cardchain/types/match_reporter_proposal.pb.go +++ b/x/cardchain/types/match_reporter_proposal.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/match_reporter_proposal.proto +// source: cardchain/cardchain/match_reporter_proposal.proto package types @@ -32,7 +32,7 @@ func (m *MatchReporterProposal) Reset() { *m = MatchReporterProposal{} } func (m *MatchReporterProposal) String() string { return proto.CompactTextString(m) } func (*MatchReporterProposal) ProtoMessage() {} func (*MatchReporterProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_77e5ecf4cc4d4cf7, []int{0} + return fileDescriptor_5f42125af27677dc, []int{0} } func (m *MatchReporterProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -87,25 +87,25 @@ func init() { } func init() { - proto.RegisterFile("cardchain/match_reporter_proposal.proto", fileDescriptor_77e5ecf4cc4d4cf7) + proto.RegisterFile("cardchain/cardchain/match_reporter_proposal.proto", fileDescriptor_5f42125af27677dc) } -var fileDescriptor_77e5ecf4cc4d4cf7 = []byte{ - // 214 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xcf, 0x4d, 0x2c, 0x49, 0xce, 0x88, 0x2f, 0x4a, 0x2d, 0xc8, - 0x2f, 0x2a, 0x49, 0x2d, 0x8a, 0x2f, 0x28, 0xca, 0x2f, 0xc8, 0x2f, 0x4e, 0xcc, 0xd1, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, - 0x2c, 0x4a, 0x71, 0x4f, 0xcc, 0x4d, 0xd5, 0x83, 0x6b, 0x45, 0xb0, 0x94, 0xb2, 0xb9, 0x44, 0x7d, - 0x41, 0xe6, 0x04, 0x41, 0x8d, 0x09, 0x80, 0x9a, 0x22, 0x24, 0xc2, 0xc5, 0x5a, 0x92, 0x59, 0x92, - 0x93, 0x2a, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe1, 0x08, 0x29, 0x70, 0x71, 0xa7, 0xa4, - 0x16, 0x27, 0x17, 0x65, 0x16, 0x94, 0x64, 0xe6, 0xe7, 0x49, 0x30, 0x81, 0xe5, 0x90, 0x85, 0x84, - 0xa4, 0xb8, 0x38, 0x60, 0x4e, 0x92, 0x60, 0x06, 0x4b, 0xc3, 0xf9, 0x4e, 0x41, 0x27, 0x1e, 0xc9, - 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, - 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x91, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, - 0x9c, 0x9f, 0xab, 0x8f, 0xe1, 0x70, 0x7d, 0x67, 0xb8, 0x9f, 0x2b, 0xf4, 0x11, 0xfe, 0x2f, 0xa9, - 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x7b, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x3e, - 0x32, 0x6e, 0x19, 0x01, 0x00, 0x00, +var fileDescriptor_5f42125af27677dc = []byte{ + // 215 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4c, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0x72, 0x13, 0x4b, 0x92, 0x33, 0xe2, 0x8b, 0x52, + 0x0b, 0xf2, 0x8b, 0x4a, 0x52, 0x8b, 0xe2, 0x0b, 0x8a, 0xf2, 0x0b, 0xf2, 0x8b, 0x13, 0x73, 0xf4, + 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x54, 0x5d, 0x52, 0x93, 0x53, 0xf3, 0x4a, 0x8a, 0x12, 0x73, + 0x9c, 0x13, 0x8b, 0x52, 0xdc, 0x13, 0x73, 0x53, 0xf5, 0xe0, 0x5a, 0x11, 0x2c, 0xa5, 0x6c, 0x2e, + 0x51, 0x5f, 0x90, 0x39, 0x41, 0x50, 0x63, 0x02, 0xa0, 0xa6, 0x08, 0x89, 0x70, 0xb1, 0x96, 0x64, + 0x96, 0xe4, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x41, 0x38, 0x42, 0x0a, 0x5c, 0xdc, + 0x29, 0xa9, 0xc5, 0xc9, 0x45, 0x99, 0x05, 0x25, 0x99, 0xf9, 0x79, 0x12, 0x4c, 0x60, 0x39, 0x64, + 0x21, 0x21, 0x29, 0x2e, 0x0e, 0x98, 0x93, 0x24, 0x98, 0xc1, 0xd2, 0x70, 0xbe, 0x53, 0xd0, 0x89, + 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, + 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x59, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, + 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x63, 0x38, 0x5c, 0xdf, 0x19, 0xee, 0xe7, 0x0a, 0x24, 0xff, 0x97, + 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xbd, 0x6b, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xaa, + 0x3c, 0x6d, 0x58, 0x23, 0x01, 0x00, 0x00, } func (m *MatchReporterProposal) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/message_multi_vote_card.go b/x/cardchain/types/message_multi_vote_card.go new file mode 100644 index 00000000..673070fc --- /dev/null +++ b/x/cardchain/types/message_multi_vote_card.go @@ -0,0 +1,45 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +const TypeMsgMultiVoteCard = "multi_vote_card" + +var _ sdk.Msg = &MsgMultiVoteCard{} + +func NewMsgMultiVoteCard(creator string) *MsgMultiVoteCard { + return &MsgMultiVoteCard{ + Creator: creator, + } +} + +func (msg *MsgMultiVoteCard) Route() string { + return RouterKey +} + +func (msg *MsgMultiVoteCard) Type() string { + return TypeMsgMultiVoteCard +} + +func (msg *MsgMultiVoteCard) GetSigners() []sdk.AccAddress { + creator, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + panic(err) + } + return []sdk.AccAddress{creator} +} + +func (msg *MsgMultiVoteCard) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + +func (msg *MsgMultiVoteCard) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + return nil +} diff --git a/x/cardchain/types/message_multi_vote_card_test.go b/x/cardchain/types/message_multi_vote_card_test.go new file mode 100644 index 00000000..14e3f2a2 --- /dev/null +++ b/x/cardchain/types/message_multi_vote_card_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 TestMsgMultiVoteCard_ValidateBasic(t *testing.T) { + tests := []struct { + name string + msg MsgMultiVoteCard + err error + }{ + { + name: "invalid address", + msg: MsgMultiVoteCard{ + Creator: "invalid_address", + }, + err: sdkerrors.ErrInvalidAddress, + }, { + name: "valid address", + msg: MsgMultiVoteCard{ + 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/num.pb.go b/x/cardchain/types/num.pb.go index 76e26209..db2feb73 100644 --- a/x/cardchain/types/num.pb.go +++ b/x/cardchain/types/num.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/num.proto +// source: cardchain/cardchain/num.proto package types @@ -30,7 +30,7 @@ func (m *Num) Reset() { *m = Num{} } func (m *Num) String() string { return proto.CompactTextString(m) } func (*Num) ProtoMessage() {} func (*Num) Descriptor() ([]byte, []int) { - return fileDescriptor_c904dea564e3e5ea, []int{0} + return fileDescriptor_be8334ccfa5e94e5, []int{0} } func (m *Num) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -70,20 +70,20 @@ func init() { proto.RegisterType((*Num)(nil), "DecentralCardGame.cardchain.cardchain.Num") } -func init() { proto.RegisterFile("cardchain/num.proto", fileDescriptor_c904dea564e3e5ea) } +func init() { proto.RegisterFile("cardchain/cardchain/num.proto", fileDescriptor_be8334ccfa5e94e5) } -var fileDescriptor_c904dea564e3e5ea = []byte{ - // 153 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4e, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xcf, 0x2b, 0xcd, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, 0x4a, 0x71, 0x4f, - 0xcc, 0x4d, 0xd5, 0x83, 0x2b, 0x43, 0xb0, 0x94, 0xc4, 0xb9, 0x98, 0xfd, 0x4a, 0x73, 0x85, 0x04, - 0xb8, 0x98, 0xf3, 0x4a, 0x73, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0x40, 0x4c, 0xa7, 0xa0, - 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, - 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xb2, 0x48, 0xcf, 0x2c, 0xc9, 0x28, - 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xc7, 0xb0, 0x44, 0xdf, 0x19, 0xee, 0x96, 0x0a, 0x7d, 0x84, - 0xbb, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x4e, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, - 0xff, 0x97, 0xb6, 0x15, 0x86, 0xb1, 0x00, 0x00, 0x00, +var fileDescriptor_be8334ccfa5e94e5 = []byte{ + // 154 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0xf2, 0x4a, 0x73, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, + 0xf2, 0x85, 0x54, 0x5d, 0x52, 0x93, 0x53, 0xf3, 0x4a, 0x8a, 0x12, 0x73, 0x9c, 0x13, 0x8b, 0x52, + 0xdc, 0x13, 0x73, 0x53, 0xf5, 0xe0, 0xca, 0x10, 0x2c, 0x25, 0x71, 0x2e, 0x66, 0xbf, 0xd2, 0x5c, + 0x21, 0x01, 0x2e, 0xe6, 0xbc, 0xd2, 0x5c, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x96, 0x20, 0x10, 0xd3, + 0x29, 0xe8, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, + 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x2c, 0xd2, 0x33, 0x4b, + 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x31, 0x2c, 0xd1, 0x77, 0x86, 0xbb, 0xa5, 0x02, + 0xc9, 0x5d, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xa7, 0x19, 0x03, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x45, 0x8f, 0x11, 0xfb, 0xbb, 0x00, 0x00, 0x00, } func (m *Num) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/params.go b/x/cardchain/types/params.go index a725d94d..2de707dc 100644 --- a/x/cardchain/types/params.go +++ b/x/cardchain/types/params.go @@ -26,10 +26,10 @@ func NewParams() Params { ActiveCollectionsAmount: 3, CollectionCreationFee: sdk.NewInt64Coin("ucredits", int64(5000*math.Pow(10, 6))), CollateralDeposit: sdk.NewInt64Coin("ucredits", int64(50*math.Pow(10, 6))), - TrialVoteReward: sdk.NewInt64Coin("ucredits", int64(math.Pow(10, 6))), + TrialVoteReward: sdk.NewInt64Coin("ucredits", int64(math.Pow(10, 6))), WinnerReward: int64(math.Pow(10, 6)), VotePoolFraction: int64(math.Pow(10, 6)), - VotingRewardCap: int64(math.Pow(10, 6)), + VotingRewardCap: int64(math.Pow(10, 6)), HourlyFaucet: sdk.NewInt64Coin("ucredits", int64(50*math.Pow(10, 6))), InflationRate: "1.1", // TODO: Also make this a fixed point number RaresPerPack: 1, @@ -54,14 +54,14 @@ func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { paramtypes.NewParamSetPair([]byte("VotingRightsExpirationTime"), &p.VotingRightsExpirationTime, validateVotingRightsExpirationTime), paramtypes.NewParamSetPair([]byte("CollectionSize"), &p.CollectionSize, validateCollectionSize), paramtypes.NewParamSetPair([]byte("CollectionPrice"), &p.CollectionPrice, validateCollectionPrice), - paramtypes.NewParamSetPair([]byte("TrialVoteReward"), &p.TrialVoteReward, validateCollectionPrice), + paramtypes.NewParamSetPair([]byte("TrialVoteReward"), &p.TrialVoteReward, validateCollectionPrice), paramtypes.NewParamSetPair([]byte("ActiveCollectionsAmount"), &p.ActiveCollectionsAmount, validateActiveCollectionsAmount), paramtypes.NewParamSetPair([]byte("CollectionCreationFee"), &p.CollectionCreationFee, validateCollectionCreationFee), paramtypes.NewParamSetPair([]byte("CollateralDeposit"), &p.CollateralDeposit, validateCollateralDeposit), paramtypes.NewParamSetPair([]byte("WinnerReward"), &p.WinnerReward, validateWinnerReward), - paramtypes.NewParamSetPair([]byte("VotePoolFraction"), &p.VotePoolFraction, validateVoterReward), - paramtypes.NewParamSetPair([]byte("VotingRewardCap"), &p.VotingRewardCap, validateVoterReward), - paramtypes.NewParamSetPair([]byte("HourlyFaucet"), &p.HourlyFaucet, validateHourlyFaucet), + paramtypes.NewParamSetPair([]byte("VotePoolFraction"), &p.VotePoolFraction, validateVoterReward), + paramtypes.NewParamSetPair([]byte("VotingRewardCap"), &p.VotingRewardCap, validateVoterReward), + paramtypes.NewParamSetPair([]byte("HourlyFaucet"), &p.HourlyFaucet, validateHourlyFaucet), paramtypes.NewParamSetPair([]byte("InflationRate"), &p.InflationRate, validateInflationRate), paramtypes.NewParamSetPair([]byte("RaresPerPack"), &p.RaresPerPack, validatePerPack), paramtypes.NewParamSetPair([]byte("CommonsPerPack"), &p.CommonsPerPack, validatePerPack), diff --git a/x/cardchain/types/params.pb.go b/x/cardchain/types/params.pb.go index 9f19532e..dee58010 100644 --- a/x/cardchain/types/params.pb.go +++ b/x/cardchain/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/params.proto +// source: cardchain/cardchain/params.proto package types @@ -51,7 +51,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_c4f04567b0d8a99a, []int{0} + return fileDescriptor_8843e481ee664a23, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -182,47 +182,47 @@ func init() { proto.RegisterType((*Params)(nil), "DecentralCardGame.cardchain.cardchain.Params") } -func init() { proto.RegisterFile("cardchain/params.proto", fileDescriptor_c4f04567b0d8a99a) } +func init() { proto.RegisterFile("cardchain/cardchain/params.proto", fileDescriptor_8843e481ee664a23) } -var fileDescriptor_c4f04567b0d8a99a = []byte{ - // 588 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x8d, 0x69, 0x29, 0x74, 0x9a, 0x36, 0xed, 0xd0, 0xc2, 0xa8, 0x0b, 0x27, 0xaa, 0x78, 0x44, - 0x48, 0xc4, 0x0b, 0x58, 0x54, 0x2c, 0x90, 0x1a, 0x87, 0xd0, 0x0d, 0x92, 0xe5, 0xa2, 0x4a, 0x20, - 0xb1, 0x98, 0x8e, 0x2f, 0xce, 0x28, 0xb6, 0xc7, 0x1a, 0x8f, 0xd3, 0x94, 0xaf, 0x60, 0xc9, 0x92, - 0xaf, 0xe0, 0x1b, 0xba, 0xec, 0x12, 0xb1, 0xa8, 0x50, 0xf2, 0x23, 0x68, 0x26, 0x21, 0x89, 0x93, - 0x02, 0x52, 0x56, 0xb6, 0xcf, 0x9c, 0x7b, 0x7c, 0xee, 0xdc, 0x07, 0xba, 0xcf, 0xa8, 0x0c, 0x58, - 0x87, 0xf2, 0xc4, 0x49, 0xa9, 0xa4, 0x71, 0xd6, 0x48, 0xa5, 0x50, 0x02, 0x3f, 0x6a, 0x01, 0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x19, 0x57, 0x64, 0x6d, 0xb9, 0x5f, 0x2c, 0x2a, 0xe1, 0x03, 0x54, - 0x3e, 0xe7, 0x49, 0x02, 0xd2, 0x87, 0x73, 0x2a, 0x03, 0x72, 0xc7, 0x14, 0xad, 0x80, 0xe1, 0x13, - 0x54, 0xee, 0x88, 0x5c, 0x46, 0x17, 0x6d, 0x9a, 0x33, 0x50, 0x64, 0x7d, 0xb9, 0xbf, 0x17, 0x44, - 0xf0, 0x43, 0xb4, 0xc9, 0x93, 0x4f, 0x91, 0xc9, 0xd3, 0xa7, 0x0a, 0x08, 0xd2, 0xaa, 0x7e, 0x11, - 0xd4, 0xf6, 0x24, 0x95, 0x90, 0x79, 0x20, 0x3d, 0xca, 0xba, 0x64, 0xc3, 0xd4, 0xa4, 0x80, 0x8d, - 0xba, 0x28, 0x8e, 0x45, 0x32, 0x61, 0x95, 0xff, 0x74, 0xd1, 0x2c, 0x8a, 0x9f, 0xa2, 0xed, 0x3c, - 0x71, 0x8b, 0xcc, 0x4d, 0xc3, 0x5c, 0xc0, 0x71, 0x0d, 0x6d, 0x28, 0xc9, 0x69, 0xe4, 0x81, 0xe4, - 0x22, 0x20, 0x5b, 0x86, 0x36, 0x0b, 0x69, 0xff, 0x21, 0x8d, 0xe1, 0x54, 0x28, 0xf0, 0xb5, 0x5f, - 0x52, 0x31, 0x37, 0x57, 0x04, 0xf1, 0x31, 0xaa, 0xea, 0x79, 0x3a, 0xca, 0xa7, 0x2d, 0xe7, 0x43, - 0x30, 0xfe, 0x1a, 0x69, 0x6f, 0x9b, 0xb8, 0xff, 0xd1, 0x74, 0x11, 0x28, 0x97, 0x2d, 0x29, 0xd2, - 0x53, 0x1a, 0xe5, 0x40, 0x76, 0x96, 0x2c, 0xc2, 0xac, 0x08, 0x7e, 0x81, 0xf6, 0xc6, 0xdf, 0x6f, - 0x69, 0xbf, 0x19, 0x09, 0xd6, 0x3d, 0x06, 0x3d, 0xa8, 0x04, 0x1b, 0x53, 0x37, 0x1f, 0xea, 0x71, - 0x34, 0x37, 0x61, 0xd2, 0x1c, 0xb5, 0xcd, 0xbd, 0x25, 0xc7, 0x71, 0x4e, 0x47, 0xd7, 0xa8, 0x27, - 0x14, 0x78, 0x42, 0x44, 0x6d, 0x49, 0x4d, 0xfe, 0x64, 0xd7, 0x78, 0x59, 0xc0, 0x71, 0x1d, 0x55, - 0xc6, 0xbb, 0xc5, 0xc4, 0xba, 0x34, 0x25, 0x77, 0x0d, 0x75, 0x1e, 0x7e, 0xb9, 0xfa, 0xf5, 0x5b, - 0xb5, 0xd4, 0xf4, 0x2f, 0x07, 0xb6, 0x75, 0x35, 0xb0, 0xad, 0x5f, 0x03, 0xdb, 0xfa, 0x32, 0xb4, - 0x4b, 0x57, 0x43, 0xbb, 0xf4, 0x63, 0x68, 0x97, 0x3e, 0x1c, 0xce, 0xf8, 0x5d, 0x58, 0x8d, 0x8e, - 0x3b, 0x59, 0xa2, 0x7d, 0x67, 0xba, 0x50, 0x4d, 0x16, 0x67, 0x6b, 0x66, 0x27, 0x3e, 0xff, 0x1d, - 0x00, 0x00, 0xff, 0xff, 0x8c, 0x73, 0x6e, 0xdd, 0x6a, 0x05, 0x00, 0x00, +var fileDescriptor_8843e481ee664a23 = []byte{ + // 590 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0xbf, 0xf6, 0x2b, 0x64, 0x9a, 0x36, 0xed, 0xd0, 0x8a, 0x51, 0x17, 0x4e, 0x54, 0xf1, + 0x13, 0x21, 0x11, 0x2f, 0x60, 0x51, 0xb1, 0x40, 0x6a, 0x1c, 0x42, 0x37, 0x48, 0x96, 0x8b, 0x2a, + 0x81, 0xc4, 0x62, 0x3a, 0xbe, 0x38, 0xa3, 0xd8, 0x1e, 0x6b, 0x3c, 0x4e, 0x53, 0x9e, 0x82, 0x25, + 0x4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ac, + 0xe5, 0x7c, 0x08, 0x26, 0x6f, 0x63, 0xed, 0x1d, 0x13, 0xf7, 0x2f, 0x9a, 0x2e, 0x02, 0xe5, 0xb2, + 0x2d, 0x45, 0x7a, 0x46, 0xa3, 0x1c, 0xc8, 0xee, 0x8a, 0x45, 0x98, 0x17, 0xc1, 0xcf, 0xd1, 0xfe, + 0xe4, 0xfd, 0x0d, 0x1d, 0xb4, 0x22, 0xc1, 0x7a, 0x27, 0xa0, 0x07, 0x95, 0x60, 0x63, 0xea, 0xf6, + 0x4b, 0x3d, 0x8e, 0xe6, 0x4f, 0x98, 0x34, 0xc7, 0x6d, 0x73, 0x6f, 0xc5, 0x71, 0x5c, 0xd0, 0xd1, + 0x35, 0xea, 0x0b, 0x05, 0x9e, 0x10, 0x51, 0x47, 0x52, 0x93, 0x3f, 0xd9, 0x33, 0x5e, 0x96, 0x70, + 0xdc, 0x40, 0xd5, 0xc9, 0x6e, 0x31, 0xb1, 0x2e, 0x4d, 0xc9, 0x5d, 0x43, 0x5d, 0x84, 0x5f, 0xac, + 0x7f, 0xf9, 0x5a, 0x2b, 0xb5, 0xfc, 0xab, 0xa1, 0x6d, 0x5d, 0x0f, 0x6d, 0xeb, 0xe7, 0xd0, 0xb6, + 0x3e, 0x8f, 0xec, 0xd2, 0xf5, 0xc8, 0x2e, 0x7d, 0x1f, 0xd9, 0xa5, 0xf7, 0x47, 0x73, 0x7e, 0x97, + 0x56, 0xa3, 0xe3, 0x4e, 0x97, 0xe8, 0x60, 0x6e, 0xa1, 0x9a, 0x2c, 0xce, 0x37, 0xcc, 0x4e, 0x7c, + 0xf6, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xe5, 0x71, 0xe5, 0x74, 0x05, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/query.pb.go b/x/cardchain/types/query.pb.go index a1423d42..4c9af571 100644 --- a/x/cardchain/types/query.pb.go +++ b/x/cardchain/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/query.proto +// source: cardchain/cardchain/query.proto package types @@ -80,7 +80,7 @@ func (x QueryQCardsRequest_Status) String() string { } func (QueryQCardsRequest_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{12, 0} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{12, 0} } // QueryParamsRequest is request type for the Query/Params RPC method. @@ -91,7 +91,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{0} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -130,7 +130,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{1} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -174,7 +174,7 @@ func (m *QueryQCardRequest) Reset() { *m = QueryQCardRequest{} } func (m *QueryQCardRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCardRequest) ProtoMessage() {} func (*QueryQCardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{2} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{2} } func (m *QueryQCardRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -218,7 +218,7 @@ func (m *QueryQCardContentRequest) Reset() { *m = QueryQCardContentReque func (m *QueryQCardContentRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCardContentRequest) ProtoMessage() {} func (*QueryQCardContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{3} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{3} } func (m *QueryQCardContentRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -263,7 +263,7 @@ func (m *QueryQCardContentResponse) Reset() { *m = QueryQCardContentResp func (m *QueryQCardContentResponse) String() string { return proto.CompactTextString(m) } func (*QueryQCardContentResponse) ProtoMessage() {} func (*QueryQCardContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{4} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{4} } func (m *QueryQCardContentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -314,7 +314,7 @@ func (m *QueryQUserRequest) Reset() { *m = QueryQUserRequest{} } func (m *QueryQUserRequest) String() string { return proto.CompactTextString(m) } func (*QueryQUserRequest) ProtoMessage() {} func (*QueryQUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{5} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{5} } func (m *QueryQUserRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,7 +357,7 @@ func (m *QueryQCardchainInfoRequest) Reset() { *m = QueryQCardchainInfoR func (m *QueryQCardchainInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCardchainInfoRequest) ProtoMessage() {} func (*QueryQCardchainInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{6} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{6} } func (m *QueryQCardchainInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -399,7 +399,7 @@ func (m *QueryQCardchainInfoResponse) Reset() { *m = QueryQCardchainInfo func (m *QueryQCardchainInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryQCardchainInfoResponse) ProtoMessage() {} func (*QueryQCardchainInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{7} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{7} } func (m *QueryQCardchainInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -470,7 +470,7 @@ func (m *QueryQVotingResultsRequest) Reset() { *m = QueryQVotingResultsR func (m *QueryQVotingResultsRequest) String() string { return proto.CompactTextString(m) } func (*QueryQVotingResultsRequest) ProtoMessage() {} func (*QueryQVotingResultsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{8} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{8} } func (m *QueryQVotingResultsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -507,7 +507,7 @@ func (m *QueryQVotingResultsResponse) Reset() { *m = QueryQVotingResults func (m *QueryQVotingResultsResponse) String() string { return proto.CompactTextString(m) } func (*QueryQVotingResultsResponse) ProtoMessage() {} func (*QueryQVotingResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{9} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{9} } func (m *QueryQVotingResultsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -551,7 +551,7 @@ func (m *QueryQVotableCardsRequest) Reset() { *m = QueryQVotableCardsReq func (m *QueryQVotableCardsRequest) String() string { return proto.CompactTextString(m) } func (*QueryQVotableCardsRequest) ProtoMessage() {} func (*QueryQVotableCardsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{10} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{10} } func (m *QueryQVotableCardsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -597,7 +597,7 @@ func (m *QueryQVotableCardsResponse) Reset() { *m = QueryQVotableCardsRe func (m *QueryQVotableCardsResponse) String() string { return proto.CompactTextString(m) } func (*QueryQVotableCardsResponse) ProtoMessage() {} func (*QueryQVotableCardsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{11} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{11} } func (m *QueryQVotableCardsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -662,7 +662,7 @@ func (m *QueryQCardsRequest) Reset() { *m = QueryQCardsRequest{} } func (m *QueryQCardsRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCardsRequest) ProtoMessage() {} func (*QueryQCardsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{12} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{12} } func (m *QueryQCardsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -755,7 +755,7 @@ func (m *QueryQCardsResponse) Reset() { *m = QueryQCardsResponse{} } func (m *QueryQCardsResponse) String() string { return proto.CompactTextString(m) } func (*QueryQCardsResponse) ProtoMessage() {} func (*QueryQCardsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{13} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{13} } func (m *QueryQCardsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -799,7 +799,7 @@ func (m *QueryQMatchRequest) Reset() { *m = QueryQMatchRequest{} } func (m *QueryQMatchRequest) String() string { return proto.CompactTextString(m) } func (*QueryQMatchRequest) ProtoMessage() {} func (*QueryQMatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{14} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{14} } func (m *QueryQMatchRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -843,7 +843,7 @@ func (m *QueryQCollectionRequest) Reset() { *m = QueryQCollectionRequest func (m *QueryQCollectionRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCollectionRequest) ProtoMessage() {} func (*QueryQCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{15} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{15} } func (m *QueryQCollectionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -887,7 +887,7 @@ func (m *QueryQSellOfferRequest) Reset() { *m = QueryQSellOfferRequest{} func (m *QueryQSellOfferRequest) String() string { return proto.CompactTextString(m) } func (*QueryQSellOfferRequest) ProtoMessage() {} func (*QueryQSellOfferRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{16} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{16} } func (m *QueryQSellOfferRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -931,7 +931,7 @@ func (m *QueryQCouncilRequest) Reset() { *m = QueryQCouncilRequest{} } func (m *QueryQCouncilRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCouncilRequest) ProtoMessage() {} func (*QueryQCouncilRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{17} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{17} } func (m *QueryQCouncilRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -981,7 +981,7 @@ func (m *QueryQMatchesRequest) Reset() { *m = QueryQMatchesRequest{} } func (m *QueryQMatchesRequest) String() string { return proto.CompactTextString(m) } func (*QueryQMatchesRequest) ProtoMessage() {} func (*QueryQMatchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{18} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{18} } func (m *QueryQMatchesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1067,7 +1067,7 @@ func (m *IgnoreMatches) Reset() { *m = IgnoreMatches{} } func (m *IgnoreMatches) String() string { return proto.CompactTextString(m) } func (*IgnoreMatches) ProtoMessage() {} func (*IgnoreMatches) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{19} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{19} } func (m *IgnoreMatches) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1112,7 +1112,7 @@ func (m *QueryQMatchesResponse) Reset() { *m = QueryQMatchesResponse{} } func (m *QueryQMatchesResponse) String() string { return proto.CompactTextString(m) } func (*QueryQMatchesResponse) ProtoMessage() {} func (*QueryQMatchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{20} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{20} } func (m *QueryQMatchesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1169,7 +1169,7 @@ func (m *QueryQSellOffersRequest) Reset() { *m = QueryQSellOffersRequest func (m *QueryQSellOffersRequest) String() string { return proto.CompactTextString(m) } func (*QueryQSellOffersRequest) ProtoMessage() {} func (*QueryQSellOffersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{21} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{21} } func (m *QueryQSellOffersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1256,7 +1256,7 @@ func (m *IgnoreSellOffers) Reset() { *m = IgnoreSellOffers{} } func (m *IgnoreSellOffers) String() string { return proto.CompactTextString(m) } func (*IgnoreSellOffers) ProtoMessage() {} func (*IgnoreSellOffers) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{22} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{22} } func (m *IgnoreSellOffers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1308,7 +1308,7 @@ func (m *QueryQSellOffersResponse) Reset() { *m = QueryQSellOffersRespon func (m *QueryQSellOffersResponse) String() string { return proto.CompactTextString(m) } func (*QueryQSellOffersResponse) ProtoMessage() {} func (*QueryQSellOffersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{23} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{23} } func (m *QueryQSellOffersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1359,7 +1359,7 @@ func (m *QueryQServerRequest) Reset() { *m = QueryQServerRequest{} } func (m *QueryQServerRequest) String() string { return proto.CompactTextString(m) } func (*QueryQServerRequest) ProtoMessage() {} func (*QueryQServerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{24} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{24} } func (m *QueryQServerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1402,7 +1402,7 @@ func (m *QueryQServerResponse) Reset() { *m = QueryQServerResponse{} } func (m *QueryQServerResponse) String() string { return proto.CompactTextString(m) } func (*QueryQServerResponse) ProtoMessage() {} func (*QueryQServerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{25} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{25} } func (m *QueryQServerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1443,7 +1443,7 @@ func (m *QueryQCollectionsRequest) Reset() { *m = QueryQCollectionsReque func (m *QueryQCollectionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryQCollectionsRequest) ProtoMessage() {} func (*QueryQCollectionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{26} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{26} } func (m *QueryQCollectionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1515,7 +1515,7 @@ func (m *QueryQCollectionsResponse) Reset() { *m = QueryQCollectionsResp func (m *QueryQCollectionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryQCollectionsResponse) ProtoMessage() {} func (*QueryQCollectionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{27} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{27} } func (m *QueryQCollectionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1559,7 +1559,7 @@ func (m *QueryRarityDistributionRequest) Reset() { *m = QueryRarityDistr func (m *QueryRarityDistributionRequest) String() string { return proto.CompactTextString(m) } func (*QueryRarityDistributionRequest) ProtoMessage() {} func (*QueryRarityDistributionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{28} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{28} } func (m *QueryRarityDistributionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1604,7 +1604,7 @@ func (m *QueryRarityDistributionResponse) Reset() { *m = QueryRarityDist func (m *QueryRarityDistributionResponse) String() string { return proto.CompactTextString(m) } func (*QueryRarityDistributionResponse) ProtoMessage() {} func (*QueryRarityDistributionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c26c5456fa123d9f, []int{29} + return fileDescriptor_e1bdbfeb9d7f6cfd, []int{29} } func (m *QueryRarityDistributionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1681,139 +1681,139 @@ func init() { proto.RegisterType((*QueryRarityDistributionResponse)(nil), "DecentralCardGame.cardchain.cardchain.QueryRarityDistributionResponse") } -func init() { proto.RegisterFile("cardchain/query.proto", fileDescriptor_c26c5456fa123d9f) } - -var fileDescriptor_c26c5456fa123d9f = []byte{ - // 2049 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x59, 0xcf, 0x6f, 0x1b, 0xc7, - 0xf5, 0xd7, 0x52, 0x14, 0x45, 0x8e, 0x7e, 0x80, 0x9e, 0xaf, 0xe2, 0xf0, 0xcb, 0x18, 0xb2, 0xb0, - 0x70, 0x5a, 0x37, 0x89, 0xb8, 0x8e, 0x62, 0x3b, 0x8a, 0x63, 0xeb, 0x77, 0xdc, 0xa8, 0x71, 0x6c, - 0x6b, 0x95, 0x18, 0x45, 0x7b,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e2, 0xa6, 0x64, 0x82, 0xde, 0x5f, - 0x90, 0xc1, 0x63, 0x1a, 0xb6, 0x59, 0xbc, 0x6e, 0x16, 0xd6, 0x8d, 0xc9, 0xc5, 0x81, 0x09, 0x28, - 0x27, 0xc9, 0xc2, 0x32, 0x2c, 0x4c, 0x0b, 0xed, 0xdf, 0x58, 0xa8, 0x24, 0x61, 0x61, 0x84, 0x4a, - 0xac, 0x75, 0x4c, 0x7a, 0xa4, 0x3a, 0x85, 0x17, 0x50, 0x05, 0xca, 0xb6, 0x38, 0xe2, 0x55, 0x0b, - 0x57, 0xd0, 0x0c, 0x0f, 0x7d, 0xaf, 0x5b, 0x2d, 0xc0, 0x0c, 0x09, 0x7b, 0x5e, 0x40, 0x02, 0x5e, - 0x9d, 0x16, 0x43, 0x16, 0xb1, 0x3e, 0x09, 0xda, 0xa4, 0x5d, 0x2d, 0x0a, 0x1b, 0x4d, 0x2f, 0x08, - 0x48, 0xbb, 0x3a, 0x83, 0x17, 0x11, 0x92, 0xdf, 0x87, 0x94, 0x06, 0xd5, 0x12, 0xc6, 0x68, 0x51, - 0x8e, 0x1f, 0x90, 0x70, 0x00, 0xb2, 0x59, 0x5c, 0x46, 0xc5, 0x80, 0x06, 0xa4, 0x5a, 0xc6, 0xf3, - 0xa8, 0xdc, 0xef, 0x7a, 0x03, 0x41, 0xc3, 0x6a, 0x45, 0xe8, 0x46, 0x41, 0x3c, 0x46, 0xf6, 0x7b, - 0xea, 0x9e, 0x38, 0x48, 0x53, 0xf4, 0x02, 0xaa, 0x40, 0x8d, 0xb8, 0xe3, 0x33, 0x51, 0x5e, 0x45, - 0x71, 0x49, 0x04, 0x76, 0x43, 0xb3, 0xe4, 0x53, 0x51, 0x23, 0x8c, 0xf3, 0x00, 0x35, 0x43, 0x95, - 0xf1, 0xa2, 0xab, 0x87, 0xf6, 0x2d, 0xf4, 0xba, 0xda, 0x24, 0xae, 0x4c, 0x5a, 0xc9, 0x46, 0xf3, - 0xc9, 0x95, 0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chain/cardchain/query.proto", fileDescriptor_e1bdbfeb9d7f6cfd) } + +var fileDescriptor_e1bdbfeb9d7f6cfd = []byte{ + // 2055 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x59, 0x4f, 0x6f, 0x1b, 0xc7, + 0x15, 0xd7, 0x52, 0x14, 0x45, 0x8e, 0xfe, 0x80, 0x9e, 0xba, 0x2e, 0xcb, 0x18, 0xb2, 0xba, 0x70, + 0x5a, 0x35, 0x89, 0xb8, 0x8e, 0x62, 0x3b, 0x8a, 0x63, 0xeb, 0x7f, 0xdc, 0xa8, 0x71, 0x6c, 0x6b, + 0x95, 0x18, 0x45, 0x7b, 0x10, 0x96, 0xe4, 0x98, 0x5a, 0x84, 0xdc, 0xa1, 0x77, 0x86, 0x72, 0x08, + 0x81, 0x87, 0xf6, 0x13, 0x14, 0xed, 0x47, 0x68, 0xef, 0x05, 0xd2, 0x22, 0xb7, 0xa2, 0x3d, 0xf4, + 0xe0, 0xa3, 0x81, 0xa2, 0x40, 0xea, 0x83, 0x51, 0xd8, 0x45, 0x7b, 0xec, 0xad, 0xe7, 0x60, 0xde, + 0xcc, 0xec, 0xce, 0x92, 0xb4, 0xbd, 0x4b, 0x9f, 0xb4, 0xf3, 0xe6, 0xbd, 0x37, 0xef, 0xf7, 0xde, + 0x9b, 0xf7, 0xe6, 0x51, 0xe8, 0x42, 0xc3, 0x0b, 0x9b, 0x8d, 0x63, 0xcf, 0x0f, 0x9c, 0xf8, 0xeb, + 0x41, 0x8f, 0x84, 0xfd, 0x5a, 0x37, 0xa4, 0x9c, 0xe2, 0x37, 0xf7, 0x48, 0x83, 0x04, 0x3c, 0xf4, + 0xda, 0xbb, 0x5e, 0xd8, 0xfc, 0x89, 0xd7, 0x21, 0xb5, 0x88, 0x31, 0xfe, 0xaa, 0x9e, 0x6d, 0xd1, + 0x16, 0x05, 0x09, 0x47, 0x7c, 0x49, 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 0xa7, 0x5c, 0xe0, 0x9f, 0xa1, 0x02, 0xe3, 0x1e, + 0xef, 0x49, 0xe3, 0x16, 0xd7, 0xb6, 0x52, 0x1e, 0x3d, 0x7a, 0x40, 0xed, 0x10, 0xf4, 0xb8, 0x4a, + 0x1f, 0xae, 0xa2, 0xa2, 0x60, 0xff, 0xac, 0xdf, 0x25, 0x90, 0xb1, 0x25, 0x37, 0x5a, 0xc3, 0xb5, + 0x6f, 0x7b, 0x8c, 0x11, 0x06, 0x89, 0x2a, 0xae, 0xbd, 0x5c, 0x8a, 0x2a, 0xc2, 0x68, 0xc8, 0x77, + 0xfa, 0x90, 0x98, 0x25, 0x57, 0xad, 0xc0, 0x95, 0x5e, 0x87, 0x88, 0xfa, 0xe1, 0xf9, 0x01, 0x83, + 0x64, 0x2c, 0xb9, 0x09, 0x9a, 0x48, 0xef, 0x2f, 0x48, 0xff, 0x21, 0x0d, 0x9b, 0x2c, 0xe2, 0x9b, + 0x05, 0xbe, 0x11, 0xba, 0xb8, 0x30, 0x01, 0xe5, 0x24, 0x66, 0x2c, 0x02, 0x63, 0x92, 0x68, 0xff, + 0xde, 0x42, 0x05, 0x09, 0x0b, 0x23, 0x54, 0x60, 0x8d, 0x63, 0xd2, 0x21, 0xe5, 0x29, 0xbc, 0x80, + 0x4a, 0x50, 0xb6, 0xc5, 0x15, 0x2f, 0x5b, 0xb8, 0x84, 0x66, 0x78, 0xe8, 0x7b, 0xed, 0x72, 0x0e, + 0x76, 0x48, 0xd8, 0xf1, 0x02, 0x12, 0xf0, 0xf2, 0xb4, 0x58, 0xb2, 0x1e, 0xeb, 0x92, 0xa0, 0x49, + 0x9a, 0xe5, 0xbc, 0xd0, 0x51, 0xf7, 0x82, 0x80, 0x34, 0xcb, 0x33, 0x78, 0x11, 0x21, 0xf9, 0x7d, + 0x48, 0x69, 0x50, 0x2e, 0x60, 0x8c, 0x16, 0xe5, 0xfa, 0x1e, 0x09, 0xfb, 0x40, 0x9b, 0xc5, 0x45, +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0x0d, 0x15, 0xef, 0x1d, 0xf7, 0xd1, 0xb3, 0x25, 0xeb, 0xf1, + 0xb3, 0x25, 0xeb, 0x5f, 0xcf, 0x96, 0xac, 0x5f, 0x3f, 0x5f, 0x9a, 0x7a, 0xfc, 0x7c, 0x69, 0xea, + 0x9b, 0xe7, 0x4b, 0x53, 0x3f, 0x5f, 0x37, 0xfe, 0xf9, 0xf2, 0xb2, 0xe3, 0xbe, 0x34, 0xff, 0xdd, + 0xd6, 0xef, 0x12, 0x56, 0x2f, 0xc0, 0x6f, 0xb7, 0xef, 0x7d, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xe7, + 0xa8, 0x7b, 0xdd, 0x9e, 0x1d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2503,7 +2503,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cardchain/query.proto", + Metadata: "cardchain/cardchain/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/query.pb.gw.go b/x/cardchain/types/query.pb.gw.go index 8a9b75a9..a533f526 100644 --- a/x/cardchain/types/query.pb.gw.go +++ b/x/cardchain/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: cardchain/query.proto +// source: cardchain/cardchain/query.proto /* Package types is a reverse proxy. diff --git a/x/cardchain/types/running_average.pb.go b/x/cardchain/types/running_average.pb.go index 08f149f7..3efbb865 100644 --- a/x/cardchain/types/running_average.pb.go +++ b/x/cardchain/types/running_average.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/running_average.proto +// source: cardchain/cardchain/running_average.proto package types @@ -30,7 +30,7 @@ func (m *RunningAverage) Reset() { *m = RunningAverage{} } func (m *RunningAverage) String() string { return proto.CompactTextString(m) } func (*RunningAverage) ProtoMessage() {} func (*RunningAverage) Descriptor() ([]byte, []int) { - return fileDescriptor_be8dc434ce01279f, []int{0} + return fileDescriptor_a520f579564035a6, []int{0} } func (m *RunningAverage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -70,21 +70,23 @@ func init() { proto.RegisterType((*RunningAverage)(nil), "DecentralCardGame.cardchain.cardchain.RunningAverage") } -func init() { proto.RegisterFile("cardchain/running_average.proto", fileDescriptor_be8dc434ce01279f) } +func init() { + proto.RegisterFile("cardchain/cardchain/running_average.proto", fileDescriptor_a520f579564035a6) +} -var fileDescriptor_be8dc434ce01279f = []byte{ - // 168 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x2a, 0xcd, 0xcb, 0xcb, 0xcc, 0x4b, 0x8f, 0x4f, 0x2c, - 0x4b, 0x2d, 0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x75, 0x49, 0x4d, - 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, 0x4a, 0x71, 0x4f, 0xcc, 0x4d, 0xd5, 0x83, - 0x6b, 0x41, 0xb0, 0x94, 0x94, 0xb8, 0xf8, 0x82, 0x20, 0xfa, 0x1d, 0x21, 0xda, 0x85, 0x04, 0xb8, - 0x98, 0x13, 0x8b, 0x8a, 0x24, 0x18, 0x15, 0x98, 0x35, 0x98, 0x83, 0x40, 0x4c, 0xa7, 0xa0, 0x13, - 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, - 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xb2, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, - 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xc7, 0xb0, 0x4f, 0xdf, 0x19, 0xee, 0xc4, 0x0a, 0x7d, 0x84, 0x73, - 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xae, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, - 0xcb, 0x08, 0x70, 0xe1, 0xc8, 0x00, 0x00, 0x00, +var fileDescriptor_a520f579564035a6 = []byte{ + // 169 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0x8a, 0x4a, 0xf3, 0xf2, 0x32, 0xf3, 0xd2, 0xe3, + 0x13, 0xcb, 0x52, 0x8b, 0x12, 0xd3, 0x53, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x54, 0x5d, + 0x52, 0x93, 0x53, 0xf3, 0x4a, 0x8a, 0x12, 0x73, 0x9c, 0x13, 0x8b, 0x52, 0xdc, 0x13, 0x73, 0x53, + 0xf5, 0xe0, 0x5a, 0x10, 0x2c, 0x25, 0x25, 0x2e, 0xbe, 0x20, 0x88, 0x7e, 0x47, 0x88, 0x76, 0x21, + 0x01, 0x2e, 0xe6, 0xc4, 0xa2, 0x22, 0x09, 0x46, 0x05, 0x66, 0x0d, 0xe6, 0x20, 0x10, 0xd3, 0x29, + 0xe8, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, + 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x2c, 0xd2, 0x33, 0x4b, 0x32, + 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x31, 0xec, 0xd3, 0x77, 0x86, 0x3b, 0xb1, 0x02, 0xc9, + 0xb9, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x57, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, + 0xff, 0xca, 0xab, 0xae, 0x1c, 0xd2, 0x00, 0x00, 0x00, } func (m *RunningAverage) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/sell_offer.pb.go b/x/cardchain/types/sell_offer.pb.go index 244be2fb..a5198792 100644 --- a/x/cardchain/types/sell_offer.pb.go +++ b/x/cardchain/types/sell_offer.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/sell_offer.proto +// source: cardchain/cardchain/sell_offer.proto package types @@ -49,7 +49,7 @@ func (x SellOfferStatus) String() string { } func (SellOfferStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a02b8fe135bd6b41, []int{0} + return fileDescriptor_18dbd9a8240e28bf, []int{0} } type SellOffer struct { @@ -64,7 +64,7 @@ func (m *SellOffer) Reset() { *m = SellOffer{} } func (m *SellOffer) String() string { return proto.CompactTextString(m) } func (*SellOffer) ProtoMessage() {} func (*SellOffer) Descriptor() ([]byte, []int) { - return fileDescriptor_a02b8fe135bd6b41, []int{0} + return fileDescriptor_18dbd9a8240e28bf, []int{0} } func (m *SellOffer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -126,31 +126,33 @@ func init() { proto.RegisterType((*SellOffer)(nil), "DecentralCardGame.cardchain.cardchain.SellOffer") } -func init() { proto.RegisterFile("cardchain/sell_offer.proto", fileDescriptor_a02b8fe135bd6b41) } +func init() { + proto.RegisterFile("cardchain/cardchain/sell_offer.proto", fileDescriptor_18dbd9a8240e28bf) +} -var fileDescriptor_a02b8fe135bd6b41 = []byte{ +var fileDescriptor_18dbd9a8240e28bf = []byte{ // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4b, 0x3a, 0x41, - 0x14, 0xc7, 0x77, 0xfc, 0xad, 0xfe, 0x72, 0x82, 0x92, 0x41, 0x62, 0xf1, 0xb0, 0x4a, 0x10, 0x49, - 0xd0, 0x0e, 0x18, 0x44, 0x67, 0x2d, 0xba, 0x15, 0xac, 0xb7, 0x2e, 0xb1, 0xee, 0x3e, 0x75, 0x69, - 0x76, 0xdf, 0x32, 0x33, 0x46, 0xfe, 0x17, 0xfd, 0x59, 0x1e, 0x3d, 0x46, 0x07, 0x09, 0xed, 0x0f, - 0x89, 0x19, 0x45, 0xa3, 0x2e, 0x9d, 0xe6, 0xfb, 0x66, 0xde, 0xf7, 0xcb, 0x7c, 0xde, 0xa3, 0x8d, - 0x38, 0x92, 0x49, 0x3c, 0x8e, 0xd2, 0x9c, 0x2b, 0x10, 0xe2, 0x11, 0x87, 0x43, 0x90, 0x41, 0x21, - 0x51, 0x23, 0x3b, 0xb9, 0x86, 0x18, 0x72, 0x2d, 0x23, 0xd1, 0x8b, 0x64, 0x72, 0x1b, 0x65, 0x10, - 0x6c, 0xbb, 0x77, 0xaa, 0x51, 0x1f, 0xe1, 0x08, 0xad, 0x83, 0x1b, 0xb5, 0x36, 0x1f, 0x7f, 0x12, - 0x5a, 0xed, 0x83, 0x10, 0xf7, 0x26, 0x90, 0x1d, 0xd1, 0x8a, 0x89, 0x07, 0xe9, 0x91, 0x16, 0x69, - 0x57, 0xc3, 0x4d, 0xc5, 0xea, 0xb4, 0x3c, 0x98, 0x4c, 0x41, 0x7a, 0x25, 0x7b, 0xbd, 0x2e, 0x18, - 0xa3, 0xae, 0x89, 0xf7, 0xfe, 0xb5, 0x48, 0xdb, 0x0d, 0xad, 0x66, 0x37, 0xb4, 0x5c, 0xc8, 0x34, - 0x06, 0xcf, 0x35, 0x9d, 0x5d, 0x3e, 0x5b, 0x34, 0x9d, 0xf7, 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4, 0xaf, 0xbd, 0x7f, 0x85, 0xf4, 0x8a, 0x28, 0x3d, 0xa3, 0x0e, 0xd6, + 0x2e, 0x17, 0x6d, 0x7a, 0xf8, 0xeb, 0x89, 0xed, 0x51, 0x1b, 0x73, 0xc8, 0x6a, 0x96, 0x26, 0x89, + 0x3c, 0xae, 0x11, 0xb6, 0x4f, 0x77, 0x05, 0xa4, 0xf8, 0x0a, 0x71, 0xad, 0xd4, 0x09, 0xa6, 0x0b, + 0x97, 0xcc, 0x16, 0x2e, 0xf9, 0x5a, 0xb8, 0xe4, 0x7d, 0xe9, 0x5a, 0xb3, 0xa5, 0x6b, 0x7d, 0x2c, + 0x5d, 0xeb, 0xe9, 0x66, 0x2b, 0xcd, 0x9f, 0x7f, 0xf9, 0xdd, 0x62, 0x55, 0x6f, 0x5b, 0x6b, 0x33, + 0x19, 0xfb, 0x15, 0x33, 0xf5, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x47, 0xf9, 0x67, + 0xda, 0x01, 0x00, 0x00, } func (m *SellOffer) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/server.pb.go b/x/cardchain/types/server.pb.go index fcd5cf58..d58c774c 100644 --- a/x/cardchain/types/server.pb.go +++ b/x/cardchain/types/server.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/server.proto +// source: cardchain/cardchain/server.proto package types @@ -32,7 +32,7 @@ func (m *Server) Reset() { *m = Server{} } func (m *Server) String() string { return proto.CompactTextString(m) } func (*Server) ProtoMessage() {} func (*Server) Descriptor() ([]byte, []int) { - return fileDescriptor_1c4bf1277f02db99, []int{0} + return fileDescriptor_0c97a602669201df, []int{0} } func (m *Server) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -86,23 +86,23 @@ func init() { proto.RegisterType((*Server)(nil), "DecentralCardGame.cardchain.cardchain.Server") } -func init() { proto.RegisterFile("cardchain/server.proto", fileDescriptor_1c4bf1277f02db99) } +func init() { proto.RegisterFile("cardchain/cardchain/server.proto", fileDescriptor_0c97a602669201df) } -var fileDescriptor_1c4bf1277f02db99 = []byte{ - // 196 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x4e, 0x2d, 0x2a, 0x4b, 0x2d, 0xd2, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, - 0x4a, 0x71, 0x4f, 0xcc, 0x4d, 0xd5, 0x83, 0xab, 0x44, 0xb0, 0x94, 0x0a, 0xb8, 0xd8, 0x82, 0xc1, - 0xda, 0x84, 0xa4, 0xb8, 0x38, 0x8a, 0x52, 0x0b, 0xf2, 0x8b, 0x4a, 0x52, 0x8b, 0x24, 0x18, 0x15, - 0x18, 0x35, 0x38, 0x83, 0xe0, 0x7c, 0x21, 0x35, 0x2e, 0xbe, 0xcc, 0xbc, 0xb2, 0xc4, 0x9c, 0xcc, - 0x94, 0x20, 0xb0, 0x50, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x4b, 0x10, 0x9a, 0xa8, 0x90, 0x12, - 0x17, 0x0f, 0x8a, 0x2a, 0x66, 0xb0, 0x2a, 0x14, 0x31, 0xa7, 0xa0, 0x13, 0x8f, 0xe4, 0x18, 0x2f, - 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, - 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xb2, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, - 0xd5, 0xc7, 0x70, 0xbd, 0xbe, 0x33, 0xdc, 0x9f, 0x15, 0xfa, 0x08, 0x3f, 0x97, 0x54, 0x16, 0xa4, - 0x16, 0x27, 0xb1, 0x81, 0xfd, 0x6c, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x4d, 0x7e, 0xdd, - 0x0d, 0x01, 0x00, 0x00, +var fileDescriptor_0c97a602669201df = []byte{ + // 197 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0x8a, 0x53, 0x8b, 0xca, 0x52, 0x8b, 0xf4, 0x0a, + 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x54, 0x5d, 0x52, 0x93, 0x53, 0xf3, 0x4a, 0x8a, 0x12, 0x73, 0x9c, + 0x13, 0x8b, 0x52, 0xdc, 0x13, 0x73, 0x53, 0xf5, 0xe0, 0x2a, 0x11, 0x2c, 0xa5, 0x02, 0x2e, 0xb6, + 0x60, 0xb0, 0x36, 0x21, 0x29, 0x2e, 0x8e, 0xa2, 0xd4, 0x82, 0xfc, 0xa2, 0x92, 0xd4, 0x22, 0x09, + 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x38, 0x5f, 0x48, 0x8d, 0x8b, 0x2f, 0x33, 0xaf, 0x2c, 0x31, + 0x27, 0x33, 0x25, 0x08, 0x2c, 0x54, 0x2c, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x12, 0x84, 0x26, 0x2a, + 0xa4, 0xc4, 0xc5, 0x83, 0xa2, 0x8a, 0x19, 0xac, 0x0a, 0x45, 0xcc, 0x29, 0xe8, 0xc4, 0x23, 0x39, + 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, + 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x2c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, + 0xf3, 0x73, 0xf5, 0x31, 0x5c, 0xaf, 0xef, 0x0c, 0xf7, 0x67, 0x05, 0x92, 0x9f, 0x4b, 0x2a, 0x0b, + 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x7e, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x96, 0x75, + 0x98, 0x17, 0x01, 0x00, 0x00, } func (m *Server) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/tx.pb.go b/x/cardchain/types/tx.pb.go index 76bf35b6..49928526 100644 --- a/x/cardchain/types/tx.pb.go +++ b/x/cardchain/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/tx.proto +// source: cardchain/cardchain/tx.proto package types @@ -58,7 +58,7 @@ func (x Outcome) String() string { } func (Outcome) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{0} + return fileDescriptor_3b4a3aba0ac94bc8, []int{0} } type MsgCreateuser struct { @@ -71,7 +71,7 @@ func (m *MsgCreateuser) Reset() { *m = MsgCreateuser{} } func (m *MsgCreateuser) String() string { return proto.CompactTextString(m) } func (*MsgCreateuser) ProtoMessage() {} func (*MsgCreateuser) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{0} + return fileDescriptor_3b4a3aba0ac94bc8, []int{0} } func (m *MsgCreateuser) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -128,7 +128,7 @@ func (m *MsgCreateuserResponse) Reset() { *m = MsgCreateuserResponse{} } func (m *MsgCreateuserResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateuserResponse) ProtoMessage() {} func (*MsgCreateuserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{1} + return fileDescriptor_3b4a3aba0ac94bc8, []int{1} } func (m *MsgCreateuserResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -166,7 +166,7 @@ func (m *MsgBuyCardScheme) Reset() { *m = MsgBuyCardScheme{} } func (m *MsgBuyCardScheme) String() string { return proto.CompactTextString(m) } func (*MsgBuyCardScheme) ProtoMessage() {} func (*MsgBuyCardScheme) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{2} + return fileDescriptor_3b4a3aba0ac94bc8, []int{2} } func (m *MsgBuyCardScheme) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -202,7 +202,7 @@ func (m *MsgBuyCardSchemeResponse) Reset() { *m = MsgBuyCardSchemeRespon func (m *MsgBuyCardSchemeResponse) String() string { return proto.CompactTextString(m) } func (*MsgBuyCardSchemeResponse) ProtoMessage() {} func (*MsgBuyCardSchemeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{3} + return fileDescriptor_3b4a3aba0ac94bc8, []int{3} } func (m *MsgBuyCardSchemeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -241,7 +241,7 @@ func (m *MsgVoteCard) Reset() { *m = MsgVoteCard{} } func (m *MsgVoteCard) String() string { return proto.CompactTextString(m) } func (*MsgVoteCard) ProtoMessage() {} func (*MsgVoteCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{4} + return fileDescriptor_3b4a3aba0ac94bc8, []int{4} } func (m *MsgVoteCard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -299,7 +299,7 @@ func (m *MsgVoteCardResponse) Reset() { *m = MsgVoteCardResponse{} } func (m *MsgVoteCardResponse) String() string { return proto.CompactTextString(m) } func (*MsgVoteCardResponse) ProtoMessage() {} func (*MsgVoteCardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{5} + return fileDescriptor_3b4a3aba0ac94bc8, []int{5} } func (m *MsgVoteCardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -349,7 +349,7 @@ func (m *MsgSaveCardContent) Reset() { *m = MsgSaveCardContent{} } func (m *MsgSaveCardContent) String() string { return proto.CompactTextString(m) } func (*MsgSaveCardContent) ProtoMessage() {} func (*MsgSaveCardContent) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{6} + return fileDescriptor_3b4a3aba0ac94bc8, []int{6} } func (m *MsgSaveCardContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -421,7 +421,7 @@ func (m *MsgSaveCardContentResponse) Reset() { *m = MsgSaveCardContentRe func (m *MsgSaveCardContentResponse) String() string { return proto.CompactTextString(m) } func (*MsgSaveCardContentResponse) ProtoMessage() {} func (*MsgSaveCardContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{7} + return fileDescriptor_3b4a3aba0ac94bc8, []int{7} } func (m *MsgSaveCardContentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -467,7 +467,7 @@ func (m *MsgTransferCard) Reset() { *m = MsgTransferCard{} } func (m *MsgTransferCard) String() string { return proto.CompactTextString(m) } func (*MsgTransferCard) ProtoMessage() {} func (*MsgTransferCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{8} + return fileDescriptor_3b4a3aba0ac94bc8, []int{8} } func (m *MsgTransferCard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -524,7 +524,7 @@ func (m *MsgTransferCardResponse) Reset() { *m = MsgTransferCardResponse func (m *MsgTransferCardResponse) String() string { return proto.CompactTextString(m) } func (*MsgTransferCardResponse) ProtoMessage() {} func (*MsgTransferCardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{9} + return fileDescriptor_3b4a3aba0ac94bc8, []int{9} } func (m *MsgTransferCardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -563,7 +563,7 @@ func (m *MsgDonateToCard) Reset() { *m = MsgDonateToCard{} } func (m *MsgDonateToCard) String() string { return proto.CompactTextString(m) } func (*MsgDonateToCard) ProtoMessage() {} func (*MsgDonateToCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{10} + return fileDescriptor_3b4a3aba0ac94bc8, []int{10} } func (m *MsgDonateToCard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -613,7 +613,7 @@ func (m *MsgDonateToCardResponse) Reset() { *m = MsgDonateToCardResponse func (m *MsgDonateToCardResponse) String() string { return proto.CompactTextString(m) } func (*MsgDonateToCardResponse) ProtoMessage() {} func (*MsgDonateToCardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{11} + return fileDescriptor_3b4a3aba0ac94bc8, []int{11} } func (m *MsgDonateToCardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -653,7 +653,7 @@ func (m *MsgAddArtwork) Reset() { *m = MsgAddArtwork{} } func (m *MsgAddArtwork) String() string { return proto.CompactTextString(m) } func (*MsgAddArtwork) ProtoMessage() {} func (*MsgAddArtwork) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{12} + return fileDescriptor_3b4a3aba0ac94bc8, []int{12} } func (m *MsgAddArtwork) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -717,7 +717,7 @@ func (m *MsgAddArtworkResponse) Reset() { *m = MsgAddArtworkResponse{} } func (m *MsgAddArtworkResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddArtworkResponse) ProtoMessage() {} func (*MsgAddArtworkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{13} + return fileDescriptor_3b4a3aba0ac94bc8, []int{13} } func (m *MsgAddArtworkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -757,7 +757,7 @@ func (m *MsgSubmitCopyrightProposal) Reset() { *m = MsgSubmitCopyrightPr func (m *MsgSubmitCopyrightProposal) String() string { return proto.CompactTextString(m) } func (*MsgSubmitCopyrightProposal) ProtoMessage() {} func (*MsgSubmitCopyrightProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{14} + return fileDescriptor_3b4a3aba0ac94bc8, []int{14} } func (m *MsgSubmitCopyrightProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -821,7 +821,7 @@ func (m *MsgSubmitCopyrightProposalResponse) Reset() { *m = MsgSubmitCop func (m *MsgSubmitCopyrightProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubmitCopyrightProposalResponse) ProtoMessage() {} func (*MsgSubmitCopyrightProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{15} + return fileDescriptor_3b4a3aba0ac94bc8, []int{15} } func (m *MsgSubmitCopyrightProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -860,7 +860,7 @@ func (m *MsgChangeArtist) Reset() { *m = MsgChangeArtist{} } func (m *MsgChangeArtist) String() string { return proto.CompactTextString(m) } func (*MsgChangeArtist) ProtoMessage() {} func (*MsgChangeArtist) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{16} + return fileDescriptor_3b4a3aba0ac94bc8, []int{16} } func (m *MsgChangeArtist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -917,7 +917,7 @@ func (m *MsgChangeArtistResponse) Reset() { *m = MsgChangeArtistResponse func (m *MsgChangeArtistResponse) String() string { return proto.CompactTextString(m) } func (*MsgChangeArtistResponse) ProtoMessage() {} func (*MsgChangeArtistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{17} + return fileDescriptor_3b4a3aba0ac94bc8, []int{17} } func (m *MsgChangeArtistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -954,7 +954,7 @@ func (m *MsgRegisterForCouncil) Reset() { *m = MsgRegisterForCouncil{} } func (m *MsgRegisterForCouncil) String() string { return proto.CompactTextString(m) } func (*MsgRegisterForCouncil) ProtoMessage() {} func (*MsgRegisterForCouncil) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{18} + return fileDescriptor_3b4a3aba0ac94bc8, []int{18} } func (m *MsgRegisterForCouncil) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -997,7 +997,7 @@ func (m *MsgRegisterForCouncilResponse) Reset() { *m = MsgRegisterForCou func (m *MsgRegisterForCouncilResponse) String() string { return proto.CompactTextString(m) } func (*MsgRegisterForCouncilResponse) ProtoMessage() {} func (*MsgRegisterForCouncilResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{19} + return fileDescriptor_3b4a3aba0ac94bc8, []int{19} } func (m *MsgRegisterForCouncilResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1039,7 +1039,7 @@ func (m *MsgReportMatch) Reset() { *m = MsgReportMatch{} } func (m *MsgReportMatch) String() string { return proto.CompactTextString(m) } func (*MsgReportMatch) ProtoMessage() {} func (*MsgReportMatch) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{20} + return fileDescriptor_3b4a3aba0ac94bc8, []int{20} } func (m *MsgReportMatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1118,7 +1118,7 @@ func (m *MsgReportMatchResponse) Reset() { *m = MsgReportMatchResponse{} func (m *MsgReportMatchResponse) String() string { return proto.CompactTextString(m) } func (*MsgReportMatchResponse) ProtoMessage() {} func (*MsgReportMatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{21} + return fileDescriptor_3b4a3aba0ac94bc8, []int{21} } func (m *MsgReportMatchResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1165,7 +1165,7 @@ func (m *MsgSubmitMatchReporterProposal) Reset() { *m = MsgSubmitMatchRe func (m *MsgSubmitMatchReporterProposal) String() string { return proto.CompactTextString(m) } func (*MsgSubmitMatchReporterProposal) ProtoMessage() {} func (*MsgSubmitMatchReporterProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{22} + return fileDescriptor_3b4a3aba0ac94bc8, []int{22} } func (m *MsgSubmitMatchReporterProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1231,7 +1231,7 @@ func (m *MsgSubmitMatchReporterProposalResponse) Reset() { func (m *MsgSubmitMatchReporterProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubmitMatchReporterProposalResponse) ProtoMessage() {} func (*MsgSubmitMatchReporterProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{23} + return fileDescriptor_3b4a3aba0ac94bc8, []int{23} } func (m *MsgSubmitMatchReporterProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1269,7 +1269,7 @@ func (m *MsgApointMatchReporter) Reset() { *m = MsgApointMatchReporter{} func (m *MsgApointMatchReporter) String() string { return proto.CompactTextString(m) } func (*MsgApointMatchReporter) ProtoMessage() {} func (*MsgApointMatchReporter) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{24} + return fileDescriptor_3b4a3aba0ac94bc8, []int{24} } func (m *MsgApointMatchReporter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1319,7 +1319,7 @@ func (m *MsgApointMatchReporterResponse) Reset() { *m = MsgApointMatchRe func (m *MsgApointMatchReporterResponse) String() string { return proto.CompactTextString(m) } func (*MsgApointMatchReporterResponse) ProtoMessage() {} func (*MsgApointMatchReporterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{25} + return fileDescriptor_3b4a3aba0ac94bc8, []int{25} } func (m *MsgApointMatchReporterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1360,7 +1360,7 @@ func (m *MsgCreateCollection) Reset() { *m = MsgCreateCollection{} } func (m *MsgCreateCollection) String() string { return proto.CompactTextString(m) } func (*MsgCreateCollection) ProtoMessage() {} func (*MsgCreateCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{26} + return fileDescriptor_3b4a3aba0ac94bc8, []int{26} } func (m *MsgCreateCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1431,7 +1431,7 @@ func (m *MsgCreateCollectionResponse) Reset() { *m = MsgCreateCollection func (m *MsgCreateCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateCollectionResponse) ProtoMessage() {} func (*MsgCreateCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{27} + return fileDescriptor_3b4a3aba0ac94bc8, []int{27} } func (m *MsgCreateCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1470,7 +1470,7 @@ func (m *MsgAddCardToCollection) Reset() { *m = MsgAddCardToCollection{} func (m *MsgAddCardToCollection) String() string { return proto.CompactTextString(m) } func (*MsgAddCardToCollection) ProtoMessage() {} func (*MsgAddCardToCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{28} + return fileDescriptor_3b4a3aba0ac94bc8, []int{28} } func (m *MsgAddCardToCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1527,7 +1527,7 @@ func (m *MsgAddCardToCollectionResponse) Reset() { *m = MsgAddCardToColl func (m *MsgAddCardToCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddCardToCollectionResponse) ProtoMessage() {} func (*MsgAddCardToCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{29} + return fileDescriptor_3b4a3aba0ac94bc8, []int{29} } func (m *MsgAddCardToCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1565,7 +1565,7 @@ func (m *MsgFinalizeCollection) Reset() { *m = MsgFinalizeCollection{} } func (m *MsgFinalizeCollection) String() string { return proto.CompactTextString(m) } func (*MsgFinalizeCollection) ProtoMessage() {} func (*MsgFinalizeCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{30} + return fileDescriptor_3b4a3aba0ac94bc8, []int{30} } func (m *MsgFinalizeCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1615,7 +1615,7 @@ func (m *MsgFinalizeCollectionResponse) Reset() { *m = MsgFinalizeCollec func (m *MsgFinalizeCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgFinalizeCollectionResponse) ProtoMessage() {} func (*MsgFinalizeCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{31} + return fileDescriptor_3b4a3aba0ac94bc8, []int{31} } func (m *MsgFinalizeCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1653,7 +1653,7 @@ func (m *MsgBuyCollection) Reset() { *m = MsgBuyCollection{} } func (m *MsgBuyCollection) String() string { return proto.CompactTextString(m) } func (*MsgBuyCollection) ProtoMessage() {} func (*MsgBuyCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{32} + return fileDescriptor_3b4a3aba0ac94bc8, []int{32} } func (m *MsgBuyCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1704,7 +1704,7 @@ func (m *MsgBuyCollectionResponse) Reset() { *m = MsgBuyCollectionRespon func (m *MsgBuyCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgBuyCollectionResponse) ProtoMessage() {} func (*MsgBuyCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{33} + return fileDescriptor_3b4a3aba0ac94bc8, []int{33} } func (m *MsgBuyCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1750,7 +1750,7 @@ func (m *MsgRemoveCardFromCollection) Reset() { *m = MsgRemoveCardFromCo func (m *MsgRemoveCardFromCollection) String() string { return proto.CompactTextString(m) } func (*MsgRemoveCardFromCollection) ProtoMessage() {} func (*MsgRemoveCardFromCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{34} + return fileDescriptor_3b4a3aba0ac94bc8, []int{34} } func (m *MsgRemoveCardFromCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1807,7 +1807,7 @@ func (m *MsgRemoveCardFromCollectionResponse) Reset() { *m = MsgRemoveCa func (m *MsgRemoveCardFromCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveCardFromCollectionResponse) ProtoMessage() {} func (*MsgRemoveCardFromCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{35} + return fileDescriptor_3b4a3aba0ac94bc8, []int{35} } func (m *MsgRemoveCardFromCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1846,7 +1846,7 @@ func (m *MsgRemoveContributorFromCollection) Reset() { *m = MsgRemoveCon func (m *MsgRemoveContributorFromCollection) String() string { return proto.CompactTextString(m) } func (*MsgRemoveContributorFromCollection) ProtoMessage() {} func (*MsgRemoveContributorFromCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{36} + return fileDescriptor_3b4a3aba0ac94bc8, []int{36} } func (m *MsgRemoveContributorFromCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1907,7 +1907,7 @@ func (m *MsgRemoveContributorFromCollectionResponse) String() string { } func (*MsgRemoveContributorFromCollectionResponse) ProtoMessage() {} func (*MsgRemoveContributorFromCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{37} + return fileDescriptor_3b4a3aba0ac94bc8, []int{37} } func (m *MsgRemoveContributorFromCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1946,7 +1946,7 @@ func (m *MsgAddContributorToCollection) Reset() { *m = MsgAddContributor func (m *MsgAddContributorToCollection) String() string { return proto.CompactTextString(m) } func (*MsgAddContributorToCollection) ProtoMessage() {} func (*MsgAddContributorToCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{38} + return fileDescriptor_3b4a3aba0ac94bc8, []int{38} } func (m *MsgAddContributorToCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2003,7 +2003,7 @@ func (m *MsgAddContributorToCollectionResponse) Reset() { *m = MsgAddCon func (m *MsgAddContributorToCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddContributorToCollectionResponse) ProtoMessage() {} func (*MsgAddContributorToCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{39} + return fileDescriptor_3b4a3aba0ac94bc8, []int{39} } func (m *MsgAddContributorToCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2041,7 +2041,7 @@ func (m *MsgSubmitCollectionProposal) Reset() { *m = MsgSubmitCollection func (m *MsgSubmitCollectionProposal) String() string { return proto.CompactTextString(m) } func (*MsgSubmitCollectionProposal) ProtoMessage() {} func (*MsgSubmitCollectionProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{40} + return fileDescriptor_3b4a3aba0ac94bc8, []int{40} } func (m *MsgSubmitCollectionProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2091,7 +2091,7 @@ func (m *MsgSubmitCollectionProposalResponse) Reset() { *m = MsgSubmitCo func (m *MsgSubmitCollectionProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubmitCollectionProposalResponse) ProtoMessage() {} func (*MsgSubmitCollectionProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{41} + return fileDescriptor_3b4a3aba0ac94bc8, []int{41} } func (m *MsgSubmitCollectionProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2130,7 +2130,7 @@ func (m *MsgCreateSellOffer) Reset() { *m = MsgCreateSellOffer{} } func (m *MsgCreateSellOffer) String() string { return proto.CompactTextString(m) } func (*MsgCreateSellOffer) ProtoMessage() {} func (*MsgCreateSellOffer) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{42} + return fileDescriptor_3b4a3aba0ac94bc8, []int{42} } func (m *MsgCreateSellOffer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2180,7 +2180,7 @@ func (m *MsgCreateSellOfferResponse) Reset() { *m = MsgCreateSellOfferRe func (m *MsgCreateSellOfferResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateSellOfferResponse) ProtoMessage() {} func (*MsgCreateSellOfferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{43} + return fileDescriptor_3b4a3aba0ac94bc8, []int{43} } func (m *MsgCreateSellOfferResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2218,7 +2218,7 @@ func (m *MsgBuyCard) Reset() { *m = MsgBuyCard{} } func (m *MsgBuyCard) String() string { return proto.CompactTextString(m) } func (*MsgBuyCard) ProtoMessage() {} func (*MsgBuyCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{44} + return fileDescriptor_3b4a3aba0ac94bc8, []int{44} } func (m *MsgBuyCard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2268,7 +2268,7 @@ func (m *MsgBuyCardResponse) Reset() { *m = MsgBuyCardResponse{} } func (m *MsgBuyCardResponse) String() string { return proto.CompactTextString(m) } func (*MsgBuyCardResponse) ProtoMessage() {} func (*MsgBuyCardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{45} + return fileDescriptor_3b4a3aba0ac94bc8, []int{45} } func (m *MsgBuyCardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2306,7 +2306,7 @@ func (m *MsgRemoveSellOffer) Reset() { *m = MsgRemoveSellOffer{} } func (m *MsgRemoveSellOffer) String() string { return proto.CompactTextString(m) } func (*MsgRemoveSellOffer) ProtoMessage() {} func (*MsgRemoveSellOffer) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{46} + return fileDescriptor_3b4a3aba0ac94bc8, []int{46} } func (m *MsgRemoveSellOffer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2356,7 +2356,7 @@ func (m *MsgRemoveSellOfferResponse) Reset() { *m = MsgRemoveSellOfferRe func (m *MsgRemoveSellOfferResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveSellOfferResponse) ProtoMessage() {} func (*MsgRemoveSellOfferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{47} + return fileDescriptor_3b4a3aba0ac94bc8, []int{47} } func (m *MsgRemoveSellOfferResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2395,7 +2395,7 @@ func (m *MsgAddArtworkToCollection) Reset() { *m = MsgAddArtworkToCollec func (m *MsgAddArtworkToCollection) String() string { return proto.CompactTextString(m) } func (*MsgAddArtworkToCollection) ProtoMessage() {} func (*MsgAddArtworkToCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{48} + return fileDescriptor_3b4a3aba0ac94bc8, []int{48} } func (m *MsgAddArtworkToCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2452,7 +2452,7 @@ func (m *MsgAddArtworkToCollectionResponse) Reset() { *m = MsgAddArtwork func (m *MsgAddArtworkToCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddArtworkToCollectionResponse) ProtoMessage() {} func (*MsgAddArtworkToCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{49} + return fileDescriptor_3b4a3aba0ac94bc8, []int{49} } func (m *MsgAddArtworkToCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2491,7 +2491,7 @@ func (m *MsgAddStoryToCollection) Reset() { *m = MsgAddStoryToCollection func (m *MsgAddStoryToCollection) String() string { return proto.CompactTextString(m) } func (*MsgAddStoryToCollection) ProtoMessage() {} func (*MsgAddStoryToCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{50} + return fileDescriptor_3b4a3aba0ac94bc8, []int{50} } func (m *MsgAddStoryToCollection) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2548,7 +2548,7 @@ func (m *MsgAddStoryToCollectionResponse) Reset() { *m = MsgAddStoryToCo func (m *MsgAddStoryToCollectionResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddStoryToCollectionResponse) ProtoMessage() {} func (*MsgAddStoryToCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{51} + return fileDescriptor_3b4a3aba0ac94bc8, []int{51} } func (m *MsgAddStoryToCollectionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2588,7 +2588,7 @@ func (m *MsgSetCardRarity) Reset() { *m = MsgSetCardRarity{} } func (m *MsgSetCardRarity) String() string { return proto.CompactTextString(m) } func (*MsgSetCardRarity) ProtoMessage() {} func (*MsgSetCardRarity) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{52} + return fileDescriptor_3b4a3aba0ac94bc8, []int{52} } func (m *MsgSetCardRarity) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2652,7 +2652,7 @@ func (m *MsgSetCardRarityResponse) Reset() { *m = MsgSetCardRarityRespon func (m *MsgSetCardRarityResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetCardRarityResponse) ProtoMessage() {} func (*MsgSetCardRarityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{53} + return fileDescriptor_3b4a3aba0ac94bc8, []int{53} } func (m *MsgSetCardRarityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2690,7 +2690,7 @@ func (m *MsgCreateCouncil) Reset() { *m = MsgCreateCouncil{} } func (m *MsgCreateCouncil) String() string { return proto.CompactTextString(m) } func (*MsgCreateCouncil) ProtoMessage() {} func (*MsgCreateCouncil) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{54} + return fileDescriptor_3b4a3aba0ac94bc8, []int{54} } func (m *MsgCreateCouncil) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2740,7 +2740,7 @@ func (m *MsgCreateCouncilResponse) Reset() { *m = MsgCreateCouncilRespon func (m *MsgCreateCouncilResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateCouncilResponse) ProtoMessage() {} func (*MsgCreateCouncilResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{55} + return fileDescriptor_3b4a3aba0ac94bc8, []int{55} } func (m *MsgCreateCouncilResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2769,6 +2769,7 @@ func (m *MsgCreateCouncilResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCreateCouncilResponse proto.InternalMessageInfo +// Add revision type MsgCommitCouncilResponse struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` @@ -2780,7 +2781,7 @@ func (m *MsgCommitCouncilResponse) Reset() { *m = MsgCommitCouncilRespon func (m *MsgCommitCouncilResponse) String() string { return proto.CompactTextString(m) } func (*MsgCommitCouncilResponse) ProtoMessage() {} func (*MsgCommitCouncilResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{56} + return fileDescriptor_3b4a3aba0ac94bc8, []int{56} } func (m *MsgCommitCouncilResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2844,7 +2845,7 @@ func (m *MsgCommitCouncilResponseResponse) Reset() { *m = MsgCommitCounc func (m *MsgCommitCouncilResponseResponse) String() string { return proto.CompactTextString(m) } func (*MsgCommitCouncilResponseResponse) ProtoMessage() {} func (*MsgCommitCouncilResponseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{57} + return fileDescriptor_3b4a3aba0ac94bc8, []int{57} } func (m *MsgCommitCouncilResponseResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2884,7 +2885,7 @@ func (m *MsgRevealCouncilResponse) Reset() { *m = MsgRevealCouncilRespon func (m *MsgRevealCouncilResponse) String() string { return proto.CompactTextString(m) } func (*MsgRevealCouncilResponse) ProtoMessage() {} func (*MsgRevealCouncilResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{58} + return fileDescriptor_3b4a3aba0ac94bc8, []int{58} } func (m *MsgRevealCouncilResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2948,7 +2949,7 @@ func (m *MsgRevealCouncilResponseResponse) Reset() { *m = MsgRevealCounc func (m *MsgRevealCouncilResponseResponse) String() string { return proto.CompactTextString(m) } func (*MsgRevealCouncilResponseResponse) ProtoMessage() {} func (*MsgRevealCouncilResponseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{59} + return fileDescriptor_3b4a3aba0ac94bc8, []int{59} } func (m *MsgRevealCouncilResponseResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2986,7 +2987,7 @@ func (m *MsgRestartCouncil) Reset() { *m = MsgRestartCouncil{} } func (m *MsgRestartCouncil) String() string { return proto.CompactTextString(m) } func (*MsgRestartCouncil) ProtoMessage() {} func (*MsgRestartCouncil) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{60} + return fileDescriptor_3b4a3aba0ac94bc8, []int{60} } func (m *MsgRestartCouncil) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3036,7 +3037,7 @@ func (m *MsgRestartCouncilResponse) Reset() { *m = MsgRestartCouncilResp func (m *MsgRestartCouncilResponse) String() string { return proto.CompactTextString(m) } func (*MsgRestartCouncilResponse) ProtoMessage() {} func (*MsgRestartCouncilResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{61} + return fileDescriptor_3b4a3aba0ac94bc8, []int{61} } func (m *MsgRestartCouncilResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3073,7 +3074,7 @@ func (m *MsgRewokeCouncilRegistration) Reset() { *m = MsgRewokeCouncilRe func (m *MsgRewokeCouncilRegistration) String() string { return proto.CompactTextString(m) } func (*MsgRewokeCouncilRegistration) ProtoMessage() {} func (*MsgRewokeCouncilRegistration) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{62} + return fileDescriptor_3b4a3aba0ac94bc8, []int{62} } func (m *MsgRewokeCouncilRegistration) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3116,7 +3117,7 @@ func (m *MsgRewokeCouncilRegistrationResponse) Reset() { *m = MsgRewokeC func (m *MsgRewokeCouncilRegistrationResponse) String() string { return proto.CompactTextString(m) } func (*MsgRewokeCouncilRegistrationResponse) ProtoMessage() {} func (*MsgRewokeCouncilRegistrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{63} + return fileDescriptor_3b4a3aba0ac94bc8, []int{63} } func (m *MsgRewokeCouncilRegistrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3155,7 +3156,7 @@ func (m *MsgConfirmMatch) Reset() { *m = MsgConfirmMatch{} } func (m *MsgConfirmMatch) String() string { return proto.CompactTextString(m) } func (*MsgConfirmMatch) ProtoMessage() {} func (*MsgConfirmMatch) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{64} + return fileDescriptor_3b4a3aba0ac94bc8, []int{64} } func (m *MsgConfirmMatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3212,7 +3213,7 @@ func (m *MsgConfirmMatchResponse) Reset() { *m = MsgConfirmMatchResponse func (m *MsgConfirmMatchResponse) String() string { return proto.CompactTextString(m) } func (*MsgConfirmMatchResponse) ProtoMessage() {} func (*MsgConfirmMatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{65} + return fileDescriptor_3b4a3aba0ac94bc8, []int{65} } func (m *MsgConfirmMatchResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3250,7 +3251,7 @@ func (m *MsgSetProfileCard) Reset() { *m = MsgSetProfileCard{} } func (m *MsgSetProfileCard) String() string { return proto.CompactTextString(m) } func (*MsgSetProfileCard) ProtoMessage() {} func (*MsgSetProfileCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{66} + return fileDescriptor_3b4a3aba0ac94bc8, []int{66} } func (m *MsgSetProfileCard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3300,7 +3301,7 @@ func (m *MsgSetProfileCardResponse) Reset() { *m = MsgSetProfileCardResp func (m *MsgSetProfileCardResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetProfileCardResponse) ProtoMessage() {} func (*MsgSetProfileCardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{67} + return fileDescriptor_3b4a3aba0ac94bc8, []int{67} } func (m *MsgSetProfileCardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3338,7 +3339,7 @@ func (m *MsgOpenBoosterPack) Reset() { *m = MsgOpenBoosterPack{} } func (m *MsgOpenBoosterPack) String() string { return proto.CompactTextString(m) } func (*MsgOpenBoosterPack) ProtoMessage() {} func (*MsgOpenBoosterPack) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{68} + return fileDescriptor_3b4a3aba0ac94bc8, []int{68} } func (m *MsgOpenBoosterPack) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3388,7 +3389,7 @@ func (m *MsgOpenBoosterPackResponse) Reset() { *m = MsgOpenBoosterPackRe func (m *MsgOpenBoosterPackResponse) String() string { return proto.CompactTextString(m) } func (*MsgOpenBoosterPackResponse) ProtoMessage() {} func (*MsgOpenBoosterPackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{69} + return fileDescriptor_3b4a3aba0ac94bc8, []int{69} } func (m *MsgOpenBoosterPackResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3427,7 +3428,7 @@ func (m *MsgTransferBoosterPack) Reset() { *m = MsgTransferBoosterPack{} func (m *MsgTransferBoosterPack) String() string { return proto.CompactTextString(m) } func (*MsgTransferBoosterPack) ProtoMessage() {} func (*MsgTransferBoosterPack) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{70} + return fileDescriptor_3b4a3aba0ac94bc8, []int{70} } func (m *MsgTransferBoosterPack) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3484,7 +3485,7 @@ func (m *MsgTransferBoosterPackResponse) Reset() { *m = MsgTransferBoost func (m *MsgTransferBoosterPackResponse) String() string { return proto.CompactTextString(m) } func (*MsgTransferBoosterPackResponse) ProtoMessage() {} func (*MsgTransferBoosterPackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{71} + return fileDescriptor_3b4a3aba0ac94bc8, []int{71} } func (m *MsgTransferBoosterPackResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3523,7 +3524,7 @@ func (m *MsgSetCollectionStoryWriter) Reset() { *m = MsgSetCollectionSto func (m *MsgSetCollectionStoryWriter) String() string { return proto.CompactTextString(m) } func (*MsgSetCollectionStoryWriter) ProtoMessage() {} func (*MsgSetCollectionStoryWriter) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{72} + return fileDescriptor_3b4a3aba0ac94bc8, []int{72} } func (m *MsgSetCollectionStoryWriter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3580,7 +3581,7 @@ func (m *MsgSetCollectionStoryWriterResponse) Reset() { *m = MsgSetColle func (m *MsgSetCollectionStoryWriterResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetCollectionStoryWriterResponse) ProtoMessage() {} func (*MsgSetCollectionStoryWriterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{73} + return fileDescriptor_3b4a3aba0ac94bc8, []int{73} } func (m *MsgSetCollectionStoryWriterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3619,7 +3620,7 @@ func (m *MsgSetCollectionArtist) Reset() { *m = MsgSetCollectionArtist{} func (m *MsgSetCollectionArtist) String() string { return proto.CompactTextString(m) } func (*MsgSetCollectionArtist) ProtoMessage() {} func (*MsgSetCollectionArtist) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{74} + return fileDescriptor_3b4a3aba0ac94bc8, []int{74} } func (m *MsgSetCollectionArtist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3676,7 +3677,7 @@ func (m *MsgSetCollectionArtistResponse) Reset() { *m = MsgSetCollection func (m *MsgSetCollectionArtistResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetCollectionArtistResponse) ProtoMessage() {} func (*MsgSetCollectionArtistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{75} + return fileDescriptor_3b4a3aba0ac94bc8, []int{75} } func (m *MsgSetCollectionArtistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3714,7 +3715,7 @@ func (m *MsgSetUserWebsite) Reset() { *m = MsgSetUserWebsite{} } func (m *MsgSetUserWebsite) String() string { return proto.CompactTextString(m) } func (*MsgSetUserWebsite) ProtoMessage() {} func (*MsgSetUserWebsite) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{76} + return fileDescriptor_3b4a3aba0ac94bc8, []int{76} } func (m *MsgSetUserWebsite) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3764,7 +3765,7 @@ func (m *MsgSetUserWebsiteResponse) Reset() { *m = MsgSetUserWebsiteResp func (m *MsgSetUserWebsiteResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetUserWebsiteResponse) ProtoMessage() {} func (*MsgSetUserWebsiteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{77} + return fileDescriptor_3b4a3aba0ac94bc8, []int{77} } func (m *MsgSetUserWebsiteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3802,7 +3803,7 @@ func (m *MsgSetUserBiography) Reset() { *m = MsgSetUserBiography{} } func (m *MsgSetUserBiography) String() string { return proto.CompactTextString(m) } func (*MsgSetUserBiography) ProtoMessage() {} func (*MsgSetUserBiography) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{78} + return fileDescriptor_3b4a3aba0ac94bc8, []int{78} } func (m *MsgSetUserBiography) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3852,7 +3853,7 @@ func (m *MsgSetUserBiographyResponse) Reset() { *m = MsgSetUserBiography func (m *MsgSetUserBiographyResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetUserBiographyResponse) ProtoMessage() {} func (*MsgSetUserBiographyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cfa59c76aced81c, []int{79} + return fileDescriptor_3b4a3aba0ac94bc8, []int{79} } func (m *MsgSetUserBiographyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3881,6 +3882,147 @@ func (m *MsgSetUserBiographyResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetUserBiographyResponse proto.InternalMessageInfo +type SingleVote struct { + CardId uint64 `protobuf:"varint,1,opt,name=cardId,proto3" json:"cardId,omitempty"` + VoteType string `protobuf:"bytes,2,opt,name=voteType,proto3" json:"voteType,omitempty"` +} + +func (m *SingleVote) Reset() { *m = SingleVote{} } +func (m *SingleVote) String() string { return proto.CompactTextString(m) } +func (*SingleVote) ProtoMessage() {} +func (*SingleVote) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{80} +} +func (m *SingleVote) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SingleVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SingleVote.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 (m *SingleVote) XXX_Merge(src proto.Message) { + xxx_messageInfo_SingleVote.Merge(m, src) +} +func (m *SingleVote) XXX_Size() int { + return m.Size() +} +func (m *SingleVote) XXX_DiscardUnknown() { + xxx_messageInfo_SingleVote.DiscardUnknown(m) +} + +var xxx_messageInfo_SingleVote proto.InternalMessageInfo + +func (m *SingleVote) GetCardId() uint64 { + if m != nil { + return m.CardId + } + return 0 +} + +func (m *SingleVote) GetVoteType() string { + if m != nil { + return m.VoteType + } + return "" +} + +// this line is used by starport scaffolding # proto/tx/message +type MsgMultiVoteCard struct { + 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 (m *MsgMultiVoteCard) Reset() { *m = MsgMultiVoteCard{} } +func (m *MsgMultiVoteCard) String() string { return proto.CompactTextString(m) } +func (*MsgMultiVoteCard) ProtoMessage() {} +func (*MsgMultiVoteCard) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{81} +} +func (m *MsgMultiVoteCard) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMultiVoteCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMultiVoteCard.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 (m *MsgMultiVoteCard) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMultiVoteCard.Merge(m, src) +} +func (m *MsgMultiVoteCard) XXX_Size() int { + return m.Size() +} +func (m *MsgMultiVoteCard) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMultiVoteCard.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMultiVoteCard proto.InternalMessageInfo + +func (m *MsgMultiVoteCard) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgMultiVoteCard) GetVotes() []*SingleVote { + if m != nil { + return m.Votes + } + return nil +} + +type MsgMultiVoteCardResponse struct { +} + +func (m *MsgMultiVoteCardResponse) Reset() { *m = MsgMultiVoteCardResponse{} } +func (m *MsgMultiVoteCardResponse) String() string { return proto.CompactTextString(m) } +func (*MsgMultiVoteCardResponse) ProtoMessage() {} +func (*MsgMultiVoteCardResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3b4a3aba0ac94bc8, []int{82} +} +func (m *MsgMultiVoteCardResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMultiVoteCardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMultiVoteCardResponse.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 (m *MsgMultiVoteCardResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMultiVoteCardResponse.Merge(m, src) +} +func (m *MsgMultiVoteCardResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgMultiVoteCardResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMultiVoteCardResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMultiVoteCardResponse proto.InternalMessageInfo + func init() { proto.RegisterEnum("DecentralCardGame.cardchain.cardchain.Outcome", Outcome_name, Outcome_value) proto.RegisterType((*MsgCreateuser)(nil), "DecentralCardGame.cardchain.cardchain.MsgCreateuser") @@ -3963,158 +4105,166 @@ func init() { proto.RegisterType((*MsgSetUserWebsiteResponse)(nil), "DecentralCardGame.cardchain.cardchain.MsgSetUserWebsiteResponse") proto.RegisterType((*MsgSetUserBiography)(nil), "DecentralCardGame.cardchain.cardchain.MsgSetUserBiography") proto.RegisterType((*MsgSetUserBiographyResponse)(nil), "DecentralCardGame.cardchain.cardchain.MsgSetUserBiographyResponse") -} - -func init() { proto.RegisterFile("cardchain/tx.proto", fileDescriptor_5cfa59c76aced81c) } - -var fileDescriptor_5cfa59c76aced81c = []byte{ - // 2330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x9a, 0xd4, 0x87, 0x9f, 0x6c, 0x55, 0xdd, 0x28, 0x36, 0xbd, 0xb6, 0x25, 0x65, 0x63, - 0x3b, 0x46, 0xd0, 0x92, 0xb0, 0x9a, 0x36, 0xb6, 0x51, 0xc5, 0x21, 0x29, 0xf9, 0xa3, 0xae, 0x6a, - 0x97, 0x92, 0x6b, 0xf4, 0x03, 0x28, 0x96, 0xe4, 0x88, 0x5a, 0x98, 0xdc, 0x61, 0x67, 0x97, 0x52, - 0x14, 0xa0, 0x40, 0x80, 0x16, 0x45, 0x03, 0x04, 0x69, 0x11, 0xf4, 0x50, 0xa0, 0x40, 0x91, 0x00, - 0x05, 0x0a, 0x04, 0x28, 0x50, 0xa0, 0x87, 0x1e, 0x7b, 0xe8, 0x25, 0xc7, 0x1c, 0x83, 0x1e, 0xd2, - 0xc2, 0xbe, 0xf4, 0xcf, 0x28, 0x76, 0x66, 0x76, 0x38, 0xb3, 0xdc, 0xa5, 0x76, 0x96, 0xec, 0x89, - 0x3b, 0xb3, 0xfb, 0x7b, 0xef, 0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0x07, 0x13, 0x9b, 0x50, 0x56, 0x4d, - 0xd1, 0xa4, 0x35, 0x56, 0x4d, 0xc6, 0xe9, 0xac, 0x5a, 0x92, 0x4c, 0x6d, 0xfe, 0xde, 0x00, 0x33, - 0x41, 0xa4, 0xd6, 0x58, 0x87, 0x51, 0xb4, 0xb5, 0x35, 0x09, 0x5a, 0x50, 0xfb, 0x85, 0x01, 0x8b, - 0xb2, 0xd4, 0xfd, 0x4d, 0x1d, 0xab, 0x02, 0x66, 0x6d, 0xe6, 0x82, 0x09, 0x16, 0x7f, 0x33, 0xe0, - 0xe2, 0x38, 0x85, 0x79, 0x5b, 0x77, 0x53, 0x24, 0x9a, 0xb1, 0x76, 0xa6, 0x62, 0x46, 0xb0, 0xfe, - 0x83, 0x01, 0x2f, 0x25, 0x29, 0xcb, 0x1a, 0x93, 0x91, 0x00, 0xb7, 0xb6, 0x27, 0x82, 0x0b, 0x76, - 0x1f, 0x19, 0xb0, 0x3c, 0x22, 0x42, 0xdf, 0xd6, 0x8d, 0x94, 0x43, 0xac, 0x55, 0xcb, 0x8f, 0x55, - 0xa7, 0x2c, 0x41, 0x57, 0xde, 0xd4, 0xba, 0x92, 0xe2, 0x70, 0xad, 0x29, 0x4b, 0x57, 0x99, 0xe9, - 0x39, 0x4d, 0xd0, 0x98, 0x35, 0xce, 0xe9, 0x28, 0x5a, 0xe7, 0x9c, 0xa6, 0x0b, 0xd1, 0x22, 0x49, - 0x19, 0xb2, 0xd2, 0x4c, 0x52, 0x86, 0x84, 0xee, 0xe4, 0x04, 0x0a, 0x2e, 0x9f, 0x1a, 0x50, 0x4a, - 0x15, 0x9f, 0x6b, 0x3a, 0x37, 0x41, 0xb2, 0x0d, 0xeb, 0x3b, 0x93, 0xdb, 0x10, 0x64, 0xff, 0x61, - 0xc0, 0xda, 0x49, 0x6a, 0xf4, 0x03, 0x6d, 0x7f, 0x69, 0xa6, 0xac, 0xef, 0x4f, 0xcd, 0x94, 0x18, - 0xc1, 0x5f, 0x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c, 0xc1, 0xfe, 0x9d, 0x8a, 0xf4, - 0xef, 0xfd, 0xe3, 0x3e, 0xf2, 0x9b, 0x73, 0xf4, 0xbf, 0xf4, 0xdf, 0xf8, 0x5f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x6b, 0x2d, 0xeb, 0x0d, 0xd7, 0x2f, 0x00, 0x00, + proto.RegisterType((*SingleVote)(nil), "DecentralCardGame.cardchain.cardchain.SingleVote") + proto.RegisterType((*MsgMultiVoteCard)(nil), "DecentralCardGame.cardchain.cardchain.MsgMultiVoteCard") + proto.RegisterType((*MsgMultiVoteCardResponse)(nil), "DecentralCardGame.cardchain.cardchain.MsgMultiVoteCardResponse") +} + +func init() { proto.RegisterFile("cardchain/cardchain/tx.proto", fileDescriptor_3b4a3aba0ac94bc8) } + +var fileDescriptor_3b4a3aba0ac94bc8 = []byte{ + // 2409 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5b, 0xcf, 0x6f, 0x1b, 0xc7, + 0x15, 0xd6, 0x8a, 0x94, 0x25, 0x3f, 0xc5, 0xae, 0xba, 0x51, 0x6c, 0x7a, 0x6d, 0x4b, 0xf2, 0xc6, + 0x76, 0x8c, 0xa0, 0x25, 0x2b, 0x35, 0x6d, 0x6c, 0xa3, 0x8a, 0x4d, 0x52, 0xb2, 0xec, 0xba, 0xac, + 0x5d, 0x4a, 0x8e, 0xd1, 0x1f, 0x40, 0xb1, 0x24, 0x47, 0xd4, 0xc2, 0xe4, 0x0e, 0x3b, 0xbb, 0x94, + 0xa2, 0x00, 0x05, 0x02, 0xb4, 0x28, 0x1a, 0x20, 0x48, 0x8b, 0xa0, 0x87, 0x02, 0x05, 0x8a, 0x04, + 0x28, 0x50, 0x20, 0x40, 0x81, 0x02, 0x3d, 0xf4, 0xd8, 0x6b, 0x6e, 0xcd, 0x31, 0xe8, 0x21, 0x2d, + 0xec, 0x4b, 0xff, 0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0xfc, 0x2c, 0x9a, 0x18, + 0xfe, 0x91, 0x86, 0x58, 0xe3, 0x17, 0xa5, 0x79, 0x1d, 0xae, 0x8e, 0x43, 0x72, 0x0f, 0xbf, 0x09, + 0x4e, 0xed, 0x75, 0xec, 0xec, 0xdb, 0xa4, 0x9f, 0xe1, 0x1c, 0x14, 0x9e, 0x1f, 0x66, 0xa5, 0xf3, + 0x83, 0x78, 0x7a, 0x29, 0x4c, 0x76, 0x7a, 0x61, 0xe7, 0x40, 0x81, 0x10, 0x27, 0xbb, 0x4d, 0x3b, + 0x7e, 0x17, 0xf9, 0x27, 0xd3, 0x7d, 0xbb, 0x97, 0x53, 0x57, 0x62, 0x5d, 0x2e, 0x9b, 0xe1, 0x3e, + 0xf6, 0x68, 0x20, 0x78, 0x34, 0x40, 0x4e, 0x0d, 0x63, 0xff, 0xec, 0xf8, 0xd8, 0x6a, 0x8f, 0x53, + 0x08, 0xae, 0xc2, 0x99, 0x56, 0xf4, 0x21, 0xf7, 0x25, 0x57, 0xb2, 0x60, 0x10, 0xb3, 0xca, 0x7d, + 0x7a, 0x34, 0x11, 0x0f, 0x55, 0x95, 0x29, 0xfa, 0x95, 0xb4, 0x9c, 0x42, 0x4c, 0xcb, 0x09, 0xd2, + 0xf1, 0x04, 0xaf, 0x9c, 0xd7, 0xcf, 0x83, 0x14, 0x05, 0x09, 0x29, 0xc4, 0xae, 0x70, 0x04, 0x99, + 0x2c, 0x24, 0xc4, 0x8e, 0x38, 0x85, 0x91, 0x23, 0x4e, 0x98, 0xc4, 0xa4, 0xb8, 0x8f, 0x1d, 0x63, + 0xa4, 0xcf, 0x4e, 0x14, 0x27, 0x32, 0x66, 0xc8, 0x89, 0x42, 0x45, 0xd0, 0x6f, 0x09, 0xfe, 0x38, + 0xa3, 0x9d, 0x70, 0x9e, 0x3e, 0x71, 0x11, 0x79, 0x8a, 0x5a, 0xae, 0xed, 0xa1, 0xf1, 0xab, 0xea, + 0x28, 0xf8, 0x28, 0x54, 0x17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x8c, 0x71, 0x5b, 0x1d, 0xc3, + 0x7d, 0xfb, 0x61, 0x2c, 0x2e, 0xe6, 0xdf, 0xca, 0x6e, 0x2f, 0x06, 0x35, 0xaa, 0xb9, 0xa1, 0x9c, + 0xd1, 0xaf, 0x34, 0x78, 0x49, 0x12, 0xe2, 0xbf, 0x9d, 0xdd, 0xa6, 0x88, 0x33, 0xde, 0xca, 0x87, + 0x93, 0x88, 0x48, 0xa2, 0xbc, 0x02, 0x11, 0x11, 0xa7, 0x42, 0x24, 0x49, 0x76, 0xa7, 0xcb, 0x45, + 0x10, 0xdd, 0x15, 0x96, 0x4b, 0x84, 0x52, 0x59, 0x2e, 0xa3, 0x6a, 0xbb, 0xfe, 0x67, 0x0d, 0xce, + 0xa7, 0x49, 0xed, 0x2a, 0x63, 0x9e, 0x6c, 0xc2, 0x78, 0x30, 0xb1, 0x09, 0x69, 0xd4, 0x24, 0xa1, + 0x5d, 0x61, 0xd4, 0x44, 0x9c, 0xca, 0xa8, 0x25, 0x69, 0xef, 0xfa, 0xef, 0x35, 0xd0, 0x13, 0x94, + 0x77, 0x85, 0x71, 0x18, 0x45, 0x1b, 0x5b, 0x93, 0xa0, 0x39, 0xb5, 0x5f, 0x68, 0xb0, 0x28, 0xea, + 0xf7, 0xdf, 0x52, 0xb1, 0xca, 0x61, 0xc6, 0x66, 0x2e, 0x18, 0x67, 0xf1, 0x37, 0x0d, 0x2e, 0x8e, + 0x93, 0xcd, 0xb7, 0x55, 0x27, 0x45, 0xa2, 0x19, 0xa3, 0x31, 0x15, 0x33, 0x9c, 0xf5, 0x1f, 0x34, + 0x78, 0x39, 0x49, 0x2e, 0x57, 0xe8, 0x8c, 0x04, 0xb8, 0xb1, 0x3d, 0x11, 0x9c, 0xb3, 0xfb, 0x48, + 0x83, 0xa5, 0x11, 0x65, 0xfd, 0xb6, 0x6a, 0xa4, 0x8c, 0xb0, 0x46, 0x2d, 0x3f, 0x56, 0xee, 0xb2, + 0x04, 0xb1, 0x7c, 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x82, 0x37, 0xee, 0x4d, 0x86, 0x97, 0xe2, 0x87, + 0x7c, 0x01, 0xa0, 0x10, 0x3f, 0x24, 0xa0, 0x4a, 0xfc, 0x48, 0x14, 0xfc, 0x29, 0x17, 0x59, 0xee, + 0x7f, 0x53, 0x3d, 0xb5, 0x08, 0x92, 0xe0, 0x3b, 0x39, 0x81, 0x9c, 0xcb, 0x27, 0x1a, 0xbc, 0x92, + 0x7c, 0x2f, 0xa0, 0x62, 0x3a, 0xc9, 0x80, 0xb1, 0x33, 0xa1, 0x01, 0x89, 0x63, 0xf2, 0x35, 0xc0, + 0x1d, 0x95, 0x05, 0x96, 0x60, 0x40, 0x85, 0xe3, 0x58, 0x3d, 0x5f, 0xff, 0x40, 0x83, 0xb3, 0x31, + 0x35, 0xff, 0xa6, 0x8a, 0x6d, 0x11, 0x69, 0xdc, 0xcd, 0x8b, 0xe4, 0x74, 0xfe, 0xa2, 0xc1, 0x85, + 0x74, 0xc9, 0xbf, 0xae, 0x62, 0x3f, 0xc5, 0x88, 0xf1, 0x70, 0x0a, 0x46, 0xe4, 0xa3, 0xaa, 0x78, + 0x7f, 0xa0, 0x72, 0x54, 0x15, 0x70, 0x4a, 0x47, 0xd5, 0x84, 0xeb, 0x01, 0x3a, 0x8e, 0xb1, 0xcb, + 0x81, 0x9b, 0x4a, 0xeb, 0x5d, 0x40, 0xaa, 0x8c, 0x63, 0xf2, 0x4d, 0x02, 0x0d, 0x48, 0xf1, 0x7b, + 0x04, 0x85, 0x80, 0x14, 0x83, 0xaa, 0x04, 0xa4, 0x94, 0x7b, 0x06, 0x7a, 0x82, 0x49, 0xba, 0x65, + 0xd8, 0x54, 0x97, 0x98, 0x44, 0x66, 0xdb, 0x13, 0xc1, 0xe5, 0xc4, 0x2b, 0xed, 0xae, 0xa1, 0xa6, + 0xb6, 0x71, 0x27, 0xd9, 0x50, 0x4a, 0xbc, 0x4e, 0xb8, 0x74, 0xa0, 0x5d, 0x99, 0x74, 0xe5, 0xb0, + 0x99, 0xd3, 0x07, 0x53, 0x6b, 0xb6, 0x27, 0x82, 0xc7, 0x57, 0x82, 0x78, 0xfd, 0xa0, 0xb6, 0x12, + 0x04, 0xa4, 0xe2, 0x4a, 0x48, 0xb8, 0xa9, 0xa0, 0xc7, 0xf9, 0x91, 0x7b, 0x8a, 0xdb, 0xca, 0x66, + 0x39, 0xd6, 0xa8, 0xe5, 0xc7, 0x4a, 0x91, 0x5c, 0xbe, 0x8c, 0x50, 0x88, 0xe4, 0x12, 0x50, 0x25, + 0x92, 0x27, 0xde, 0x43, 0xd4, 0x9a, 0x9f, 0x3d, 0x5f, 0xd1, 0x3e, 0x7f, 0xbe, 0xa2, 0xfd, 0xe7, + 0xf9, 0x8a, 0xf6, 0xdb, 0x17, 0x2b, 0x33, 0x9f, 0xbf, 0x58, 0x99, 0xf9, 0xe2, 0xc5, 0xca, 0xcc, + 0x8f, 0x6e, 0x0a, 0xff, 0x45, 0x33, 0xe2, 0xa4, 0x52, 0xe7, 0xbf, 0x60, 0x78, 0x47, 0xfc, 0xa1, + 0xc4, 0xf1, 0x00, 0xb9, 0xad, 0x53, 0xf4, 0xc7, 0x0a, 0xdf, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x47, 0x03, 0x89, 0x06, 0x4c, 0x31, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4169,6 +4319,8 @@ type MsgClient interface { SetCollectionArtist(ctx context.Context, in *MsgSetCollectionArtist, opts ...grpc.CallOption) (*MsgSetCollectionArtistResponse, error) SetUserWebsite(ctx context.Context, in *MsgSetUserWebsite, opts ...grpc.CallOption) (*MsgSetUserWebsiteResponse, error) SetUserBiography(ctx context.Context, in *MsgSetUserBiography, opts ...grpc.CallOption) (*MsgSetUserBiographyResponse, error) + // this line is used by starport scaffolding # proto/tx/rpc + MultiVoteCard(ctx context.Context, in *MsgMultiVoteCard, opts ...grpc.CallOption) (*MsgMultiVoteCardResponse, error) } type msgClient struct { @@ -4539,6 +4691,15 @@ func (c *msgClient) SetUserBiography(ctx context.Context, in *MsgSetUserBiograph return out, nil } +func (c *msgClient) MultiVoteCard(ctx context.Context, in *MsgMultiVoteCard, opts ...grpc.CallOption) (*MsgMultiVoteCardResponse, error) { + out := new(MsgMultiVoteCardResponse) + err := c.cc.Invoke(ctx, "/DecentralCardGame.cardchain.cardchain.Msg/MultiVoteCard", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { Createuser(context.Context, *MsgCreateuser) (*MsgCreateuserResponse, error) @@ -4581,6 +4742,8 @@ type MsgServer interface { SetCollectionArtist(context.Context, *MsgSetCollectionArtist) (*MsgSetCollectionArtistResponse, error) SetUserWebsite(context.Context, *MsgSetUserWebsite) (*MsgSetUserWebsiteResponse, error) SetUserBiography(context.Context, *MsgSetUserBiography) (*MsgSetUserBiographyResponse, error) + // this line is used by starport scaffolding # proto/tx/rpc + MultiVoteCard(context.Context, *MsgMultiVoteCard) (*MsgMultiVoteCardResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -4707,6 +4870,9 @@ func (*UnimplementedMsgServer) SetUserWebsite(ctx context.Context, req *MsgSetUs func (*UnimplementedMsgServer) SetUserBiography(ctx context.Context, req *MsgSetUserBiography) (*MsgSetUserBiographyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetUserBiography not implemented") } +func (*UnimplementedMsgServer) MultiVoteCard(ctx context.Context, req *MsgMultiVoteCard) (*MsgMultiVoteCardResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MultiVoteCard not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -5432,6 +5598,24 @@ func _Msg_SetUserBiography_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } +func _Msg_MultiVoteCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMultiVoteCard) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).MultiVoteCard(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/DecentralCardGame.cardchain.cardchain.Msg/MultiVoteCard", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).MultiVoteCard(ctx, req.(*MsgMultiVoteCard)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "DecentralCardGame.cardchain.cardchain.Msg", HandlerType: (*MsgServer)(nil), @@ -5596,9 +5780,13 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "SetUserBiography", Handler: _Msg_SetUserBiography_Handler, }, + { + MethodName: "MultiVoteCard", + Handler: _Msg_MultiVoteCard_Handler, + }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cardchain/tx.proto", + Metadata: "cardchain/cardchain/tx.proto", } func (m *MsgCreateuser) Marshal() (dAtA []byte, err error) { @@ -8252,6 +8440,108 @@ func (m *MsgSetUserBiographyResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } +func (m *SingleVote) 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 *SingleVote) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SingleVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.VoteType) > 0 { + i -= len(m.VoteType) + copy(dAtA[i:], m.VoteType) + i = encodeVarintTx(dAtA, i, uint64(len(m.VoteType))) + i-- + dAtA[i] = 0x12 + } + if m.CardId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CardId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgMultiVoteCard) 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 *MsgMultiVoteCard) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMultiVoteCard) 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 + } + } + 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 *MsgMultiVoteCardResponse) 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 *MsgMultiVoteCardResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMultiVoteCardResponse) 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 @@ -9424,6 +9714,50 @@ func (m *MsgSetUserBiographyResponse) Size() (n int) { return n } +func (m *SingleVote) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CardId != 0 { + n += 1 + sovTx(uint64(m.CardId)) + } + l = len(m.VoteType) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgMultiVoteCard) 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 *MsgMultiVoteCardResponse) 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 } @@ -16840,6 +17174,273 @@ func (m *MsgSetUserBiographyResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *SingleVote) 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: SingleVote: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SingleVote: 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 + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VoteType", 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.VoteType = 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 *MsgMultiVoteCard) 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: MsgMultiVoteCard: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMultiVoteCard: 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 Votes", 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 + } + 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 + 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 *MsgMultiVoteCardResponse) 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: MsgMultiVoteCardResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMultiVoteCardResponse: 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 skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/cardchain/types/user.pb.go b/x/cardchain/types/user.pb.go index 18d9796a..23d20993 100644 --- a/x/cardchain/types/user.pb.go +++ b/x/cardchain/types/user.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/user.proto +// source: cardchain/cardchain/user.proto package types @@ -50,7 +50,7 @@ func (x CouncilStatus) String() string { } func (CouncilStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b717f08f48166281, []int{0} + return fileDescriptor_eb1a13ac65ffc756, []int{0} } type AirDrop int32 @@ -84,7 +84,7 @@ func (x AirDrop) String() string { } func (AirDrop) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b717f08f48166281, []int{1} + return fileDescriptor_eb1a13ac65ffc756, []int{1} } type User struct { @@ -106,7 +106,7 @@ func (m *User) Reset() { *m = User{} } func (m *User) String() string { return proto.CompactTextString(m) } func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_b717f08f48166281, []int{0} + return fileDescriptor_eb1a13ac65ffc756, []int{0} } func (m *User) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -229,7 +229,7 @@ func (m *BoosterPack) Reset() { *m = BoosterPack{} } func (m *BoosterPack) String() string { return proto.CompactTextString(m) } func (*BoosterPack) ProtoMessage() {} func (*BoosterPack) Descriptor() ([]byte, []int) { - return fileDescriptor_b717f08f48166281, []int{1} + return fileDescriptor_eb1a13ac65ffc756, []int{1} } func (m *BoosterPack) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -291,7 +291,7 @@ func (m *AirDrops) Reset() { *m = AirDrops{} } func (m *AirDrops) String() string { return proto.CompactTextString(m) } func (*AirDrops) ProtoMessage() {} func (*AirDrops) Descriptor() ([]byte, []int) { - return fileDescriptor_b717f08f48166281, []int{2} + return fileDescriptor_eb1a13ac65ffc756, []int{2} } func (m *AirDrops) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -363,48 +363,48 @@ func init() { proto.RegisterType((*AirDrops)(nil), "DecentralCardGame.cardchain.cardchain.AirDrops") } -func init() { proto.RegisterFile("cardchain/user.proto", fileDescriptor_b717f08f48166281) } - -var fileDescriptor_b717f08f48166281 = []byte{ - // 595 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x6a, 0xdb, 0x40, - 0x10, 0xc6, 0x2d, 0x4b, 0x89, 0xe5, 0x71, 0xfe, 0x88, 0x25, 0x94, 0x25, 0x14, 0x23, 0x4c, 0x0b, - 0x22, 0x07, 0xbb, 0xb8, 0x3d, 0xf4, 0xd0, 0x4b, 0x93, 0x40, 0x29, 0xa5, 0x60, 0x36, 0x6d, 0x0e, - 0xb9, 0x94, 0x95, 0x3c, 0x8d, 0x97, 0xca, 0x5a, 0xb1, 0xbb, 0x4e, 0xea, 0xb7, 0xe8, 0x63, 0xf5, - 0x98, 0x63, 0xa1, 0x97, 0x92, 0xbc, 0x48, 0xd9, 0x95, 0x15, 0xc5, 0xc9, 0xc5, 0xb7, 0x99, 0xdf, - 0xea, 0xfb, 0x66, 0x46, 0xcc, 0x2e, 0x1c, 0x64, 0x5c, 0x4d, 0xb3, 0x19, 0x17, 0xc5, 0x68, 0xa1, - 0x51, 0x0d, 0x4b, 0x25, 0x8d, 0x24, 0x2f, 0x4f, 0x31, 0xc3, 0xc2, 0x28, 0x9e, 0x9f, 0x70, 0x35, - 0xfd, 0xc0, 0xe7, 0x38, 0xbc, 0xff, 0xae, 0x89, 0x0e, 0x0f, 0x1b, 0xf1, 0x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4, 0xe1, 0xca, 0xe0, 0xb4, 0x66, - 0xfe, 0xd1, 0x3b, 0xe8, 0xac, 0xe6, 0x20, 0x61, 0xd5, 0x48, 0xd4, 0xb2, 0x91, 0x1d, 0x22, 0xf2, - 0x08, 0xd4, 0x63, 0x44, 0x6d, 0xd2, 0x71, 0xad, 0x47, 0xbe, 0x3d, 0xb6, 0x1d, 0x45, 0xc1, 0x31, - 0xfb, 0x7d, 0xdb, 0xf7, 0x6e, 0x6e, 0xfb, 0xde, 0xbf, 0xdb, 0xbe, 0xf7, 0xeb, 0xae, 0xdf, 0xba, - 0xb9, 0xeb, 0xb7, 0xfe, 0xdc, 0xf5, 0x5b, 0x17, 0x6f, 0x2f, 0x85, 0x99, 0x2d, 0xd2, 0x61, 0x26, - 0xe7, 0xa3, 0x27, 0xeb, 0x31, 0x3a, 0xb9, 0x7f, 0x31, 0x7e, 0x8e, 0x9a, 0xd7, 0xc3, 0xdd, 0xde, - 0x74, 0xdb, 0xbd, 0x1c, 0xaf, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x76, 0xb1, 0xb8, 0x94, - 0x04, 0x00, 0x00, +func init() { proto.RegisterFile("cardchain/cardchain/user.proto", fileDescriptor_eb1a13ac65ffc756) } + +var fileDescriptor_eb1a13ac65ffc756 = []byte{ + // 597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcd, 0x6a, 0xdb, 0x40, + 0x10, 0xc7, 0x2d, 0x4b, 0x89, 0xe5, 0x71, 0x3e, 0xc4, 0x52, 0xca, 0x52, 0x8a, 0x10, 0x26, 0x05, + 0x91, 0x83, 0x5d, 0xdc, 0x1e, 0x7a, 0xe8, 0xa5, 0x49, 0xa0, 0x94, 0x52, 0x30, 0x9b, 0x36, 0x87, + 0x5c, 0xca, 0x4a, 0x9e, 0xc6, 0x4b, 0x65, 0xad, 0xd8, 0x5d, 0x27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x32, 0x17, 0x93, 0xa7, 0xb0, 0x9b, 0x2b, 0xe4, 0x06, 0x5d, 0x93, + 0x90, 0xcd, 0x33, 0x12, 0x81, 0x9f, 0x4d, 0x67, 0xd4, 0x77, 0xd0, 0x86, 0xb6, 0xba, 0x2a, 0xf8, + 0x8c, 0x06, 0x75, 0xb5, 0x8d, 0x2d, 0xb3, 0x37, 0x92, 0xee, 0xd4, 0xcc, 0xc6, 0xc7, 0x9f, 0x37, + 0xdc, 0x46, 0xf6, 0xa1, 0xcd, 0xaf, 0xb9, 0x28, 0x78, 0x56, 0x60, 0xd4, 0x20, 0x87, 0xd0, 0x99, + 0x96, 0x4b, 0xe0, 0x59, 0x20, 0x2b, 0x2c, 0xe7, 0x45, 0x51, 0x93, 0x10, 0x38, 0xd0, 0x86, 0x2b, + 0x83, 0xa3, 0x05, 0xf3, 0x8f, 0xdf, 0x42, 0x6b, 0xbe, 0x07, 0x09, 0xeb, 0x41, 0xa2, 0x86, 0x8d, + 0xec, 0x12, 0x91, 0x47, 0x60, 0xb1, 0x46, 0xd4, 0x24, 0x2d, 0x37, 0x7a, 0xe4, 0xdb, 0x63, 0x3b, + 0x51, 0x14, 0x9c, 0xb0, 0x5f, 0x77, 0xb1, 0x77, 0x7b, 0x17, 0x7b, 0x7f, 0xef, 0x62, 0xef, 0xe7, + 0x7d, 0xdc, 0xb8, 0xbd, 0x8f, 0x1b, 0xbf, 0xef, 0xe3, 0xc6, 0xe5, 0x9b, 0x2b, 0x61, 0xc6, 0xd3, + 0xac, 0x97, 0xcb, 0x49, 0xff, 0x91, 0x3d, 0xfa, 0xa7, 0x0f, 0x2f, 0xc6, 0x8f, 0x95, 0xd7, 0xc3, + 0xdd, 0xde, 0x6c, 0xd7, 0xbd, 0x1c, 0xaf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x9f, 0x52, + 0x11, 0xa8, 0x04, 0x00, 0x00, } func (m *User) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/vote_right.pb.go b/x/cardchain/types/vote_right.pb.go index c075d05d..f0c841af 100644 --- a/x/cardchain/types/vote_right.pb.go +++ b/x/cardchain/types/vote_right.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/vote_right.proto +// source: cardchain/cardchain/vote_right.proto package types @@ -31,7 +31,7 @@ func (m *VoteRight) Reset() { *m = VoteRight{} } func (m *VoteRight) String() string { return proto.CompactTextString(m) } func (*VoteRight) ProtoMessage() {} func (*VoteRight) Descriptor() ([]byte, []int) { - return fileDescriptor_0d2b8ec4267cac2c, []int{0} + return fileDescriptor_054a517c3cbfc900, []int{0} } func (m *VoteRight) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,22 +78,24 @@ func init() { proto.RegisterType((*VoteRight)(nil), "DecentralCardGame.cardchain.cardchain.VoteRight") } -func init() { proto.RegisterFile("cardchain/vote_right.proto", fileDescriptor_0d2b8ec4267cac2c) } +func init() { + proto.RegisterFile("cardchain/cardchain/vote_right.proto", fileDescriptor_054a517c3cbfc900) +} -var fileDescriptor_0d2b8ec4267cac2c = []byte{ - // 189 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0xcb, 0x2f, 0x49, 0x8d, 0x2f, 0xca, 0x4c, 0xcf, 0x28, - 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, 0x2b, 0x29, 0x4a, - 0xcc, 0x71, 0x4e, 0x2c, 0x4a, 0x71, 0x4f, 0xcc, 0x4d, 0xd5, 0x83, 0xab, 0x46, 0xb0, 0x94, 0x5c, - 0xb9, 0x38, 0xc3, 0xf2, 0x4b, 0x52, 0x83, 0x40, 0x3a, 0x85, 0xc4, 0xb8, 0xd8, 0x40, 0x32, 0x9e, - 0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x2c, 0x41, 0x50, 0x9e, 0x90, 0x02, 0x17, 0x77, 0x6a, 0x45, - 0x41, 0x66, 0x51, 0xaa, 0x53, 0x4e, 0x7e, 0x72, 0xb6, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x73, 0x10, - 0xb2, 0x90, 0x53, 0xd0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, - 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x59, 0xa4, - 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x63, 0x38, 0x49, 0xdf, 0x19, 0xee, - 0x81, 0x0a, 0x7d, 0x84, 0x67, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x1e, 0x31, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x53, 0x41, 0xda, 0xe6, 0x00, 0x00, 0x00, +var fileDescriptor_054a517c3cbfc900 = []byte{ + // 190 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0xca, 0xf2, 0x4b, 0x52, 0xe3, 0x8b, 0x32, 0xd3, + 0x33, 0x4a, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x54, 0x5d, 0x52, 0x93, 0x53, 0xf3, 0x4a, + 0x8a, 0x12, 0x73, 0x9c, 0x13, 0x8b, 0x52, 0xdc, 0x13, 0x73, 0x53, 0xf5, 0xe0, 0xaa, 0x11, 0x2c, + 0x25, 0x57, 0x2e, 0xce, 0xb0, 0xfc, 0x92, 0xd4, 0x20, 0x90, 0x4e, 0x21, 0x31, 0x2e, 0x36, 0x90, + 0x8c, 0x67, 0x8a, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x4b, 0x10, 0x94, 0x27, 0xa4, 0xc0, 0xc5, 0x9d, + 0x5a, 0x51, 0x90, 0x59, 0x94, 0xea, 0x94, 0x93, 0x9f, 0x9c, 0x2d, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, + 0x1c, 0x84, 0x2c, 0xe4, 0x14, 0x74, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, + 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, + 0x16, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x18, 0x4e, 0xd2, 0x77, + 0x86, 0x7b, 0xa0, 0x02, 0xc9, 0x33, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x8f, 0x18, + 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe9, 0xa7, 0x6f, 0xfd, 0xf0, 0x00, 0x00, 0x00, } func (m *VoteRight) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/voting_result.pb.go b/x/cardchain/types/voting_result.pb.go index eed75b67..5b1f364c 100644 --- a/x/cardchain/types/voting_result.pb.go +++ b/x/cardchain/types/voting_result.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/voting_result.proto +// source: cardchain/cardchain/voting_result.proto package types @@ -35,7 +35,7 @@ func (m *VotingResult) Reset() { *m = VotingResult{} } func (m *VotingResult) String() string { return proto.CompactTextString(m) } func (*VotingResult) ProtoMessage() {} func (*VotingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_7fe3970e5f210ca2, []int{0} + return fileDescriptor_2189b4591619582a, []int{0} } func (m *VotingResult) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -110,27 +110,29 @@ func init() { proto.RegisterType((*VotingResult)(nil), "DecentralCardGame.cardchain.cardchain.VotingResult") } -func init() { proto.RegisterFile("cardchain/voting_result.proto", fileDescriptor_7fe3970e5f210ca2) } +func init() { + proto.RegisterFile("cardchain/cardchain/voting_result.proto", fileDescriptor_2189b4591619582a) +} -var fileDescriptor_7fe3970e5f210ca2 = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0x4e, 0x2c, 0x4a, - 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0xcb, 0x2f, 0xc9, 0xcc, 0x4b, 0x8f, 0x2f, 0x4a, 0x2d, - 0x2e, 0xcd, 0x29, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x75, 0x49, 0x4d, 0x4e, 0xcd, - 0x2b, 0x29, 0x4a, 0xcc, 0x71, 0x4e, 0x2c, 0x4a, 0x71, 0x4f, 0xcc, 0x4d, 0xd5, 0x83, 0x6b, 0x40, - 0xb0, 0x94, 0x3e, 0x31, 0x72, 0xf1, 0x84, 0x81, 0xb5, 0x07, 0x81, 0x75, 0x0b, 0x89, 0x71, 0xb1, - 0x81, 0x64, 0x3d, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0xa0, 0x3c, 0x21, 0x0d, 0x2e, - 0xfe, 0xb4, 0xc4, 0xcc, 0x22, 0xd7, 0xbc, 0xfc, 0xd2, 0xf4, 0x8c, 0xb0, 0xfc, 0x92, 0xd4, 0x62, - 0x09, 0x26, 0xb0, 0x02, 0x74, 0x61, 0x21, 0x2d, 0x2e, 0x81, 0xfc, 0xb2, 0xd4, 0xa2, 0x82, 0xfc, - 0xf2, 0xd4, 0xa2, 0xd4, 0x14, 0x88, 0x52, 0x66, 0xb0, 0x52, 0x0c, 0x71, 0x21, 0x1d, 0x2e, 0xc1, - 0xd2, 0xbc, 0x14, 0x34, 0xc5, 0x2c, 0x60, 0xc5, 0x98, 0x12, 0x42, 0x7a, 0x5c, 0x42, 0x99, 0x79, - 0x89, 0x05, 0x05, 0x45, 0xf9, 0x05, 0x45, 0x99, 0x89, 0x25, 0xa9, 0x10, 0xe5, 0xac, 0x60, 0xe5, - 0x58, 0x64, 0x40, 0x7e, 0x81, 0x84, 0x89, 0x04, 0x9b, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x94, 0xe7, - 0x14, 0x74, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, - 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x16, 0xe9, 0x99, 0x25, - 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x18, 0x01, 0xa8, 0xef, 0x0c, 0x0f, 0xf1, 0x0a, - 0x7d, 0x44, 0xe8, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x83, 0xdd, 0x18, 0x10, 0x00, - 0x00, 0xff, 0xff, 0x97, 0x41, 0x4e, 0x1c, 0x97, 0x01, 0x00, 0x00, +var fileDescriptor_2189b4591619582a = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x4e, 0x2c, 0x4a, + 0x49, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x47, 0xb0, 0xca, 0xf2, 0x4b, 0x32, 0xf3, 0xd2, 0xe3, 0x8b, + 0x52, 0x8b, 0x4b, 0x73, 0x4a, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x54, 0x5d, 0x52, 0x93, + 0x53, 0xf3, 0x4a, 0x8a, 0x12, 0x73, 0x9c, 0x13, 0x8b, 0x52, 0xdc, 0x13, 0x73, 0x53, 0xf5, 0xe0, + 0x1a, 0x10, 0x2c, 0xa5, 0x4f, 0x8c, 0x5c, 0x3c, 0x61, 0x60, 0xed, 0x41, 0x60, 0xdd, 0x42, 0x62, + 0x5c, 0x6c, 0x20, 0x59, 0xcf, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x96, 0x20, 0x28, 0x4f, 0x48, + 0x83, 0x8b, 0x3f, 0x2d, 0x31, 0xb3, 0xc8, 0x35, 0x2f, 0xbf, 0x34, 0x3d, 0x23, 0x2c, 0xbf, 0x24, + 0xb5, 0x58, 0x82, 0x09, 0xac, 0x00, 0x5d, 0x58, 0x48, 0x8b, 0x4b, 0x20, 0xbf, 0x2c, 0xb5, 0xa8, + 0x20, 0xbf, 0x3c, 0xb5, 0x28, 0x35, 0x05, 0xa2, 0x94, 0x19, 0xac, 0x14, 0x43, 0x5c, 0x48, 0x87, + 0x4b, 0xb0, 0x34, 0x2f, 0x05, 0x4d, 0x31, 0x0b, 0x58, 0x31, 0xa6, 0x84, 0x90, 0x1e, 0x97, 0x50, + 0x66, 0x5e, 0x62, 0x41, 0x41, 0x51, 0x7e, 0x41, 0x51, 0x66, 0x62, 0x49, 0x2a, 0x44, 0x39, 0x2b, + 0x58, 0x39, 0x16, 0x19, 0x90, 0x5f, 0x20, 0x61, 0x22, 0xc1, 0xa6, 0xc0, 0xa8, 0xc1, 0x19, 0x04, + 0xe5, 0x39, 0x05, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, + 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x45, 0x7a, + 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0x46, 0x00, 0xea, 0x3b, 0xc3, 0x43, + 0xbc, 0x02, 0x29, 0xf4, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xc1, 0x6e, 0x0c, 0x08, + 0x00, 0x00, 0xff, 0xff, 0x27, 0xe3, 0xee, 0xf1, 0xa1, 0x01, 0x00, 0x00, } func (m *VotingResult) Marshal() (dAtA []byte, err error) { diff --git a/x/cardchain/types/voting_results.pb.go b/x/cardchain/types/voting_results.pb.go index d825981f..27f50f80 100644 --- a/x/cardchain/types/voting_results.pb.go +++ b/x/cardchain/types/voting_results.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cardchain/voting_results.proto +// source: cardchain/cardchain/voting_results.proto package types @@ -36,7 +36,7 @@ func (m *VotingResults) Reset() { *m = VotingResults{} } func (m *VotingResults) String() string { return proto.CompactTextString(m) } func (*VotingResults) ProtoMessage() {} func (*VotingResults) Descriptor() ([]byte, []int) { - return fileDescriptor_bde1fc3e79f719ea, []int{0} + return fileDescriptor_a233499ddc8264f3, []int{0} } func (m *VotingResults) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -118,30 +118,32 @@ func init() { proto.RegisterType((*VotingResults)(nil), "DecentralCardGame.cardchain.cardchain.VotingResults") } -func init() { proto.RegisterFile("cardchain/voting_results.proto", fileDescriptor_bde1fc3e79f719ea) } +func init() { + proto.RegisterFile("cardchain/cardchain/voting_results.proto", fileDescriptor_a233499ddc8264f3) +} -var fileDescriptor_bde1fc3e79f719ea = []byte{ +var fileDescriptor_a233499ddc8264f3 = []byte{ // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcd, 0x4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 0x1f, 0x39, 0xbb, 0xbe, 0x6d, 0x2e, 0xfc, 0xd7, 0x82, + 0xa2, 0x65, 0x41, 0xd1, 0x7b, 0x41, 0xd1, 0x4b, 0x49, 0x6b, 0xcb, 0x92, 0xd6, 0xde, 0x4a, 0x5a, + 0xbb, 0x1f, 0x45, 0x89, 0x89, 0xf3, 0x99, 0x1b, 0xc8, 0xb9, 0xf7, 0xeb, 0xb7, 0x37, 0x5e, 0x05, + 0xfa, 0x54, 0x09, 0xd7, 0x3c, 0x2b, 0x9e, 0xcd, 0xda, 0x90, 0xea, 0xf0, 0x33, 0x00, 0x00, 0xff, + 0xff, 0xdd, 0x96, 0x11, 0x73, 0x51, 0x02, 0x00, 0x00, } func (m *VotingResults) Marshal() (dAtA []byte, err error) {