revise proto files

This commit is contained in:
Solovyov1796 2024-08-03 19:04:48 +08:00
parent 1b0f74aee9
commit fee771fac8
62 changed files with 1533 additions and 1541 deletions

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.bep3.v1beta1; package zgc.bep3.v1beta1;
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
@ -27,7 +27,7 @@ message AssetParam {
SupplyLimit supply_limit = 3 [(gogoproto.nullable) = false]; SupplyLimit supply_limit = 3 [(gogoproto.nullable) = false];
// active specifies if the asset is live or paused // active specifies if the asset is live or paused
bool active = 4; bool active = 4;
// deputy_address the kava address of the deputy // deputy_address the 0g-chain address of the deputy
bytes deputy_address = 5 [ bytes deputy_address = 5 [
(cosmos_proto.scalar) = "cosmos.AddressBytes", (cosmos_proto.scalar) = "cosmos.AddressBytes",
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress" (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"
@ -99,9 +99,9 @@ enum SwapDirection {
// SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation // SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation
SWAP_DIRECTION_UNSPECIFIED = 0; SWAP_DIRECTION_UNSPECIFIED = 0;
// SWAP_DIRECTION_INCOMING represents is incoming swap (to the kava chain) // SWAP_DIRECTION_INCOMING represents is incoming swap (to the 0g-chain)
SWAP_DIRECTION_INCOMING = 1; SWAP_DIRECTION_INCOMING = 1;
// SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the kava chain) // SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the 0g-chain)
SWAP_DIRECTION_OUTGOING = 2; SWAP_DIRECTION_OUTGOING = 2;
} }
@ -118,12 +118,12 @@ message AtomicSwap {
uint64 expire_height = 3; uint64 expire_height = 3;
// timestamp represents the timestamp of the swap // timestamp represents the timestamp of the swap
int64 timestamp = 4; int64 timestamp = 4;
// sender is the kava chain sender of the swap // sender is the 0g-chain sender of the swap
bytes sender = 5 [ bytes sender = 5 [
(cosmos_proto.scalar) = "cosmos.AddressBytes", (cosmos_proto.scalar) = "cosmos.AddressBytes",
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress" (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"
]; ];
// recipient is the kava chain recipient of the swap // recipient is the 0g-chain recipient of the swap
bytes recipient = 6 [ bytes recipient = 6 [
(cosmos_proto.scalar) = "cosmos.AddressBytes", (cosmos_proto.scalar) = "cosmos.AddressBytes",
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress" (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"

View File

@ -1,9 +1,9 @@
syntax = "proto3"; syntax = "proto3";
package kava.bep3.v1beta1; package zgc.bep3.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
import "kava/bep3/v1beta1/bep3.proto"; import "zgc/bep3/v1beta1/bep3.proto";
option go_package = "github.com/0glabs/0g-chain/x/bep3/types"; option go_package = "github.com/0glabs/0g-chain/x/bep3/types";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.bep3.v1beta1; package zgc.bep3.v1beta1;
import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/query/v1beta1/pagination.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "google/protobuf/duration.proto"; import "google/protobuf/duration.proto";
import "kava/bep3/v1beta1/bep3.proto"; import "zgc/bep3/v1beta1/bep3.proto";
option go_package = "github.com/0glabs/0g-chain/x/bep3/types"; option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
@ -15,27 +15,27 @@ option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
service Query { service Query {
// Params queries module params // Params queries module params
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/kava/bep3/v1beta1/params"; option (google.api.http).get = "/0g-chain/bep3/v1beta1/params";
} }
// AssetSupply queries info about an asset's supply // AssetSupply queries info about an asset's supply
rpc AssetSupply(QueryAssetSupplyRequest) returns (QueryAssetSupplyResponse) { rpc AssetSupply(QueryAssetSupplyRequest) returns (QueryAssetSupplyResponse) {
option (google.api.http).get = "/kava/bep3/v1beta1/assetsupply/{denom}"; option (google.api.http).get = "/0g-chain/bep3/v1beta1/assetsupply/{denom}";
} }
// AssetSupplies queries a list of asset supplies // AssetSupplies queries a list of asset supplies
rpc AssetSupplies(QueryAssetSuppliesRequest) returns (QueryAssetSuppliesResponse) { rpc AssetSupplies(QueryAssetSuppliesRequest) returns (QueryAssetSuppliesResponse) {
option (google.api.http).get = "/kava/bep3/v1beta1/assetsupplies"; option (google.api.http).get = "/0g-chain/bep3/v1beta1/assetsupplies";
} }
// AtomicSwap queries info about an atomic swap // AtomicSwap queries info about an atomic swap
rpc AtomicSwap(QueryAtomicSwapRequest) returns (QueryAtomicSwapResponse) { rpc AtomicSwap(QueryAtomicSwapRequest) returns (QueryAtomicSwapResponse) {
option (google.api.http).get = "/kava/bep3/v1beta1/atomicswap/{swap_id}"; option (google.api.http).get = "/0g-chain/bep3/v1beta1/atomicswap/{swap_id}";
} }
// AtomicSwaps queries a list of atomic swaps // AtomicSwaps queries a list of atomic swaps
rpc AtomicSwaps(QueryAtomicSwapsRequest) returns (QueryAtomicSwapsResponse) { rpc AtomicSwaps(QueryAtomicSwapsRequest) returns (QueryAtomicSwapsResponse) {
option (google.api.http).get = "/kava/bep3/v1beta1/atomicswaps"; option (google.api.http).get = "/0g-chain/bep3/v1beta1/atomicswaps";
} }
} }
@ -121,9 +121,9 @@ message AtomicSwapResponse {
uint64 expire_height = 4; uint64 expire_height = 4;
// timestamp represents the timestamp of the swap // timestamp represents the timestamp of the swap
int64 timestamp = 5; int64 timestamp = 5;
// sender is the kava chain sender of the swap // sender is the 0g-chain sender of the swap
string sender = 6 [(cosmos_proto.scalar) = "cosmos.AddressString"]; string sender = 6 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// recipient is the kava chain recipient of the swap // recipient is the 0g-chain recipient of the swap
string recipient = 7 [(cosmos_proto.scalar) = "cosmos.AddressString"]; string recipient = 7 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// sender_other_chain is the sender on the other chain // sender_other_chain is the sender on the other chain
string sender_other_chain = 8; string sender_other_chain = 8;

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.bep3.v1beta1; package zgc.bep3.v1beta1;
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.committee.v1beta1; package zgc.committee.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.committee.v1beta1; package zgc.committee.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.committee.v1beta1; package zgc.committee.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.committee.v1beta1; package zgc.committee.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.committee.v1beta1; package zgc.committee.v1beta1;
import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/query/v1beta1/pagination.proto";
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
import "kava/committee/v1beta1/genesis.proto"; import "zgc/committee/v1beta1/genesis.proto";
option go_package = "github.com/0glabs/0g-chain/x/committee/types"; option go_package = "github.com/0glabs/0g-chain/x/committee/types";
option (gogoproto.goproto_getters_all) = false; option (gogoproto.goproto_getters_all) = false;
@ -16,39 +16,39 @@ option (gogoproto.goproto_getters_all) = false;
service Query { service Query {
// Committees queries all committess of the committee module. // Committees queries all committess of the committee module.
rpc Committees(QueryCommitteesRequest) returns (QueryCommitteesResponse) { rpc Committees(QueryCommitteesRequest) returns (QueryCommitteesResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/committees"; option (google.api.http).get = "/0g-chain/committee/v1beta1/committees";
} }
// Committee queries a committee based on committee ID. // Committee queries a committee based on committee ID.
rpc Committee(QueryCommitteeRequest) returns (QueryCommitteeResponse) { rpc Committee(QueryCommitteeRequest) returns (QueryCommitteeResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/committees/{committee_id}"; option (google.api.http).get = "/0g-chain/committee/v1beta1/committees/{committee_id}";
} }
// Proposals queries proposals based on committee ID. // Proposals queries proposals based on committee ID.
rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/proposals"; option (google.api.http).get = "/0g-chain/committee/v1beta1/proposals";
} }
// Deposits queries a proposal based on proposal ID. // Deposits queries a proposal based on proposal ID.
rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/proposals/{proposal_id}"; option (google.api.http).get = "/0g-chain/committee/v1beta1/proposals/{proposal_id}";
} }
// NextProposalID queries the next proposal ID of the committee module. // NextProposalID queries the next proposal ID of the committee module.
rpc NextProposalID(QueryNextProposalIDRequest) returns (QueryNextProposalIDResponse) { rpc NextProposalID(QueryNextProposalIDRequest) returns (QueryNextProposalIDResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/next-proposal-id"; option (google.api.http).get = "/0g-chain/committee/v1beta1/next-proposal-id";
} }
// Votes queries all votes for a single proposal ID. // Votes queries all votes for a single proposal ID.
rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/proposals/{proposal_id}/votes"; option (google.api.http).get = "/0g-chain/committee/v1beta1/proposals/{proposal_id}/votes";
} }
// Vote queries the vote of a single voter for a single proposal ID. // Vote queries the vote of a single voter for a single proposal ID.
rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/proposals/{proposal_id}/votes/{voter}"; option (google.api.http).get = "/0g-chain/committee/v1beta1/proposals/{proposal_id}/votes/{voter}";
} }
// Tally queries the tally of a single proposal ID. // Tally queries the tally of a single proposal ID.
rpc Tally(QueryTallyRequest) returns (QueryTallyResponse) { rpc Tally(QueryTallyRequest) returns (QueryTallyResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/proposals/{proposal_id}/tally"; option (google.api.http).get = "/0g-chain/committee/v1beta1/proposals/{proposal_id}/tally";
} }
// RawParams queries the raw params data of any subspace and key. // RawParams queries the raw params data of any subspace and key.
rpc RawParams(QueryRawParamsRequest) returns (QueryRawParamsResponse) { rpc RawParams(QueryRawParamsRequest) returns (QueryRawParamsResponse) {
option (google.api.http).get = "/kava/committee/v1beta1/raw-params"; option (google.api.http).get = "/0g-chain/committee/v1beta1/raw-params";
} }
} }

View File

@ -1,10 +1,10 @@
syntax = "proto3"; syntax = "proto3";
package kava.committee.v1beta1; package zgc.committee.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
import "kava/committee/v1beta1/genesis.proto"; import "zgc/committee/v1beta1/genesis.proto";
option go_package = "github.com/0glabs/0g-chain/x/committee/types"; option go_package = "github.com/0glabs/0g-chain/x/committee/types";
option (gogoproto.goproto_getters_all) = false; option (gogoproto.goproto_getters_all) = false;

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.evmutil.v1beta1; package zgc.evmutil.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
@ -7,14 +7,14 @@ option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
option (gogoproto.equal_all) = true; option (gogoproto.equal_all) = true;
option (gogoproto.verbose_equal_all) = true; option (gogoproto.verbose_equal_all) = true;
// ConversionPair defines a Kava ERC20 address and corresponding denom that is // ConversionPair defines a 0gChain ERC20 address and corresponding denom that is
// allowed to be converted between ERC20 and sdk.Coin // allowed to be converted between ERC20 and sdk.Coin
message ConversionPair { message ConversionPair {
option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_getters) = false;
// ERC20 address of the token on the Kava EVM // ERC20 address of the token on the 0gChain EVM
bytes kava_erc20_address = 1 [ bytes zgChain_erc20_address = 1 [
(gogoproto.customname) = "KavaERC20Address", (gogoproto.customname) = "ZgChainERC20Address",
(gogoproto.casttype) = "HexBytes" (gogoproto.casttype) = "HexBytes"
]; ];

View File

@ -1,9 +1,9 @@
syntax = "proto3"; syntax = "proto3";
package kava.evmutil.v1beta1; package zgc.evmutil.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "kava/evmutil/v1beta1/conversion_pair.proto"; import "zgc/evmutil/v1beta1/conversion_pair.proto";
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types"; option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
option (gogoproto.equal_all) = true; option (gogoproto.equal_all) = true;
@ -28,7 +28,7 @@ message Account {
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress" (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"
]; ];
// balance indicates the amount of akava owned by the address. // balance indicates the amount of neuron owned by the address.
string balance = 2 [ string balance = 2 [
(cosmos_proto.scalar) = "cosmos.Int", (cosmos_proto.scalar) = "cosmos.Int",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
@ -39,7 +39,7 @@ message Account {
// Params defines the evmutil module params // Params defines the evmutil module params
message Params { message Params {
// enabled_conversion_pairs defines the list of conversion pairs allowed to be // enabled_conversion_pairs defines the list of conversion pairs allowed to be
// converted between Kava ERC20 and sdk.Coin // converted between 0gChain ERC20 and sdk.Coin
repeated ConversionPair enabled_conversion_pairs = 4 [ repeated ConversionPair enabled_conversion_pairs = 4 [
(gogoproto.nullable) = false, (gogoproto.nullable) = false,
(gogoproto.castrepeated) = "ConversionPairs" (gogoproto.castrepeated) = "ConversionPairs"

View File

@ -1,10 +1,10 @@
syntax = "proto3"; syntax = "proto3";
package kava.evmutil.v1beta1; package zgc.evmutil.v1beta1;
import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "kava/evmutil/v1beta1/genesis.proto"; import "zgc/evmutil/v1beta1/genesis.proto";
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types"; option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
@ -12,12 +12,12 @@ option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
service Query { service Query {
// Params queries all parameters of the evmutil module. // Params queries all parameters of the evmutil module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/kava/evmutil/v1beta1/params"; option (google.api.http).get = "/0g-chain/evmutil/v1beta1/params";
} }
// DeployedCosmosCoinContracts queries a list cosmos coin denom and their deployed erc20 address // DeployedCosmosCoinContracts queries a list cosmos coin denom and their deployed erc20 address
rpc DeployedCosmosCoinContracts(QueryDeployedCosmosCoinContractsRequest) returns (QueryDeployedCosmosCoinContractsResponse) { rpc DeployedCosmosCoinContracts(QueryDeployedCosmosCoinContractsRequest) returns (QueryDeployedCosmosCoinContractsResponse) {
option (google.api.http).get = "/kava/evmutil/v1beta1/deployed_cosmos_coin_contracts"; option (google.api.http).get = "/0g-chain/evmutil/v1beta1/deployed_cosmos_coin_contracts";
} }
} }

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.evmutil.v1beta1; package zgc.evmutil.v1beta1;
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
@ -11,10 +11,10 @@ option (gogoproto.verbose_equal_all) = true;
// Msg defines the evmutil Msg service. // Msg defines the evmutil Msg service.
service Msg { service Msg {
// ConvertCoinToERC20 defines a method for converting sdk.Coin to Kava ERC20. // ConvertCoinToERC20 defines a method for converting sdk.Coin to 0gChain ERC20.
rpc ConvertCoinToERC20(MsgConvertCoinToERC20) returns (MsgConvertCoinToERC20Response); rpc ConvertCoinToERC20(MsgConvertCoinToERC20) returns (MsgConvertCoinToERC20Response);
// ConvertERC20ToCoin defines a method for converting Kava ERC20 to sdk.Coin. // ConvertERC20ToCoin defines a method for converting 0gChain ERC20 to sdk.Coin.
rpc ConvertERC20ToCoin(MsgConvertERC20ToCoin) returns (MsgConvertERC20ToCoinResponse); rpc ConvertERC20ToCoin(MsgConvertERC20ToCoin) returns (MsgConvertERC20ToCoinResponse);
// ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. // ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20.
@ -24,11 +24,11 @@ service Msg {
rpc ConvertCosmosCoinFromERC20(MsgConvertCosmosCoinFromERC20) returns (MsgConvertCosmosCoinFromERC20Response); rpc ConvertCosmosCoinFromERC20(MsgConvertCosmosCoinFromERC20) returns (MsgConvertCosmosCoinFromERC20Response);
} }
// MsgConvertCoinToERC20 defines a conversion from sdk.Coin to Kava ERC20 for EVM-native assets. // MsgConvertCoinToERC20 defines a conversion from sdk.Coin to 0g-chain ERC20 for EVM-native assets.
message MsgConvertCoinToERC20 { message MsgConvertCoinToERC20 {
// Kava bech32 address initiating the conversion. // 0gChain bech32 address initiating the conversion.
string initiator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; string initiator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// EVM 0x hex address that will receive the converted Kava ERC20 tokens. // EVM 0x hex address that will receive the converted 0gChain ERC20 tokens.
string receiver = 2; string receiver = 2;
// Amount is the sdk.Coin amount to convert. // Amount is the sdk.Coin amount to convert.
cosmos.base.v1beta1.Coin amount = 3; cosmos.base.v1beta1.Coin amount = 3;
@ -37,14 +37,14 @@ message MsgConvertCoinToERC20 {
// MsgConvertCoinToERC20Response defines the response value from Msg/ConvertCoinToERC20. // MsgConvertCoinToERC20Response defines the response value from Msg/ConvertCoinToERC20.
message MsgConvertCoinToERC20Response {} message MsgConvertCoinToERC20Response {}
// MsgConvertERC20ToCoin defines a conversion from Kava ERC20 to sdk.Coin for EVM-native assets. // MsgConvertERC20ToCoin defines a conversion from 0gChain ERC20 to sdk.Coin for EVM-native assets.
message MsgConvertERC20ToCoin { message MsgConvertERC20ToCoin {
// EVM 0x hex address initiating the conversion. // EVM 0x hex address initiating the conversion.
string initiator = 1; string initiator = 1;
// Kava bech32 address that will receive the converted sdk.Coin. // 0gChain bech32 address that will receive the converted sdk.Coin.
string receiver = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; string receiver = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// EVM 0x hex address of the ERC20 contract. // EVM 0x hex address of the ERC20 contract.
string kava_erc20_address = 3 [(gogoproto.customname) = "KavaERC20Address"]; string zgChain_erc20_address = 3 [(gogoproto.customname) = "ZgChainERC20Address"];
// ERC20 token amount to convert. // ERC20 token amount to convert.
string amount = 4 [ string amount = 4 [
(cosmos_proto.scalar) = "cosmos.Int", (cosmos_proto.scalar) = "cosmos.Int",
@ -59,7 +59,7 @@ message MsgConvertERC20ToCoinResponse {}
// MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets. // MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets.
message MsgConvertCosmosCoinToERC20 { message MsgConvertCosmosCoinToERC20 {
// Kava bech32 address initiating the conversion. // 0gChain bech32 address initiating the conversion.
string initiator = 1; string initiator = 1;
// EVM hex address that will receive the ERC20 tokens. // EVM hex address that will receive the ERC20 tokens.
string receiver = 2; string receiver = 2;
@ -74,7 +74,7 @@ message MsgConvertCosmosCoinToERC20Response {}
message MsgConvertCosmosCoinFromERC20 { message MsgConvertCosmosCoinFromERC20 {
// EVM hex address initiating the conversion. // EVM hex address initiating the conversion.
string initiator = 1; string initiator = 1;
// Kava bech32 address that will receive the cosmos coins. // 0gChain bech32 address that will receive the cosmos coins.
string receiver = 2; string receiver = 2;
// Amount is the amount to convert, expressed as a Cosmos coin. // Amount is the amount to convert, expressed as a Cosmos coin.
cosmos.base.v1beta1.Coin amount = 3; cosmos.base.v1beta1.Coin amount = 3;

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.issuance.v1beta1; package zgc.issuance.v1beta1;
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,9 +1,9 @@
syntax = "proto3"; syntax = "proto3";
package kava.issuance.v1beta1; package zgc.issuance.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "kava/issuance/v1beta1/genesis.proto"; import "zgc/issuance/v1beta1/genesis.proto";
option go_package = "github.com/0glabs/0g-chain/x/issuance/types"; option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
@ -11,7 +11,7 @@ option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
service Query { service Query {
// Params queries all parameters of the issuance module. // Params queries all parameters of the issuance module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/kava/issuance/v1beta1/params"; option (google.api.http).get = "/0g-chain/issuance/v1beta1/params";
} }
} }

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.issuance.v1beta1; package zgc.issuance.v1beta1;
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,8 +1,8 @@
syntax = "proto3"; syntax = "proto3";
package kava.pricefeed.v1beta1; package zgc.pricefeed.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "kava/pricefeed/v1beta1/store.proto"; import "zgc/pricefeed/v1beta1/store.proto";
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types"; option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
option (gogoproto.equal_all) = true; option (gogoproto.equal_all) = true;

View File

@ -1,10 +1,10 @@
syntax = "proto3"; syntax = "proto3";
package kava.pricefeed.v1beta1; package zgc.pricefeed.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
import "kava/pricefeed/v1beta1/store.proto"; import "zgc/pricefeed/v1beta1/store.proto";
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types"; option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
option (gogoproto.equal_all) = true; option (gogoproto.equal_all) = true;
@ -14,32 +14,32 @@ option (gogoproto.verbose_equal_all) = true;
service Query { service Query {
// Params queries all parameters of the pricefeed module. // Params queries all parameters of the pricefeed module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/kava/pricefeed/v1beta1/params"; option (google.api.http).get = "/0g-chain/pricefeed/v1beta1/params";
} }
// Price queries price details based on a market // Price queries price details based on a market
rpc Price(QueryPriceRequest) returns (QueryPriceResponse) { rpc Price(QueryPriceRequest) returns (QueryPriceResponse) {
option (google.api.http).get = "/kava/pricefeed/v1beta1/prices/{market_id}"; option (google.api.http).get = "/0g-chain/pricefeed/v1beta1/prices/{market_id}";
} }
// Prices queries all prices // Prices queries all prices
rpc Prices(QueryPricesRequest) returns (QueryPricesResponse) { rpc Prices(QueryPricesRequest) returns (QueryPricesResponse) {
option (google.api.http).get = "/kava/pricefeed/v1beta1/prices"; option (google.api.http).get = "/0g-chain/pricefeed/v1beta1/prices";
} }
// RawPrices queries all raw prices based on a market // RawPrices queries all raw prices based on a market
rpc RawPrices(QueryRawPricesRequest) returns (QueryRawPricesResponse) { rpc RawPrices(QueryRawPricesRequest) returns (QueryRawPricesResponse) {
option (google.api.http).get = "/kava/pricefeed/v1beta1/rawprices/{market_id}"; option (google.api.http).get = "/0g-chain/pricefeed/v1beta1/rawprices/{market_id}";
} }
// Oracles queries all oracles based on a market // Oracles queries all oracles based on a market
rpc Oracles(QueryOraclesRequest) returns (QueryOraclesResponse) { rpc Oracles(QueryOraclesRequest) returns (QueryOraclesResponse) {
option (google.api.http).get = "/kava/pricefeed/v1beta1/oracles/{market_id}"; option (google.api.http).get = "/0g-chain/pricefeed/v1beta1/oracles/{market_id}";
} }
// Markets queries all markets // Markets queries all markets
rpc Markets(QueryMarketsRequest) returns (QueryMarketsResponse) { rpc Markets(QueryMarketsRequest) returns (QueryMarketsResponse) {
option (google.api.http).get = "/kava/pricefeed/v1beta1/markets"; option (google.api.http).get = "/0g-chain/pricefeed/v1beta1/markets";
} }
} }

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.pricefeed.v1beta1; package zgc.pricefeed.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.pricefeed.v1beta1; package zgc.pricefeed.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package kava.validatorvesting.v1beta1; package zgc.validatorvesting.v1beta1;
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
@ -10,39 +10,39 @@ option (gogoproto.goproto_getters_all) = false;
// Query defines the gRPC querier service for validator-vesting module // Query defines the gRPC querier service for validator-vesting module
service Query { service Query {
// CirculatingSupply returns the total amount of kava tokens in circulation // CirculatingSupply returns the total amount of a0gi tokens in circulation
rpc CirculatingSupply(QueryCirculatingSupplyRequest) returns (QueryCirculatingSupplyResponse) { rpc CirculatingSupply(QueryCirculatingSupplyRequest) returns (QueryCirculatingSupplyResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/circulating_supply"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/circulating_supply";
} }
// TotalSupply returns the total amount of kava tokens // TotalSupply returns the total amount of a0gi tokens
rpc TotalSupply(QueryTotalSupplyRequest) returns (QueryTotalSupplyResponse) { rpc TotalSupply(QueryTotalSupplyRequest) returns (QueryTotalSupplyResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/total_supply"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/total_supply";
} }
// CirculatingSupplyHARD returns the total amount of hard tokens in circulation // CirculatingSupplyHARD returns the total amount of hard tokens in circulation
rpc CirculatingSupplyHARD(QueryCirculatingSupplyHARDRequest) returns (QueryCirculatingSupplyHARDResponse) { rpc CirculatingSupplyHARD(QueryCirculatingSupplyHARDRequest) returns (QueryCirculatingSupplyHARDResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/circulating_supply_hard"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/circulating_supply_hard";
} }
// CirculatingSupplyUSDX returns the total amount of usdx tokens in circulation // CirculatingSupplyUSDX returns the total amount of usdx tokens in circulation
rpc CirculatingSupplyUSDX(QueryCirculatingSupplyUSDXRequest) returns (QueryCirculatingSupplyUSDXResponse) { rpc CirculatingSupplyUSDX(QueryCirculatingSupplyUSDXRequest) returns (QueryCirculatingSupplyUSDXResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/circulating_supply_usdx"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/circulating_supply_usdx";
} }
// CirculatingSupplySWP returns the total amount of swp tokens in circulation // CirculatingSupplySWP returns the total amount of swp tokens in circulation
rpc CirculatingSupplySWP(QueryCirculatingSupplySWPRequest) returns (QueryCirculatingSupplySWPResponse) { rpc CirculatingSupplySWP(QueryCirculatingSupplySWPRequest) returns (QueryCirculatingSupplySWPResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/circulating_supply_swp"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/circulating_supply_swp";
} }
// TotalSupplyHARD returns the total amount of hard tokens // TotalSupplyHARD returns the total amount of hard tokens
rpc TotalSupplyHARD(QueryTotalSupplyHARDRequest) returns (QueryTotalSupplyHARDResponse) { rpc TotalSupplyHARD(QueryTotalSupplyHARDRequest) returns (QueryTotalSupplyHARDResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/total_supply_hard"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/total_supply_hard";
} }
// TotalSupplyUSDX returns the total amount of usdx tokens // TotalSupplyUSDX returns the total amount of usdx tokens
rpc TotalSupplyUSDX(QueryTotalSupplyUSDXRequest) returns (QueryTotalSupplyUSDXResponse) { rpc TotalSupplyUSDX(QueryTotalSupplyUSDXRequest) returns (QueryTotalSupplyUSDXResponse) {
option (google.api.http).get = "/kava/validator-vesting/v1beta1/total_supply_usdx"; option (google.api.http).get = "/0g-chain/validator-vesting/v1beta1/total_supply_usdx";
} }
} }

View File

@ -34,7 +34,7 @@ func (suite *E2eTestSuite) InitKavaEvmData() {
found := false found := false
erc20Addr := suite.DeployedErc20.Address.Hex() erc20Addr := suite.DeployedErc20.Address.Hex()
for _, p := range params.Params.EnabledConversionPairs { for _, p := range params.Params.EnabledConversionPairs {
if common.BytesToAddress(p.KavaERC20Address).Hex() == erc20Addr { if common.BytesToAddress(p.ZgChainERC20Address).Hex() == erc20Addr {
found = true found = true
suite.DeployedErc20.CosmosDenom = p.Denom suite.DeployedErc20.CosmosDenom = p.Denom
} }

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/bep3/v1beta1/bep3.proto // source: zgc/bep3/v1beta1/bep3.proto
package types package types
@ -64,7 +64,7 @@ func (x SwapStatus) String() string {
} }
func (SwapStatus) EnumDescriptor() ([]byte, []int) { func (SwapStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{0} return fileDescriptor_0c5f13afadd81257, []int{0}
} }
// SwapDirection is the direction of an AtomicSwap // SwapDirection is the direction of an AtomicSwap
@ -73,9 +73,9 @@ type SwapDirection int32
const ( const (
// SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation // SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation
SWAP_DIRECTION_UNSPECIFIED SwapDirection = 0 SWAP_DIRECTION_UNSPECIFIED SwapDirection = 0
// SWAP_DIRECTION_INCOMING represents is incoming swap (to the kava chain) // SWAP_DIRECTION_INCOMING represents is incoming swap (to the 0g-chain)
SWAP_DIRECTION_INCOMING SwapDirection = 1 SWAP_DIRECTION_INCOMING SwapDirection = 1
// SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the kava chain) // SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the 0g-chain)
SWAP_DIRECTION_OUTGOING SwapDirection = 2 SWAP_DIRECTION_OUTGOING SwapDirection = 2
) )
@ -96,7 +96,7 @@ func (x SwapDirection) String() string {
} }
func (SwapDirection) EnumDescriptor() ([]byte, []int) { func (SwapDirection) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{1} return fileDescriptor_0c5f13afadd81257, []int{1}
} }
// Params defines the parameters for the bep3 module. // Params defines the parameters for the bep3 module.
@ -109,7 +109,7 @@ func (m *Params) Reset() { *m = Params{} }
func (m *Params) String() string { return proto.CompactTextString(m) } func (m *Params) String() string { return proto.CompactTextString(m) }
func (*Params) ProtoMessage() {} func (*Params) ProtoMessage() {}
func (*Params) Descriptor() ([]byte, []int) { func (*Params) Descriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{0} return fileDescriptor_0c5f13afadd81257, []int{0}
} }
func (m *Params) XXX_Unmarshal(b []byte) error { func (m *Params) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -155,7 +155,7 @@ type AssetParam struct {
SupplyLimit SupplyLimit `protobuf:"bytes,3,opt,name=supply_limit,json=supplyLimit,proto3" json:"supply_limit"` SupplyLimit SupplyLimit `protobuf:"bytes,3,opt,name=supply_limit,json=supplyLimit,proto3" json:"supply_limit"`
// active specifies if the asset is live or paused // active specifies if the asset is live or paused
Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"` Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
// deputy_address the kava address of the deputy // deputy_address the 0g-chain address of the deputy
DeputyAddress github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=deputy_address,json=deputyAddress,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"deputy_address,omitempty"` DeputyAddress github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=deputy_address,json=deputyAddress,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"deputy_address,omitempty"`
// fixed_fee defines the fee for incoming swaps // fixed_fee defines the fee for incoming swaps
FixedFee github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=fixed_fee,json=fixedFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"fixed_fee"` FixedFee github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=fixed_fee,json=fixedFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"fixed_fee"`
@ -173,7 +173,7 @@ func (m *AssetParam) Reset() { *m = AssetParam{} }
func (m *AssetParam) String() string { return proto.CompactTextString(m) } func (m *AssetParam) String() string { return proto.CompactTextString(m) }
func (*AssetParam) ProtoMessage() {} func (*AssetParam) ProtoMessage() {}
func (*AssetParam) Descriptor() ([]byte, []int) { func (*AssetParam) Descriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{1} return fileDescriptor_0c5f13afadd81257, []int{1}
} }
func (m *AssetParam) XXX_Unmarshal(b []byte) error { func (m *AssetParam) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -267,7 +267,7 @@ func (m *SupplyLimit) Reset() { *m = SupplyLimit{} }
func (m *SupplyLimit) String() string { return proto.CompactTextString(m) } func (m *SupplyLimit) String() string { return proto.CompactTextString(m) }
func (*SupplyLimit) ProtoMessage() {} func (*SupplyLimit) ProtoMessage() {}
func (*SupplyLimit) Descriptor() ([]byte, []int) { func (*SupplyLimit) Descriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{2} return fileDescriptor_0c5f13afadd81257, []int{2}
} }
func (m *SupplyLimit) XXX_Unmarshal(b []byte) error { func (m *SupplyLimit) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -320,9 +320,9 @@ type AtomicSwap struct {
ExpireHeight uint64 `protobuf:"varint,3,opt,name=expire_height,json=expireHeight,proto3" json:"expire_height,omitempty"` ExpireHeight uint64 `protobuf:"varint,3,opt,name=expire_height,json=expireHeight,proto3" json:"expire_height,omitempty"`
// timestamp represents the timestamp of the swap // timestamp represents the timestamp of the swap
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// sender is the kava chain sender of the swap // sender is the 0g-chain sender of the swap
Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"`
// recipient is the kava chain recipient of the swap // recipient is the 0g-chain recipient of the swap
Recipient github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,6,opt,name=recipient,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"recipient,omitempty"` Recipient github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,6,opt,name=recipient,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"recipient,omitempty"`
// sender_other_chain is the sender on the other chain // sender_other_chain is the sender on the other chain
SenderOtherChain string `protobuf:"bytes,7,opt,name=sender_other_chain,json=senderOtherChain,proto3" json:"sender_other_chain,omitempty"` SenderOtherChain string `protobuf:"bytes,7,opt,name=sender_other_chain,json=senderOtherChain,proto3" json:"sender_other_chain,omitempty"`
@ -331,18 +331,18 @@ type AtomicSwap struct {
// closed_block is the block when the swap is closed // closed_block is the block when the swap is closed
ClosedBlock int64 `protobuf:"varint,9,opt,name=closed_block,json=closedBlock,proto3" json:"closed_block,omitempty"` ClosedBlock int64 `protobuf:"varint,9,opt,name=closed_block,json=closedBlock,proto3" json:"closed_block,omitempty"`
// status represents the current status of the swap // status represents the current status of the swap
Status SwapStatus `protobuf:"varint,10,opt,name=status,proto3,enum=kava.bep3.v1beta1.SwapStatus" json:"status,omitempty"` Status SwapStatus `protobuf:"varint,10,opt,name=status,proto3,enum=zgc.bep3.v1beta1.SwapStatus" json:"status,omitempty"`
// cross_chain identifies whether the atomic swap is cross chain // cross_chain identifies whether the atomic swap is cross chain
CrossChain bool `protobuf:"varint,11,opt,name=cross_chain,json=crossChain,proto3" json:"cross_chain,omitempty"` CrossChain bool `protobuf:"varint,11,opt,name=cross_chain,json=crossChain,proto3" json:"cross_chain,omitempty"`
// direction identifies if the swap is incoming or outgoing // direction identifies if the swap is incoming or outgoing
Direction SwapDirection `protobuf:"varint,12,opt,name=direction,proto3,enum=kava.bep3.v1beta1.SwapDirection" json:"direction,omitempty"` Direction SwapDirection `protobuf:"varint,12,opt,name=direction,proto3,enum=zgc.bep3.v1beta1.SwapDirection" json:"direction,omitempty"`
} }
func (m *AtomicSwap) Reset() { *m = AtomicSwap{} } func (m *AtomicSwap) Reset() { *m = AtomicSwap{} }
func (m *AtomicSwap) String() string { return proto.CompactTextString(m) } func (m *AtomicSwap) String() string { return proto.CompactTextString(m) }
func (*AtomicSwap) ProtoMessage() {} func (*AtomicSwap) ProtoMessage() {}
func (*AtomicSwap) Descriptor() ([]byte, []int) { func (*AtomicSwap) Descriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{3} return fileDescriptor_0c5f13afadd81257, []int{3}
} }
func (m *AtomicSwap) XXX_Unmarshal(b []byte) error { func (m *AtomicSwap) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -473,7 +473,7 @@ func (m *AssetSupply) Reset() { *m = AssetSupply{} }
func (m *AssetSupply) String() string { return proto.CompactTextString(m) } func (m *AssetSupply) String() string { return proto.CompactTextString(m) }
func (*AssetSupply) ProtoMessage() {} func (*AssetSupply) ProtoMessage() {}
func (*AssetSupply) Descriptor() ([]byte, []int) { func (*AssetSupply) Descriptor() ([]byte, []int) {
return fileDescriptor_01a01937d931b013, []int{4} return fileDescriptor_0c5f13afadd81257, []int{4}
} }
func (m *AssetSupply) XXX_Unmarshal(b []byte) error { func (m *AssetSupply) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -538,91 +538,91 @@ func (m *AssetSupply) GetTimeElapsed() time.Duration {
} }
func init() { func init() {
proto.RegisterEnum("kava.bep3.v1beta1.SwapStatus", SwapStatus_name, SwapStatus_value) proto.RegisterEnum("zgc.bep3.v1beta1.SwapStatus", SwapStatus_name, SwapStatus_value)
proto.RegisterEnum("kava.bep3.v1beta1.SwapDirection", SwapDirection_name, SwapDirection_value) proto.RegisterEnum("zgc.bep3.v1beta1.SwapDirection", SwapDirection_name, SwapDirection_value)
proto.RegisterType((*Params)(nil), "kava.bep3.v1beta1.Params") proto.RegisterType((*Params)(nil), "zgc.bep3.v1beta1.Params")
proto.RegisterType((*AssetParam)(nil), "kava.bep3.v1beta1.AssetParam") proto.RegisterType((*AssetParam)(nil), "zgc.bep3.v1beta1.AssetParam")
proto.RegisterType((*SupplyLimit)(nil), "kava.bep3.v1beta1.SupplyLimit") proto.RegisterType((*SupplyLimit)(nil), "zgc.bep3.v1beta1.SupplyLimit")
proto.RegisterType((*AtomicSwap)(nil), "kava.bep3.v1beta1.AtomicSwap") proto.RegisterType((*AtomicSwap)(nil), "zgc.bep3.v1beta1.AtomicSwap")
proto.RegisterType((*AssetSupply)(nil), "kava.bep3.v1beta1.AssetSupply") proto.RegisterType((*AssetSupply)(nil), "zgc.bep3.v1beta1.AssetSupply")
} }
func init() { proto.RegisterFile("kava/bep3/v1beta1/bep3.proto", fileDescriptor_01a01937d931b013) } func init() { proto.RegisterFile("zgc/bep3/v1beta1/bep3.proto", fileDescriptor_0c5f13afadd81257) }
var fileDescriptor_01a01937d931b013 = []byte{ var fileDescriptor_0c5f13afadd81257 = []byte{
// 1151 bytes of a gzipped FileDescriptorProto // 1150 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4d, 0x6f, 0x1a, 0x57, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4d, 0x6f, 0x1a, 0x47,
0x17, 0xf6, 0x18, 0x4c, 0xec, 0x03, 0x26, 0xbc, 0xd7, 0xc9, 0x1b, 0xec, 0xa4, 0x40, 0x9c, 0xaa, 0x18, 0x66, 0x0d, 0x26, 0x66, 0xc0, 0x04, 0x8d, 0x93, 0x06, 0xdb, 0x29, 0x10, 0xa7, 0x6a, 0x51,
0x45, 0x51, 0x0d, 0x4e, 0xd2, 0xee, 0xaa, 0x4a, 0x0c, 0xe0, 0x18, 0xc9, 0x01, 0x34, 0xd8, 0xea, 0x54, 0x83, 0xe3, 0xe4, 0xd8, 0x1e, 0x58, 0xc0, 0x31, 0x92, 0x03, 0x68, 0xc1, 0xea, 0xc7, 0x21,
0xc7, 0xa2, 0xd3, 0x3b, 0x33, 0x17, 0xb8, 0x32, 0x33, 0x77, 0x34, 0x77, 0x48, 0xf0, 0x3f, 0xe8, 0xdb, 0xd9, 0xdd, 0x61, 0x19, 0x99,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f, 0x3b, 0x22, 0xb8, 0xaa, 0x1a, 0x9a, 0xb5, 0x17, 0x17, 0xda, 0x0d, 0xc1, 0xce, 0x71, 0xff, 0x59, 0x87, 0x07, 0x57, 0x64, 0x43, 0xbd, 0xf6, 0xf6, 0xbc,
0x05, 0xe3, 0xe5, 0x45, 0xc1, 0xf8, 0xf3, 0xa2, 0x60, 0xfc, 0xf8, 0xa6, 0xb0, 0xf2, 0xf2, 0x4d, 0xa0, 0xbd, 0x3b, 0x2f, 0x68, 0x7f, 0x9f, 0x17, 0xb4, 0x9f, 0x2f, 0x0a, 0xb1, 0x77, 0x17, 0x85,
0x61, 0xe5, 0xf7, 0x37, 0x85, 0x95, 0x6f, 0x3e, 0x9e, 0xd3, 0x81, 0xfd, 0xc1, 0x08, 0x3b, 0xbc, 0xd8, 0x9f, 0x17, 0x85, 0xd8, 0xf7, 0x5f, 0xcc, 0xa9, 0xc0, 0x9e, 0x3b, 0x42, 0x16, 0xab, 0xee,
0xba, 0x3f, 0xd8, 0x93, 0x3c, 0xa8, 0x4e, 0xd4, 0x4f, 0x4f, 0x29, 0x06, 0x4e, 0x4a, 0x1e, 0xec, 0xb9, 0xbb, 0x82, 0x06, 0xd5, 0x89, 0xfc, 0xd5, 0x29, 0xa4, 0xc0, 0x4a, 0x8a, 0x83, 0x7d, 0xf2,
0xa3, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x59, 0x81, 0x30, 0x67, 0x94, 0x0a, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xf8, 0xaf, 0x5c, 0x8e, 0x0a, 0x00, 0x00,
} }
func (m *Params) Marshal() (dAtA []byte, err error) { func (m *Params) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/bep3/v1beta1/genesis.proto // source: zgc/bep3/v1beta1/genesis.proto
package types package types
@ -43,7 +43,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {} func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) { func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_ad8c98a16ce5aad0, []int{0} return fileDescriptor_887bb27f177aae40, []int{0}
} }
func (m *GenesisState) XXX_Unmarshal(b []byte) error { func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -101,36 +101,36 @@ func (m *GenesisState) GetPreviousBlockTime() time.Time {
} }
func init() { func init() {
proto.RegisterType((*GenesisState)(nil), "kava.bep3.v1beta1.GenesisState") proto.RegisterType((*GenesisState)(nil), "zgc.bep3.v1beta1.GenesisState")
} }
func init() { proto.RegisterFile("kava/bep3/v1beta1/genesis.proto", fileDescriptor_ad8c98a16ce5aad0) } func init() { proto.RegisterFile("zgc/bep3/v1beta1/genesis.proto", fileDescriptor_887bb27f177aae40) }
var fileDescriptor_ad8c98a16ce5aad0 = []byte{ var fileDescriptor_887bb27f177aae40 = []byte{
// 361 bytes of a gzipped FileDescriptorProto // 363 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xbf, 0x6e, 0xe2, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xcd, 0x6e, 0xe2, 0x30,
0x10, 0x87, 0x6d, 0x40, 0x08, 0xd9, 0x5c, 0x81, 0xb9, 0x93, 0x7c, 0xe8, 0xce, 0x46, 0xd7, 0x1c, 0x14, 0x85, 0x13, 0x40, 0x08, 0x25, 0x8c, 0x34, 0x13, 0x66, 0xa4, 0x88, 0x99, 0x49, 0x50, 0x37,
0x4d, 0x76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42, 0xe5, 0x34, 0xfb, 0xc1, 0x33, 0x37, 0x47, 0xcf, 0xd8, 0x1d, 0x3d, 0xe3, 0xf5, 0xe8, 0x19, 0xf7, 0xd7, 0x84,
0x8b, 0x40, 0xcc, 0x52, 0xd8, 0x25, 0x09, 0x8a, 0x04, 0xec, 0x92, 0x9b, 0x78, 0x8a, 0xe8, 0x1c, 0xca, 0x69, 0x16, 0x81, 0x98, 0xa5, 0xb0, 0x43, 0x12, 0x14, 0x09, 0xd8, 0x21, 0x37, 0xf1, 0x14,
0xbe, 0xe4, 0x7f, 0x46, 0xae, 0x39, 0x16, 0x51, 0x55, 0xdf, 0x1c, 0x7c, 0x05, 0x00, 0x00, 0xff, 0xd1, 0x19, 0x7c, 0xca, 0xbf, 0x45, 0xae, 0x38, 0x16, 0x51, 0x55, 0xef, 0xec, 0x7f, 0x04, 0x00,
0xff, 0x8d, 0x70, 0x3b, 0x72, 0x1e, 0x02, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa9, 0xa5, 0x69, 0xc0, 0x18, 0x02, 0x00, 0x00,
} }
func (m *GenesisState) Marshal() (dAtA []byte, err error) { func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/bep3/v1beta1/query.proto // source: zgc/bep3/v1beta1/query.proto
package types package types
@ -45,7 +45,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) { func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{0} return fileDescriptor_9e51cf9dab3c34ac, []int{0}
} }
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -84,7 +84,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) { func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{1} return fileDescriptor_9e51cf9dab3c34ac, []int{1}
} }
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -130,7 +130,7 @@ func (m *QueryAssetSupplyRequest) Reset() { *m = QueryAssetSupplyRequest
func (m *QueryAssetSupplyRequest) String() string { return proto.CompactTextString(m) } func (m *QueryAssetSupplyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAssetSupplyRequest) ProtoMessage() {} func (*QueryAssetSupplyRequest) ProtoMessage() {}
func (*QueryAssetSupplyRequest) Descriptor() ([]byte, []int) { func (*QueryAssetSupplyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{2} return fileDescriptor_9e51cf9dab3c34ac, []int{2}
} }
func (m *QueryAssetSupplyRequest) XXX_Unmarshal(b []byte) error { func (m *QueryAssetSupplyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -177,7 +177,7 @@ func (m *AssetSupplyResponse) Reset() { *m = AssetSupplyResponse{} }
func (m *AssetSupplyResponse) String() string { return proto.CompactTextString(m) } func (m *AssetSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*AssetSupplyResponse) ProtoMessage() {} func (*AssetSupplyResponse) ProtoMessage() {}
func (*AssetSupplyResponse) Descriptor() ([]byte, []int) { func (*AssetSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{3} return fileDescriptor_9e51cf9dab3c34ac, []int{3}
} }
func (m *AssetSupplyResponse) XXX_Unmarshal(b []byte) error { func (m *AssetSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -251,7 +251,7 @@ func (m *QueryAssetSupplyResponse) Reset() { *m = QueryAssetSupplyRespon
func (m *QueryAssetSupplyResponse) String() string { return proto.CompactTextString(m) } func (m *QueryAssetSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAssetSupplyResponse) ProtoMessage() {} func (*QueryAssetSupplyResponse) ProtoMessage() {}
func (*QueryAssetSupplyResponse) Descriptor() ([]byte, []int) { func (*QueryAssetSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{4} return fileDescriptor_9e51cf9dab3c34ac, []int{4}
} }
func (m *QueryAssetSupplyResponse) XXX_Unmarshal(b []byte) error { func (m *QueryAssetSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -295,7 +295,7 @@ func (m *QueryAssetSuppliesRequest) Reset() { *m = QueryAssetSuppliesReq
func (m *QueryAssetSuppliesRequest) String() string { return proto.CompactTextString(m) } func (m *QueryAssetSuppliesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAssetSuppliesRequest) ProtoMessage() {} func (*QueryAssetSuppliesRequest) ProtoMessage() {}
func (*QueryAssetSuppliesRequest) Descriptor() ([]byte, []int) { func (*QueryAssetSuppliesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{5} return fileDescriptor_9e51cf9dab3c34ac, []int{5}
} }
func (m *QueryAssetSuppliesRequest) XXX_Unmarshal(b []byte) error { func (m *QueryAssetSuppliesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -334,7 +334,7 @@ func (m *QueryAssetSuppliesResponse) Reset() { *m = QueryAssetSuppliesRe
func (m *QueryAssetSuppliesResponse) String() string { return proto.CompactTextString(m) } func (m *QueryAssetSuppliesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAssetSuppliesResponse) ProtoMessage() {} func (*QueryAssetSuppliesResponse) ProtoMessage() {}
func (*QueryAssetSuppliesResponse) Descriptor() ([]byte, []int) { func (*QueryAssetSuppliesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{6} return fileDescriptor_9e51cf9dab3c34ac, []int{6}
} }
func (m *QueryAssetSuppliesResponse) XXX_Unmarshal(b []byte) error { func (m *QueryAssetSuppliesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -380,7 +380,7 @@ func (m *QueryAtomicSwapRequest) Reset() { *m = QueryAtomicSwapRequest{}
func (m *QueryAtomicSwapRequest) String() string { return proto.CompactTextString(m) } func (m *QueryAtomicSwapRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAtomicSwapRequest) ProtoMessage() {} func (*QueryAtomicSwapRequest) ProtoMessage() {}
func (*QueryAtomicSwapRequest) Descriptor() ([]byte, []int) { func (*QueryAtomicSwapRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{7} return fileDescriptor_9e51cf9dab3c34ac, []int{7}
} }
func (m *QueryAtomicSwapRequest) XXX_Unmarshal(b []byte) error { func (m *QueryAtomicSwapRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -418,7 +418,7 @@ func (m *QueryAtomicSwapResponse) Reset() { *m = QueryAtomicSwapResponse
func (m *QueryAtomicSwapResponse) String() string { return proto.CompactTextString(m) } func (m *QueryAtomicSwapResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAtomicSwapResponse) ProtoMessage() {} func (*QueryAtomicSwapResponse) ProtoMessage() {}
func (*QueryAtomicSwapResponse) Descriptor() ([]byte, []int) { func (*QueryAtomicSwapResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{8} return fileDescriptor_9e51cf9dab3c34ac, []int{8}
} }
func (m *QueryAtomicSwapResponse) XXX_Unmarshal(b []byte) error { func (m *QueryAtomicSwapResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -466,9 +466,9 @@ type AtomicSwapResponse struct {
ExpireHeight uint64 `protobuf:"varint,4,opt,name=expire_height,json=expireHeight,proto3" json:"expire_height,omitempty"` ExpireHeight uint64 `protobuf:"varint,4,opt,name=expire_height,json=expireHeight,proto3" json:"expire_height,omitempty"`
// timestamp represents the timestamp of the swap // timestamp represents the timestamp of the swap
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// sender is the kava chain sender of the swap // sender is the 0g-chain sender of the swap
Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"` Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
// recipient is the kava chain recipient of the swap // recipient is the 0g-chain recipient of the swap
Recipient string `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"` Recipient string `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
// sender_other_chain is the sender on the other chain // sender_other_chain is the sender on the other chain
SenderOtherChain string `protobuf:"bytes,8,opt,name=sender_other_chain,json=senderOtherChain,proto3" json:"sender_other_chain,omitempty"` SenderOtherChain string `protobuf:"bytes,8,opt,name=sender_other_chain,json=senderOtherChain,proto3" json:"sender_other_chain,omitempty"`
@ -477,18 +477,18 @@ type AtomicSwapResponse struct {
// closed_block is the block when the swap is closed // closed_block is the block when the swap is closed
ClosedBlock int64 `protobuf:"varint,10,opt,name=closed_block,json=closedBlock,proto3" json:"closed_block,omitempty"` ClosedBlock int64 `protobuf:"varint,10,opt,name=closed_block,json=closedBlock,proto3" json:"closed_block,omitempty"`
// status represents the current status of the swap // status represents the current status of the swap
Status SwapStatus `protobuf:"varint,11,opt,name=status,proto3,enum=kava.bep3.v1beta1.SwapStatus" json:"status,omitempty"` Status SwapStatus `protobuf:"varint,11,opt,name=status,proto3,enum=zgc.bep3.v1beta1.SwapStatus" json:"status,omitempty"`
// cross_chain identifies whether the atomic swap is cross chain // cross_chain identifies whether the atomic swap is cross chain
CrossChain bool `protobuf:"varint,12,opt,name=cross_chain,json=crossChain,proto3" json:"cross_chain,omitempty"` CrossChain bool `protobuf:"varint,12,opt,name=cross_chain,json=crossChain,proto3" json:"cross_chain,omitempty"`
// direction identifies if the swap is incoming or outgoing // direction identifies if the swap is incoming or outgoing
Direction SwapDirection `protobuf:"varint,13,opt,name=direction,proto3,enum=kava.bep3.v1beta1.SwapDirection" json:"direction,omitempty"` Direction SwapDirection `protobuf:"varint,13,opt,name=direction,proto3,enum=zgc.bep3.v1beta1.SwapDirection" json:"direction,omitempty"`
} }
func (m *AtomicSwapResponse) Reset() { *m = AtomicSwapResponse{} } func (m *AtomicSwapResponse) Reset() { *m = AtomicSwapResponse{} }
func (m *AtomicSwapResponse) String() string { return proto.CompactTextString(m) } func (m *AtomicSwapResponse) String() string { return proto.CompactTextString(m) }
func (*AtomicSwapResponse) ProtoMessage() {} func (*AtomicSwapResponse) ProtoMessage() {}
func (*AtomicSwapResponse) Descriptor() ([]byte, []int) { func (*AtomicSwapResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{9} return fileDescriptor_9e51cf9dab3c34ac, []int{9}
} }
func (m *AtomicSwapResponse) XXX_Unmarshal(b []byte) error { func (m *AtomicSwapResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -615,9 +615,9 @@ type QueryAtomicSwapsRequest struct {
// expiration filters by expiration block height // expiration filters by expiration block height
Expiration uint64 `protobuf:"varint,2,opt,name=expiration,proto3" json:"expiration,omitempty"` Expiration uint64 `protobuf:"varint,2,opt,name=expiration,proto3" json:"expiration,omitempty"`
// status filters by swap status // status filters by swap status
Status SwapStatus `protobuf:"varint,3,opt,name=status,proto3,enum=kava.bep3.v1beta1.SwapStatus" json:"status,omitempty"` Status SwapStatus `protobuf:"varint,3,opt,name=status,proto3,enum=zgc.bep3.v1beta1.SwapStatus" json:"status,omitempty"`
// direction fitlers by swap direction // direction fitlers by swap direction
Direction SwapDirection `protobuf:"varint,4,opt,name=direction,proto3,enum=kava.bep3.v1beta1.SwapDirection" json:"direction,omitempty"` Direction SwapDirection `protobuf:"varint,4,opt,name=direction,proto3,enum=zgc.bep3.v1beta1.SwapDirection" json:"direction,omitempty"`
Pagination *query.PageRequest `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"`
} }
@ -625,7 +625,7 @@ func (m *QueryAtomicSwapsRequest) Reset() { *m = QueryAtomicSwapsRequest
func (m *QueryAtomicSwapsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryAtomicSwapsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAtomicSwapsRequest) ProtoMessage() {} func (*QueryAtomicSwapsRequest) ProtoMessage() {}
func (*QueryAtomicSwapsRequest) Descriptor() ([]byte, []int) { func (*QueryAtomicSwapsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{10} return fileDescriptor_9e51cf9dab3c34ac, []int{10}
} }
func (m *QueryAtomicSwapsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryAtomicSwapsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -665,7 +665,7 @@ func (m *QueryAtomicSwapsResponse) Reset() { *m = QueryAtomicSwapsRespon
func (m *QueryAtomicSwapsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryAtomicSwapsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAtomicSwapsResponse) ProtoMessage() {} func (*QueryAtomicSwapsResponse) ProtoMessage() {}
func (*QueryAtomicSwapsResponse) Descriptor() ([]byte, []int) { func (*QueryAtomicSwapsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a5e4082d53c18bf6, []int{11} return fileDescriptor_9e51cf9dab3c34ac, []int{11}
} }
func (m *QueryAtomicSwapsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryAtomicSwapsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -709,98 +709,98 @@ func (m *QueryAtomicSwapsResponse) GetPagination() *query.PageResponse {
} }
func init() { func init() {
proto.RegisterType((*QueryParamsRequest)(nil), "kava.bep3.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsRequest)(nil), "zgc.bep3.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "kava.bep3.v1beta1.QueryParamsResponse") proto.RegisterType((*QueryParamsResponse)(nil), "zgc.bep3.v1beta1.QueryParamsResponse")
proto.RegisterType((*QueryAssetSupplyRequest)(nil), "kava.bep3.v1beta1.QueryAssetSupplyRequest") proto.RegisterType((*QueryAssetSupplyRequest)(nil), "zgc.bep3.v1beta1.QueryAssetSupplyRequest")
proto.RegisterType((*AssetSupplyResponse)(nil), "kava.bep3.v1beta1.AssetSupplyResponse") proto.RegisterType((*AssetSupplyResponse)(nil), "zgc.bep3.v1beta1.AssetSupplyResponse")
proto.RegisterType((*QueryAssetSupplyResponse)(nil), "kava.bep3.v1beta1.QueryAssetSupplyResponse") proto.RegisterType((*QueryAssetSupplyResponse)(nil), "zgc.bep3.v1beta1.QueryAssetSupplyResponse")
proto.RegisterType((*QueryAssetSuppliesRequest)(nil), "kava.bep3.v1beta1.QueryAssetSuppliesRequest") proto.RegisterType((*QueryAssetSuppliesRequest)(nil), "zgc.bep3.v1beta1.QueryAssetSuppliesRequest")
proto.RegisterType((*QueryAssetSuppliesResponse)(nil), "kava.bep3.v1beta1.QueryAssetSuppliesResponse") proto.RegisterType((*QueryAssetSuppliesResponse)(nil), "zgc.bep3.v1beta1.QueryAssetSuppliesResponse")
proto.RegisterType((*QueryAtomicSwapRequest)(nil), "kava.bep3.v1beta1.QueryAtomicSwapRequest") proto.RegisterType((*QueryAtomicSwapRequest)(nil), "zgc.bep3.v1beta1.QueryAtomicSwapRequest")
proto.RegisterType((*QueryAtomicSwapResponse)(nil), "kava.bep3.v1beta1.QueryAtomicSwapResponse") proto.RegisterType((*QueryAtomicSwapResponse)(nil), "zgc.bep3.v1beta1.QueryAtomicSwapResponse")
proto.RegisterType((*AtomicSwapResponse)(nil), "kava.bep3.v1beta1.AtomicSwapResponse") proto.RegisterType((*AtomicSwapResponse)(nil), "zgc.bep3.v1beta1.AtomicSwapResponse")
proto.RegisterType((*QueryAtomicSwapsRequest)(nil), "kava.bep3.v1beta1.QueryAtomicSwapsRequest") proto.RegisterType((*QueryAtomicSwapsRequest)(nil), "zgc.bep3.v1beta1.QueryAtomicSwapsRequest")
proto.RegisterType((*QueryAtomicSwapsResponse)(nil), "kava.bep3.v1beta1.QueryAtomicSwapsResponse") proto.RegisterType((*QueryAtomicSwapsResponse)(nil), "zgc.bep3.v1beta1.QueryAtomicSwapsResponse")
} }
func init() { proto.RegisterFile("kava/bep3/v1beta1/query.proto", fileDescriptor_a5e4082d53c18bf6) } func init() { proto.RegisterFile("zgc/bep3/v1beta1/query.proto", fileDescriptor_9e51cf9dab3c34ac) }
var fileDescriptor_a5e4082d53c18bf6 = []byte{ var fileDescriptor_9e51cf9dab3c34ac = []byte{
// 1179 bytes of a gzipped FileDescriptorProto // 1180 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xcf, 0x6f, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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xd7,
0xc3, 0x5a, 0xfe, 0x9f, 0xc3, 0x5a, 0xfe, 0xdb, 0xa3, 0x5a, 0xee, 0xf9, 0x51, 0x2d, 0xf7, 0xe7, 0x5f, 0xec, 0xd7, 0xf3, 0x2f, 0xf7, 0xeb, 0xf9, 0xbf, 0xf6, 0xeb, 0xf9, 0x27, 0x07, 0xf5, 0xdc,
0x51, 0x2d, 0xf7, 0xe9, 0x8d, 0xcc, 0x48, 0x5c, 0xf1, 0xbb, 0xb8, 0xcd, 0xad, 0x15, 0x7f, 0x59, 0xcb, 0x83, 0x7a, 0xee, 0x8f, 0x83, 0x7a, 0xee, 0xeb, 0x8b, 0x99, 0x7b, 0x71, 0xc3, 0xef, 0xe2,
0xb6, 0x55, 0xeb, 0x91, 0x22, 0x94, 0x73, 0xb1, 0x5d, 0x94, 0x8f, 0xad, 0xbb, 0xff, 0x07, 0x00, 0x36, 0x1f, 0xd0, 0x3d, 0x50, 0x84, 0xf2, 0x72, 0x6c, 0x97, 0xe4, 0x73, 0xeb, 0xea, 0xff, 0x01,
0x00, 0xff, 0xff, 0x5e, 0xee, 0xaf, 0xcf, 0x93, 0x0c, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x10, 0x7b, 0x0a, 0x91, 0x0c, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -837,7 +837,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse) out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Query/Params", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Query/Params", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -846,7 +846,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
func (c *queryClient) AssetSupply(ctx context.Context, in *QueryAssetSupplyRequest, opts ...grpc.CallOption) (*QueryAssetSupplyResponse, error) { func (c *queryClient) AssetSupply(ctx context.Context, in *QueryAssetSupplyRequest, opts ...grpc.CallOption) (*QueryAssetSupplyResponse, error) {
out := new(QueryAssetSupplyResponse) out := new(QueryAssetSupplyResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Query/AssetSupply", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Query/AssetSupply", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -855,7 +855,7 @@ func (c *queryClient) AssetSupply(ctx context.Context, in *QueryAssetSupplyReque
func (c *queryClient) AssetSupplies(ctx context.Context, in *QueryAssetSuppliesRequest, opts ...grpc.CallOption) (*QueryAssetSuppliesResponse, error) { func (c *queryClient) AssetSupplies(ctx context.Context, in *QueryAssetSuppliesRequest, opts ...grpc.CallOption) (*QueryAssetSuppliesResponse, error) {
out := new(QueryAssetSuppliesResponse) out := new(QueryAssetSuppliesResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Query/AssetSupplies", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Query/AssetSupplies", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -864,7 +864,7 @@ func (c *queryClient) AssetSupplies(ctx context.Context, in *QueryAssetSuppliesR
func (c *queryClient) AtomicSwap(ctx context.Context, in *QueryAtomicSwapRequest, opts ...grpc.CallOption) (*QueryAtomicSwapResponse, error) { func (c *queryClient) AtomicSwap(ctx context.Context, in *QueryAtomicSwapRequest, opts ...grpc.CallOption) (*QueryAtomicSwapResponse, error) {
out := new(QueryAtomicSwapResponse) out := new(QueryAtomicSwapResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Query/AtomicSwap", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Query/AtomicSwap", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -873,7 +873,7 @@ func (c *queryClient) AtomicSwap(ctx context.Context, in *QueryAtomicSwapRequest
func (c *queryClient) AtomicSwaps(ctx context.Context, in *QueryAtomicSwapsRequest, opts ...grpc.CallOption) (*QueryAtomicSwapsResponse, error) { func (c *queryClient) AtomicSwaps(ctx context.Context, in *QueryAtomicSwapsRequest, opts ...grpc.CallOption) (*QueryAtomicSwapsResponse, error) {
out := new(QueryAtomicSwapsResponse) out := new(QueryAtomicSwapsResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Query/AtomicSwaps", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Query/AtomicSwaps", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -928,7 +928,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Query/Params", FullMethod: "/zgc.bep3.v1beta1.Query/Params",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -946,7 +946,7 @@ func _Query_AssetSupply_Handler(srv interface{}, ctx context.Context, dec func(i
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Query/AssetSupply", FullMethod: "/zgc.bep3.v1beta1.Query/AssetSupply",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AssetSupply(ctx, req.(*QueryAssetSupplyRequest)) return srv.(QueryServer).AssetSupply(ctx, req.(*QueryAssetSupplyRequest))
@ -964,7 +964,7 @@ func _Query_AssetSupplies_Handler(srv interface{}, ctx context.Context, dec func
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Query/AssetSupplies", FullMethod: "/zgc.bep3.v1beta1.Query/AssetSupplies",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AssetSupplies(ctx, req.(*QueryAssetSuppliesRequest)) return srv.(QueryServer).AssetSupplies(ctx, req.(*QueryAssetSuppliesRequest))
@ -982,7 +982,7 @@ func _Query_AtomicSwap_Handler(srv interface{}, ctx context.Context, dec func(in
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Query/AtomicSwap", FullMethod: "/zgc.bep3.v1beta1.Query/AtomicSwap",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AtomicSwap(ctx, req.(*QueryAtomicSwapRequest)) return srv.(QueryServer).AtomicSwap(ctx, req.(*QueryAtomicSwapRequest))
@ -1000,7 +1000,7 @@ func _Query_AtomicSwaps_Handler(srv interface{}, ctx context.Context, dec func(i
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Query/AtomicSwaps", FullMethod: "/zgc.bep3.v1beta1.Query/AtomicSwaps",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AtomicSwaps(ctx, req.(*QueryAtomicSwapsRequest)) return srv.(QueryServer).AtomicSwaps(ctx, req.(*QueryAtomicSwapsRequest))
@ -1009,7 +1009,7 @@ func _Query_AtomicSwaps_Handler(srv interface{}, ctx context.Context, dec func(i
} }
var _Query_serviceDesc = grpc.ServiceDesc{ var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.bep3.v1beta1.Query", ServiceName: "zgc.bep3.v1beta1.Query",
HandlerType: (*QueryServer)(nil), HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -1034,7 +1034,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/bep3/v1beta1/query.proto", Metadata: "zgc/bep3/v1beta1/query.proto",
} }
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/bep3/v1beta1/query.proto // source: zgc/bep3/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -479,15 +479,15 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "bep3", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "bep3", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AssetSupply_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "bep3", "v1beta1", "assetsupply", "denom"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AssetSupply_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "bep3", "v1beta1", "assetsupply", "denom"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AssetSupplies_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "bep3", "v1beta1", "assetsupplies"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AssetSupplies_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "bep3", "v1beta1", "assetsupplies"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AtomicSwap_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "bep3", "v1beta1", "atomicswap", "swap_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AtomicSwap_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "bep3", "v1beta1", "atomicswap", "swap_id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_AtomicSwaps_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "bep3", "v1beta1", "atomicswaps"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AtomicSwaps_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "bep3", "v1beta1", "atomicswaps"}, "", runtime.AssumeColonVerbOpt(false)))
) )
var ( var (

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/bep3/v1beta1/tx.proto // source: zgc/bep3/v1beta1/tx.proto
package types package types
@ -46,7 +46,7 @@ type MsgCreateAtomicSwap struct {
func (m *MsgCreateAtomicSwap) Reset() { *m = MsgCreateAtomicSwap{} } func (m *MsgCreateAtomicSwap) Reset() { *m = MsgCreateAtomicSwap{} }
func (*MsgCreateAtomicSwap) ProtoMessage() {} func (*MsgCreateAtomicSwap) ProtoMessage() {}
func (*MsgCreateAtomicSwap) Descriptor() ([]byte, []int) { func (*MsgCreateAtomicSwap) Descriptor() ([]byte, []int) {
return fileDescriptor_019a1c7100544f13, []int{0} return fileDescriptor_ca856aa1e77277b6, []int{0}
} }
func (m *MsgCreateAtomicSwap) XXX_Unmarshal(b []byte) error { func (m *MsgCreateAtomicSwap) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -83,7 +83,7 @@ func (m *MsgCreateAtomicSwapResponse) Reset() { *m = MsgCreateAtomicSwap
func (m *MsgCreateAtomicSwapResponse) String() string { return proto.CompactTextString(m) } func (m *MsgCreateAtomicSwapResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateAtomicSwapResponse) ProtoMessage() {} func (*MsgCreateAtomicSwapResponse) ProtoMessage() {}
func (*MsgCreateAtomicSwapResponse) Descriptor() ([]byte, []int) { func (*MsgCreateAtomicSwapResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_019a1c7100544f13, []int{1} return fileDescriptor_ca856aa1e77277b6, []int{1}
} }
func (m *MsgCreateAtomicSwapResponse) XXX_Unmarshal(b []byte) error { func (m *MsgCreateAtomicSwapResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -122,7 +122,7 @@ type MsgClaimAtomicSwap struct {
func (m *MsgClaimAtomicSwap) Reset() { *m = MsgClaimAtomicSwap{} } func (m *MsgClaimAtomicSwap) Reset() { *m = MsgClaimAtomicSwap{} }
func (*MsgClaimAtomicSwap) ProtoMessage() {} func (*MsgClaimAtomicSwap) ProtoMessage() {}
func (*MsgClaimAtomicSwap) Descriptor() ([]byte, []int) { func (*MsgClaimAtomicSwap) Descriptor() ([]byte, []int) {
return fileDescriptor_019a1c7100544f13, []int{2} return fileDescriptor_ca856aa1e77277b6, []int{2}
} }
func (m *MsgClaimAtomicSwap) XXX_Unmarshal(b []byte) error { func (m *MsgClaimAtomicSwap) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -159,7 +159,7 @@ func (m *MsgClaimAtomicSwapResponse) Reset() { *m = MsgClaimAtomicSwapRe
func (m *MsgClaimAtomicSwapResponse) String() string { return proto.CompactTextString(m) } func (m *MsgClaimAtomicSwapResponse) String() string { return proto.CompactTextString(m) }
func (*MsgClaimAtomicSwapResponse) ProtoMessage() {} func (*MsgClaimAtomicSwapResponse) ProtoMessage() {}
func (*MsgClaimAtomicSwapResponse) Descriptor() ([]byte, []int) { func (*MsgClaimAtomicSwapResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_019a1c7100544f13, []int{3} return fileDescriptor_ca856aa1e77277b6, []int{3}
} }
func (m *MsgClaimAtomicSwapResponse) XXX_Unmarshal(b []byte) error { func (m *MsgClaimAtomicSwapResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -197,7 +197,7 @@ type MsgRefundAtomicSwap struct {
func (m *MsgRefundAtomicSwap) Reset() { *m = MsgRefundAtomicSwap{} } func (m *MsgRefundAtomicSwap) Reset() { *m = MsgRefundAtomicSwap{} }
func (*MsgRefundAtomicSwap) ProtoMessage() {} func (*MsgRefundAtomicSwap) ProtoMessage() {}
func (*MsgRefundAtomicSwap) Descriptor() ([]byte, []int) { func (*MsgRefundAtomicSwap) Descriptor() ([]byte, []int) {
return fileDescriptor_019a1c7100544f13, []int{4} return fileDescriptor_ca856aa1e77277b6, []int{4}
} }
func (m *MsgRefundAtomicSwap) XXX_Unmarshal(b []byte) error { func (m *MsgRefundAtomicSwap) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -234,7 +234,7 @@ func (m *MsgRefundAtomicSwapResponse) Reset() { *m = MsgRefundAtomicSwap
func (m *MsgRefundAtomicSwapResponse) String() string { return proto.CompactTextString(m) } func (m *MsgRefundAtomicSwapResponse) String() string { return proto.CompactTextString(m) }
func (*MsgRefundAtomicSwapResponse) ProtoMessage() {} func (*MsgRefundAtomicSwapResponse) ProtoMessage() {}
func (*MsgRefundAtomicSwapResponse) Descriptor() ([]byte, []int) { func (*MsgRefundAtomicSwapResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_019a1c7100544f13, []int{5} return fileDescriptor_ca856aa1e77277b6, []int{5}
} }
func (m *MsgRefundAtomicSwapResponse) XXX_Unmarshal(b []byte) error { func (m *MsgRefundAtomicSwapResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -264,56 +264,56 @@ func (m *MsgRefundAtomicSwapResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgRefundAtomicSwapResponse proto.InternalMessageInfo var xxx_messageInfo_MsgRefundAtomicSwapResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*MsgCreateAtomicSwap)(nil), "kava.bep3.v1beta1.MsgCreateAtomicSwap") proto.RegisterType((*MsgCreateAtomicSwap)(nil), "zgc.bep3.v1beta1.MsgCreateAtomicSwap")
proto.RegisterType((*MsgCreateAtomicSwapResponse)(nil), "kava.bep3.v1beta1.MsgCreateAtomicSwapResponse") proto.RegisterType((*MsgCreateAtomicSwapResponse)(nil), "zgc.bep3.v1beta1.MsgCreateAtomicSwapResponse")
proto.RegisterType((*MsgClaimAtomicSwap)(nil), "kava.bep3.v1beta1.MsgClaimAtomicSwap") proto.RegisterType((*MsgClaimAtomicSwap)(nil), "zgc.bep3.v1beta1.MsgClaimAtomicSwap")
proto.RegisterType((*MsgClaimAtomicSwapResponse)(nil), "kava.bep3.v1beta1.MsgClaimAtomicSwapResponse") proto.RegisterType((*MsgClaimAtomicSwapResponse)(nil), "zgc.bep3.v1beta1.MsgClaimAtomicSwapResponse")
proto.RegisterType((*MsgRefundAtomicSwap)(nil), "kava.bep3.v1beta1.MsgRefundAtomicSwap") proto.RegisterType((*MsgRefundAtomicSwap)(nil), "zgc.bep3.v1beta1.MsgRefundAtomicSwap")
proto.RegisterType((*MsgRefundAtomicSwapResponse)(nil), "kava.bep3.v1beta1.MsgRefundAtomicSwapResponse") proto.RegisterType((*MsgRefundAtomicSwapResponse)(nil), "zgc.bep3.v1beta1.MsgRefundAtomicSwapResponse")
} }
func init() { proto.RegisterFile("kava/bep3/v1beta1/tx.proto", fileDescriptor_019a1c7100544f13) } func init() { proto.RegisterFile("zgc/bep3/v1beta1/tx.proto", fileDescriptor_ca856aa1e77277b6) }
var fileDescriptor_019a1c7100544f13 = []byte{ var fileDescriptor_ca856aa1e77277b6 = []byte{
// 594 bytes of a gzipped FileDescriptorProto // 595 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xbf, 0x6f, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xbf, 0x6f, 0xd3, 0x40,
0x14, 0xb6, 0x93, 0x92, 0xd2, 0x6b, 0x11, 0xe5, 0x5a, 0x24, 0xd7, 0x14, 0x3b, 0x6a, 0x05, 0x78, 0x14, 0xb6, 0x93, 0x90, 0xd2, 0x6b, 0x11, 0xd1, 0xb5, 0x48, 0x4e, 0x28, 0x76, 0x94, 0x82, 0xf0,
0x68, 0xec, 0x34, 0xdd, 0xd8, 0x92, 0x30, 0xd0, 0xa1, 0x20, 0x39, 0x1b, 0x8b, 0x75, 0xb6, 0xaf, 0x90, 0xd8, 0x69, 0xba, 0xb1, 0x25, 0x61, 0xa0, 0x43, 0x41, 0x72, 0x36, 0x16, 0xeb, 0x6c, 0x5f,
0xf6, 0xb5, 0xf5, 0x9d, 0xe5, 0xbb, 0xa4, 0xe5, 0x3f, 0x60, 0x64, 0x44, 0x4c, 0x99, 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04, 0xac, 0xcf, 0x08, 0xbe, 0x60, 0xa8, 0x69, 0xde, 0xa2, 0xb5, 0xe6, 0x6d, 0x58, 0xb3, 0x6b, 0x02, 0x50, 0x59, 0x12, 0x7b, 0xf5, 0x40, 0x8b, 0xb4, 0x1b,
0xa1, 0x16, 0x09, 0xd9, 0x6a, 0x5e, 0x0e, 0x34, 0xf9, 0x6a, 0xa0, 0xc9, 0x3f, 0x07, 0x9a, 0xfc, 0x06, 0xba, 0x49, 0xc2, 0x5e, 0xf7, 0x62, 0xac, 0xca, 0x97, 0x63, 0x55, 0xfe, 0x39, 0x56, 0xe5,
0x7e, 0xa8, 0x49, 0x57, 0x43, 0x4d, 0xfa, 0x3e, 0xd4, 0xa4, 0x37, 0xcf, 0x6e, 0x2c, 0x4d, 0x3d, 0xf7, 0x13, 0x55, 0xba, 0x9c, 0xa8, 0xd2, 0xf7, 0x89, 0x2a, 0xbd, 0x7e, 0x7a, 0x6d, 0x5d, 0xda,
0x38, 0x43, 0x2e, 0xb7, 0xea, 0x41, 0x2d, 0xdb, 0x73, 0xeb, 0x22, 0x7f, 0x1d, 0xb3, 0xcd, 0x71, 0xfe, 0x31, 0x72, 0xb8, 0xd9, 0xf6, 0x5b, 0xe9, 0x86, 0x9b, 0x67, 0xd9, 0xb3, 0x98, 0xee, 0x8c,
0x2b, 0xd9, 0xab, 0x75, 0xf0, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x19, 0xd8, 0xb9, 0x37, 0x05, 0x53, 0x4e, 0xdf, 0xab, 0xfd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x30, 0x6e, 0x2c, 0x2f,
0x00, 0x00, 0x05, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -346,7 +346,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) CreateAtomicSwap(ctx context.Context, in *MsgCreateAtomicSwap, opts ...grpc.CallOption) (*MsgCreateAtomicSwapResponse, error) { func (c *msgClient) CreateAtomicSwap(ctx context.Context, in *MsgCreateAtomicSwap, opts ...grpc.CallOption) (*MsgCreateAtomicSwapResponse, error) {
out := new(MsgCreateAtomicSwapResponse) out := new(MsgCreateAtomicSwapResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Msg/CreateAtomicSwap", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Msg/CreateAtomicSwap", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -355,7 +355,7 @@ func (c *msgClient) CreateAtomicSwap(ctx context.Context, in *MsgCreateAtomicSwa
func (c *msgClient) ClaimAtomicSwap(ctx context.Context, in *MsgClaimAtomicSwap, opts ...grpc.CallOption) (*MsgClaimAtomicSwapResponse, error) { func (c *msgClient) ClaimAtomicSwap(ctx context.Context, in *MsgClaimAtomicSwap, opts ...grpc.CallOption) (*MsgClaimAtomicSwapResponse, error) {
out := new(MsgClaimAtomicSwapResponse) out := new(MsgClaimAtomicSwapResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Msg/ClaimAtomicSwap", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Msg/ClaimAtomicSwap", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -364,7 +364,7 @@ func (c *msgClient) ClaimAtomicSwap(ctx context.Context, in *MsgClaimAtomicSwap,
func (c *msgClient) RefundAtomicSwap(ctx context.Context, in *MsgRefundAtomicSwap, opts ...grpc.CallOption) (*MsgRefundAtomicSwapResponse, error) { func (c *msgClient) RefundAtomicSwap(ctx context.Context, in *MsgRefundAtomicSwap, opts ...grpc.CallOption) (*MsgRefundAtomicSwapResponse, error) {
out := new(MsgRefundAtomicSwapResponse) out := new(MsgRefundAtomicSwapResponse)
err := c.cc.Invoke(ctx, "/kava.bep3.v1beta1.Msg/RefundAtomicSwap", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.bep3.v1beta1.Msg/RefundAtomicSwap", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -409,7 +409,7 @@ func _Msg_CreateAtomicSwap_Handler(srv interface{}, ctx context.Context, dec fun
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Msg/CreateAtomicSwap", FullMethod: "/zgc.bep3.v1beta1.Msg/CreateAtomicSwap",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateAtomicSwap(ctx, req.(*MsgCreateAtomicSwap)) return srv.(MsgServer).CreateAtomicSwap(ctx, req.(*MsgCreateAtomicSwap))
@ -427,7 +427,7 @@ func _Msg_ClaimAtomicSwap_Handler(srv interface{}, ctx context.Context, dec func
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Msg/ClaimAtomicSwap", FullMethod: "/zgc.bep3.v1beta1.Msg/ClaimAtomicSwap",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ClaimAtomicSwap(ctx, req.(*MsgClaimAtomicSwap)) return srv.(MsgServer).ClaimAtomicSwap(ctx, req.(*MsgClaimAtomicSwap))
@ -445,7 +445,7 @@ func _Msg_RefundAtomicSwap_Handler(srv interface{}, ctx context.Context, dec fun
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.bep3.v1beta1.Msg/RefundAtomicSwap", FullMethod: "/zgc.bep3.v1beta1.Msg/RefundAtomicSwap",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).RefundAtomicSwap(ctx, req.(*MsgRefundAtomicSwap)) return srv.(MsgServer).RefundAtomicSwap(ctx, req.(*MsgRefundAtomicSwap))
@ -454,7 +454,7 @@ func _Msg_RefundAtomicSwap_Handler(srv interface{}, ctx context.Context, dec fun
} }
var _Msg_serviceDesc = grpc.ServiceDesc{ var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.bep3.v1beta1.Msg", ServiceName: "zgc.bep3.v1beta1.Msg",
HandlerType: (*MsgServer)(nil), HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -471,7 +471,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/bep3/v1beta1/tx.proto", Metadata: "zgc/bep3/v1beta1/tx.proto",
} }
func (m *MsgCreateAtomicSwap) Marshal() (dAtA []byte, err error) { func (m *MsgCreateAtomicSwap) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/committee/v1beta1/committee.proto // source: zgc/committee/v1beta1/committee.proto
package types package types
@ -59,7 +59,7 @@ func (x TallyOption) String() string {
} }
func (TallyOption) EnumDescriptor() ([]byte, []int) { func (TallyOption) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_a2549fd9d70ca349, []int{0} return fileDescriptor_8e3f5a94075c4544, []int{0}
} }
// BaseCommittee is a common type shared by all Committees // BaseCommittee is a common type shared by all Committees
@ -72,13 +72,13 @@ type BaseCommittee struct {
VoteThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=vote_threshold,json=voteThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"vote_threshold"` VoteThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=vote_threshold,json=voteThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"vote_threshold"`
// The length of time a proposal remains active for. Proposals will close earlier if they get enough votes. // The length of time a proposal remains active for. Proposals will close earlier if they get enough votes.
ProposalDuration time.Duration `protobuf:"bytes,6,opt,name=proposal_duration,json=proposalDuration,proto3,stdduration" json:"proposal_duration"` ProposalDuration time.Duration `protobuf:"bytes,6,opt,name=proposal_duration,json=proposalDuration,proto3,stdduration" json:"proposal_duration"`
TallyOption TallyOption `protobuf:"varint,7,opt,name=tally_option,json=tallyOption,proto3,enum=kava.committee.v1beta1.TallyOption" json:"tally_option,omitempty"` TallyOption TallyOption `protobuf:"varint,7,opt,name=tally_option,json=tallyOption,proto3,enum=zgc.committee.v1beta1.TallyOption" json:"tally_option,omitempty"`
} }
func (m *BaseCommittee) Reset() { *m = BaseCommittee{} } func (m *BaseCommittee) Reset() { *m = BaseCommittee{} }
func (*BaseCommittee) ProtoMessage() {} func (*BaseCommittee) ProtoMessage() {}
func (*BaseCommittee) Descriptor() ([]byte, []int) { func (*BaseCommittee) Descriptor() ([]byte, []int) {
return fileDescriptor_a2549fd9d70ca349, []int{0} return fileDescriptor_8e3f5a94075c4544, []int{0}
} }
func (m *BaseCommittee) XXX_Unmarshal(b []byte) error { func (m *BaseCommittee) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -115,7 +115,7 @@ type MemberCommittee struct {
func (m *MemberCommittee) Reset() { *m = MemberCommittee{} } func (m *MemberCommittee) Reset() { *m = MemberCommittee{} }
func (*MemberCommittee) ProtoMessage() {} func (*MemberCommittee) ProtoMessage() {}
func (*MemberCommittee) Descriptor() ([]byte, []int) { func (*MemberCommittee) Descriptor() ([]byte, []int) {
return fileDescriptor_a2549fd9d70ca349, []int{1} return fileDescriptor_8e3f5a94075c4544, []int{1}
} }
func (m *MemberCommittee) XXX_Unmarshal(b []byte) error { func (m *MemberCommittee) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -154,7 +154,7 @@ type TokenCommittee struct {
func (m *TokenCommittee) Reset() { *m = TokenCommittee{} } func (m *TokenCommittee) Reset() { *m = TokenCommittee{} }
func (*TokenCommittee) ProtoMessage() {} func (*TokenCommittee) ProtoMessage() {}
func (*TokenCommittee) Descriptor() ([]byte, []int) { func (*TokenCommittee) Descriptor() ([]byte, []int) {
return fileDescriptor_a2549fd9d70ca349, []int{2} return fileDescriptor_8e3f5a94075c4544, []int{2}
} }
func (m *TokenCommittee) XXX_Unmarshal(b []byte) error { func (m *TokenCommittee) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -184,59 +184,60 @@ func (m *TokenCommittee) XXX_DiscardUnknown() {
var xxx_messageInfo_TokenCommittee proto.InternalMessageInfo var xxx_messageInfo_TokenCommittee proto.InternalMessageInfo
func init() { func init() {
proto.RegisterEnum("kava.committee.v1beta1.TallyOption", TallyOption_name, TallyOption_value) proto.RegisterEnum("zgc.committee.v1beta1.TallyOption", TallyOption_name, TallyOption_value)
proto.RegisterType((*BaseCommittee)(nil), "kava.committee.v1beta1.BaseCommittee") proto.RegisterType((*BaseCommittee)(nil), "zgc.committee.v1beta1.BaseCommittee")
proto.RegisterType((*MemberCommittee)(nil), "kava.committee.v1beta1.MemberCommittee") proto.RegisterType((*MemberCommittee)(nil), "zgc.committee.v1beta1.MemberCommittee")
proto.RegisterType((*TokenCommittee)(nil), "kava.committee.v1beta1.TokenCommittee") proto.RegisterType((*TokenCommittee)(nil), "zgc.committee.v1beta1.TokenCommittee")
} }
func init() { func init() {
proto.RegisterFile("kava/committee/v1beta1/committee.proto", fileDescriptor_a2549fd9d70ca349) proto.RegisterFile("zgc/committee/v1beta1/committee.proto", fileDescriptor_8e3f5a94075c4544)
} }
var fileDescriptor_a2549fd9d70ca349 = []byte{ var fileDescriptor_8e3f5a94075c4544 = []byte{
// 655 bytes of a gzipped FileDescriptorProto // 658 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,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b7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xac, 0xa2, 0xc0, 0xfd, 0xc8, 0x04,
0x00, 0x00,
} }
func (m *BaseCommittee) Marshal() (dAtA []byte, err error) { func (m *BaseCommittee) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/committee/v1beta1/genesis.proto // source: zgc/committee/v1beta1/genesis.proto
package types package types
@ -63,7 +63,7 @@ func (x VoteType) String() string {
} }
func (VoteType) EnumDescriptor() ([]byte, []int) { func (VoteType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_919b27ac60d8c5fd, []int{0} return fileDescriptor_dc916f377aadb716, []int{0}
} }
// GenesisState defines the committee module's genesis state. // GenesisState defines the committee module's genesis state.
@ -78,7 +78,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {} func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) { func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_919b27ac60d8c5fd, []int{0} return fileDescriptor_dc916f377aadb716, []int{0}
} }
func (m *GenesisState) XXX_Unmarshal(b []byte) error { func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -118,7 +118,7 @@ type Proposal struct {
func (m *Proposal) Reset() { *m = Proposal{} } func (m *Proposal) Reset() { *m = Proposal{} }
func (*Proposal) ProtoMessage() {} func (*Proposal) ProtoMessage() {}
func (*Proposal) Descriptor() ([]byte, []int) { func (*Proposal) Descriptor() ([]byte, []int) {
return fileDescriptor_919b27ac60d8c5fd, []int{1} return fileDescriptor_dc916f377aadb716, []int{1}
} }
func (m *Proposal) XXX_Unmarshal(b []byte) error { func (m *Proposal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -151,14 +151,14 @@ var xxx_messageInfo_Proposal proto.InternalMessageInfo
type Vote struct { type Vote struct {
ProposalID uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` ProposalID uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
Voter github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=voter,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"voter,omitempty"` Voter github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=voter,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"voter,omitempty"`
VoteType VoteType `protobuf:"varint,3,opt,name=vote_type,json=voteType,proto3,enum=kava.committee.v1beta1.VoteType" json:"vote_type,omitempty"` VoteType VoteType `protobuf:"varint,3,opt,name=vote_type,json=voteType,proto3,enum=zgc.committee.v1beta1.VoteType" json:"vote_type,omitempty"`
} }
func (m *Vote) Reset() { *m = Vote{} } func (m *Vote) Reset() { *m = Vote{} }
func (m *Vote) String() string { return proto.CompactTextString(m) } func (m *Vote) String() string { return proto.CompactTextString(m) }
func (*Vote) ProtoMessage() {} func (*Vote) ProtoMessage() {}
func (*Vote) Descriptor() ([]byte, []int) { func (*Vote) Descriptor() ([]byte, []int) {
return fileDescriptor_919b27ac60d8c5fd, []int{2} return fileDescriptor_dc916f377aadb716, []int{2}
} }
func (m *Vote) XXX_Unmarshal(b []byte) error { func (m *Vote) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -188,59 +188,59 @@ func (m *Vote) XXX_DiscardUnknown() {
var xxx_messageInfo_Vote proto.InternalMessageInfo var xxx_messageInfo_Vote proto.InternalMessageInfo
func init() { func init() {
proto.RegisterEnum("kava.committee.v1beta1.VoteType", VoteType_name, VoteType_value) proto.RegisterEnum("zgc.committee.v1beta1.VoteType", VoteType_name, VoteType_value)
proto.RegisterType((*GenesisState)(nil), "kava.committee.v1beta1.GenesisState") proto.RegisterType((*GenesisState)(nil), "zgc.committee.v1beta1.GenesisState")
proto.RegisterType((*Proposal)(nil), "kava.committee.v1beta1.Proposal") proto.RegisterType((*Proposal)(nil), "zgc.committee.v1beta1.Proposal")
proto.RegisterType((*Vote)(nil), "kava.committee.v1beta1.Vote") proto.RegisterType((*Vote)(nil), "zgc.committee.v1beta1.Vote")
} }
func init() { func init() {
proto.RegisterFile("kava/committee/v1beta1/genesis.proto", fileDescriptor_919b27ac60d8c5fd) proto.RegisterFile("zgc/committee/v1beta1/genesis.proto", fileDescriptor_dc916f377aadb716)
} }
var fileDescriptor_919b27ac60d8c5fd = []byte{ var fileDescriptor_dc916f377aadb716 = []byte{
// 654 bytes of a gzipped FileDescriptorProto // 655 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xbf, 0x6f, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x4f, 0x4f, 0xdb, 0x4e,
0x14, 0xb6, 0x1d, 0x53, 0x92, 0x4b, 0x1a, 0xd2, 0xa3, 0xad, 0xd2, 0x08, 0xd9, 0x55, 0xc5, 0x50, 0x10, 0xb5, 0x1d, 0xff, 0xf8, 0x25, 0x9b, 0x90, 0x86, 0x2d, 0x54, 0x21, 0x95, 0x6c, 0x44, 0x2f,
0x21, 0x62, 0xb7, 0x65, 0x41, 0x15, 0x48, 0xc4, 0x49, 0x0a, 0x5e, 0xd2, 0xe2, 0x84, 0x4a, 0x65, 0xa8, 0x6a, 0x6c, 0xa0, 0x87, 0x4a, 0x88, 0x43, 0xe3, 0x24, 0xb4, 0xbe, 0x84, 0xc8, 0x49, 0x91,
0x20, 0x72, 0xe2, 0xc3, 0xb5, 0x9a, 0xf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0x48, 0xfc, 0xf9, 0xad, 0xc4, 0x5d, 0xdf, 0x4a,
0x1f, 0x37, 0x8a, 0xf0, 0xfe, 0xe9, 0x8c, 0x29, 0x1b, 0x6e, 0xcf, 0xee, 0x10, 0x7d, 0xc3, 0x2d, 0xdc, 0xf7, 0x5b, 0x89, 0x7b, 0xfb, 0x6c, 0xce, 0x93, 0x4d, 0x67, 0x60, 0xf6, 0x89, 0xba, 0xe9,
0x77, 0x0f, 0x6d, 0xcf, 0xd7, 0x4f, 0x66, 0x7e, 0x20, 0xdc, 0x9e, 0xce, 0x1c, 0x9f, 0xe0, 0xb3, 0x54, 0xad, 0x23, 0xd3, 0xf5, 0xd4, 0x93, 0xb9, 0x9f, 0x07, 0x73, 0xa7, 0xbf, 0xc0, 0x06, 0xf8,
0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc7, 0xe1, 0x44, 0xe7, 0x5f, 0x04, 0x00, 0x00, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xa9, 0xa7, 0x8e, 0x5a, 0x04, 0x00, 0x00,
} }
func (m *GenesisState) Marshal() (dAtA []byte, err error) { func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/committee/v1beta1/permissions.proto // source: zgc/committee/v1beta1/permissions.proto
package types package types
@ -32,7 +32,7 @@ func (m *GodPermission) Reset() { *m = GodPermission{} }
func (m *GodPermission) String() string { return proto.CompactTextString(m) } func (m *GodPermission) String() string { return proto.CompactTextString(m) }
func (*GodPermission) ProtoMessage() {} func (*GodPermission) ProtoMessage() {}
func (*GodPermission) Descriptor() ([]byte, []int) { func (*GodPermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{0} return fileDescriptor_57b97afa685555be, []int{0}
} }
func (m *GodPermission) XXX_Unmarshal(b []byte) error { func (m *GodPermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -69,7 +69,7 @@ func (m *SoftwareUpgradePermission) Reset() { *m = SoftwareUpgradePermis
func (m *SoftwareUpgradePermission) String() string { return proto.CompactTextString(m) } func (m *SoftwareUpgradePermission) String() string { return proto.CompactTextString(m) }
func (*SoftwareUpgradePermission) ProtoMessage() {} func (*SoftwareUpgradePermission) ProtoMessage() {}
func (*SoftwareUpgradePermission) Descriptor() ([]byte, []int) { func (*SoftwareUpgradePermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{1} return fileDescriptor_57b97afa685555be, []int{1}
} }
func (m *SoftwareUpgradePermission) XXX_Unmarshal(b []byte) error { func (m *SoftwareUpgradePermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -106,7 +106,7 @@ func (m *TextPermission) Reset() { *m = TextPermission{} }
func (m *TextPermission) String() string { return proto.CompactTextString(m) } func (m *TextPermission) String() string { return proto.CompactTextString(m) }
func (*TextPermission) ProtoMessage() {} func (*TextPermission) ProtoMessage() {}
func (*TextPermission) Descriptor() ([]byte, []int) { func (*TextPermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{2} return fileDescriptor_57b97afa685555be, []int{2}
} }
func (m *TextPermission) XXX_Unmarshal(b []byte) error { func (m *TextPermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -143,7 +143,7 @@ func (m *CommunityCDPRepayDebtPermission) Reset() { *m = CommunityCDPRep
func (m *CommunityCDPRepayDebtPermission) String() string { return proto.CompactTextString(m) } func (m *CommunityCDPRepayDebtPermission) String() string { return proto.CompactTextString(m) }
func (*CommunityCDPRepayDebtPermission) ProtoMessage() {} func (*CommunityCDPRepayDebtPermission) ProtoMessage() {}
func (*CommunityCDPRepayDebtPermission) Descriptor() ([]byte, []int) { func (*CommunityCDPRepayDebtPermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{3} return fileDescriptor_57b97afa685555be, []int{3}
} }
func (m *CommunityCDPRepayDebtPermission) XXX_Unmarshal(b []byte) error { func (m *CommunityCDPRepayDebtPermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -182,7 +182,7 @@ func (m *CommunityCDPWithdrawCollateralPermission) Reset() {
func (m *CommunityCDPWithdrawCollateralPermission) String() string { return proto.CompactTextString(m) } func (m *CommunityCDPWithdrawCollateralPermission) String() string { return proto.CompactTextString(m) }
func (*CommunityCDPWithdrawCollateralPermission) ProtoMessage() {} func (*CommunityCDPWithdrawCollateralPermission) ProtoMessage() {}
func (*CommunityCDPWithdrawCollateralPermission) Descriptor() ([]byte, []int) { func (*CommunityCDPWithdrawCollateralPermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{4} return fileDescriptor_57b97afa685555be, []int{4}
} }
func (m *CommunityCDPWithdrawCollateralPermission) XXX_Unmarshal(b []byte) error { func (m *CommunityCDPWithdrawCollateralPermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -219,7 +219,7 @@ func (m *CommunityPoolLendWithdrawPermission) Reset() { *m = CommunityPo
func (m *CommunityPoolLendWithdrawPermission) String() string { return proto.CompactTextString(m) } func (m *CommunityPoolLendWithdrawPermission) String() string { return proto.CompactTextString(m) }
func (*CommunityPoolLendWithdrawPermission) ProtoMessage() {} func (*CommunityPoolLendWithdrawPermission) ProtoMessage() {}
func (*CommunityPoolLendWithdrawPermission) Descriptor() ([]byte, []int) { func (*CommunityPoolLendWithdrawPermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{5} return fileDescriptor_57b97afa685555be, []int{5}
} }
func (m *CommunityPoolLendWithdrawPermission) XXX_Unmarshal(b []byte) error { func (m *CommunityPoolLendWithdrawPermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -257,7 +257,7 @@ func (m *ParamsChangePermission) Reset() { *m = ParamsChangePermission{}
func (m *ParamsChangePermission) String() string { return proto.CompactTextString(m) } func (m *ParamsChangePermission) String() string { return proto.CompactTextString(m) }
func (*ParamsChangePermission) ProtoMessage() {} func (*ParamsChangePermission) ProtoMessage() {}
func (*ParamsChangePermission) Descriptor() ([]byte, []int) { func (*ParamsChangePermission) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{6} return fileDescriptor_57b97afa685555be, []int{6}
} }
func (m *ParamsChangePermission) XXX_Unmarshal(b []byte) error { func (m *ParamsChangePermission) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -309,7 +309,7 @@ func (m *AllowedParamsChange) Reset() { *m = AllowedParamsChange{} }
func (m *AllowedParamsChange) String() string { return proto.CompactTextString(m) } func (m *AllowedParamsChange) String() string { return proto.CompactTextString(m) }
func (*AllowedParamsChange) ProtoMessage() {} func (*AllowedParamsChange) ProtoMessage() {}
func (*AllowedParamsChange) Descriptor() ([]byte, []int) { func (*AllowedParamsChange) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{7} return fileDescriptor_57b97afa685555be, []int{7}
} }
func (m *AllowedParamsChange) XXX_Unmarshal(b []byte) error { func (m *AllowedParamsChange) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -380,7 +380,7 @@ func (m *SubparamRequirement) Reset() { *m = SubparamRequirement{} }
func (m *SubparamRequirement) String() string { return proto.CompactTextString(m) } func (m *SubparamRequirement) String() string { return proto.CompactTextString(m) }
func (*SubparamRequirement) ProtoMessage() {} func (*SubparamRequirement) ProtoMessage() {}
func (*SubparamRequirement) Descriptor() ([]byte, []int) { func (*SubparamRequirement) Descriptor() ([]byte, []int) {
return fileDescriptor_bdfaf7be16465ae4, []int{8} return fileDescriptor_57b97afa685555be, []int{8}
} }
func (m *SubparamRequirement) XXX_Unmarshal(b []byte) error { func (m *SubparamRequirement) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -431,56 +431,56 @@ func (m *SubparamRequirement) GetAllowedSubparamAttrChanges() []string {
} }
func init() { func init() {
proto.RegisterType((*GodPermission)(nil), "kava.committee.v1beta1.GodPermission") proto.RegisterType((*GodPermission)(nil), "zgc.committee.v1beta1.GodPermission")
proto.RegisterType((*SoftwareUpgradePermission)(nil), "kava.committee.v1beta1.SoftwareUpgradePermission") proto.RegisterType((*SoftwareUpgradePermission)(nil), "zgc.committee.v1beta1.SoftwareUpgradePermission")
proto.RegisterType((*TextPermission)(nil), "kava.committee.v1beta1.TextPermission") proto.RegisterType((*TextPermission)(nil), "zgc.committee.v1beta1.TextPermission")
proto.RegisterType((*CommunityCDPRepayDebtPermission)(nil), "kava.committee.v1beta1.CommunityCDPRepayDebtPermission") proto.RegisterType((*CommunityCDPRepayDebtPermission)(nil), "zgc.committee.v1beta1.CommunityCDPRepayDebtPermission")
proto.RegisterType((*CommunityCDPWithdrawCollateralPermission)(nil), "kava.committee.v1beta1.CommunityCDPWithdrawCollateralPermission") proto.RegisterType((*CommunityCDPWithdrawCollateralPermission)(nil), "zgc.committee.v1beta1.CommunityCDPWithdrawCollateralPermission")
proto.RegisterType((*CommunityPoolLendWithdrawPermission)(nil), "kava.committee.v1beta1.CommunityPoolLendWithdrawPermission") proto.RegisterType((*CommunityPoolLendWithdrawPermission)(nil), "zgc.committee.v1beta1.CommunityPoolLendWithdrawPermission")
proto.RegisterType((*ParamsChangePermission)(nil), "kava.committee.v1beta1.ParamsChangePermission") proto.RegisterType((*ParamsChangePermission)(nil), "zgc.committee.v1beta1.ParamsChangePermission")
proto.RegisterType((*AllowedParamsChange)(nil), "kava.committee.v1beta1.AllowedParamsChange") proto.RegisterType((*AllowedParamsChange)(nil), "zgc.committee.v1beta1.AllowedParamsChange")
proto.RegisterType((*SubparamRequirement)(nil), "kava.committee.v1beta1.SubparamRequirement") proto.RegisterType((*SubparamRequirement)(nil), "zgc.committee.v1beta1.SubparamRequirement")
} }
func init() { func init() {
proto.RegisterFile("kava/committee/v1beta1/permissions.proto", fileDescriptor_bdfaf7be16465ae4) proto.RegisterFile("zgc/committee/v1beta1/permissions.proto", fileDescriptor_57b97afa685555be)
} }
var fileDescriptor_bdfaf7be16465ae4 = []byte{ var fileDescriptor_57b97afa685555be = []byte{
// 513 bytes of a gzipped FileDescriptorProto // 515 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xcf, 0x6e, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x4f, 0x6f, 0xd3, 0x3e,
0x10, 0x87, 0x63, 0x52, 0x21, 0xba, 0x88, 0xaa, 0x72, 0xa3, 0x28, 0x8d, 0x8a, 0x13, 0x85, 0x4b, 0x18, 0xc7, 0x9b, 0x5f, 0xa6, 0x9f, 0x98, 0x11, 0xd3, 0x94, 0x95, 0x29, 0x8b, 0x46, 0x5a, 0x95,
0xa4, 0xd2, 0xb8, 0x01, 0x71, 0xe9, 0x2d, 0x49, 0x05, 0x17, 0x0e, 0x91, 0x0b, 0x42, 0xe2, 0x62, 0x03, 0x15, 0xb0, 0x64, 0x05, 0x71, 0xd9, 0xad, 0xed, 0x04, 0x17, 0x0e, 0x55, 0x06, 0x42, 0xe2,
0x8d, 0x93, 0xc5, 0x59, 0x75, 0xed, 0x35, 0x3b, 0xeb, 0xa4, 0x91, 0x90, 0x78, 0x05, 0x5e, 0x03, 0x12, 0x39, 0x89, 0x71, 0x2d, 0x9c, 0x38, 0xd8, 0x4e, 0xbb, 0x4e, 0x88, 0xd7, 0xc0, 0xcb, 0x40,
0xce, 0x3c, 0x44, 0xc5, 0xa9, 0x47, 0x4e, 0x80, 0x92, 0xc7, 0xe0, 0x82, 0xfc, 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 0xf2, 0x6a, 0x9c, 0x85, 0x71, 0x01, 0x55, 0xca, 0x52, 0xf2, 0x62, 0x14, 0x93, 0xe7, 0xd7,
0xdd, 0x6d, 0x0c, 0xed, 0xcf, 0xc6, 0xd0, 0xbe, 0x6c, 0x8d, 0xda, 0xdd, 0xd6, 0xa8, 0xfd, 0xdc, 0x6b, 0x53, 0xb9, 0x59, 0x9b, 0xca, 0xef, 0xb5, 0xa9, 0x7c, 0xde, 0x98, 0x9d, 0x9b, 0x8d, 0xd9,
0x1a, 0xb5, 0xf7, 0x4f, 0x5d, 0xa6, 0x16, 0xa1, 0x13, 0x79, 0x9a, 0xe7, 0x2e, 0x07, 0x07, 0xcd, 0xf9, 0xb1, 0x31, 0x3b, 0x6f, 0x1f, 0x63, 0x22, 0xe7, 0x89, 0x97, 0x7a, 0xda, 0xa7, 0x98, 0x42,
0x73, 0xf7, 0x6c, 0xb6, 0x00, 0xe6, 0x9b, 0x37, 0x85, 0x27, 0xae, 0xd6, 0x01, 0x45, 0xe7, 0x7e, 0x4f, 0xd8, 0xa7, 0xf8, 0xc4, 0x9f, 0x43, 0x12, 0xd9, 0x97, 0xb5, 0xf7, 0x2d, 0x57, 0x31, 0x12,
0xfc, 0x18, 0x9f, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x18, 0x3f, 0xff, 0x00, 0x01, 0x04, 0x00, 0xde, 0xff, 0xd9, 0x53, 0x7c, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x11, 0x7e, 0x2f, 0x02, 0xfd,
0x00, 0x03, 0x00, 0x00,
} }
func (m *GodPermission) Marshal() (dAtA []byte, err error) { func (m *GodPermission) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/committee/v1beta1/proposal.proto // source: zgc/committee/v1beta1/proposal.proto
package types package types
@ -36,7 +36,7 @@ func (m *CommitteeChangeProposal) Reset() { *m = CommitteeChangeProposal
func (m *CommitteeChangeProposal) String() string { return proto.CompactTextString(m) } func (m *CommitteeChangeProposal) String() string { return proto.CompactTextString(m) }
func (*CommitteeChangeProposal) ProtoMessage() {} func (*CommitteeChangeProposal) ProtoMessage() {}
func (*CommitteeChangeProposal) Descriptor() ([]byte, []int) { func (*CommitteeChangeProposal) Descriptor() ([]byte, []int) {
return fileDescriptor_4886de4a6c720e57, []int{0} return fileDescriptor_120f043c81d2fa1b, []int{0}
} }
func (m *CommitteeChangeProposal) XXX_Unmarshal(b []byte) error { func (m *CommitteeChangeProposal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -76,7 +76,7 @@ func (m *CommitteeDeleteProposal) Reset() { *m = CommitteeDeleteProposal
func (m *CommitteeDeleteProposal) String() string { return proto.CompactTextString(m) } func (m *CommitteeDeleteProposal) String() string { return proto.CompactTextString(m) }
func (*CommitteeDeleteProposal) ProtoMessage() {} func (*CommitteeDeleteProposal) ProtoMessage() {}
func (*CommitteeDeleteProposal) Descriptor() ([]byte, []int) { func (*CommitteeDeleteProposal) Descriptor() ([]byte, []int) {
return fileDescriptor_4886de4a6c720e57, []int{1} return fileDescriptor_120f043c81d2fa1b, []int{1}
} }
func (m *CommitteeDeleteProposal) XXX_Unmarshal(b []byte) error { func (m *CommitteeDeleteProposal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -106,39 +106,38 @@ func (m *CommitteeDeleteProposal) XXX_DiscardUnknown() {
var xxx_messageInfo_CommitteeDeleteProposal proto.InternalMessageInfo var xxx_messageInfo_CommitteeDeleteProposal proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*CommitteeChangeProposal)(nil), "kava.committee.v1beta1.CommitteeChangeProposal") proto.RegisterType((*CommitteeChangeProposal)(nil), "zgc.committee.v1beta1.CommitteeChangeProposal")
proto.RegisterType((*CommitteeDeleteProposal)(nil), "kava.committee.v1beta1.CommitteeDeleteProposal") proto.RegisterType((*CommitteeDeleteProposal)(nil), "zgc.committee.v1beta1.CommitteeDeleteProposal")
} }
func init() { func init() {
proto.RegisterFile("kava/committee/v1beta1/proposal.proto", fileDescriptor_4886de4a6c720e57) proto.RegisterFile("zgc/committee/v1beta1/proposal.proto", fileDescriptor_120f043c81d2fa1b)
} }
var fileDescriptor_4886de4a6c720e57 = []byte{ var fileDescriptor_120f043c81d2fa1b = []byte{
// 353 bytes of a gzipped FileDescriptorProto // 352 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xbf, 0x6e, 0xf2, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x3f, 0x6e, 0xc2, 0x30,
0x14, 0xc5, 0xe3, 0xef, 0x9f, 0x44, 0x02, 0xfa, 0xa4, 0x08, 0xb5, 0xc0, 0xe0, 0x22, 0xa4, 0x4a, 0x14, 0xc6, 0xe3, 0xfe, 0x93, 0x48, 0x40, 0x95, 0x22, 0xaa, 0x02, 0x83, 0x8b, 0x50, 0x07, 0x86,
0x0c, 0xc5, 0x06, 0xba, 0x75, 0x2b, 0x30, 0x94, 0x4e, 0x15, 0x63, 0x17, 0xe4, 0x04, 0xd7, 0x58, 0x62, 0x03, 0xdd, 0xba, 0x15, 0x18, 0x4a, 0xa7, 0x8a, 0xb1, 0x0b, 0x4a, 0x82, 0x6b, 0x2c, 0x05,
0x0d, 0xbe, 0x11, 0x31, 0x50, 0xde, 0xa2, 0x2f, 0xd1, 0x37, 0x60, 0xeb, 0x0b, 0x20, 0x26, 0xc6, 0xbf, 0x88, 0x18, 0x28, 0x9c, 0xa2, 0x97, 0xe8, 0x0d, 0xd8, 0x7a, 0x01, 0xc4, 0xc4, 0xd8, 0xa9,
0x4e, 0x55, 0x1b, 0x5e, 0xa4, 0x22, 0x09, 0x16, 0x5b, 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, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x1b, 0x11, 0x1c, 0x43, 0x02, 0x00, 0x00,
0x00,
} }
func (m *CommitteeChangeProposal) Marshal() (dAtA []byte, err error) { func (m *CommitteeChangeProposal) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/committee/v1beta1/query.proto // source: zgc/committee/v1beta1/query.proto
package types package types
@ -45,7 +45,7 @@ func (m *QueryCommitteesRequest) Reset() { *m = QueryCommitteesRequest{}
func (m *QueryCommitteesRequest) String() string { return proto.CompactTextString(m) } func (m *QueryCommitteesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCommitteesRequest) ProtoMessage() {} func (*QueryCommitteesRequest) ProtoMessage() {}
func (*QueryCommitteesRequest) Descriptor() ([]byte, []int) { func (*QueryCommitteesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{0} return fileDescriptor_32c24238147f1ffb, []int{0}
} }
func (m *QueryCommitteesRequest) XXX_Unmarshal(b []byte) error { func (m *QueryCommitteesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -83,7 +83,7 @@ func (m *QueryCommitteesResponse) Reset() { *m = QueryCommitteesResponse
func (m *QueryCommitteesResponse) String() string { return proto.CompactTextString(m) } func (m *QueryCommitteesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCommitteesResponse) ProtoMessage() {} func (*QueryCommitteesResponse) ProtoMessage() {}
func (*QueryCommitteesResponse) Descriptor() ([]byte, []int) { func (*QueryCommitteesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{1} return fileDescriptor_32c24238147f1ffb, []int{1}
} }
func (m *QueryCommitteesResponse) XXX_Unmarshal(b []byte) error { func (m *QueryCommitteesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -121,7 +121,7 @@ func (m *QueryCommitteeRequest) Reset() { *m = QueryCommitteeRequest{} }
func (m *QueryCommitteeRequest) String() string { return proto.CompactTextString(m) } func (m *QueryCommitteeRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCommitteeRequest) ProtoMessage() {} func (*QueryCommitteeRequest) ProtoMessage() {}
func (*QueryCommitteeRequest) Descriptor() ([]byte, []int) { func (*QueryCommitteeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{2} return fileDescriptor_32c24238147f1ffb, []int{2}
} }
func (m *QueryCommitteeRequest) XXX_Unmarshal(b []byte) error { func (m *QueryCommitteeRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -159,7 +159,7 @@ func (m *QueryCommitteeResponse) Reset() { *m = QueryCommitteeResponse{}
func (m *QueryCommitteeResponse) String() string { return proto.CompactTextString(m) } func (m *QueryCommitteeResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCommitteeResponse) ProtoMessage() {} func (*QueryCommitteeResponse) ProtoMessage() {}
func (*QueryCommitteeResponse) Descriptor() ([]byte, []int) { func (*QueryCommitteeResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{3} return fileDescriptor_32c24238147f1ffb, []int{3}
} }
func (m *QueryCommitteeResponse) XXX_Unmarshal(b []byte) error { func (m *QueryCommitteeResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -197,7 +197,7 @@ func (m *QueryProposalsRequest) Reset() { *m = QueryProposalsRequest{} }
func (m *QueryProposalsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryProposalsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryProposalsRequest) ProtoMessage() {} func (*QueryProposalsRequest) ProtoMessage() {}
func (*QueryProposalsRequest) Descriptor() ([]byte, []int) { func (*QueryProposalsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{4} return fileDescriptor_32c24238147f1ffb, []int{4}
} }
func (m *QueryProposalsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryProposalsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -235,7 +235,7 @@ func (m *QueryProposalsResponse) Reset() { *m = QueryProposalsResponse{}
func (m *QueryProposalsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryProposalsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryProposalsResponse) ProtoMessage() {} func (*QueryProposalsResponse) ProtoMessage() {}
func (*QueryProposalsResponse) Descriptor() ([]byte, []int) { func (*QueryProposalsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{5} return fileDescriptor_32c24238147f1ffb, []int{5}
} }
func (m *QueryProposalsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryProposalsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -273,7 +273,7 @@ func (m *QueryProposalRequest) Reset() { *m = QueryProposalRequest{} }
func (m *QueryProposalRequest) String() string { return proto.CompactTextString(m) } func (m *QueryProposalRequest) String() string { return proto.CompactTextString(m) }
func (*QueryProposalRequest) ProtoMessage() {} func (*QueryProposalRequest) ProtoMessage() {}
func (*QueryProposalRequest) Descriptor() ([]byte, []int) { func (*QueryProposalRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{6} return fileDescriptor_32c24238147f1ffb, []int{6}
} }
func (m *QueryProposalRequest) XXX_Unmarshal(b []byte) error { func (m *QueryProposalRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -314,7 +314,7 @@ func (m *QueryProposalResponse) Reset() { *m = QueryProposalResponse{} }
func (m *QueryProposalResponse) String() string { return proto.CompactTextString(m) } func (m *QueryProposalResponse) String() string { return proto.CompactTextString(m) }
func (*QueryProposalResponse) ProtoMessage() {} func (*QueryProposalResponse) ProtoMessage() {}
func (*QueryProposalResponse) Descriptor() ([]byte, []int) { func (*QueryProposalResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{7} return fileDescriptor_32c24238147f1ffb, []int{7}
} }
func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error { func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -351,7 +351,7 @@ func (m *QueryNextProposalIDRequest) Reset() { *m = QueryNextProposalIDR
func (m *QueryNextProposalIDRequest) String() string { return proto.CompactTextString(m) } func (m *QueryNextProposalIDRequest) String() string { return proto.CompactTextString(m) }
func (*QueryNextProposalIDRequest) ProtoMessage() {} func (*QueryNextProposalIDRequest) ProtoMessage() {}
func (*QueryNextProposalIDRequest) Descriptor() ([]byte, []int) { func (*QueryNextProposalIDRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{8} return fileDescriptor_32c24238147f1ffb, []int{8}
} }
func (m *QueryNextProposalIDRequest) XXX_Unmarshal(b []byte) error { func (m *QueryNextProposalIDRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -389,7 +389,7 @@ func (m *QueryNextProposalIDResponse) Reset() { *m = QueryNextProposalID
func (m *QueryNextProposalIDResponse) String() string { return proto.CompactTextString(m) } func (m *QueryNextProposalIDResponse) String() string { return proto.CompactTextString(m) }
func (*QueryNextProposalIDResponse) ProtoMessage() {} func (*QueryNextProposalIDResponse) ProtoMessage() {}
func (*QueryNextProposalIDResponse) Descriptor() ([]byte, []int) { func (*QueryNextProposalIDResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{9} return fileDescriptor_32c24238147f1ffb, []int{9}
} }
func (m *QueryNextProposalIDResponse) XXX_Unmarshal(b []byte) error { func (m *QueryNextProposalIDResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -428,7 +428,7 @@ func (m *QueryVotesRequest) Reset() { *m = QueryVotesRequest{} }
func (m *QueryVotesRequest) String() string { return proto.CompactTextString(m) } func (m *QueryVotesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryVotesRequest) ProtoMessage() {} func (*QueryVotesRequest) ProtoMessage() {}
func (*QueryVotesRequest) Descriptor() ([]byte, []int) { func (*QueryVotesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{10} return fileDescriptor_32c24238147f1ffb, []int{10}
} }
func (m *QueryVotesRequest) XXX_Unmarshal(b []byte) error { func (m *QueryVotesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -469,7 +469,7 @@ func (m *QueryVotesResponse) Reset() { *m = QueryVotesResponse{} }
func (m *QueryVotesResponse) String() string { return proto.CompactTextString(m) } func (m *QueryVotesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryVotesResponse) ProtoMessage() {} func (*QueryVotesResponse) ProtoMessage() {}
func (*QueryVotesResponse) Descriptor() ([]byte, []int) { func (*QueryVotesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{11} return fileDescriptor_32c24238147f1ffb, []int{11}
} }
func (m *QueryVotesResponse) XXX_Unmarshal(b []byte) error { func (m *QueryVotesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -508,7 +508,7 @@ func (m *QueryVoteRequest) Reset() { *m = QueryVoteRequest{} }
func (m *QueryVoteRequest) String() string { return proto.CompactTextString(m) } func (m *QueryVoteRequest) String() string { return proto.CompactTextString(m) }
func (*QueryVoteRequest) ProtoMessage() {} func (*QueryVoteRequest) ProtoMessage() {}
func (*QueryVoteRequest) Descriptor() ([]byte, []int) { func (*QueryVoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{12} return fileDescriptor_32c24238147f1ffb, []int{12}
} }
func (m *QueryVoteRequest) XXX_Unmarshal(b []byte) error { func (m *QueryVoteRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -541,14 +541,14 @@ var xxx_messageInfo_QueryVoteRequest proto.InternalMessageInfo
type QueryVoteResponse struct { type QueryVoteResponse struct {
ProposalID uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` ProposalID uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"` Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
VoteType VoteType `protobuf:"varint,3,opt,name=vote_type,json=voteType,proto3,enum=kava.committee.v1beta1.VoteType" json:"vote_type,omitempty"` VoteType VoteType `protobuf:"varint,3,opt,name=vote_type,json=voteType,proto3,enum=zgc.committee.v1beta1.VoteType" json:"vote_type,omitempty"`
} }
func (m *QueryVoteResponse) Reset() { *m = QueryVoteResponse{} } func (m *QueryVoteResponse) Reset() { *m = QueryVoteResponse{} }
func (m *QueryVoteResponse) String() string { return proto.CompactTextString(m) } func (m *QueryVoteResponse) String() string { return proto.CompactTextString(m) }
func (*QueryVoteResponse) ProtoMessage() {} func (*QueryVoteResponse) ProtoMessage() {}
func (*QueryVoteResponse) Descriptor() ([]byte, []int) { func (*QueryVoteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{13} return fileDescriptor_32c24238147f1ffb, []int{13}
} }
func (m *QueryVoteResponse) XXX_Unmarshal(b []byte) error { func (m *QueryVoteResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -586,7 +586,7 @@ func (m *QueryTallyRequest) Reset() { *m = QueryTallyRequest{} }
func (m *QueryTallyRequest) String() string { return proto.CompactTextString(m) } func (m *QueryTallyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTallyRequest) ProtoMessage() {} func (*QueryTallyRequest) ProtoMessage() {}
func (*QueryTallyRequest) Descriptor() ([]byte, []int) { func (*QueryTallyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{14} return fileDescriptor_32c24238147f1ffb, []int{14}
} }
func (m *QueryTallyRequest) XXX_Unmarshal(b []byte) error { func (m *QueryTallyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -630,7 +630,7 @@ func (m *QueryTallyResponse) Reset() { *m = QueryTallyResponse{} }
func (m *QueryTallyResponse) String() string { return proto.CompactTextString(m) } func (m *QueryTallyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTallyResponse) ProtoMessage() {} func (*QueryTallyResponse) ProtoMessage() {}
func (*QueryTallyResponse) Descriptor() ([]byte, []int) { func (*QueryTallyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{15} return fileDescriptor_32c24238147f1ffb, []int{15}
} }
func (m *QueryTallyResponse) XXX_Unmarshal(b []byte) error { func (m *QueryTallyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -669,7 +669,7 @@ func (m *QueryRawParamsRequest) Reset() { *m = QueryRawParamsRequest{} }
func (m *QueryRawParamsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryRawParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRawParamsRequest) ProtoMessage() {} func (*QueryRawParamsRequest) ProtoMessage() {}
func (*QueryRawParamsRequest) Descriptor() ([]byte, []int) { func (*QueryRawParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{16} return fileDescriptor_32c24238147f1ffb, []int{16}
} }
func (m *QueryRawParamsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryRawParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -707,7 +707,7 @@ func (m *QueryRawParamsResponse) Reset() { *m = QueryRawParamsResponse{}
func (m *QueryRawParamsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryRawParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryRawParamsResponse) ProtoMessage() {} func (*QueryRawParamsResponse) ProtoMessage() {}
func (*QueryRawParamsResponse) Descriptor() ([]byte, []int) { func (*QueryRawParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_b81d271efeb6eee5, []int{17} return fileDescriptor_32c24238147f1ffb, []int{17}
} }
func (m *QueryRawParamsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryRawParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -737,109 +737,107 @@ func (m *QueryRawParamsResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryRawParamsResponse proto.InternalMessageInfo var xxx_messageInfo_QueryRawParamsResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*QueryCommitteesRequest)(nil), "kava.committee.v1beta1.QueryCommitteesRequest") proto.RegisterType((*QueryCommitteesRequest)(nil), "zgc.committee.v1beta1.QueryCommitteesRequest")
proto.RegisterType((*QueryCommitteesResponse)(nil), "kava.committee.v1beta1.QueryCommitteesResponse") proto.RegisterType((*QueryCommitteesResponse)(nil), "zgc.committee.v1beta1.QueryCommitteesResponse")
proto.RegisterType((*QueryCommitteeRequest)(nil), "kava.committee.v1beta1.QueryCommitteeRequest") proto.RegisterType((*QueryCommitteeRequest)(nil), "zgc.committee.v1beta1.QueryCommitteeRequest")
proto.RegisterType((*QueryCommitteeResponse)(nil), "kava.committee.v1beta1.QueryCommitteeResponse") proto.RegisterType((*QueryCommitteeResponse)(nil), "zgc.committee.v1beta1.QueryCommitteeResponse")
proto.RegisterType((*QueryProposalsRequest)(nil), "kava.committee.v1beta1.QueryProposalsRequest") proto.RegisterType((*QueryProposalsRequest)(nil), "zgc.committee.v1beta1.QueryProposalsRequest")
proto.RegisterType((*QueryProposalsResponse)(nil), "kava.committee.v1beta1.QueryProposalsResponse") proto.RegisterType((*QueryProposalsResponse)(nil), "zgc.committee.v1beta1.QueryProposalsResponse")
proto.RegisterType((*QueryProposalRequest)(nil), "kava.committee.v1beta1.QueryProposalRequest") proto.RegisterType((*QueryProposalRequest)(nil), "zgc.committee.v1beta1.QueryProposalRequest")
proto.RegisterType((*QueryProposalResponse)(nil), "kava.committee.v1beta1.QueryProposalResponse") proto.RegisterType((*QueryProposalResponse)(nil), "zgc.committee.v1beta1.QueryProposalResponse")
proto.RegisterType((*QueryNextProposalIDRequest)(nil), "kava.committee.v1beta1.QueryNextProposalIDRequest") proto.RegisterType((*QueryNextProposalIDRequest)(nil), "zgc.committee.v1beta1.QueryNextProposalIDRequest")
proto.RegisterType((*QueryNextProposalIDResponse)(nil), "kava.committee.v1beta1.QueryNextProposalIDResponse") proto.RegisterType((*QueryNextProposalIDResponse)(nil), "zgc.committee.v1beta1.QueryNextProposalIDResponse")
proto.RegisterType((*QueryVotesRequest)(nil), "kava.committee.v1beta1.QueryVotesRequest") proto.RegisterType((*QueryVotesRequest)(nil), "zgc.committee.v1beta1.QueryVotesRequest")
proto.RegisterType((*QueryVotesResponse)(nil), "kava.committee.v1beta1.QueryVotesResponse") proto.RegisterType((*QueryVotesResponse)(nil), "zgc.committee.v1beta1.QueryVotesResponse")
proto.RegisterType((*QueryVoteRequest)(nil), "kava.committee.v1beta1.QueryVoteRequest") proto.RegisterType((*QueryVoteRequest)(nil), "zgc.committee.v1beta1.QueryVoteRequest")
proto.RegisterType((*QueryVoteResponse)(nil), "kava.committee.v1beta1.QueryVoteResponse") proto.RegisterType((*QueryVoteResponse)(nil), "zgc.committee.v1beta1.QueryVoteResponse")
proto.RegisterType((*QueryTallyRequest)(nil), "kava.committee.v1beta1.QueryTallyRequest") proto.RegisterType((*QueryTallyRequest)(nil), "zgc.committee.v1beta1.QueryTallyRequest")
proto.RegisterType((*QueryTallyResponse)(nil), "kava.committee.v1beta1.QueryTallyResponse") proto.RegisterType((*QueryTallyResponse)(nil), "zgc.committee.v1beta1.QueryTallyResponse")
proto.RegisterType((*QueryRawParamsRequest)(nil), "kava.committee.v1beta1.QueryRawParamsRequest") proto.RegisterType((*QueryRawParamsRequest)(nil), "zgc.committee.v1beta1.QueryRawParamsRequest")
proto.RegisterType((*QueryRawParamsResponse)(nil), "kava.committee.v1beta1.QueryRawParamsResponse") proto.RegisterType((*QueryRawParamsResponse)(nil), "zgc.committee.v1beta1.QueryRawParamsResponse")
} }
func init() { func init() { proto.RegisterFile("zgc/committee/v1beta1/query.proto", fileDescriptor_32c24238147f1ffb) }
proto.RegisterFile("kava/committee/v1beta1/query.proto", fileDescriptor_b81d271efeb6eee5)
}
var fileDescriptor_b81d271efeb6eee5 = []byte{ var fileDescriptor_32c24238147f1ffb = []byte{
// 1217 bytes of a gzipped FileDescriptorProto // 1218 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xc1, 0x6f, 0xe3, 0xc4, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x41, 0x6f, 0x1b, 0x45,
0x17, 0xc7, 0xeb, 0x34, 0xed, 0x26, 0x2f, 0xdb, 0xfe, 0xfa, 0x1b, 0x95, 0x92, 0x86, 0x55, 0xd2, 0x14, 0xc7, 0xb3, 0x8e, 0x93, 0xd8, 0xe3, 0x24, 0x84, 0x51, 0x5a, 0x1c, 0x53, 0xd9, 0xed, 0x22,
0x35, 0xab, 0xa5, 0x5b, 0x6d, 0xec, 0x36, 0x05, 0x55, 0x20, 0x2a, 0xd8, 0xb4, 0x5d, 0x14, 0x90, 0x92, 0x00, 0xd9, 0xdd, 0xc6, 0x69, 0x55, 0x41, 0x8b, 0x44, 0x1c, 0x53, 0x64, 0x90, 0x50, 0x58,
0x50, 0xd7, 0x14, 0x0e, 0xac, 0x44, 0x34, 0x89, 0x67, 0x53, 0xab, 0x89, 0xed, 0x7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 0xe9, 0xe6, 0xa5, 0x67, 0xdd, 0xbc, 0xf4, 0x77,
0x67, 0xf9, 0xb1, 0x3f, 0xce, 0xf2, 0x63, 0x9f, 0xdf, 0x0f, 0xb5, 0x9f, 0xe5, 0x46, 0x13, 0xd7, 0x37, 0x2f, 0x3d, 0x3a, 0xcd, 0x4f, 0x3c, 0x3b, 0xcd, 0x4f, 0xfc, 0x71, 0x9a, 0x9f, 0xf8, 0x6c,
0xa8, 0xba, 0xdc, 0x28, 0xd6, 0x77, 0xb1, 0x61, 0xaa, 0x47, 0x21, 0x61, 0xd6, 0x88, 0x6a, 0x93, 0x2d, 0xd2, 0x90, 0xae, 0x9b, 0x0d, 0x54, 0x23, 0x3d, 0xd9, 0xc3, 0x88, 0x30, 0x6d, 0x4d, 0xb5,
0x6c, 0x18, 0x5f, 0xfd, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x04, 0xf9, 0xa1, 0x50, 0x8b, 0x0f, 0x00, 0x69, 0x3a, 0x9c, 0x6f, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0x77, 0x18, 0x08, 0xca, 0x97, 0x0f,
0x00, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -884,7 +882,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Committees(ctx context.Context, in *QueryCommitteesRequest, opts ...grpc.CallOption) (*QueryCommitteesResponse, error) { func (c *queryClient) Committees(ctx context.Context, in *QueryCommitteesRequest, opts ...grpc.CallOption) (*QueryCommitteesResponse, error) {
out := new(QueryCommitteesResponse) out := new(QueryCommitteesResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Committees", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Committees", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -893,7 +891,7 @@ func (c *queryClient) Committees(ctx context.Context, in *QueryCommitteesRequest
func (c *queryClient) Committee(ctx context.Context, in *QueryCommitteeRequest, opts ...grpc.CallOption) (*QueryCommitteeResponse, error) { func (c *queryClient) Committee(ctx context.Context, in *QueryCommitteeRequest, opts ...grpc.CallOption) (*QueryCommitteeResponse, error) {
out := new(QueryCommitteeResponse) out := new(QueryCommitteeResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Committee", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Committee", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -902,7 +900,7 @@ func (c *queryClient) Committee(ctx context.Context, in *QueryCommitteeRequest,
func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) { func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) {
out := new(QueryProposalsResponse) out := new(QueryProposalsResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Proposals", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Proposals", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -911,7 +909,7 @@ func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest,
func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) { func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) {
out := new(QueryProposalResponse) out := new(QueryProposalResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Proposal", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Proposal", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -920,7 +918,7 @@ func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, op
func (c *queryClient) NextProposalID(ctx context.Context, in *QueryNextProposalIDRequest, opts ...grpc.CallOption) (*QueryNextProposalIDResponse, error) { func (c *queryClient) NextProposalID(ctx context.Context, in *QueryNextProposalIDRequest, opts ...grpc.CallOption) (*QueryNextProposalIDResponse, error) {
out := new(QueryNextProposalIDResponse) out := new(QueryNextProposalIDResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/NextProposalID", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/NextProposalID", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -929,7 +927,7 @@ func (c *queryClient) NextProposalID(ctx context.Context, in *QueryNextProposalI
func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) { func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) {
out := new(QueryVotesResponse) out := new(QueryVotesResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Votes", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Votes", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -938,7 +936,7 @@ func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...
func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) { func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) {
out := new(QueryVoteResponse) out := new(QueryVoteResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Vote", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Vote", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -947,7 +945,7 @@ func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...gr
func (c *queryClient) Tally(ctx context.Context, in *QueryTallyRequest, opts ...grpc.CallOption) (*QueryTallyResponse, error) { func (c *queryClient) Tally(ctx context.Context, in *QueryTallyRequest, opts ...grpc.CallOption) (*QueryTallyResponse, error) {
out := new(QueryTallyResponse) out := new(QueryTallyResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/Tally", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/Tally", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -956,7 +954,7 @@ func (c *queryClient) Tally(ctx context.Context, in *QueryTallyRequest, opts ...
func (c *queryClient) RawParams(ctx context.Context, in *QueryRawParamsRequest, opts ...grpc.CallOption) (*QueryRawParamsResponse, error) { func (c *queryClient) RawParams(ctx context.Context, in *QueryRawParamsRequest, opts ...grpc.CallOption) (*QueryRawParamsResponse, error) {
out := new(QueryRawParamsResponse) out := new(QueryRawParamsResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Query/RawParams", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Query/RawParams", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1031,7 +1029,7 @@ func _Query_Committees_Handler(srv interface{}, ctx context.Context, dec func(in
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Committees", FullMethod: "/zgc.committee.v1beta1.Query/Committees",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Committees(ctx, req.(*QueryCommitteesRequest)) return srv.(QueryServer).Committees(ctx, req.(*QueryCommitteesRequest))
@ -1049,7 +1047,7 @@ func _Query_Committee_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Committee", FullMethod: "/zgc.committee.v1beta1.Query/Committee",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Committee(ctx, req.(*QueryCommitteeRequest)) return srv.(QueryServer).Committee(ctx, req.(*QueryCommitteeRequest))
@ -1067,7 +1065,7 @@ func _Query_Proposals_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Proposals", FullMethod: "/zgc.committee.v1beta1.Query/Proposals",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposals(ctx, req.(*QueryProposalsRequest)) return srv.(QueryServer).Proposals(ctx, req.(*QueryProposalsRequest))
@ -1085,7 +1083,7 @@ func _Query_Proposal_Handler(srv interface{}, ctx context.Context, dec func(inte
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Proposal", FullMethod: "/zgc.committee.v1beta1.Query/Proposal",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposal(ctx, req.(*QueryProposalRequest)) return srv.(QueryServer).Proposal(ctx, req.(*QueryProposalRequest))
@ -1103,7 +1101,7 @@ func _Query_NextProposalID_Handler(srv interface{}, ctx context.Context, dec fun
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/NextProposalID", FullMethod: "/zgc.committee.v1beta1.Query/NextProposalID",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).NextProposalID(ctx, req.(*QueryNextProposalIDRequest)) return srv.(QueryServer).NextProposalID(ctx, req.(*QueryNextProposalIDRequest))
@ -1121,7 +1119,7 @@ func _Query_Votes_Handler(srv interface{}, ctx context.Context, dec func(interfa
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Votes", FullMethod: "/zgc.committee.v1beta1.Query/Votes",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Votes(ctx, req.(*QueryVotesRequest)) return srv.(QueryServer).Votes(ctx, req.(*QueryVotesRequest))
@ -1139,7 +1137,7 @@ func _Query_Vote_Handler(srv interface{}, ctx context.Context, dec func(interfac
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Vote", FullMethod: "/zgc.committee.v1beta1.Query/Vote",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Vote(ctx, req.(*QueryVoteRequest)) return srv.(QueryServer).Vote(ctx, req.(*QueryVoteRequest))
@ -1157,7 +1155,7 @@ func _Query_Tally_Handler(srv interface{}, ctx context.Context, dec func(interfa
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/Tally", FullMethod: "/zgc.committee.v1beta1.Query/Tally",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Tally(ctx, req.(*QueryTallyRequest)) return srv.(QueryServer).Tally(ctx, req.(*QueryTallyRequest))
@ -1175,7 +1173,7 @@ func _Query_RawParams_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Query/RawParams", FullMethod: "/zgc.committee.v1beta1.Query/RawParams",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).RawParams(ctx, req.(*QueryRawParamsRequest)) return srv.(QueryServer).RawParams(ctx, req.(*QueryRawParamsRequest))
@ -1184,7 +1182,7 @@ func _Query_RawParams_Handler(srv interface{}, ctx context.Context, dec func(int
} }
var _Query_serviceDesc = grpc.ServiceDesc{ var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.committee.v1beta1.Query", ServiceName: "zgc.committee.v1beta1.Query",
HandlerType: (*QueryServer)(nil), HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -1225,7 +1223,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/committee/v1beta1/query.proto", Metadata: "zgc/committee/v1beta1/query.proto",
} }
func (m *QueryCommitteesRequest) Marshal() (dAtA []byte, err error) { func (m *QueryCommitteesRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/committee/v1beta1/query.proto // source: zgc/committee/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -889,23 +889,23 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_Committees_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "committee", "v1beta1", "committees"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Committees_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "committee", "v1beta1", "committees"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Committee_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "committee", "v1beta1", "committees", "committee_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Committee_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "committee", "v1beta1", "committees", "committee_id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Proposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "committee", "v1beta1", "proposals"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Proposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "committee", "v1beta1", "proposals"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Proposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "committee", "v1beta1", "proposals", "proposal_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Proposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "committee", "v1beta1", "proposals", "proposal_id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_NextProposalID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "committee", "v1beta1", "next-proposal-id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_NextProposalID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "committee", "v1beta1", "next-proposal-id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Votes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"kava", "committee", "v1beta1", "proposals", "proposal_id", "votes"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Votes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"0g-chain", "committee", "v1beta1", "proposals", "proposal_id", "votes"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Vote_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"kava", "committee", "v1beta1", "proposals", "proposal_id", "votes", "voter"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Vote_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"0g-chain", "committee", "v1beta1", "proposals", "proposal_id", "votes", "voter"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Tally_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"kava", "committee", "v1beta1", "proposals", "proposal_id", "tally"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Tally_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"0g-chain", "committee", "v1beta1", "proposals", "proposal_id", "tally"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_RawParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "committee", "v1beta1", "raw-params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_RawParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "committee", "v1beta1", "raw-params"}, "", runtime.AssumeColonVerbOpt(false)))
) )
var ( var (

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/committee/v1beta1/tx.proto // source: zgc/committee/v1beta1/tx.proto
package types package types
@ -41,7 +41,7 @@ func (m *MsgSubmitProposal) Reset() { *m = MsgSubmitProposal{} }
func (m *MsgSubmitProposal) String() string { return proto.CompactTextString(m) } func (m *MsgSubmitProposal) String() string { return proto.CompactTextString(m) }
func (*MsgSubmitProposal) ProtoMessage() {} func (*MsgSubmitProposal) ProtoMessage() {}
func (*MsgSubmitProposal) Descriptor() ([]byte, []int) { func (*MsgSubmitProposal) Descriptor() ([]byte, []int) {
return fileDescriptor_3f3857845b071606, []int{0} return fileDescriptor_323a2f7ecd37af6f, []int{0}
} }
func (m *MsgSubmitProposal) XXX_Unmarshal(b []byte) error { func (m *MsgSubmitProposal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -79,7 +79,7 @@ func (m *MsgSubmitProposalResponse) Reset() { *m = MsgSubmitProposalResp
func (m *MsgSubmitProposalResponse) String() string { return proto.CompactTextString(m) } func (m *MsgSubmitProposalResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSubmitProposalResponse) ProtoMessage() {} func (*MsgSubmitProposalResponse) ProtoMessage() {}
func (*MsgSubmitProposalResponse) Descriptor() ([]byte, []int) { func (*MsgSubmitProposalResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3f3857845b071606, []int{1} return fileDescriptor_323a2f7ecd37af6f, []int{1}
} }
func (m *MsgSubmitProposalResponse) XXX_Unmarshal(b []byte) error { func (m *MsgSubmitProposalResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -112,14 +112,14 @@ var xxx_messageInfo_MsgSubmitProposalResponse proto.InternalMessageInfo
type MsgVote struct { type MsgVote struct {
ProposalID uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` ProposalID uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"` Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
VoteType VoteType `protobuf:"varint,3,opt,name=vote_type,json=voteType,proto3,enum=kava.committee.v1beta1.VoteType" json:"vote_type,omitempty"` VoteType VoteType `protobuf:"varint,3,opt,name=vote_type,json=voteType,proto3,enum=zgc.committee.v1beta1.VoteType" json:"vote_type,omitempty"`
} }
func (m *MsgVote) Reset() { *m = MsgVote{} } func (m *MsgVote) Reset() { *m = MsgVote{} }
func (m *MsgVote) String() string { return proto.CompactTextString(m) } func (m *MsgVote) String() string { return proto.CompactTextString(m) }
func (*MsgVote) ProtoMessage() {} func (*MsgVote) ProtoMessage() {}
func (*MsgVote) Descriptor() ([]byte, []int) { func (*MsgVote) Descriptor() ([]byte, []int) {
return fileDescriptor_3f3857845b071606, []int{2} return fileDescriptor_323a2f7ecd37af6f, []int{2}
} }
func (m *MsgVote) XXX_Unmarshal(b []byte) error { func (m *MsgVote) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -156,7 +156,7 @@ func (m *MsgVoteResponse) Reset() { *m = MsgVoteResponse{} }
func (m *MsgVoteResponse) String() string { return proto.CompactTextString(m) } func (m *MsgVoteResponse) String() string { return proto.CompactTextString(m) }
func (*MsgVoteResponse) ProtoMessage() {} func (*MsgVoteResponse) ProtoMessage() {}
func (*MsgVoteResponse) Descriptor() ([]byte, []int) { func (*MsgVoteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3f3857845b071606, []int{3} return fileDescriptor_323a2f7ecd37af6f, []int{3}
} }
func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error { func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -186,45 +186,45 @@ func (m *MsgVoteResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*MsgSubmitProposal)(nil), "kava.committee.v1beta1.MsgSubmitProposal") proto.RegisterType((*MsgSubmitProposal)(nil), "zgc.committee.v1beta1.MsgSubmitProposal")
proto.RegisterType((*MsgSubmitProposalResponse)(nil), "kava.committee.v1beta1.MsgSubmitProposalResponse") proto.RegisterType((*MsgSubmitProposalResponse)(nil), "zgc.committee.v1beta1.MsgSubmitProposalResponse")
proto.RegisterType((*MsgVote)(nil), "kava.committee.v1beta1.MsgVote") proto.RegisterType((*MsgVote)(nil), "zgc.committee.v1beta1.MsgVote")
proto.RegisterType((*MsgVoteResponse)(nil), "kava.committee.v1beta1.MsgVoteResponse") proto.RegisterType((*MsgVoteResponse)(nil), "zgc.committee.v1beta1.MsgVoteResponse")
} }
func init() { proto.RegisterFile("kava/committee/v1beta1/tx.proto", fileDescriptor_3f3857845b071606) } func init() { proto.RegisterFile("zgc/committee/v1beta1/tx.proto", fileDescriptor_323a2f7ecd37af6f) }
var fileDescriptor_3f3857845b071606 = []byte{ var fileDescriptor_323a2f7ecd37af6f = []byte{
// 461 bytes of a gzipped FileDescriptorProto // 460 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0x6e, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4d, 0x6f, 0xd3, 0x40,
0x10, 0xc6, 0xb3, 0xb4, 0x40, 0x3b, 0xae, 0x52, 0xd5, 0x8a, 0x50, 0xe2, 0x83,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9, 0xfe, 0xde, 0x37, 0x7c, 0xe3, 0xe7, 0x17, 0x3f, 0x69, 0xe3, 0x22, 0xa3, 0xe4, 0x32, 0xa3, 0xe4,
0x96, 0xbb, 0xe4, 0xc3, 0xc6, 0x6d, 0x5c, 0x6e, 0xdc, 0xc6, 0xd7, 0x8d, 0xdb, 0x78, 0xf3, 0x48, 0x47, 0x46, 0xc9, 0xa7, 0x0d, 0x6d, 0x5c, 0x6e, 0x68, 0xe3, 0xfb, 0x86, 0x36, 0xde, 0x3f, 0x96,
0x84, 0xea, 0x2c, 0x09, 0xb4, 0x0e, 0x3b, 0x12, 0x4b, 0x3f, 0x90, 0xec, 0x48, 0x1c, 0xce, 0xcf, 0xa1, 0x3e, 0x4d, 0xfc, 0x9c, 0x87, 0x0f, 0xe5, 0xc2, 0xf3, 0x15, 0x1f, 0xca, 0xc3, 0xe0, 0xd4,
0xfc, 0x30, 0x62, 0xe7, 0x3f, 0xbd, 0x6b, 0x7d, 0x59, 0x19, 0xdc, 0x29, 0xde, 0xe4, 0xe3, 0x1f, 0x0b, 0x23, 0x7e, 0xf6, 0xdb, 0x97, 0xce, 0x8f, 0xaa, 0xfc, 0x7b, 0xc5, 0x77, 0x7c, 0xf2, 0x2b,
0x01, 0x00, 0x00, 0xff, 0xff, 0x26, 0x7f, 0xfc, 0x4c, 0x7b, 0x03, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xca, 0xbf, 0x24, 0x94, 0x73, 0x03, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -255,7 +255,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, opts ...grpc.CallOption) (*MsgSubmitProposalResponse, error) { func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, opts ...grpc.CallOption) (*MsgSubmitProposalResponse, error) {
out := new(MsgSubmitProposalResponse) out := new(MsgSubmitProposalResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Msg/SubmitProposal", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Msg/SubmitProposal", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -264,7 +264,7 @@ func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, o
func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) { func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) {
out := new(MsgVoteResponse) out := new(MsgVoteResponse)
err := c.cc.Invoke(ctx, "/kava.committee.v1beta1.Msg/Vote", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.committee.v1beta1.Msg/Vote", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -304,7 +304,7 @@ func _Msg_SubmitProposal_Handler(srv interface{}, ctx context.Context, dec func(
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Msg/SubmitProposal", FullMethod: "/zgc.committee.v1beta1.Msg/SubmitProposal",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SubmitProposal(ctx, req.(*MsgSubmitProposal)) return srv.(MsgServer).SubmitProposal(ctx, req.(*MsgSubmitProposal))
@ -322,7 +322,7 @@ func _Msg_Vote_Handler(srv interface{}, ctx context.Context, dec func(interface{
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.committee.v1beta1.Msg/Vote", FullMethod: "/zgc.committee.v1beta1.Msg/Vote",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Vote(ctx, req.(*MsgVote)) return srv.(MsgServer).Vote(ctx, req.(*MsgVote))
@ -331,7 +331,7 @@ func _Msg_Vote_Handler(srv interface{}, ctx context.Context, dec func(interface{
} }
var _Msg_serviceDesc = grpc.ServiceDesc{ var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.committee.v1beta1.Msg", ServiceName: "zgc.committee.v1beta1.Msg",
HandlerType: (*MsgServer)(nil), HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -344,7 +344,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/committee/v1beta1/tx.proto", Metadata: "zgc/committee/v1beta1/tx.proto",
} }
func (m *MsgSubmitProposal) Marshal() (dAtA []byte, err error) { func (m *MsgSubmitProposal) Marshal() (dAtA []byte, err error) {

View File

@ -40,7 +40,7 @@ func (s *genesisTestSuite) TestInitGenesis_SetAccounts() {
func (s *genesisTestSuite) TestInitGenesis_SetParams() { func (s *genesisTestSuite) TestInitGenesis_SetParams() {
params := types.DefaultParams() params := types.DefaultParams()
conversionPair := types.ConversionPair{ conversionPair := types.ConversionPair{
KavaERC20Address: testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").Bytes(), ZgChainERC20Address: testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").Bytes(),
Denom: "weth", Denom: "weth",
} }
params.EnabledConversionPairs = []types.ConversionPair{conversionPair} params.EnabledConversionPairs = []types.ConversionPair{conversionPair}
@ -92,7 +92,7 @@ func (s *genesisTestSuite) TestExportGenesis() {
params := types.DefaultParams() params := types.DefaultParams()
params.EnabledConversionPairs = []types.ConversionPair{ params.EnabledConversionPairs = []types.ConversionPair{
{ {
KavaERC20Address: testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").Bytes(), ZgChainERC20Address: testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").Bytes(),
Denom: "weth"}, Denom: "weth"},
} }
params.AllowedCosmosDenoms = []types.AllowedCosmosCoinERC20Token{ params.AllowedCosmosDenoms = []types.AllowedCosmosCoinERC20Token{

View File

@ -81,7 +81,7 @@ func (s msgServer) ConvertERC20ToCoin(
return nil, fmt.Errorf("invalid receiver address: %w", err) return nil, fmt.Errorf("invalid receiver address: %w", err)
} }
contractAddr, err := types.NewInternalEVMAddressFromString(msg.KavaERC20Address) contractAddr, err := types.NewInternalEVMAddressFromString(msg.ZgChainERC20Address)
if err != nil { if err != nil {
return nil, fmt.Errorf("invalid contract address: %w", err) return nil, fmt.Errorf("invalid contract address: %w", err)
} }

View File

@ -200,7 +200,7 @@ func (suite *MsgServerSuite) TestConvertERC20ToCoin_Bep3() {
msg: types.MsgConvertERC20ToCoin{ msg: types.MsgConvertERC20ToCoin{
Initiator: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc", Initiator: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc",
Receiver: invokerCosmosAddr.String(), Receiver: invokerCosmosAddr.String(),
KavaERC20Address: contractAddr.String(), ZgChainERC20Address: contractAddr.String(),
Amount: sdkmath.NewInt(12e8), Amount: sdkmath.NewInt(12e8),
}, },
userErc20Balance: sdkmath.NewInt(2e18), userErc20Balance: sdkmath.NewInt(2e18),
@ -214,7 +214,7 @@ func (suite *MsgServerSuite) TestConvertERC20ToCoin_Bep3() {
msg: types.MsgConvertERC20ToCoin{ msg: types.MsgConvertERC20ToCoin{
Initiator: invoker.String(), Initiator: invoker.String(),
Receiver: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc", Receiver: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc",
KavaERC20Address: contractAddr.String(), ZgChainERC20Address: contractAddr.String(),
Amount: sdkmath.NewInt(12e8), Amount: sdkmath.NewInt(12e8),
}, },
userErc20Balance: sdkmath.NewInt(2e18), userErc20Balance: sdkmath.NewInt(2e18),
@ -228,7 +228,7 @@ func (suite *MsgServerSuite) TestConvertERC20ToCoin_Bep3() {
msg: types.MsgConvertERC20ToCoin{ msg: types.MsgConvertERC20ToCoin{
Initiator: invoker.String(), Initiator: invoker.String(),
Receiver: invokerCosmosAddr.String(), Receiver: invokerCosmosAddr.String(),
KavaERC20Address: invokerCosmosAddr.String(), ZgChainERC20Address: invokerCosmosAddr.String(),
Amount: sdkmath.NewInt(12e8), Amount: sdkmath.NewInt(12e8),
}, },
userErc20Balance: sdkmath.NewInt(2e18), userErc20Balance: sdkmath.NewInt(2e18),

View File

@ -187,7 +187,7 @@ func (suite *MsgServerSuite) TestConvertERC20ToCoin() {
types.MsgConvertERC20ToCoin{ types.MsgConvertERC20ToCoin{
Initiator: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc", Initiator: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc",
Receiver: invokerCosmosAddr.String(), Receiver: invokerCosmosAddr.String(),
KavaERC20Address: contractAddr.String(), ZgChainERC20Address: contractAddr.String(),
Amount: sdkmath.NewInt(10_000), Amount: sdkmath.NewInt(10_000),
}, },
math.MaxBig256, math.MaxBig256,

View File

@ -39,7 +39,7 @@ func (k Keeper) GetEnabledConversionPairFromERC20Address(
) (types.ConversionPair, error) { ) (types.ConversionPair, error) {
params := k.GetParams(ctx) params := k.GetParams(ctx)
for _, pair := range params.EnabledConversionPairs { for _, pair := range params.EnabledConversionPairs {
if bytes.Equal(pair.KavaERC20Address, address.Bytes()) { if bytes.Equal(pair.ZgChainERC20Address, address.Bytes()) {
return pair, nil return pair, nil
} }
} }

View File

@ -23,7 +23,7 @@ func TestParamsSuite(t *testing.T) {
func (suite *ParamsTestSuite) TestEnabledConversionPair() { func (suite *ParamsTestSuite) TestEnabledConversionPair() {
pairAddr := testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2") pairAddr := testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2")
expPair := types.ConversionPair{ expPair := types.ConversionPair{
KavaERC20Address: pairAddr.Bytes(), ZgChainERC20Address: pairAddr.Bytes(),
Denom: "weth", Denom: "weth",
} }
params := types.DefaultParams() params := types.DefaultParams()

View File

@ -18,14 +18,14 @@ import (
// NewConversionPair returns a new ConversionPair. // NewConversionPair returns a new ConversionPair.
func NewConversionPair(address InternalEVMAddress, denom string) ConversionPair { func NewConversionPair(address InternalEVMAddress, denom string) ConversionPair {
return ConversionPair{ return ConversionPair{
KavaERC20Address: address.Address.Bytes(), ZgChainERC20Address: address.Address.Bytes(),
Denom: denom, Denom: denom,
} }
} }
// GetAddress returns the InternalEVMAddress of the Kava ERC20 address. // GetAddress returns the InternalEVMAddress of the Kava ERC20 address.
func (pair ConversionPair) GetAddress() InternalEVMAddress { func (pair ConversionPair) GetAddress() InternalEVMAddress {
return NewInternalEVMAddress(common.BytesToAddress(pair.KavaERC20Address)) return NewInternalEVMAddress(common.BytesToAddress(pair.ZgChainERC20Address))
} }
// Validate returns an error if the ConversionPair is invalid. // Validate returns an error if the ConversionPair is invalid.
@ -34,12 +34,12 @@ func (pair ConversionPair) Validate() error {
return fmt.Errorf("conversion pair denom invalid: %v", err) return fmt.Errorf("conversion pair denom invalid: %v", err)
} }
if len(pair.KavaERC20Address) != common.AddressLength { if len(pair.ZgChainERC20Address) != common.AddressLength {
return fmt.Errorf("address length is %v but expected %v", len(pair.KavaERC20Address), common.AddressLength) return fmt.Errorf("address length is %v but expected %v", len(pair.ZgChainERC20Address), common.AddressLength)
} }
if bytes.Equal(pair.KavaERC20Address, common.Address{}.Bytes()) { if bytes.Equal(pair.ZgChainERC20Address, common.Address{}.Bytes()) {
return fmt.Errorf("address cannot be zero value %v", hex.EncodeToString(pair.KavaERC20Address)) return fmt.Errorf("address cannot be zero value %v", hex.EncodeToString(pair.ZgChainERC20Address))
} }
return nil return nil
@ -59,10 +59,10 @@ func (pairs ConversionPairs) Validate() error {
denoms := map[string]bool{} denoms := map[string]bool{}
for _, pair := range pairs { for _, pair := range pairs {
if addrs[hex.EncodeToString(pair.KavaERC20Address)] { if addrs[hex.EncodeToString(pair.ZgChainERC20Address)] {
return fmt.Errorf( return fmt.Errorf(
"found duplicate enabled conversion pair internal ERC20 address %s", "found duplicate enabled conversion pair internal ERC20 address %s",
hex.EncodeToString(pair.KavaERC20Address), hex.EncodeToString(pair.ZgChainERC20Address),
) )
} }
@ -77,7 +77,7 @@ func (pairs ConversionPairs) Validate() error {
return err return err
} }
addrs[hex.EncodeToString(pair.KavaERC20Address)] = true addrs[hex.EncodeToString(pair.ZgChainERC20Address)] = true
denoms[pair.Denom] = true denoms[pair.Denom] = true
} }

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/evmutil/v1beta1/conversion_pair.proto // source: zgc/evmutil/v1beta1/conversion_pair.proto
package types package types
@ -24,11 +24,11 @@ var _ = math.Inf
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// ConversionPair defines a Kava ERC20 address and corresponding denom that is // ConversionPair defines a 0gChain ERC20 address and corresponding denom that is
// allowed to be converted between ERC20 and sdk.Coin // allowed to be converted between ERC20 and sdk.Coin
type ConversionPair struct { type ConversionPair struct {
// ERC20 address of the token on the Kava EVM // ERC20 address of the token on the 0gChain EVM
KavaERC20Address HexBytes `protobuf:"bytes,1,opt,name=kava_erc20_address,json=kavaErc20Address,proto3,casttype=HexBytes" json:"kava_erc20_address,omitempty"` ZgChainERC20Address HexBytes `protobuf:"bytes,1,opt,name=zgChain_erc20_address,json=zgChainErc20Address,proto3,casttype=HexBytes" json:"zgChain_erc20_address,omitempty"`
// Denom of the corresponding sdk.Coin // Denom of the corresponding sdk.Coin
Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
} }
@ -37,7 +37,7 @@ func (m *ConversionPair) Reset() { *m = ConversionPair{} }
func (m *ConversionPair) String() string { return proto.CompactTextString(m) } func (m *ConversionPair) String() string { return proto.CompactTextString(m) }
func (*ConversionPair) ProtoMessage() {} func (*ConversionPair) ProtoMessage() {}
func (*ConversionPair) Descriptor() ([]byte, []int) { func (*ConversionPair) Descriptor() ([]byte, []int) {
return fileDescriptor_e1396d08199817d0, []int{0} return fileDescriptor_6bad9d4ffa6874ec, []int{0}
} }
func (m *ConversionPair) XXX_Unmarshal(b []byte) error { func (m *ConversionPair) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -85,7 +85,7 @@ func (m *AllowedCosmosCoinERC20Token) Reset() { *m = AllowedCosmosCoinER
func (m *AllowedCosmosCoinERC20Token) String() string { return proto.CompactTextString(m) } func (m *AllowedCosmosCoinERC20Token) String() string { return proto.CompactTextString(m) }
func (*AllowedCosmosCoinERC20Token) ProtoMessage() {} func (*AllowedCosmosCoinERC20Token) ProtoMessage() {}
func (*AllowedCosmosCoinERC20Token) Descriptor() ([]byte, []int) { func (*AllowedCosmosCoinERC20Token) Descriptor() ([]byte, []int) {
return fileDescriptor_e1396d08199817d0, []int{1} return fileDescriptor_6bad9d4ffa6874ec, []int{1}
} }
func (m *AllowedCosmosCoinERC20Token) XXX_Unmarshal(b []byte) error { func (m *AllowedCosmosCoinERC20Token) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -115,39 +115,39 @@ func (m *AllowedCosmosCoinERC20Token) XXX_DiscardUnknown() {
var xxx_messageInfo_AllowedCosmosCoinERC20Token proto.InternalMessageInfo var xxx_messageInfo_AllowedCosmosCoinERC20Token proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*ConversionPair)(nil), "kava.evmutil.v1beta1.ConversionPair") proto.RegisterType((*ConversionPair)(nil), "zgc.evmutil.v1beta1.ConversionPair")
proto.RegisterType((*AllowedCosmosCoinERC20Token)(nil), "kava.evmutil.v1beta1.AllowedCosmosCoinERC20Token") proto.RegisterType((*AllowedCosmosCoinERC20Token)(nil), "zgc.evmutil.v1beta1.AllowedCosmosCoinERC20Token")
} }
func init() { func init() {
proto.RegisterFile("kava/evmutil/v1beta1/conversion_pair.proto", fileDescriptor_e1396d08199817d0) proto.RegisterFile("zgc/evmutil/v1beta1/conversion_pair.proto", fileDescriptor_6bad9d4ffa6874ec)
} }
var fileDescriptor_e1396d08199817d0 = []byte{ var fileDescriptor_6bad9d4ffa6874ec = []byte{
// 361 bytes of a gzipped FileDescriptorProto // 363 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x91, 0xc1, 0x4a, 0xeb, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x91, 0x3f, 0x4f, 0xf2, 0x40,
0x18, 0x85, 0x33, 0xf7, 0xf6, 0x96, 0xde, 0xb9, 0xbd, 0x52, 0x86, 0x22, 0xa1, 0xc2, 0x34, 0x76, 0x1c, 0xc7, 0x7b, 0xcf, 0xc3, 0x43, 0x78, 0x4e, 0x74, 0x38, 0xd0, 0x34, 0x98, 0x1c, 0x88, 0x0b,
0x55, 0x0a, 0x26, 0x69, 0xdd, 0xb9, 0x6b, 0x63, 0x41, 0x50, 0x44, 0x82, 0x2b, 0x37, 0x61, 0x92, 0x9a, 0xd8, 0x16, 0xdc, 0xdc, 0xa0, 0x92, 0x38, 0x38, 0x98, 0xc6, 0xc4, 0x84, 0xa5, 0xb9, 0x5e,
0x0c, 0xe9, 0xd0, 0x24, 0x53, 0x32, 0x69, 0x6c, 0xc1, 0x07, 0x70, 0x25, 0x3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 0xa0, 0x1b, 0xdc, 0x27, 0x8e, 0xd4, 0x0d, 0x7e, 0x41, 0xd3, 0x6b,
0xea, 0x70, 0xa0, 0x74, 0xbd, 0xa0, 0xc2, 0xad, 0xcb, 0x3f, 0x3e, 0xff, 0x09, 0x00, 0x00, 0xff, 0xeb, 0xf3, 0xdd, 0x4f, 0xc5, 0x8b, 0x09, 0x93, 0x4e, 0x39, 0x7b, 0xed, 0xcb, 0xdf, 0x00, 0x00,
0xff, 0xd9, 0x75, 0x8b, 0x8e, 0xbd, 0x01, 0x00, 0x00, 0x00, 0xff, 0xff, 0x25, 0x71, 0x3e, 0xe1, 0xc5, 0x01, 0x00, 0x00,
} }
func (this *ConversionPair) VerboseEqual(that interface{}) error { func (this *ConversionPair) VerboseEqual(that interface{}) error {
@ -175,8 +175,8 @@ func (this *ConversionPair) VerboseEqual(that interface{}) error {
} else if this == nil { } else if this == nil {
return fmt.Errorf("that is type *ConversionPair but is not nil && this == nil") return fmt.Errorf("that is type *ConversionPair but is not nil && this == nil")
} }
if !bytes.Equal(this.KavaERC20Address, that1.KavaERC20Address) { if !bytes.Equal(this.ZgChainERC20Address, that1.ZgChainERC20Address) {
return fmt.Errorf("KavaERC20Address this(%v) Not Equal that(%v)", this.KavaERC20Address, that1.KavaERC20Address) return fmt.Errorf("ZgChainERC20Address this(%v) Not Equal that(%v)", this.ZgChainERC20Address, that1.ZgChainERC20Address)
} }
if this.Denom != that1.Denom { if this.Denom != that1.Denom {
return fmt.Errorf("Denom this(%v) Not Equal that(%v)", this.Denom, that1.Denom) return fmt.Errorf("Denom this(%v) Not Equal that(%v)", this.Denom, that1.Denom)
@ -202,7 +202,7 @@ func (this *ConversionPair) Equal(that interface{}) bool {
} else if this == nil { } else if this == nil {
return false return false
} }
if !bytes.Equal(this.KavaERC20Address, that1.KavaERC20Address) { if !bytes.Equal(this.ZgChainERC20Address, that1.ZgChainERC20Address) {
return false return false
} }
if this.Denom != that1.Denom { if this.Denom != that1.Denom {
@ -309,10 +309,10 @@ func (m *ConversionPair) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i-- i--
dAtA[i] = 0x12 dAtA[i] = 0x12
} }
if len(m.KavaERC20Address) > 0 { if len(m.ZgChainERC20Address) > 0 {
i -= len(m.KavaERC20Address) i -= len(m.ZgChainERC20Address)
copy(dAtA[i:], m.KavaERC20Address) copy(dAtA[i:], m.ZgChainERC20Address)
i = encodeVarintConversionPair(dAtA, i, uint64(len(m.KavaERC20Address))) i = encodeVarintConversionPair(dAtA, i, uint64(len(m.ZgChainERC20Address)))
i-- i--
dAtA[i] = 0xa dAtA[i] = 0xa
} }
@ -385,7 +385,7 @@ func (m *ConversionPair) Size() (n int) {
} }
var l int var l int
_ = l _ = l
l = len(m.KavaERC20Address) l = len(m.ZgChainERC20Address)
if l > 0 { if l > 0 {
n += 1 + l + sovConversionPair(uint64(l)) n += 1 + l + sovConversionPair(uint64(l))
} }
@ -457,7 +457,7 @@ func (m *ConversionPair) Unmarshal(dAtA []byte) error {
switch fieldNum { switch fieldNum {
case 1: case 1:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field KavaERC20Address", wireType) return fmt.Errorf("proto: wrong wireType = %d for field ZgChainERC20Address", wireType)
} }
var byteLen int var byteLen int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -484,9 +484,9 @@ func (m *ConversionPair) Unmarshal(dAtA []byte) error {
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.KavaERC20Address = append(m.KavaERC20Address[:0], dAtA[iNdEx:postIndex]...) m.ZgChainERC20Address = append(m.ZgChainERC20Address[:0], dAtA[iNdEx:postIndex]...)
if m.KavaERC20Address == nil { if m.ZgChainERC20Address == nil {
m.KavaERC20Address = []byte{} m.ZgChainERC20Address = []byte{}
} }
iNdEx = postIndex iNdEx = postIndex
case 2: case 2:

View File

@ -76,7 +76,7 @@ func TestConversionPairValidate_Direct(t *testing.T) {
{ {
"valid", "valid",
types.ConversionPair{ types.ConversionPair{
KavaERC20Address: testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").Bytes(), ZgChainERC20Address: testutil.MustNewInternalEVMAddressFromString("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").Bytes(),
Denom: "weth", Denom: "weth",
}, },
errArgs{ errArgs{
@ -87,7 +87,7 @@ func TestConversionPairValidate_Direct(t *testing.T) {
{ {
"invalid - length", "invalid - length",
types.ConversionPair{ types.ConversionPair{
KavaERC20Address: []byte{1}, ZgChainERC20Address: []byte{1},
Denom: "weth", Denom: "weth",
}, },
errArgs{ errArgs{
@ -119,7 +119,7 @@ func TestConversionPair_GetAddress(t *testing.T) {
"weth", "weth",
) )
require.Equal(t, types.HexBytes(addr.Bytes()), pair.KavaERC20Address, "struct address should match input bytes") require.Equal(t, types.HexBytes(addr.Bytes()), pair.ZgChainERC20Address, "struct address should match input bytes")
require.Equal(t, addr, pair.GetAddress(), "get internal address should match input bytes") require.Equal(t, addr, pair.GetAddress(), "get internal address should match input bytes")
} }

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/evmutil/v1beta1/genesis.proto // source: zgc/evmutil/v1beta1/genesis.proto
package types package types
@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {} func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) { func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_d916ab97b8e628c2, []int{0} return fileDescriptor_7bf39927f71414e6, []int{0}
} }
func (m *GenesisState) XXX_Unmarshal(b []byte) error { func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -69,7 +69,7 @@ var xxx_messageInfo_GenesisState proto.InternalMessageInfo
// BalanceAccount defines an account in the evmutil module. // BalanceAccount defines an account in the evmutil module.
type Account struct { type Account struct {
Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"`
// balance indicates the amount of akava owned by the address. // balance indicates the amount of neuron owned by the address.
Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"` Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"`
} }
@ -77,7 +77,7 @@ func (m *Account) Reset() { *m = Account{} }
func (m *Account) String() string { return proto.CompactTextString(m) } func (m *Account) String() string { return proto.CompactTextString(m) }
func (*Account) ProtoMessage() {} func (*Account) ProtoMessage() {}
func (*Account) Descriptor() ([]byte, []int) { func (*Account) Descriptor() ([]byte, []int) {
return fileDescriptor_d916ab97b8e628c2, []int{1} return fileDescriptor_7bf39927f71414e6, []int{1}
} }
func (m *Account) XXX_Unmarshal(b []byte) error { func (m *Account) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -109,7 +109,7 @@ var xxx_messageInfo_Account proto.InternalMessageInfo
// Params defines the evmutil module params // Params defines the evmutil module params
type Params struct { type Params struct {
// enabled_conversion_pairs defines the list of conversion pairs allowed to be // enabled_conversion_pairs defines the list of conversion pairs allowed to be
// converted between Kava ERC20 and sdk.Coin // converted between 0gChain ERC20 and sdk.Coin
EnabledConversionPairs ConversionPairs `protobuf:"bytes,4,rep,name=enabled_conversion_pairs,json=enabledConversionPairs,proto3,castrepeated=ConversionPairs" json:"enabled_conversion_pairs"` EnabledConversionPairs ConversionPairs `protobuf:"bytes,4,rep,name=enabled_conversion_pairs,json=enabledConversionPairs,proto3,castrepeated=ConversionPairs" json:"enabled_conversion_pairs"`
// allowed_cosmos_denoms is a list of denom & erc20 token metadata pairs. // allowed_cosmos_denoms is a list of denom & erc20 token metadata pairs.
// if a denom is in the list, it is allowed to be converted to an erc20 in the evm. // if a denom is in the list, it is allowed to be converted to an erc20 in the evm.
@ -120,7 +120,7 @@ func (m *Params) Reset() { *m = Params{} }
func (m *Params) String() string { return proto.CompactTextString(m) } func (m *Params) String() string { return proto.CompactTextString(m) }
func (*Params) ProtoMessage() {} func (*Params) ProtoMessage() {}
func (*Params) Descriptor() ([]byte, []int) { func (*Params) Descriptor() ([]byte, []int) {
return fileDescriptor_d916ab97b8e628c2, []int{2} return fileDescriptor_7bf39927f71414e6, []int{2}
} }
func (m *Params) XXX_Unmarshal(b []byte) error { func (m *Params) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -164,48 +164,46 @@ func (m *Params) GetAllowedCosmosDenoms() AllowedCosmosCoinERC20Tokens {
} }
func init() { func init() {
proto.RegisterType((*GenesisState)(nil), "kava.evmutil.v1beta1.GenesisState") proto.RegisterType((*GenesisState)(nil), "zgc.evmutil.v1beta1.GenesisState")
proto.RegisterType((*Account)(nil), "kava.evmutil.v1beta1.Account") proto.RegisterType((*Account)(nil), "zgc.evmutil.v1beta1.Account")
proto.RegisterType((*Params)(nil), "kava.evmutil.v1beta1.Params") proto.RegisterType((*Params)(nil), "zgc.evmutil.v1beta1.Params")
} }
func init() { func init() { proto.RegisterFile("zgc/evmutil/v1beta1/genesis.proto", fileDescriptor_7bf39927f71414e6) }
proto.RegisterFile("kava/evmutil/v1beta1/genesis.proto", fileDescriptor_d916ab97b8e628c2)
}
var fileDescriptor_d916ab97b8e628c2 = []byte{ var fileDescriptor_7bf39927f71414e6 = []byte{
// 493 bytes of a gzipped FileDescriptorProto // 494 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x41, 0x6b, 0x13, 0x41, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x6b, 0xd4, 0x40,
0x18, 0xdd, 0xa9, 0x21, 0xd1, 0x69, 0x41, 0xd8, 0x56, 0x8d, 0xa5, 0xee, 0x96, 0x50, 0x24, 0x14, 0x1c, 0xcd, 0xd4, 0x65, 0x57, 0xa7, 0x05, 0x21, 0xeb, 0x9f, 0xb5, 0x96, 0xa4, 0x56, 0x91, 0x55,
0x76, 0x37, 0x89, 0xb7, 0x22, 0x48, 0x37, 0x8a, 0x16, 0x3c, 0x94, 0x55, 0x3c, 0x78, 0x09, 0xdf, 0x48, 0xb2, 0x5d, 0x4f, 0x8a, 0x08, 0xcd, 0x2a, 0x5a, 0xf0, 0x50, 0xa2, 0x78, 0xf0, 0xb2, 0x4c,
0xee, 0x0e, 0xdb, 0x25, 0xbb, 0x33, 0x61, 0x67, 0x92, 0xda, 0x7f, 0x20, 0x78, 0x50, 0xff, 0x81, 0x26, 0x43, 0x3a, 0x34, 0x99, 0x59, 0x32, 0xb3, 0xab, 0xed, 0x27, 0x10, 0x41, 0xf4, 0x23, 0x78,
0x47, 0xf1, 0xdc, 0x1f, 0x51, 0xf0, 0x52, 0x7a, 0x12, 0x0f, 0xb1, 0x26, 0xff, 0xc2, 0x93, 0xec, 0x14, 0xcf, 0xfd, 0x10, 0x05, 0x2f, 0xa5, 0x27, 0xf1, 0xb0, 0xd6, 0xdd, 0x6f, 0xe1, 0x49, 0x32,
0xcc, 0x24, 0xd4, 0x10, 0xc5, 0xd3, 0xee, 0xbe, 0x7d, 0xef, 0x7b, 0x6f, 0xde, 0x37, 0xb8, 0xd1, 0x33, 0xbb, 0xd4, 0x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xfa, 0xee, 0x99, 0xda, 0x3b, 0x69, 0x86, 0x62, 0x11, 0x74,
0x89, 0x8e, 0x20, 0xa5, 0xde, 0x9b, 0xf9, 0xcd, 0x96, 0x0b, 0x08, 0xab, 0xf2, 0x22, 0x3f, 0xf8, 0x52, 0x0f, 0xef, 0x22, 0xca, 0x82, 0xb7, 0xf3, 0xad, 0x56, 0xf5, 0xc7, 0x75, 0xb5, 0xc4, 0xf7,
0x1d, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x30, 0x24, 0xaf, 0x61, 0x03, 0x00, 0x00, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x55, 0x8b, 0x5d, 0xb5, 0x5a, 0x03, 0x00, 0x00,
} }
func (this *GenesisState) VerboseEqual(that interface{}) error { func (this *GenesisState) VerboseEqual(that interface{}) error {

View File

@ -104,7 +104,7 @@ func NewMsgConvertERC20ToCoin(
return MsgConvertERC20ToCoin{ return MsgConvertERC20ToCoin{
Initiator: initiator.String(), Initiator: initiator.String(),
Receiver: receiver.String(), Receiver: receiver.String(),
KavaERC20Address: contractAddr.String(), ZgChainERC20Address: contractAddr.String(),
Amount: amount, Amount: amount,
} }
} }
@ -125,7 +125,7 @@ func (msg MsgConvertERC20ToCoin) ValidateBasic() error {
) )
} }
if !common.IsHexAddress(msg.KavaERC20Address) { if !common.IsHexAddress(msg.ZgChainERC20Address) {
return errorsmod.Wrap( return errorsmod.Wrap(
sdkerrors.ErrInvalidAddress, sdkerrors.ErrInvalidAddress,
"erc20 contract address is not a valid hex address", "erc20 contract address is not a valid hex address",

View File

@ -194,7 +194,7 @@ func TestMsgConvertERC20ToCoin(t *testing.T) {
msg := types.MsgConvertERC20ToCoin{ msg := types.MsgConvertERC20ToCoin{
Initiator: tc.initiator, Initiator: tc.initiator,
Receiver: tc.receiver, Receiver: tc.receiver,
KavaERC20Address: tc.contractAddr, ZgChainERC20Address: tc.contractAddr,
Amount: tc.amount, Amount: tc.amount,
} }
err := msg.ValidateBasic() err := msg.ValidateBasic()

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/evmutil/v1beta1/query.proto // source: zgc/evmutil/v1beta1/query.proto
package types package types
@ -38,7 +38,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) { func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4a8d0512331709e7, []int{0} return fileDescriptor_f7cba1d0f1a293ad, []int{0}
} }
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -76,7 +76,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) { func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4a8d0512331709e7, []int{1} return fileDescriptor_f7cba1d0f1a293ad, []int{1}
} }
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -128,7 +128,7 @@ func (m *QueryDeployedCosmosCoinContractsRequest) Reset() {
func (m *QueryDeployedCosmosCoinContractsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryDeployedCosmosCoinContractsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDeployedCosmosCoinContractsRequest) ProtoMessage() {} func (*QueryDeployedCosmosCoinContractsRequest) ProtoMessage() {}
func (*QueryDeployedCosmosCoinContractsRequest) Descriptor() ([]byte, []int) { func (*QueryDeployedCosmosCoinContractsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4a8d0512331709e7, []int{2} return fileDescriptor_f7cba1d0f1a293ad, []int{2}
} }
func (m *QueryDeployedCosmosCoinContractsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryDeployedCosmosCoinContractsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -171,7 +171,7 @@ func (m *QueryDeployedCosmosCoinContractsResponse) Reset() {
func (m *QueryDeployedCosmosCoinContractsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryDeployedCosmosCoinContractsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDeployedCosmosCoinContractsResponse) ProtoMessage() {} func (*QueryDeployedCosmosCoinContractsResponse) ProtoMessage() {}
func (*QueryDeployedCosmosCoinContractsResponse) Descriptor() ([]byte, []int) { func (*QueryDeployedCosmosCoinContractsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4a8d0512331709e7, []int{3} return fileDescriptor_f7cba1d0f1a293ad, []int{3}
} }
func (m *QueryDeployedCosmosCoinContractsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryDeployedCosmosCoinContractsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -224,7 +224,7 @@ func (m *DeployedCosmosCoinContract) Reset() { *m = DeployedCosmosCoinCo
func (m *DeployedCosmosCoinContract) String() string { return proto.CompactTextString(m) } func (m *DeployedCosmosCoinContract) String() string { return proto.CompactTextString(m) }
func (*DeployedCosmosCoinContract) ProtoMessage() {} func (*DeployedCosmosCoinContract) ProtoMessage() {}
func (*DeployedCosmosCoinContract) Descriptor() ([]byte, []int) { func (*DeployedCosmosCoinContract) Descriptor() ([]byte, []int) {
return fileDescriptor_4a8d0512331709e7, []int{4} return fileDescriptor_f7cba1d0f1a293ad, []int{4}
} }
func (m *DeployedCosmosCoinContract) XXX_Unmarshal(b []byte) error { func (m *DeployedCosmosCoinContract) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -261,52 +261,52 @@ func (m *DeployedCosmosCoinContract) GetCosmosDenom() string {
} }
func init() { func init() {
proto.RegisterType((*QueryParamsRequest)(nil), "kava.evmutil.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsRequest)(nil), "zgc.evmutil.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "kava.evmutil.v1beta1.QueryParamsResponse") proto.RegisterType((*QueryParamsResponse)(nil), "zgc.evmutil.v1beta1.QueryParamsResponse")
proto.RegisterType((*QueryDeployedCosmosCoinContractsRequest)(nil), "kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest") proto.RegisterType((*QueryDeployedCosmosCoinContractsRequest)(nil), "zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest")
proto.RegisterType((*QueryDeployedCosmosCoinContractsResponse)(nil), "kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse") proto.RegisterType((*QueryDeployedCosmosCoinContractsResponse)(nil), "zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse")
proto.RegisterType((*DeployedCosmosCoinContract)(nil), "kava.evmutil.v1beta1.DeployedCosmosCoinContract") proto.RegisterType((*DeployedCosmosCoinContract)(nil), "zgc.evmutil.v1beta1.DeployedCosmosCoinContract")
} }
func init() { proto.RegisterFile("kava/evmutil/v1beta1/query.proto", fileDescriptor_4a8d0512331709e7) } func init() { proto.RegisterFile("zgc/evmutil/v1beta1/query.proto", fileDescriptor_f7cba1d0f1a293ad) }
var fileDescriptor_4a8d0512331709e7 = []byte{ var fileDescriptor_f7cba1d0f1a293ad = []byte{
// 549 bytes of a gzipped FileDescriptorProto // 546 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0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0xfd, 0x2e,
0xaf, 0xed, 0xc6, 0xc4, 0x7d, 0x65, 0xe2, 0x1e, 0xbc, 0x9b, 0x6d, 0x62, 0xf5, 0x0e, 0x36, 0xdb, 0x97, 0x1e, 0xff, 0x67, 0xb7, 0xb1, 0xf1, 0x44, 0xd9, 0x38, 0x80, 0x0f, 0xb2, 0x6d, 0x5c, 0xbe,
0x47, 0x13, 0xc7, 0x3e, 0x9e, 0x38, 0xf6, 0xd7, 0x89, 0x63, 0x7f, 0x9c, 0x3a, 0xd6, 0xf1, 0xd4, 0x86, 0xcd, 0xf6, 0xc9, 0xd4, 0xb1, 0x4f, 0xa7, 0x8e, 0xfd, 0x63, 0xea, 0xd8, 0x9f, 0x66, 0x8e,
0xb1, 0xbe, 0x4c, 0x1d, 0xeb, 0xd5, 0x2e, 0x8d, 0xe4, 0xe1, 0xa0, 0xeb, 0x05, 0xbc, 0x87, 0xea, 0x75, 0x3a, 0x73, 0xac, 0xaf, 0x33, 0xc7, 0x7a, 0xbb, 0x47, 0x23, 0x79, 0x34, 0xec, 0x7a, 0x01,
0x34, 0xc6, 0x5d, 0x81, 0xea, 0xf4, 0x76, 0x70, 0x88, 0x23, 0x86, 0xde, 0x9c, 0xd1, 0xc8, 0x51, 0xef, 0xa3, 0x3a, 0xed, 0xe1, 0xae, 0x58, 0x92, 0xbc, 0x3b, 0xa7, 0x91, 0xa3, 0x98, 0x88, 0x6e,
0x42, 0x44, 0x37, 0xaf, 0xfe, 0x15, 0x77, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xdc, 0x5e, 0x5e, 0xfd, 0x2d, 0xee, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x70, 0xa1, 0x5b, 0xe8, 0x04,
0x99, 0xe9, 0x04, 0x00, 0x00, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -337,7 +337,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse) out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/kava.evmutil.v1beta1.Query/Params", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.evmutil.v1beta1.Query/Params", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -346,7 +346,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
func (c *queryClient) DeployedCosmosCoinContracts(ctx context.Context, in *QueryDeployedCosmosCoinContractsRequest, opts ...grpc.CallOption) (*QueryDeployedCosmosCoinContractsResponse, error) { func (c *queryClient) DeployedCosmosCoinContracts(ctx context.Context, in *QueryDeployedCosmosCoinContractsRequest, opts ...grpc.CallOption) (*QueryDeployedCosmosCoinContractsResponse, error) {
out := new(QueryDeployedCosmosCoinContractsResponse) out := new(QueryDeployedCosmosCoinContractsResponse)
err := c.cc.Invoke(ctx, "/kava.evmutil.v1beta1.Query/DeployedCosmosCoinContracts", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.evmutil.v1beta1.Query/DeployedCosmosCoinContracts", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -386,7 +386,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.evmutil.v1beta1.Query/Params", FullMethod: "/zgc.evmutil.v1beta1.Query/Params",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -404,7 +404,7 @@ func _Query_DeployedCosmosCoinContracts_Handler(srv interface{}, ctx context.Con
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.evmutil.v1beta1.Query/DeployedCosmosCoinContracts", FullMethod: "/zgc.evmutil.v1beta1.Query/DeployedCosmosCoinContracts",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DeployedCosmosCoinContracts(ctx, req.(*QueryDeployedCosmosCoinContractsRequest)) return srv.(QueryServer).DeployedCosmosCoinContracts(ctx, req.(*QueryDeployedCosmosCoinContractsRequest))
@ -413,7 +413,7 @@ func _Query_DeployedCosmosCoinContracts_Handler(srv interface{}, ctx context.Con
} }
var _Query_serviceDesc = grpc.ServiceDesc{ var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.evmutil.v1beta1.Query", ServiceName: "zgc.evmutil.v1beta1.Query",
HandlerType: (*QueryServer)(nil), HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -426,7 +426,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/evmutil/v1beta1/query.proto", Metadata: "zgc/evmutil/v1beta1/query.proto",
} }
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/evmutil/v1beta1/query.proto // source: zgc/evmutil/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -224,9 +224,9 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "evmutil", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "evmutil", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_DeployedCosmosCoinContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "evmutil", "v1beta1", "deployed_cosmos_coin_contracts"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_DeployedCosmosCoinContracts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "evmutil", "v1beta1", "deployed_cosmos_coin_contracts"}, "", runtime.AssumeColonVerbOpt(false)))
) )
var ( var (

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/evmutil/v1beta1/tx.proto // source: zgc/evmutil/v1beta1/tx.proto
package types package types
@ -31,11 +31,11 @@ var _ = math.Inf
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// MsgConvertCoinToERC20 defines a conversion from sdk.Coin to Kava ERC20 for EVM-native assets. // MsgConvertCoinToERC20 defines a conversion from sdk.Coin to 0g-chain ERC20 for EVM-native assets.
type MsgConvertCoinToERC20 struct { type MsgConvertCoinToERC20 struct {
// Kava bech32 address initiating the conversion. // 0gChain bech32 address initiating the conversion.
Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"` Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"`
// EVM 0x hex address that will receive the converted Kava ERC20 tokens. // EVM 0x hex address that will receive the converted 0gChain ERC20 tokens.
Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
// Amount is the sdk.Coin amount to convert. // Amount is the sdk.Coin amount to convert.
Amount *types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` Amount *types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
@ -45,7 +45,7 @@ func (m *MsgConvertCoinToERC20) Reset() { *m = MsgConvertCoinToERC20{} }
func (m *MsgConvertCoinToERC20) String() string { return proto.CompactTextString(m) } func (m *MsgConvertCoinToERC20) String() string { return proto.CompactTextString(m) }
func (*MsgConvertCoinToERC20) ProtoMessage() {} func (*MsgConvertCoinToERC20) ProtoMessage() {}
func (*MsgConvertCoinToERC20) Descriptor() ([]byte, []int) { func (*MsgConvertCoinToERC20) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{0} return fileDescriptor_b60fa1a7a6ac0cc3, []int{0}
} }
func (m *MsgConvertCoinToERC20) XXX_Unmarshal(b []byte) error { func (m *MsgConvertCoinToERC20) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -103,7 +103,7 @@ func (m *MsgConvertCoinToERC20Response) Reset() { *m = MsgConvertCoinToE
func (m *MsgConvertCoinToERC20Response) String() string { return proto.CompactTextString(m) } func (m *MsgConvertCoinToERC20Response) String() string { return proto.CompactTextString(m) }
func (*MsgConvertCoinToERC20Response) ProtoMessage() {} func (*MsgConvertCoinToERC20Response) ProtoMessage() {}
func (*MsgConvertCoinToERC20Response) Descriptor() ([]byte, []int) { func (*MsgConvertCoinToERC20Response) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{1} return fileDescriptor_b60fa1a7a6ac0cc3, []int{1}
} }
func (m *MsgConvertCoinToERC20Response) XXX_Unmarshal(b []byte) error { func (m *MsgConvertCoinToERC20Response) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -132,14 +132,14 @@ func (m *MsgConvertCoinToERC20Response) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgConvertCoinToERC20Response proto.InternalMessageInfo var xxx_messageInfo_MsgConvertCoinToERC20Response proto.InternalMessageInfo
// MsgConvertERC20ToCoin defines a conversion from Kava ERC20 to sdk.Coin for EVM-native assets. // MsgConvertERC20ToCoin defines a conversion from 0gChain ERC20 to sdk.Coin for EVM-native assets.
type MsgConvertERC20ToCoin struct { type MsgConvertERC20ToCoin struct {
// EVM 0x hex address initiating the conversion. // EVM 0x hex address initiating the conversion.
Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"` Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"`
// Kava bech32 address that will receive the converted sdk.Coin. // 0gChain bech32 address that will receive the converted sdk.Coin.
Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
// EVM 0x hex address of the ERC20 contract. // EVM 0x hex address of the ERC20 contract.
KavaERC20Address string `protobuf:"bytes,3,opt,name=kava_erc20_address,json=kavaErc20Address,proto3" json:"kava_erc20_address,omitempty"` ZgChainERC20Address string `protobuf:"bytes,3,opt,name=zgChain_erc20_address,json=zgChainErc20Address,proto3" json:"zgChain_erc20_address,omitempty"`
// ERC20 token amount to convert. // ERC20 token amount to convert.
Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
} }
@ -148,7 +148,7 @@ func (m *MsgConvertERC20ToCoin) Reset() { *m = MsgConvertERC20ToCoin{} }
func (m *MsgConvertERC20ToCoin) String() string { return proto.CompactTextString(m) } func (m *MsgConvertERC20ToCoin) String() string { return proto.CompactTextString(m) }
func (*MsgConvertERC20ToCoin) ProtoMessage() {} func (*MsgConvertERC20ToCoin) ProtoMessage() {}
func (*MsgConvertERC20ToCoin) Descriptor() ([]byte, []int) { func (*MsgConvertERC20ToCoin) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{2} return fileDescriptor_b60fa1a7a6ac0cc3, []int{2}
} }
func (m *MsgConvertERC20ToCoin) XXX_Unmarshal(b []byte) error { func (m *MsgConvertERC20ToCoin) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -191,9 +191,9 @@ func (m *MsgConvertERC20ToCoin) GetReceiver() string {
return "" return ""
} }
func (m *MsgConvertERC20ToCoin) GetKavaERC20Address() string { func (m *MsgConvertERC20ToCoin) GetZgChainERC20Address() string {
if m != nil { if m != nil {
return m.KavaERC20Address return m.ZgChainERC20Address
} }
return "" return ""
} }
@ -207,7 +207,7 @@ func (m *MsgConvertERC20ToCoinResponse) Reset() { *m = MsgConvertERC20To
func (m *MsgConvertERC20ToCoinResponse) String() string { return proto.CompactTextString(m) } func (m *MsgConvertERC20ToCoinResponse) String() string { return proto.CompactTextString(m) }
func (*MsgConvertERC20ToCoinResponse) ProtoMessage() {} func (*MsgConvertERC20ToCoinResponse) ProtoMessage() {}
func (*MsgConvertERC20ToCoinResponse) Descriptor() ([]byte, []int) { func (*MsgConvertERC20ToCoinResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{3} return fileDescriptor_b60fa1a7a6ac0cc3, []int{3}
} }
func (m *MsgConvertERC20ToCoinResponse) XXX_Unmarshal(b []byte) error { func (m *MsgConvertERC20ToCoinResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -238,7 +238,7 @@ var xxx_messageInfo_MsgConvertERC20ToCoinResponse proto.InternalMessageInfo
// MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets. // MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets.
type MsgConvertCosmosCoinToERC20 struct { type MsgConvertCosmosCoinToERC20 struct {
// Kava bech32 address initiating the conversion. // 0gChain bech32 address initiating the conversion.
Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"` Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"`
// EVM hex address that will receive the ERC20 tokens. // EVM hex address that will receive the ERC20 tokens.
Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
@ -250,7 +250,7 @@ func (m *MsgConvertCosmosCoinToERC20) Reset() { *m = MsgConvertCosmosCoi
func (m *MsgConvertCosmosCoinToERC20) String() string { return proto.CompactTextString(m) } func (m *MsgConvertCosmosCoinToERC20) String() string { return proto.CompactTextString(m) }
func (*MsgConvertCosmosCoinToERC20) ProtoMessage() {} func (*MsgConvertCosmosCoinToERC20) ProtoMessage() {}
func (*MsgConvertCosmosCoinToERC20) Descriptor() ([]byte, []int) { func (*MsgConvertCosmosCoinToERC20) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{4} return fileDescriptor_b60fa1a7a6ac0cc3, []int{4}
} }
func (m *MsgConvertCosmosCoinToERC20) XXX_Unmarshal(b []byte) error { func (m *MsgConvertCosmosCoinToERC20) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -308,7 +308,7 @@ func (m *MsgConvertCosmosCoinToERC20Response) Reset() { *m = MsgConvertC
func (m *MsgConvertCosmosCoinToERC20Response) String() string { return proto.CompactTextString(m) } func (m *MsgConvertCosmosCoinToERC20Response) String() string { return proto.CompactTextString(m) }
func (*MsgConvertCosmosCoinToERC20Response) ProtoMessage() {} func (*MsgConvertCosmosCoinToERC20Response) ProtoMessage() {}
func (*MsgConvertCosmosCoinToERC20Response) Descriptor() ([]byte, []int) { func (*MsgConvertCosmosCoinToERC20Response) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{5} return fileDescriptor_b60fa1a7a6ac0cc3, []int{5}
} }
func (m *MsgConvertCosmosCoinToERC20Response) XXX_Unmarshal(b []byte) error { func (m *MsgConvertCosmosCoinToERC20Response) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -341,7 +341,7 @@ var xxx_messageInfo_MsgConvertCosmosCoinToERC20Response proto.InternalMessageInf
type MsgConvertCosmosCoinFromERC20 struct { type MsgConvertCosmosCoinFromERC20 struct {
// EVM hex address initiating the conversion. // EVM hex address initiating the conversion.
Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"` Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"`
// Kava bech32 address that will receive the cosmos coins. // 0gChain bech32 address that will receive the cosmos coins.
Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
// Amount is the amount to convert, expressed as a Cosmos coin. // Amount is the amount to convert, expressed as a Cosmos coin.
Amount *types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` Amount *types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
@ -351,7 +351,7 @@ func (m *MsgConvertCosmosCoinFromERC20) Reset() { *m = MsgConvertCosmosC
func (m *MsgConvertCosmosCoinFromERC20) String() string { return proto.CompactTextString(m) } func (m *MsgConvertCosmosCoinFromERC20) String() string { return proto.CompactTextString(m) }
func (*MsgConvertCosmosCoinFromERC20) ProtoMessage() {} func (*MsgConvertCosmosCoinFromERC20) ProtoMessage() {}
func (*MsgConvertCosmosCoinFromERC20) Descriptor() ([]byte, []int) { func (*MsgConvertCosmosCoinFromERC20) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{6} return fileDescriptor_b60fa1a7a6ac0cc3, []int{6}
} }
func (m *MsgConvertCosmosCoinFromERC20) XXX_Unmarshal(b []byte) error { func (m *MsgConvertCosmosCoinFromERC20) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -409,7 +409,7 @@ func (m *MsgConvertCosmosCoinFromERC20Response) Reset() { *m = MsgConver
func (m *MsgConvertCosmosCoinFromERC20Response) String() string { return proto.CompactTextString(m) } func (m *MsgConvertCosmosCoinFromERC20Response) String() string { return proto.CompactTextString(m) }
func (*MsgConvertCosmosCoinFromERC20Response) ProtoMessage() {} func (*MsgConvertCosmosCoinFromERC20Response) ProtoMessage() {}
func (*MsgConvertCosmosCoinFromERC20Response) Descriptor() ([]byte, []int) { func (*MsgConvertCosmosCoinFromERC20Response) Descriptor() ([]byte, []int) {
return fileDescriptor_6e82783c6c58f89c, []int{7} return fileDescriptor_b60fa1a7a6ac0cc3, []int{7}
} }
func (m *MsgConvertCosmosCoinFromERC20Response) XXX_Unmarshal(b []byte) error { func (m *MsgConvertCosmosCoinFromERC20Response) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -439,56 +439,56 @@ func (m *MsgConvertCosmosCoinFromERC20Response) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgConvertCosmosCoinFromERC20Response proto.InternalMessageInfo var xxx_messageInfo_MsgConvertCosmosCoinFromERC20Response proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*MsgConvertCoinToERC20)(nil), "kava.evmutil.v1beta1.MsgConvertCoinToERC20") proto.RegisterType((*MsgConvertCoinToERC20)(nil), "zgc.evmutil.v1beta1.MsgConvertCoinToERC20")
proto.RegisterType((*MsgConvertCoinToERC20Response)(nil), "kava.evmutil.v1beta1.MsgConvertCoinToERC20Response") proto.RegisterType((*MsgConvertCoinToERC20Response)(nil), "zgc.evmutil.v1beta1.MsgConvertCoinToERC20Response")
proto.RegisterType((*MsgConvertERC20ToCoin)(nil), "kava.evmutil.v1beta1.MsgConvertERC20ToCoin") proto.RegisterType((*MsgConvertERC20ToCoin)(nil), "zgc.evmutil.v1beta1.MsgConvertERC20ToCoin")
proto.RegisterType((*MsgConvertERC20ToCoinResponse)(nil), "kava.evmutil.v1beta1.MsgConvertERC20ToCoinResponse") proto.RegisterType((*MsgConvertERC20ToCoinResponse)(nil), "zgc.evmutil.v1beta1.MsgConvertERC20ToCoinResponse")
proto.RegisterType((*MsgConvertCosmosCoinToERC20)(nil), "kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20") proto.RegisterType((*MsgConvertCosmosCoinToERC20)(nil), "zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20")
proto.RegisterType((*MsgConvertCosmosCoinToERC20Response)(nil), "kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response") proto.RegisterType((*MsgConvertCosmosCoinToERC20Response)(nil), "zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response")
proto.RegisterType((*MsgConvertCosmosCoinFromERC20)(nil), "kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20") proto.RegisterType((*MsgConvertCosmosCoinFromERC20)(nil), "zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20")
proto.RegisterType((*MsgConvertCosmosCoinFromERC20Response)(nil), "kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response") proto.RegisterType((*MsgConvertCosmosCoinFromERC20Response)(nil), "zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response")
} }
func init() { proto.RegisterFile("kava/evmutil/v1beta1/tx.proto", fileDescriptor_6e82783c6c58f89c) } func init() { proto.RegisterFile("zgc/evmutil/v1beta1/tx.proto", fileDescriptor_b60fa1a7a6ac0cc3) }
var fileDescriptor_6e82783c6c58f89c = []byte{ var fileDescriptor_b60fa1a7a6ac0cc3 = []byte{
// 562 bytes of a gzipped FileDescriptorProto // 563 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x55, 0xcf, 0x6a, 0x13, 0x41, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x55, 0xc1, 0x6e, 0xd3, 0x30,
0x18, 0xcf, 0xb4, 0xa5, 0x98, 0xf1, 0x52, 0x86, 0x08, 0xe9, 0x6a, 0x37, 0x25, 0x52, 0x2d, 0x4a, 0x18, 0xae, 0xb7, 0x69, 0xa2, 0xe6, 0x96, 0x6e, 0xa2, 0x0b, 0x23, 0x9d, 0x8a, 0x06, 0xd3, 0xa4,
0x76, 0xf3, 0x47, 0x04, 0xd1, 0x8b, 0x09, 0x15, 0x8a, 0xf6, 0xb2, 0xe6, 0xe4, 0x25, 0x4c, 0x36, 0x26, 0x69, 0x40, 0x08, 0x21, 0x2e, 0xb4, 0x1a, 0xd2, 0x04, 0xbb, 0x84, 0x9e, 0x76, 0xa9, 0x92,
0xc3, 0x76, 0x68, 0x33, 0x13, 0x76, 0x26, 0x4b, 0x7d, 0x00, 0x41, 0x44, 0x44, 0x5f, 0xc0, 0xb3, 0xd4, 0xf2, 0x2c, 0x16, 0xbb, 0x8a, 0xdd, 0x6a, 0xf4, 0x01, 0x90, 0x40, 0x13, 0xe2, 0x09, 0x38,
0x0f, 0xd0, 0x87, 0xe8, 0xb1, 0xf4, 0x24, 0x1e, 0x42, 0xdd, 0xbc, 0x88, 0xcc, 0xee, 0xec, 0x76, 0xf3, 0x00, 0x7b, 0x88, 0x1d, 0xa7, 0x9d, 0x10, 0x87, 0x6a, 0xa4, 0x2f, 0x82, 0x92, 0x38, 0x59,
0xad, 0xeb, 0xc6, 0x8a, 0xe0, 0x29, 0x99, 0xf9, 0x7e, 0xbf, 0x6f, 0x7e, 0xbf, 0xef, 0xfb, 0x66, 0x18, 0x21, 0xdd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, 0xff, 0xcc, 0x0a, 0xc5, 0x36, 0x47, 0x06, 0xbb, 0x1c, 0x3f, 0xe0, 0x4f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x5d, 0x0b, 0x0a, 0x46,
0x00, 0x00, 0x06, 0x00, 0x00,
} }
func (this *MsgConvertCoinToERC20) VerboseEqual(that interface{}) error { func (this *MsgConvertCoinToERC20) VerboseEqual(that interface{}) error {
@ -636,8 +636,8 @@ func (this *MsgConvertERC20ToCoin) VerboseEqual(that interface{}) error {
if this.Receiver != that1.Receiver { if this.Receiver != that1.Receiver {
return fmt.Errorf("Receiver this(%v) Not Equal that(%v)", this.Receiver, that1.Receiver) return fmt.Errorf("Receiver this(%v) Not Equal that(%v)", this.Receiver, that1.Receiver)
} }
if this.KavaERC20Address != that1.KavaERC20Address { if this.ZgChainERC20Address != that1.ZgChainERC20Address {
return fmt.Errorf("KavaERC20Address this(%v) Not Equal that(%v)", this.KavaERC20Address, that1.KavaERC20Address) return fmt.Errorf("ZgChainERC20Address this(%v) Not Equal that(%v)", this.ZgChainERC20Address, that1.ZgChainERC20Address)
} }
if !this.Amount.Equal(that1.Amount) { if !this.Amount.Equal(that1.Amount) {
return fmt.Errorf("Amount this(%v) Not Equal that(%v)", this.Amount, that1.Amount) return fmt.Errorf("Amount this(%v) Not Equal that(%v)", this.Amount, that1.Amount)
@ -669,7 +669,7 @@ func (this *MsgConvertERC20ToCoin) Equal(that interface{}) bool {
if this.Receiver != that1.Receiver { if this.Receiver != that1.Receiver {
return false return false
} }
if this.KavaERC20Address != that1.KavaERC20Address { if this.ZgChainERC20Address != that1.ZgChainERC20Address {
return false return false
} }
if !this.Amount.Equal(that1.Amount) { if !this.Amount.Equal(that1.Amount) {
@ -966,9 +966,9 @@ const _ = grpc.SupportPackageIsVersion4
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MsgClient interface { type MsgClient interface {
// ConvertCoinToERC20 defines a method for converting sdk.Coin to Kava ERC20. // ConvertCoinToERC20 defines a method for converting sdk.Coin to 0gChain ERC20.
ConvertCoinToERC20(ctx context.Context, in *MsgConvertCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCoinToERC20Response, error) ConvertCoinToERC20(ctx context.Context, in *MsgConvertCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCoinToERC20Response, error)
// ConvertERC20ToCoin defines a method for converting Kava ERC20 to sdk.Coin. // ConvertERC20ToCoin defines a method for converting 0gChain ERC20 to sdk.Coin.
ConvertERC20ToCoin(ctx context.Context, in *MsgConvertERC20ToCoin, opts ...grpc.CallOption) (*MsgConvertERC20ToCoinResponse, error) ConvertERC20ToCoin(ctx context.Context, in *MsgConvertERC20ToCoin, opts ...grpc.CallOption) (*MsgConvertERC20ToCoinResponse, error)
// ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. // ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20.
ConvertCosmosCoinToERC20(ctx context.Context, in *MsgConvertCosmosCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCosmosCoinToERC20Response, error) ConvertCosmosCoinToERC20(ctx context.Context, in *MsgConvertCosmosCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCosmosCoinToERC20Response, error)
@ -986,7 +986,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) ConvertCoinToERC20(ctx context.Context, in *MsgConvertCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCoinToERC20Response, error) { func (c *msgClient) ConvertCoinToERC20(ctx context.Context, in *MsgConvertCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCoinToERC20Response, error) {
out := new(MsgConvertCoinToERC20Response) out := new(MsgConvertCoinToERC20Response)
err := c.cc.Invoke(ctx, "/kava.evmutil.v1beta1.Msg/ConvertCoinToERC20", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.evmutil.v1beta1.Msg/ConvertCoinToERC20", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -995,7 +995,7 @@ func (c *msgClient) ConvertCoinToERC20(ctx context.Context, in *MsgConvertCoinTo
func (c *msgClient) ConvertERC20ToCoin(ctx context.Context, in *MsgConvertERC20ToCoin, opts ...grpc.CallOption) (*MsgConvertERC20ToCoinResponse, error) { func (c *msgClient) ConvertERC20ToCoin(ctx context.Context, in *MsgConvertERC20ToCoin, opts ...grpc.CallOption) (*MsgConvertERC20ToCoinResponse, error) {
out := new(MsgConvertERC20ToCoinResponse) out := new(MsgConvertERC20ToCoinResponse)
err := c.cc.Invoke(ctx, "/kava.evmutil.v1beta1.Msg/ConvertERC20ToCoin", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.evmutil.v1beta1.Msg/ConvertERC20ToCoin", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1004,7 +1004,7 @@ func (c *msgClient) ConvertERC20ToCoin(ctx context.Context, in *MsgConvertERC20T
func (c *msgClient) ConvertCosmosCoinToERC20(ctx context.Context, in *MsgConvertCosmosCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCosmosCoinToERC20Response, error) { func (c *msgClient) ConvertCosmosCoinToERC20(ctx context.Context, in *MsgConvertCosmosCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCosmosCoinToERC20Response, error) {
out := new(MsgConvertCosmosCoinToERC20Response) out := new(MsgConvertCosmosCoinToERC20Response)
err := c.cc.Invoke(ctx, "/kava.evmutil.v1beta1.Msg/ConvertCosmosCoinToERC20", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.evmutil.v1beta1.Msg/ConvertCosmosCoinToERC20", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1013,7 +1013,7 @@ func (c *msgClient) ConvertCosmosCoinToERC20(ctx context.Context, in *MsgConvert
func (c *msgClient) ConvertCosmosCoinFromERC20(ctx context.Context, in *MsgConvertCosmosCoinFromERC20, opts ...grpc.CallOption) (*MsgConvertCosmosCoinFromERC20Response, error) { func (c *msgClient) ConvertCosmosCoinFromERC20(ctx context.Context, in *MsgConvertCosmosCoinFromERC20, opts ...grpc.CallOption) (*MsgConvertCosmosCoinFromERC20Response, error) {
out := new(MsgConvertCosmosCoinFromERC20Response) out := new(MsgConvertCosmosCoinFromERC20Response)
err := c.cc.Invoke(ctx, "/kava.evmutil.v1beta1.Msg/ConvertCosmosCoinFromERC20", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.evmutil.v1beta1.Msg/ConvertCosmosCoinFromERC20", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1022,9 +1022,9 @@ func (c *msgClient) ConvertCosmosCoinFromERC20(ctx context.Context, in *MsgConve
// MsgServer is the server API for Msg service. // MsgServer is the server API for Msg service.
type MsgServer interface { type MsgServer interface {
// ConvertCoinToERC20 defines a method for converting sdk.Coin to Kava ERC20. // ConvertCoinToERC20 defines a method for converting sdk.Coin to 0gChain ERC20.
ConvertCoinToERC20(context.Context, *MsgConvertCoinToERC20) (*MsgConvertCoinToERC20Response, error) ConvertCoinToERC20(context.Context, *MsgConvertCoinToERC20) (*MsgConvertCoinToERC20Response, error)
// ConvertERC20ToCoin defines a method for converting Kava ERC20 to sdk.Coin. // ConvertERC20ToCoin defines a method for converting 0gChain ERC20 to sdk.Coin.
ConvertERC20ToCoin(context.Context, *MsgConvertERC20ToCoin) (*MsgConvertERC20ToCoinResponse, error) ConvertERC20ToCoin(context.Context, *MsgConvertERC20ToCoin) (*MsgConvertERC20ToCoinResponse, error)
// ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. // ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20.
ConvertCosmosCoinToERC20(context.Context, *MsgConvertCosmosCoinToERC20) (*MsgConvertCosmosCoinToERC20Response, error) ConvertCosmosCoinToERC20(context.Context, *MsgConvertCosmosCoinToERC20) (*MsgConvertCosmosCoinToERC20Response, error)
@ -1063,7 +1063,7 @@ func _Msg_ConvertCoinToERC20_Handler(srv interface{}, ctx context.Context, dec f
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.evmutil.v1beta1.Msg/ConvertCoinToERC20", FullMethod: "/zgc.evmutil.v1beta1.Msg/ConvertCoinToERC20",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ConvertCoinToERC20(ctx, req.(*MsgConvertCoinToERC20)) return srv.(MsgServer).ConvertCoinToERC20(ctx, req.(*MsgConvertCoinToERC20))
@ -1081,7 +1081,7 @@ func _Msg_ConvertERC20ToCoin_Handler(srv interface{}, ctx context.Context, dec f
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.evmutil.v1beta1.Msg/ConvertERC20ToCoin", FullMethod: "/zgc.evmutil.v1beta1.Msg/ConvertERC20ToCoin",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ConvertERC20ToCoin(ctx, req.(*MsgConvertERC20ToCoin)) return srv.(MsgServer).ConvertERC20ToCoin(ctx, req.(*MsgConvertERC20ToCoin))
@ -1099,7 +1099,7 @@ func _Msg_ConvertCosmosCoinToERC20_Handler(srv interface{}, ctx context.Context,
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.evmutil.v1beta1.Msg/ConvertCosmosCoinToERC20", FullMethod: "/zgc.evmutil.v1beta1.Msg/ConvertCosmosCoinToERC20",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ConvertCosmosCoinToERC20(ctx, req.(*MsgConvertCosmosCoinToERC20)) return srv.(MsgServer).ConvertCosmosCoinToERC20(ctx, req.(*MsgConvertCosmosCoinToERC20))
@ -1117,7 +1117,7 @@ func _Msg_ConvertCosmosCoinFromERC20_Handler(srv interface{}, ctx context.Contex
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.evmutil.v1beta1.Msg/ConvertCosmosCoinFromERC20", FullMethod: "/zgc.evmutil.v1beta1.Msg/ConvertCosmosCoinFromERC20",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ConvertCosmosCoinFromERC20(ctx, req.(*MsgConvertCosmosCoinFromERC20)) return srv.(MsgServer).ConvertCosmosCoinFromERC20(ctx, req.(*MsgConvertCosmosCoinFromERC20))
@ -1126,7 +1126,7 @@ func _Msg_ConvertCosmosCoinFromERC20_Handler(srv interface{}, ctx context.Contex
} }
var _Msg_serviceDesc = grpc.ServiceDesc{ var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.evmutil.v1beta1.Msg", ServiceName: "zgc.evmutil.v1beta1.Msg",
HandlerType: (*MsgServer)(nil), HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -1147,7 +1147,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/evmutil/v1beta1/tx.proto", Metadata: "zgc/evmutil/v1beta1/tx.proto",
} }
func (m *MsgConvertCoinToERC20) Marshal() (dAtA []byte, err error) { func (m *MsgConvertCoinToERC20) Marshal() (dAtA []byte, err error) {
@ -1252,10 +1252,10 @@ func (m *MsgConvertERC20ToCoin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
} }
i-- i--
dAtA[i] = 0x22 dAtA[i] = 0x22
if len(m.KavaERC20Address) > 0 { if len(m.ZgChainERC20Address) > 0 {
i -= len(m.KavaERC20Address) i -= len(m.ZgChainERC20Address)
copy(dAtA[i:], m.KavaERC20Address) copy(dAtA[i:], m.ZgChainERC20Address)
i = encodeVarintTx(dAtA, i, uint64(len(m.KavaERC20Address))) i = encodeVarintTx(dAtA, i, uint64(len(m.ZgChainERC20Address)))
i-- i--
dAtA[i] = 0x1a dAtA[i] = 0x1a
} }
@ -1498,7 +1498,7 @@ func (m *MsgConvertERC20ToCoin) Size() (n int) {
if l > 0 { if l > 0 {
n += 1 + l + sovTx(uint64(l)) n += 1 + l + sovTx(uint64(l))
} }
l = len(m.KavaERC20Address) l = len(m.ZgChainERC20Address)
if l > 0 { if l > 0 {
n += 1 + l + sovTx(uint64(l)) n += 1 + l + sovTx(uint64(l))
} }
@ -1877,7 +1877,7 @@ func (m *MsgConvertERC20ToCoin) Unmarshal(dAtA []byte) error {
iNdEx = postIndex iNdEx = postIndex
case 3: case 3:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field KavaERC20Address", wireType) return fmt.Errorf("proto: wrong wireType = %d for field ZgChainERC20Address", wireType)
} }
var stringLen uint64 var stringLen uint64
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -1905,7 +1905,7 @@ func (m *MsgConvertERC20ToCoin) Unmarshal(dAtA []byte) error {
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.KavaERC20Address = string(dAtA[iNdEx:postIndex]) m.ZgChainERC20Address = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex iNdEx = postIndex
case 4: case 4:
if wireType != 2 { if wireType != 2 {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/issuance/v1beta1/genesis.proto // source: zgc/issuance/v1beta1/genesis.proto
package types package types
@ -40,7 +40,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {} func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) { func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_e567e34e5c078b96, []int{0} return fileDescriptor_7d89269e60df8c00, []int{0}
} }
func (m *GenesisState) XXX_Unmarshal(b []byte) error { func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -91,7 +91,7 @@ type Params struct {
func (m *Params) Reset() { *m = Params{} } func (m *Params) Reset() { *m = Params{} }
func (*Params) ProtoMessage() {} func (*Params) ProtoMessage() {}
func (*Params) Descriptor() ([]byte, []int) { func (*Params) Descriptor() ([]byte, []int) {
return fileDescriptor_e567e34e5c078b96, []int{1} return fileDescriptor_7d89269e60df8c00, []int{1}
} }
func (m *Params) XXX_Unmarshal(b []byte) error { func (m *Params) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -140,7 +140,7 @@ type Asset struct {
func (m *Asset) Reset() { *m = Asset{} } func (m *Asset) Reset() { *m = Asset{} }
func (*Asset) ProtoMessage() {} func (*Asset) ProtoMessage() {}
func (*Asset) Descriptor() ([]byte, []int) { func (*Asset) Descriptor() ([]byte, []int) {
return fileDescriptor_e567e34e5c078b96, []int{2} return fileDescriptor_7d89269e60df8c00, []int{2}
} }
func (m *Asset) XXX_Unmarshal(b []byte) error { func (m *Asset) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -222,7 +222,7 @@ func (m *RateLimit) Reset() { *m = RateLimit{} }
func (m *RateLimit) String() string { return proto.CompactTextString(m) } func (m *RateLimit) String() string { return proto.CompactTextString(m) }
func (*RateLimit) ProtoMessage() {} func (*RateLimit) ProtoMessage() {}
func (*RateLimit) Descriptor() ([]byte, []int) { func (*RateLimit) Descriptor() ([]byte, []int) {
return fileDescriptor_e567e34e5c078b96, []int{3} return fileDescriptor_7d89269e60df8c00, []int{3}
} }
func (m *RateLimit) XXX_Unmarshal(b []byte) error { func (m *RateLimit) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -275,7 +275,7 @@ type AssetSupply struct {
func (m *AssetSupply) Reset() { *m = AssetSupply{} } func (m *AssetSupply) Reset() { *m = AssetSupply{} }
func (*AssetSupply) ProtoMessage() {} func (*AssetSupply) ProtoMessage() {}
func (*AssetSupply) Descriptor() ([]byte, []int) { func (*AssetSupply) Descriptor() ([]byte, []int) {
return fileDescriptor_e567e34e5c078b96, []int{4} return fileDescriptor_7d89269e60df8c00, []int{4}
} }
func (m *AssetSupply) XXX_Unmarshal(b []byte) error { func (m *AssetSupply) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -319,57 +319,57 @@ func (m *AssetSupply) GetTimeElapsed() time.Duration {
} }
func init() { func init() {
proto.RegisterType((*GenesisState)(nil), "kava.issuance.v1beta1.GenesisState") proto.RegisterType((*GenesisState)(nil), "zgc.issuance.v1beta1.GenesisState")
proto.RegisterType((*Params)(nil), "kava.issuance.v1beta1.Params") proto.RegisterType((*Params)(nil), "zgc.issuance.v1beta1.Params")
proto.RegisterType((*Asset)(nil), "kava.issuance.v1beta1.Asset") proto.RegisterType((*Asset)(nil), "zgc.issuance.v1beta1.Asset")
proto.RegisterType((*RateLimit)(nil), "kava.issuance.v1beta1.RateLimit") proto.RegisterType((*RateLimit)(nil), "zgc.issuance.v1beta1.RateLimit")
proto.RegisterType((*AssetSupply)(nil), "kava.issuance.v1beta1.AssetSupply") proto.RegisterType((*AssetSupply)(nil), "zgc.issuance.v1beta1.AssetSupply")
} }
func init() { func init() {
proto.RegisterFile("kava/issuance/v1beta1/genesis.proto", fileDescriptor_e567e34e5c078b96) proto.RegisterFile("zgc/issuance/v1beta1/genesis.proto", fileDescriptor_7d89269e60df8c00)
} }
var fileDescriptor_e567e34e5c078b96 = []byte{ var fileDescriptor_7d89269e60df8c00 = []byte{
// 593 bytes of a gzipped FileDescriptorProto // 595 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4d, 0x6f, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4f, 0x4f, 0xdb, 0x4e,
0x10, 0x8d, 0x9b, 0x26, 0x4a, 0x36, 0xe5, 0x6b, 0x55, 0x90, 0x5b, 0x15, 0x27, 0x0a, 0x12, 0x8a, 0x10, 0x8d, 0x09, 0x89, 0x92, 0x0d, 0xbf, 0x5f, 0xdb, 0x15, 0xaa, 0x0c, 0x45, 0x76, 0x9a, 0x43,
0x54, 0xba, 0x6e, 0xcb, 0xad, 0x9c, 0x1a, 0x5a, 0x10, 0x88, 0x43, 0xe5, 0x1e, 0x90, 0xb8, 0x44, 0x15, 0x89, 0xb2, 0x06, 0x7a, 0x2a, 0x37, 0x02, 0xb4, 0x42, 0xea, 0x01, 0x99, 0x43, 0xa5, 0x5e,
0x6b, 0x7b, 0x70, 0x57, 0xb5, 0xbd, 0x96, 0x77, 0x5d, 0xc8, 0xbf, 0x80, 0x5b, 0x8f, 0x48, 0xfc, 0xa2, 0xb5, 0x3d, 0x35, 0x2b, 0x6c, 0xaf, 0xe5, 0x5d, 0xd3, 0x86, 0x2f, 0xd1, 0x1e, 0x39, 0x56,
0x13, 0x4e, 0x3d, 0xf6, 0x88, 0x38, 0x14, 0x94, 0xdc, 0xf8, 0x15, 0x68, 0x3f, 0x92, 0xf4, 0x40, 0xea, 0x37, 0xe9, 0x89, 0x23, 0xc7, 0xaa, 0x07, 0x5a, 0x85, 0x5b, 0x3f, 0x45, 0xb5, 0x7f, 0x12,
0x11, 0x27, 0xef, 0xcc, 0xbe, 0x37, 0x33, 0x6f, 0x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, 0xd5, 0xde, 0x6d, 0x5e, 0xdb, 0xe3, 0x76, 0x92, 0xd2, 0x1b, 0xaf, 0x71, 0x75, 0xe3, 0x35, 0xbe, 0xdf, 0x78, 0x8d, 0x77, 0xeb, 0x77, 0xf6, 0xb8, 0x99,
0x50, 0xf8, 0xdb, 0xc9, 0x56, 0x74, 0x42, 0x59, 0xee, 0x7f, 0x5c, 0x3c, 0x7a, 0xbd, 0xd0, 0xb0, 0x66, 0x34, 0x12, 0xc1, 0x66, 0xba, 0x11, 0x9f, 0x50, 0x56, 0x04, 0x1f, 0x6f, 0xdf, 0xbb, 0x5e,
0xa9, 0xdb, 0x3e, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0xe9, 0xcd, 0x02, 0x80, 0x12, 0x04, 0x00, 0x68, 0xd4, 0xd6, 0x6d, 0x5f, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xfb, 0x56, 0xb0, 0x0c,
0x00, 0x04, 0x00, 0x00,
} }
func (m *GenesisState) Marshal() (dAtA []byte, err error) { func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/issuance/v1beta1/query.proto // source: zgc/issuance/v1beta1/query.proto
package types package types
@ -37,7 +37,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) { func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_88f8bf3fcbf02033, []int{0} return fileDescriptor_9ef7076de18ebdcb, []int{0}
} }
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -75,7 +75,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) { func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_88f8bf3fcbf02033, []int{1} return fileDescriptor_9ef7076de18ebdcb, []int{1}
} }
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -112,33 +112,33 @@ func (m *QueryParamsResponse) GetParams() Params {
} }
func init() { func init() {
proto.RegisterType((*QueryParamsRequest)(nil), "kava.issuance.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsRequest)(nil), "zgc.issuance.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "kava.issuance.v1beta1.QueryParamsResponse") proto.RegisterType((*QueryParamsResponse)(nil), "zgc.issuance.v1beta1.QueryParamsResponse")
} }
func init() { proto.RegisterFile("kava/issuance/v1beta1/query.proto", fileDescriptor_88f8bf3fcbf02033) } func init() { proto.RegisterFile("zgc/issuance/v1beta1/query.proto", fileDescriptor_9ef7076de18ebdcb) }
var fileDescriptor_88f8bf3fcbf02033 = []byte{ var fileDescriptor_9ef7076de18ebdcb = []byte{
// 294 bytes of a gzipped FileDescriptorProto // 294 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xbf, 0x4b, 0x03, 0x31, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x4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, 0xdb, 0xdd, 0x01, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -167,7 +167,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse) out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/kava.issuance.v1beta1.Query/Params", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.issuance.v1beta1.Query/Params", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -202,7 +202,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.issuance.v1beta1.Query/Params", FullMethod: "/zgc.issuance.v1beta1.Query/Params",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -211,7 +211,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
} }
var _Query_serviceDesc = grpc.ServiceDesc{ var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.issuance.v1beta1.Query", ServiceName: "zgc.issuance.v1beta1.Query",
HandlerType: (*QueryServer)(nil), HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -220,7 +220,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/issuance/v1beta1/query.proto", Metadata: "zgc/issuance/v1beta1/query.proto",
} }
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/issuance/v1beta1/query.proto // source: zgc/issuance/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -145,7 +145,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "issuance", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "issuance", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false)))
) )
var ( var (

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/issuance/v1beta1/tx.proto // source: zgc/issuance/v1beta1/tx.proto
package types package types
@ -40,7 +40,7 @@ func (m *MsgIssueTokens) Reset() { *m = MsgIssueTokens{} }
func (m *MsgIssueTokens) String() string { return proto.CompactTextString(m) } func (m *MsgIssueTokens) String() string { return proto.CompactTextString(m) }
func (*MsgIssueTokens) ProtoMessage() {} func (*MsgIssueTokens) ProtoMessage() {}
func (*MsgIssueTokens) Descriptor() ([]byte, []int) { func (*MsgIssueTokens) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{0} return fileDescriptor_2ea510c03e2fc68e, []int{0}
} }
func (m *MsgIssueTokens) XXX_Unmarshal(b []byte) error { func (m *MsgIssueTokens) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -77,7 +77,7 @@ func (m *MsgIssueTokensResponse) Reset() { *m = MsgIssueTokensResponse{}
func (m *MsgIssueTokensResponse) String() string { return proto.CompactTextString(m) } func (m *MsgIssueTokensResponse) String() string { return proto.CompactTextString(m) }
func (*MsgIssueTokensResponse) ProtoMessage() {} func (*MsgIssueTokensResponse) ProtoMessage() {}
func (*MsgIssueTokensResponse) Descriptor() ([]byte, []int) { func (*MsgIssueTokensResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{1} return fileDescriptor_2ea510c03e2fc68e, []int{1}
} }
func (m *MsgIssueTokensResponse) XXX_Unmarshal(b []byte) error { func (m *MsgIssueTokensResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -116,7 +116,7 @@ func (m *MsgRedeemTokens) Reset() { *m = MsgRedeemTokens{} }
func (m *MsgRedeemTokens) String() string { return proto.CompactTextString(m) } func (m *MsgRedeemTokens) String() string { return proto.CompactTextString(m) }
func (*MsgRedeemTokens) ProtoMessage() {} func (*MsgRedeemTokens) ProtoMessage() {}
func (*MsgRedeemTokens) Descriptor() ([]byte, []int) { func (*MsgRedeemTokens) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{2} return fileDescriptor_2ea510c03e2fc68e, []int{2}
} }
func (m *MsgRedeemTokens) XXX_Unmarshal(b []byte) error { func (m *MsgRedeemTokens) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -153,7 +153,7 @@ func (m *MsgRedeemTokensResponse) Reset() { *m = MsgRedeemTokensResponse
func (m *MsgRedeemTokensResponse) String() string { return proto.CompactTextString(m) } func (m *MsgRedeemTokensResponse) String() string { return proto.CompactTextString(m) }
func (*MsgRedeemTokensResponse) ProtoMessage() {} func (*MsgRedeemTokensResponse) ProtoMessage() {}
func (*MsgRedeemTokensResponse) Descriptor() ([]byte, []int) { func (*MsgRedeemTokensResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{3} return fileDescriptor_2ea510c03e2fc68e, []int{3}
} }
func (m *MsgRedeemTokensResponse) XXX_Unmarshal(b []byte) error { func (m *MsgRedeemTokensResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -193,7 +193,7 @@ func (m *MsgBlockAddress) Reset() { *m = MsgBlockAddress{} }
func (m *MsgBlockAddress) String() string { return proto.CompactTextString(m) } func (m *MsgBlockAddress) String() string { return proto.CompactTextString(m) }
func (*MsgBlockAddress) ProtoMessage() {} func (*MsgBlockAddress) ProtoMessage() {}
func (*MsgBlockAddress) Descriptor() ([]byte, []int) { func (*MsgBlockAddress) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{4} return fileDescriptor_2ea510c03e2fc68e, []int{4}
} }
func (m *MsgBlockAddress) XXX_Unmarshal(b []byte) error { func (m *MsgBlockAddress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -230,7 +230,7 @@ func (m *MsgBlockAddressResponse) Reset() { *m = MsgBlockAddressResponse
func (m *MsgBlockAddressResponse) String() string { return proto.CompactTextString(m) } func (m *MsgBlockAddressResponse) String() string { return proto.CompactTextString(m) }
func (*MsgBlockAddressResponse) ProtoMessage() {} func (*MsgBlockAddressResponse) ProtoMessage() {}
func (*MsgBlockAddressResponse) Descriptor() ([]byte, []int) { func (*MsgBlockAddressResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{5} return fileDescriptor_2ea510c03e2fc68e, []int{5}
} }
func (m *MsgBlockAddressResponse) XXX_Unmarshal(b []byte) error { func (m *MsgBlockAddressResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -270,7 +270,7 @@ func (m *MsgUnblockAddress) Reset() { *m = MsgUnblockAddress{} }
func (m *MsgUnblockAddress) String() string { return proto.CompactTextString(m) } func (m *MsgUnblockAddress) String() string { return proto.CompactTextString(m) }
func (*MsgUnblockAddress) ProtoMessage() {} func (*MsgUnblockAddress) ProtoMessage() {}
func (*MsgUnblockAddress) Descriptor() ([]byte, []int) { func (*MsgUnblockAddress) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{6} return fileDescriptor_2ea510c03e2fc68e, []int{6}
} }
func (m *MsgUnblockAddress) XXX_Unmarshal(b []byte) error { func (m *MsgUnblockAddress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -307,7 +307,7 @@ func (m *MsgUnblockAddressResponse) Reset() { *m = MsgUnblockAddressResp
func (m *MsgUnblockAddressResponse) String() string { return proto.CompactTextString(m) } func (m *MsgUnblockAddressResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUnblockAddressResponse) ProtoMessage() {} func (*MsgUnblockAddressResponse) ProtoMessage() {}
func (*MsgUnblockAddressResponse) Descriptor() ([]byte, []int) { func (*MsgUnblockAddressResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{7} return fileDescriptor_2ea510c03e2fc68e, []int{7}
} }
func (m *MsgUnblockAddressResponse) XXX_Unmarshal(b []byte) error { func (m *MsgUnblockAddressResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -347,7 +347,7 @@ func (m *MsgSetPauseStatus) Reset() { *m = MsgSetPauseStatus{} }
func (m *MsgSetPauseStatus) String() string { return proto.CompactTextString(m) } func (m *MsgSetPauseStatus) String() string { return proto.CompactTextString(m) }
func (*MsgSetPauseStatus) ProtoMessage() {} func (*MsgSetPauseStatus) ProtoMessage() {}
func (*MsgSetPauseStatus) Descriptor() ([]byte, []int) { func (*MsgSetPauseStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{8} return fileDescriptor_2ea510c03e2fc68e, []int{8}
} }
func (m *MsgSetPauseStatus) XXX_Unmarshal(b []byte) error { func (m *MsgSetPauseStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -384,7 +384,7 @@ func (m *MsgSetPauseStatusResponse) Reset() { *m = MsgSetPauseStatusResp
func (m *MsgSetPauseStatusResponse) String() string { return proto.CompactTextString(m) } func (m *MsgSetPauseStatusResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSetPauseStatusResponse) ProtoMessage() {} func (*MsgSetPauseStatusResponse) ProtoMessage() {}
func (*MsgSetPauseStatusResponse) Descriptor() ([]byte, []int) { func (*MsgSetPauseStatusResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0cb7117b12e184a2, []int{9} return fileDescriptor_2ea510c03e2fc68e, []int{9}
} }
func (m *MsgSetPauseStatusResponse) XXX_Unmarshal(b []byte) error { func (m *MsgSetPauseStatusResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -414,54 +414,54 @@ func (m *MsgSetPauseStatusResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgSetPauseStatusResponse proto.InternalMessageInfo var xxx_messageInfo_MsgSetPauseStatusResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*MsgIssueTokens)(nil), "kava.issuance.v1beta1.MsgIssueTokens") proto.RegisterType((*MsgIssueTokens)(nil), "zgc.issuance.v1beta1.MsgIssueTokens")
proto.RegisterType((*MsgIssueTokensResponse)(nil), "kava.issuance.v1beta1.MsgIssueTokensResponse") proto.RegisterType((*MsgIssueTokensResponse)(nil), "zgc.issuance.v1beta1.MsgIssueTokensResponse")
proto.RegisterType((*MsgRedeemTokens)(nil), "kava.issuance.v1beta1.MsgRedeemTokens") proto.RegisterType((*MsgRedeemTokens)(nil), "zgc.issuance.v1beta1.MsgRedeemTokens")
proto.RegisterType((*MsgRedeemTokensResponse)(nil), "kava.issuance.v1beta1.MsgRedeemTokensResponse") proto.RegisterType((*MsgRedeemTokensResponse)(nil), "zgc.issuance.v1beta1.MsgRedeemTokensResponse")
proto.RegisterType((*MsgBlockAddress)(nil), "kava.issuance.v1beta1.MsgBlockAddress") proto.RegisterType((*MsgBlockAddress)(nil), "zgc.issuance.v1beta1.MsgBlockAddress")
proto.RegisterType((*MsgBlockAddressResponse)(nil), "kava.issuance.v1beta1.MsgBlockAddressResponse") proto.RegisterType((*MsgBlockAddressResponse)(nil), "zgc.issuance.v1beta1.MsgBlockAddressResponse")
proto.RegisterType((*MsgUnblockAddress)(nil), "kava.issuance.v1beta1.MsgUnblockAddress") proto.RegisterType((*MsgUnblockAddress)(nil), "zgc.issuance.v1beta1.MsgUnblockAddress")
proto.RegisterType((*MsgUnblockAddressResponse)(nil), "kava.issuance.v1beta1.MsgUnblockAddressResponse") proto.RegisterType((*MsgUnblockAddressResponse)(nil), "zgc.issuance.v1beta1.MsgUnblockAddressResponse")
proto.RegisterType((*MsgSetPauseStatus)(nil), "kava.issuance.v1beta1.MsgSetPauseStatus") proto.RegisterType((*MsgSetPauseStatus)(nil), "zgc.issuance.v1beta1.MsgSetPauseStatus")
proto.RegisterType((*MsgSetPauseStatusResponse)(nil), "kava.issuance.v1beta1.MsgSetPauseStatusResponse") proto.RegisterType((*MsgSetPauseStatusResponse)(nil), "zgc.issuance.v1beta1.MsgSetPauseStatusResponse")
} }
func init() { proto.RegisterFile("kava/issuance/v1beta1/tx.proto", fileDescriptor_0cb7117b12e184a2) } func init() { proto.RegisterFile("zgc/issuance/v1beta1/tx.proto", fileDescriptor_2ea510c03e2fc68e) }
var fileDescriptor_0cb7117b12e184a2 = []byte{ var fileDescriptor_2ea510c03e2fc68e = []byte{
// 503 bytes of a gzipped FileDescriptorProto // 503 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4f, 0x6f, 0xd3, 0x4c, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x31, 0x6f, 0xd3, 0x40,
0x10, 0xc6, 0xed, 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0xdb,
0xea, 0xd3, 0x08, 0xd0, 0xaf, 0xe8, 0x77, 0xf3, 0xe9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x57, 0x7d, 0x19, 0x00, 0x06, 0x15, 0xbd, 0x2d, 0x9f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xdd,
0x4d, 0xbc, 0xcd, 0xa6, 0x05, 0x00, 0x00, 0xcb, 0x33, 0x4b, 0x9a, 0x05, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -498,7 +498,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) IssueTokens(ctx context.Context, in *MsgIssueTokens, opts ...grpc.CallOption) (*MsgIssueTokensResponse, error) { func (c *msgClient) IssueTokens(ctx context.Context, in *MsgIssueTokens, opts ...grpc.CallOption) (*MsgIssueTokensResponse, error) {
out := new(MsgIssueTokensResponse) out := new(MsgIssueTokensResponse)
err := c.cc.Invoke(ctx, "/kava.issuance.v1beta1.Msg/IssueTokens", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.issuance.v1beta1.Msg/IssueTokens", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -507,7 +507,7 @@ func (c *msgClient) IssueTokens(ctx context.Context, in *MsgIssueTokens, opts ..
func (c *msgClient) RedeemTokens(ctx context.Context, in *MsgRedeemTokens, opts ...grpc.CallOption) (*MsgRedeemTokensResponse, error) { func (c *msgClient) RedeemTokens(ctx context.Context, in *MsgRedeemTokens, opts ...grpc.CallOption) (*MsgRedeemTokensResponse, error) {
out := new(MsgRedeemTokensResponse) out := new(MsgRedeemTokensResponse)
err := c.cc.Invoke(ctx, "/kava.issuance.v1beta1.Msg/RedeemTokens", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.issuance.v1beta1.Msg/RedeemTokens", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -516,7 +516,7 @@ func (c *msgClient) RedeemTokens(ctx context.Context, in *MsgRedeemTokens, opts
func (c *msgClient) BlockAddress(ctx context.Context, in *MsgBlockAddress, opts ...grpc.CallOption) (*MsgBlockAddressResponse, error) { func (c *msgClient) BlockAddress(ctx context.Context, in *MsgBlockAddress, opts ...grpc.CallOption) (*MsgBlockAddressResponse, error) {
out := new(MsgBlockAddressResponse) out := new(MsgBlockAddressResponse)
err := c.cc.Invoke(ctx, "/kava.issuance.v1beta1.Msg/BlockAddress", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.issuance.v1beta1.Msg/BlockAddress", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -525,7 +525,7 @@ func (c *msgClient) BlockAddress(ctx context.Context, in *MsgBlockAddress, opts
func (c *msgClient) UnblockAddress(ctx context.Context, in *MsgUnblockAddress, opts ...grpc.CallOption) (*MsgUnblockAddressResponse, error) { func (c *msgClient) UnblockAddress(ctx context.Context, in *MsgUnblockAddress, opts ...grpc.CallOption) (*MsgUnblockAddressResponse, error) {
out := new(MsgUnblockAddressResponse) out := new(MsgUnblockAddressResponse)
err := c.cc.Invoke(ctx, "/kava.issuance.v1beta1.Msg/UnblockAddress", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.issuance.v1beta1.Msg/UnblockAddress", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -534,7 +534,7 @@ func (c *msgClient) UnblockAddress(ctx context.Context, in *MsgUnblockAddress, o
func (c *msgClient) SetPauseStatus(ctx context.Context, in *MsgSetPauseStatus, opts ...grpc.CallOption) (*MsgSetPauseStatusResponse, error) { func (c *msgClient) SetPauseStatus(ctx context.Context, in *MsgSetPauseStatus, opts ...grpc.CallOption) (*MsgSetPauseStatusResponse, error) {
out := new(MsgSetPauseStatusResponse) out := new(MsgSetPauseStatusResponse)
err := c.cc.Invoke(ctx, "/kava.issuance.v1beta1.Msg/SetPauseStatus", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.issuance.v1beta1.Msg/SetPauseStatus", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -589,7 +589,7 @@ func _Msg_IssueTokens_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.issuance.v1beta1.Msg/IssueTokens", FullMethod: "/zgc.issuance.v1beta1.Msg/IssueTokens",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).IssueTokens(ctx, req.(*MsgIssueTokens)) return srv.(MsgServer).IssueTokens(ctx, req.(*MsgIssueTokens))
@ -607,7 +607,7 @@ func _Msg_RedeemTokens_Handler(srv interface{}, ctx context.Context, dec func(in
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.issuance.v1beta1.Msg/RedeemTokens", FullMethod: "/zgc.issuance.v1beta1.Msg/RedeemTokens",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).RedeemTokens(ctx, req.(*MsgRedeemTokens)) return srv.(MsgServer).RedeemTokens(ctx, req.(*MsgRedeemTokens))
@ -625,7 +625,7 @@ func _Msg_BlockAddress_Handler(srv interface{}, ctx context.Context, dec func(in
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.issuance.v1beta1.Msg/BlockAddress", FullMethod: "/zgc.issuance.v1beta1.Msg/BlockAddress",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).BlockAddress(ctx, req.(*MsgBlockAddress)) return srv.(MsgServer).BlockAddress(ctx, req.(*MsgBlockAddress))
@ -643,7 +643,7 @@ func _Msg_UnblockAddress_Handler(srv interface{}, ctx context.Context, dec func(
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.issuance.v1beta1.Msg/UnblockAddress", FullMethod: "/zgc.issuance.v1beta1.Msg/UnblockAddress",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UnblockAddress(ctx, req.(*MsgUnblockAddress)) return srv.(MsgServer).UnblockAddress(ctx, req.(*MsgUnblockAddress))
@ -661,7 +661,7 @@ func _Msg_SetPauseStatus_Handler(srv interface{}, ctx context.Context, dec func(
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.issuance.v1beta1.Msg/SetPauseStatus", FullMethod: "/zgc.issuance.v1beta1.Msg/SetPauseStatus",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SetPauseStatus(ctx, req.(*MsgSetPauseStatus)) return srv.(MsgServer).SetPauseStatus(ctx, req.(*MsgSetPauseStatus))
@ -670,7 +670,7 @@ func _Msg_SetPauseStatus_Handler(srv interface{}, ctx context.Context, dec func(
} }
var _Msg_serviceDesc = grpc.ServiceDesc{ var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.issuance.v1beta1.Msg", ServiceName: "zgc.issuance.v1beta1.Msg",
HandlerType: (*MsgServer)(nil), HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -695,7 +695,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/issuance/v1beta1/tx.proto", Metadata: "zgc/issuance/v1beta1/tx.proto",
} }
func (m *MsgIssueTokens) Marshal() (dAtA []byte, err error) { func (m *MsgIssueTokens) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/pricefeed/v1beta1/genesis.proto // source: zgc/pricefeed/v1beta1/genesis.proto
package types package types
@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {} func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) { func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_fffec798191784d2, []int{0} return fileDescriptor_066844a93a71fcce, []int{0}
} }
func (m *GenesisState) XXX_Unmarshal(b []byte) error { func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -78,32 +78,32 @@ func (m *GenesisState) GetPostedPrices() PostedPrices {
} }
func init() { func init() {
proto.RegisterType((*GenesisState)(nil), "kava.pricefeed.v1beta1.GenesisState") proto.RegisterType((*GenesisState)(nil), "zgc.pricefeed.v1beta1.GenesisState")
} }
func init() { func init() {
proto.RegisterFile("kava/pricefeed/v1beta1/genesis.proto", fileDescriptor_fffec798191784d2) proto.RegisterFile("zgc/pricefeed/v1beta1/genesis.proto", fileDescriptor_066844a93a71fcce)
} }
var fileDescriptor_fffec798191784d2 = []byte{ var fileDescriptor_066844a93a71fcce = []byte{
// 268 bytes of a gzipped FileDescriptorProto // 268 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xc9, 0x4e, 0x2c, 0x4b, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xae, 0x4a, 0x4f, 0xd6,
0xd4, 0x2f, 0x28, 0xca, 0x4c, 0x4e, 0x4d, 0x4b, 0x4d, 0x4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 0x58, 0x8e, 0xe1,
0xc6, 0x63, 0x39, 0x86, 0x28, 0x9d, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x9d, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c,
0x7d, 0x83, 0xf4, 0x9c, 0xc4, 0xa4, 0x62, 0x7d, 0x83, 0x74, 0xdd, 0xe4, 0x8c, 0xc4, 0xcc, 0x3c, 0x7d, 0x83, 0xf4, 0x9c, 0xc4, 0xa4, 0x62, 0x7d, 0x83, 0x74, 0xdd, 0xe4, 0x8c, 0xc4, 0xcc, 0x3c,
0xfd, 0x0a, 0xa4, 0xc0, 0x28, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x87, 0x82, 0x31, 0x20, 0xfd, 0x0a, 0xa4, 0xa0, 0x28, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x87, 0x81, 0x31, 0x20,
0x00, 0x00, 0xff, 0xff, 0xbb, 0x51, 0xdc, 0x9c, 0x7f, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8d, 0xd5, 0x5f, 0xd1, 0x7a, 0x01, 0x00, 0x00,
} }
func (this *GenesisState) VerboseEqual(that interface{}) error { func (this *GenesisState) VerboseEqual(that interface{}) error {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/pricefeed/v1beta1/query.proto // source: zgc/pricefeed/v1beta1/query.proto
package types package types
@ -43,7 +43,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) { func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{0} return fileDescriptor_1ee24f62d2f5d373, []int{0}
} }
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -82,7 +82,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) { func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{1} return fileDescriptor_1ee24f62d2f5d373, []int{1}
} }
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -120,7 +120,7 @@ func (m *QueryPriceRequest) Reset() { *m = QueryPriceRequest{} }
func (m *QueryPriceRequest) String() string { return proto.CompactTextString(m) } func (m *QueryPriceRequest) String() string { return proto.CompactTextString(m) }
func (*QueryPriceRequest) ProtoMessage() {} func (*QueryPriceRequest) ProtoMessage() {}
func (*QueryPriceRequest) Descriptor() ([]byte, []int) { func (*QueryPriceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{2} return fileDescriptor_1ee24f62d2f5d373, []int{2}
} }
func (m *QueryPriceRequest) XXX_Unmarshal(b []byte) error { func (m *QueryPriceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -158,7 +158,7 @@ func (m *QueryPriceResponse) Reset() { *m = QueryPriceResponse{} }
func (m *QueryPriceResponse) String() string { return proto.CompactTextString(m) } func (m *QueryPriceResponse) String() string { return proto.CompactTextString(m) }
func (*QueryPriceResponse) ProtoMessage() {} func (*QueryPriceResponse) ProtoMessage() {}
func (*QueryPriceResponse) Descriptor() ([]byte, []int) { func (*QueryPriceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{3} return fileDescriptor_1ee24f62d2f5d373, []int{3}
} }
func (m *QueryPriceResponse) XXX_Unmarshal(b []byte) error { func (m *QueryPriceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -195,7 +195,7 @@ func (m *QueryPricesRequest) Reset() { *m = QueryPricesRequest{} }
func (m *QueryPricesRequest) String() string { return proto.CompactTextString(m) } func (m *QueryPricesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryPricesRequest) ProtoMessage() {} func (*QueryPricesRequest) ProtoMessage() {}
func (*QueryPricesRequest) Descriptor() ([]byte, []int) { func (*QueryPricesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{4} return fileDescriptor_1ee24f62d2f5d373, []int{4}
} }
func (m *QueryPricesRequest) XXX_Unmarshal(b []byte) error { func (m *QueryPricesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -233,7 +233,7 @@ func (m *QueryPricesResponse) Reset() { *m = QueryPricesResponse{} }
func (m *QueryPricesResponse) String() string { return proto.CompactTextString(m) } func (m *QueryPricesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryPricesResponse) ProtoMessage() {} func (*QueryPricesResponse) ProtoMessage() {}
func (*QueryPricesResponse) Descriptor() ([]byte, []int) { func (*QueryPricesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{5} return fileDescriptor_1ee24f62d2f5d373, []int{5}
} }
func (m *QueryPricesResponse) XXX_Unmarshal(b []byte) error { func (m *QueryPricesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -271,7 +271,7 @@ func (m *QueryRawPricesRequest) Reset() { *m = QueryRawPricesRequest{} }
func (m *QueryRawPricesRequest) String() string { return proto.CompactTextString(m) } func (m *QueryRawPricesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRawPricesRequest) ProtoMessage() {} func (*QueryRawPricesRequest) ProtoMessage() {}
func (*QueryRawPricesRequest) Descriptor() ([]byte, []int) { func (*QueryRawPricesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{6} return fileDescriptor_1ee24f62d2f5d373, []int{6}
} }
func (m *QueryRawPricesRequest) XXX_Unmarshal(b []byte) error { func (m *QueryRawPricesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -310,7 +310,7 @@ func (m *QueryRawPricesResponse) Reset() { *m = QueryRawPricesResponse{}
func (m *QueryRawPricesResponse) String() string { return proto.CompactTextString(m) } func (m *QueryRawPricesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryRawPricesResponse) ProtoMessage() {} func (*QueryRawPricesResponse) ProtoMessage() {}
func (*QueryRawPricesResponse) Descriptor() ([]byte, []int) { func (*QueryRawPricesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{7} return fileDescriptor_1ee24f62d2f5d373, []int{7}
} }
func (m *QueryRawPricesResponse) XXX_Unmarshal(b []byte) error { func (m *QueryRawPricesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -348,7 +348,7 @@ func (m *QueryOraclesRequest) Reset() { *m = QueryOraclesRequest{} }
func (m *QueryOraclesRequest) String() string { return proto.CompactTextString(m) } func (m *QueryOraclesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryOraclesRequest) ProtoMessage() {} func (*QueryOraclesRequest) ProtoMessage() {}
func (*QueryOraclesRequest) Descriptor() ([]byte, []int) { func (*QueryOraclesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{8} return fileDescriptor_1ee24f62d2f5d373, []int{8}
} }
func (m *QueryOraclesRequest) XXX_Unmarshal(b []byte) error { func (m *QueryOraclesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -387,7 +387,7 @@ func (m *QueryOraclesResponse) Reset() { *m = QueryOraclesResponse{} }
func (m *QueryOraclesResponse) String() string { return proto.CompactTextString(m) } func (m *QueryOraclesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryOraclesResponse) ProtoMessage() {} func (*QueryOraclesResponse) ProtoMessage() {}
func (*QueryOraclesResponse) Descriptor() ([]byte, []int) { func (*QueryOraclesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{9} return fileDescriptor_1ee24f62d2f5d373, []int{9}
} }
func (m *QueryOraclesResponse) XXX_Unmarshal(b []byte) error { func (m *QueryOraclesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -424,7 +424,7 @@ func (m *QueryMarketsRequest) Reset() { *m = QueryMarketsRequest{} }
func (m *QueryMarketsRequest) String() string { return proto.CompactTextString(m) } func (m *QueryMarketsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryMarketsRequest) ProtoMessage() {} func (*QueryMarketsRequest) ProtoMessage() {}
func (*QueryMarketsRequest) Descriptor() ([]byte, []int) { func (*QueryMarketsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{10} return fileDescriptor_1ee24f62d2f5d373, []int{10}
} }
func (m *QueryMarketsRequest) XXX_Unmarshal(b []byte) error { func (m *QueryMarketsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -463,7 +463,7 @@ func (m *QueryMarketsResponse) Reset() { *m = QueryMarketsResponse{} }
func (m *QueryMarketsResponse) String() string { return proto.CompactTextString(m) } func (m *QueryMarketsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryMarketsResponse) ProtoMessage() {} func (*QueryMarketsResponse) ProtoMessage() {}
func (*QueryMarketsResponse) Descriptor() ([]byte, []int) { func (*QueryMarketsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{11} return fileDescriptor_1ee24f62d2f5d373, []int{11}
} }
func (m *QueryMarketsResponse) XXX_Unmarshal(b []byte) error { func (m *QueryMarketsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -504,7 +504,7 @@ func (m *PostedPriceResponse) Reset() { *m = PostedPriceResponse{} }
func (m *PostedPriceResponse) String() string { return proto.CompactTextString(m) } func (m *PostedPriceResponse) String() string { return proto.CompactTextString(m) }
func (*PostedPriceResponse) ProtoMessage() {} func (*PostedPriceResponse) ProtoMessage() {}
func (*PostedPriceResponse) Descriptor() ([]byte, []int) { func (*PostedPriceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{12} return fileDescriptor_1ee24f62d2f5d373, []int{12}
} }
func (m *PostedPriceResponse) XXX_Unmarshal(b []byte) error { func (m *PostedPriceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -565,7 +565,7 @@ func (m *CurrentPriceResponse) Reset() { *m = CurrentPriceResponse{} }
func (m *CurrentPriceResponse) String() string { return proto.CompactTextString(m) } func (m *CurrentPriceResponse) String() string { return proto.CompactTextString(m) }
func (*CurrentPriceResponse) ProtoMessage() {} func (*CurrentPriceResponse) ProtoMessage() {}
func (*CurrentPriceResponse) Descriptor() ([]byte, []int) { func (*CurrentPriceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{13} return fileDescriptor_1ee24f62d2f5d373, []int{13}
} }
func (m *CurrentPriceResponse) XXX_Unmarshal(b []byte) error { func (m *CurrentPriceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -614,7 +614,7 @@ func (m *MarketResponse) Reset() { *m = MarketResponse{} }
func (m *MarketResponse) String() string { return proto.CompactTextString(m) } func (m *MarketResponse) String() string { return proto.CompactTextString(m) }
func (*MarketResponse) ProtoMessage() {} func (*MarketResponse) ProtoMessage() {}
func (*MarketResponse) Descriptor() ([]byte, []int) { func (*MarketResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84567be3085e4c6c, []int{14} return fileDescriptor_1ee24f62d2f5d373, []int{14}
} }
func (m *MarketResponse) XXX_Unmarshal(b []byte) error { func (m *MarketResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -679,85 +679,83 @@ func (m *MarketResponse) GetActive() bool {
} }
func init() { func init() {
proto.RegisterType((*QueryParamsRequest)(nil), "kava.pricefeed.v1beta1.QueryParamsRequest") proto.RegisterType((*QueryParamsRequest)(nil), "zgc.pricefeed.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "kava.pricefeed.v1beta1.QueryParamsResponse") proto.RegisterType((*QueryParamsResponse)(nil), "zgc.pricefeed.v1beta1.QueryParamsResponse")
proto.RegisterType((*QueryPriceRequest)(nil), "kava.pricefeed.v1beta1.QueryPriceRequest") proto.RegisterType((*QueryPriceRequest)(nil), "zgc.pricefeed.v1beta1.QueryPriceRequest")
proto.RegisterType((*QueryPriceResponse)(nil), "kava.pricefeed.v1beta1.QueryPriceResponse") proto.RegisterType((*QueryPriceResponse)(nil), "zgc.pricefeed.v1beta1.QueryPriceResponse")
proto.RegisterType((*QueryPricesRequest)(nil), "kava.pricefeed.v1beta1.QueryPricesRequest") proto.RegisterType((*QueryPricesRequest)(nil), "zgc.pricefeed.v1beta1.QueryPricesRequest")
proto.RegisterType((*QueryPricesResponse)(nil), "kava.pricefeed.v1beta1.QueryPricesResponse") proto.RegisterType((*QueryPricesResponse)(nil), "zgc.pricefeed.v1beta1.QueryPricesResponse")
proto.RegisterType((*QueryRawPricesRequest)(nil), "kava.pricefeed.v1beta1.QueryRawPricesRequest") proto.RegisterType((*QueryRawPricesRequest)(nil), "zgc.pricefeed.v1beta1.QueryRawPricesRequest")
proto.RegisterType((*QueryRawPricesResponse)(nil), "kava.pricefeed.v1beta1.QueryRawPricesResponse") proto.RegisterType((*QueryRawPricesResponse)(nil), "zgc.pricefeed.v1beta1.QueryRawPricesResponse")
proto.RegisterType((*QueryOraclesRequest)(nil), "kava.pricefeed.v1beta1.QueryOraclesRequest") proto.RegisterType((*QueryOraclesRequest)(nil), "zgc.pricefeed.v1beta1.QueryOraclesRequest")
proto.RegisterType((*QueryOraclesResponse)(nil), "kava.pricefeed.v1beta1.QueryOraclesResponse") proto.RegisterType((*QueryOraclesResponse)(nil), "zgc.pricefeed.v1beta1.QueryOraclesResponse")
proto.RegisterType((*QueryMarketsRequest)(nil), "kava.pricefeed.v1beta1.QueryMarketsRequest") proto.RegisterType((*QueryMarketsRequest)(nil), "zgc.pricefeed.v1beta1.QueryMarketsRequest")
proto.RegisterType((*QueryMarketsResponse)(nil), "kava.pricefeed.v1beta1.QueryMarketsResponse") proto.RegisterType((*QueryMarketsResponse)(nil), "zgc.pricefeed.v1beta1.QueryMarketsResponse")
proto.RegisterType((*PostedPriceResponse)(nil), "kava.pricefeed.v1beta1.PostedPriceResponse") proto.RegisterType((*PostedPriceResponse)(nil), "zgc.pricefeed.v1beta1.PostedPriceResponse")
proto.RegisterType((*CurrentPriceResponse)(nil), "kava.pricefeed.v1beta1.CurrentPriceResponse") proto.RegisterType((*CurrentPriceResponse)(nil), "zgc.pricefeed.v1beta1.CurrentPriceResponse")
proto.RegisterType((*MarketResponse)(nil), "kava.pricefeed.v1beta1.MarketResponse") proto.RegisterType((*MarketResponse)(nil), "zgc.pricefeed.v1beta1.MarketResponse")
} }
func init() { func init() { proto.RegisterFile("zgc/pricefeed/v1beta1/query.proto", fileDescriptor_1ee24f62d2f5d373) }
proto.RegisterFile("kava/pricefeed/v1beta1/query.proto", fileDescriptor_84567be3085e4c6c)
}
var fileDescriptor_84567be3085e4c6c = []byte{ var fileDescriptor_1ee24f62d2f5d373 = []byte{
// 890 bytes of a gzipped FileDescriptorProto // 892 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4d, 0x6f, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4d, 0x6f, 0x1b, 0x45,
0x18, 0xc7, 0x3d, 0xa9, 0x5f, 0xa7, 0x50, 0xc4, 0xd4, 0x09, 0x96, 0x69, 0x77, 0xc3, 0x4a, 0x84, 0x18, 0xc7, 0x3d, 0xa9, 0x5f, 0xa7, 0x50, 0xc4, 0xd4, 0x2e, 0x96, 0x69, 0x76, 0x8b, 0x21, 0x28,
0x36, 0xb1, 0x77, 0xdb, 0x54, 0x54, 0xa8, 0xe2, 0x52, 0x93, 0x03, 0x3d, 0xf0, 0xb6, 0xe2, 0x52, 0x2f, 0xcd, 0x6e, 0xdc, 0x4a, 0x01, 0x0a, 0x97, 0x9a, 0x48, 0xa8, 0x07, 0xde, 0x56, 0x1c, 0x2a,
0x2e, 0xd6, 0x78, 0x77, 0xea, 0xac, 0x12, 0x7b, 0x36, 0x3b, 0xe3, 0xb8, 0x11, 0x42, 0x42, 0x08, 0x2e, 0xd6, 0x78, 0x3d, 0xdd, 0xae, 0x1a, 0x7b, 0x36, 0x3b, 0xe3, 0xa4, 0x29, 0x42, 0x48, 0x5c,
0x89, 0x72, 0x40, 0xaa, 0xe0, 0xc4, 0x0d, 0x6e, 0x08, 0x89, 0xef, 0xd1, 0x63, 0x25, 0x2e, 0x88, 0x40, 0xe2, 0x40, 0x24, 0xb8, 0x71, 0x41, 0xe2, 0x82, 0x90, 0xf8, 0x1e, 0x39, 0x46, 0xe2, 0x82,
0x43, 0x5a, 0x1c, 0x6e, 0x7c, 0x09, 0xb4, 0x33, 0xcf, 0x2e, 0xde, 0xd4, 0x9b, 0xac, 0xc5, 0x29, 0x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16, 0x1d, 0x18, 0x78, 0xfb, 0xa3, 0xd3, 0xbf, 0x0d, 0xf4,
0xd0, 0xf3, 0x99, 0x81, 0x1e, 0x9f, 0x18, 0xa5, 0xa7, 0x27, 0x46, 0xe9, 0x8f, 0x13, 0xa3, 0xf4, 0xeb, 0xc8, 0x40, 0x87, 0x23, 0x03, 0x1d, 0x8d, 0x0c, 0x74, 0x3a, 0x32, 0xd0, 0xc1, 0x99, 0x91,
0x59, 0x67, 0xce, 0x87, 0x6e, 0x0c, 0xf7, 0xe9, 0x40, 0x38, 0x37, 0x86, 0x5d, 0x6f, 0x97, 0x06, 0x3b, 0x3a, 0x33, 0x72, 0x7f, 0x9e, 0x19, 0xb9, 0xcf, 0x6f, 0x8f, 0x79, 0xd2, 0x86, 0xb7, 0x4d,
0x63, 0xe7, 0xe1, 0x5c, 0x67, 0xe5, 0x48, 0x83, 0xaa, 0xb2, 0xcd, 0x5b, 0xff, 0x06, 0x00, 0x00, 0xbb, 0xe2, 0xbc, 0xef, 0xd3, 0xb1, 0xce, 0xca, 0x9d, 0xba, 0x45, 0x65, 0xa1, 0x77, 0xff, 0x0b,
0xff, 0xff, 0x16, 0xed, 0x42, 0x1f, 0x2d, 0x0a, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, 0xb2, 0x2c, 0x28, 0x30, 0x0a, 0x00, 0x00,
} }
func (this *QueryParamsRequest) VerboseEqual(that interface{}) error { func (this *QueryParamsRequest) VerboseEqual(that interface{}) error {
@ -1687,7 +1685,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse) out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Query/Params", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Query/Params", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1696,7 +1694,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
func (c *queryClient) Price(ctx context.Context, in *QueryPriceRequest, opts ...grpc.CallOption) (*QueryPriceResponse, error) { func (c *queryClient) Price(ctx context.Context, in *QueryPriceRequest, opts ...grpc.CallOption) (*QueryPriceResponse, error) {
out := new(QueryPriceResponse) out := new(QueryPriceResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Query/Price", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Query/Price", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1705,7 +1703,7 @@ func (c *queryClient) Price(ctx context.Context, in *QueryPriceRequest, opts ...
func (c *queryClient) Prices(ctx context.Context, in *QueryPricesRequest, opts ...grpc.CallOption) (*QueryPricesResponse, error) { func (c *queryClient) Prices(ctx context.Context, in *QueryPricesRequest, opts ...grpc.CallOption) (*QueryPricesResponse, error) {
out := new(QueryPricesResponse) out := new(QueryPricesResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Query/Prices", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Query/Prices", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1714,7 +1712,7 @@ func (c *queryClient) Prices(ctx context.Context, in *QueryPricesRequest, opts .
func (c *queryClient) RawPrices(ctx context.Context, in *QueryRawPricesRequest, opts ...grpc.CallOption) (*QueryRawPricesResponse, error) { func (c *queryClient) RawPrices(ctx context.Context, in *QueryRawPricesRequest, opts ...grpc.CallOption) (*QueryRawPricesResponse, error) {
out := new(QueryRawPricesResponse) out := new(QueryRawPricesResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Query/RawPrices", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Query/RawPrices", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1723,7 +1721,7 @@ func (c *queryClient) RawPrices(ctx context.Context, in *QueryRawPricesRequest,
func (c *queryClient) Oracles(ctx context.Context, in *QueryOraclesRequest, opts ...grpc.CallOption) (*QueryOraclesResponse, error) { func (c *queryClient) Oracles(ctx context.Context, in *QueryOraclesRequest, opts ...grpc.CallOption) (*QueryOraclesResponse, error) {
out := new(QueryOraclesResponse) out := new(QueryOraclesResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Query/Oracles", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Query/Oracles", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1732,7 +1730,7 @@ func (c *queryClient) Oracles(ctx context.Context, in *QueryOraclesRequest, opts
func (c *queryClient) Markets(ctx context.Context, in *QueryMarketsRequest, opts ...grpc.CallOption) (*QueryMarketsResponse, error) { func (c *queryClient) Markets(ctx context.Context, in *QueryMarketsRequest, opts ...grpc.CallOption) (*QueryMarketsResponse, error) {
out := new(QueryMarketsResponse) out := new(QueryMarketsResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Query/Markets", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Query/Markets", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -1792,7 +1790,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Query/Params", FullMethod: "/zgc.pricefeed.v1beta1.Query/Params",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -1810,7 +1808,7 @@ func _Query_Price_Handler(srv interface{}, ctx context.Context, dec func(interfa
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Query/Price", FullMethod: "/zgc.pricefeed.v1beta1.Query/Price",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Price(ctx, req.(*QueryPriceRequest)) return srv.(QueryServer).Price(ctx, req.(*QueryPriceRequest))
@ -1828,7 +1826,7 @@ func _Query_Prices_Handler(srv interface{}, ctx context.Context, dec func(interf
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Query/Prices", FullMethod: "/zgc.pricefeed.v1beta1.Query/Prices",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Prices(ctx, req.(*QueryPricesRequest)) return srv.(QueryServer).Prices(ctx, req.(*QueryPricesRequest))
@ -1846,7 +1844,7 @@ func _Query_RawPrices_Handler(srv interface{}, ctx context.Context, dec func(int
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Query/RawPrices", FullMethod: "/zgc.pricefeed.v1beta1.Query/RawPrices",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).RawPrices(ctx, req.(*QueryRawPricesRequest)) return srv.(QueryServer).RawPrices(ctx, req.(*QueryRawPricesRequest))
@ -1864,7 +1862,7 @@ func _Query_Oracles_Handler(srv interface{}, ctx context.Context, dec func(inter
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Query/Oracles", FullMethod: "/zgc.pricefeed.v1beta1.Query/Oracles",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Oracles(ctx, req.(*QueryOraclesRequest)) return srv.(QueryServer).Oracles(ctx, req.(*QueryOraclesRequest))
@ -1882,7 +1880,7 @@ func _Query_Markets_Handler(srv interface{}, ctx context.Context, dec func(inter
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Query/Markets", FullMethod: "/zgc.pricefeed.v1beta1.Query/Markets",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Markets(ctx, req.(*QueryMarketsRequest)) return srv.(QueryServer).Markets(ctx, req.(*QueryMarketsRequest))
@ -1891,7 +1889,7 @@ func _Query_Markets_Handler(srv interface{}, ctx context.Context, dec func(inter
} }
var _Query_serviceDesc = grpc.ServiceDesc{ var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.pricefeed.v1beta1.Query", ServiceName: "zgc.pricefeed.v1beta1.Query",
HandlerType: (*QueryServer)(nil), HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -1920,7 +1918,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/pricefeed/v1beta1/query.proto", Metadata: "zgc/pricefeed/v1beta1/query.proto",
} }
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/pricefeed/v1beta1/query.proto // source: zgc/pricefeed/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -558,17 +558,17 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "pricefeed", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "pricefeed", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Price_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "pricefeed", "v1beta1", "prices", "market_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Price_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "pricefeed", "v1beta1", "prices", "market_id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Prices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "pricefeed", "v1beta1", "prices"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Prices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "pricefeed", "v1beta1", "prices"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_RawPrices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "pricefeed", "v1beta1", "rawprices", "market_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_RawPrices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "pricefeed", "v1beta1", "rawprices", "market_id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Oracles_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "pricefeed", "v1beta1", "oracles", "market_id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Oracles_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g-chain", "pricefeed", "v1beta1", "oracles", "market_id"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Markets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "pricefeed", "v1beta1", "markets"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_Markets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "pricefeed", "v1beta1", "markets"}, "", runtime.AssumeColonVerbOpt(false)))
) )
var ( var (

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/pricefeed/v1beta1/store.proto // source: zgc/pricefeed/v1beta1/store.proto
package types package types
@ -39,7 +39,7 @@ func (m *Params) Reset() { *m = Params{} }
func (m *Params) String() string { return proto.CompactTextString(m) } func (m *Params) String() string { return proto.CompactTextString(m) }
func (*Params) ProtoMessage() {} func (*Params) ProtoMessage() {}
func (*Params) Descriptor() ([]byte, []int) { func (*Params) Descriptor() ([]byte, []int) {
return fileDescriptor_9df40639f5e16f9a, []int{0} return fileDescriptor_b2c3c1086cf495eb, []int{0}
} }
func (m *Params) XXX_Unmarshal(b []byte) error { func (m *Params) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -88,7 +88,7 @@ func (m *Market) Reset() { *m = Market{} }
func (m *Market) String() string { return proto.CompactTextString(m) } func (m *Market) String() string { return proto.CompactTextString(m) }
func (*Market) ProtoMessage() {} func (*Market) ProtoMessage() {}
func (*Market) Descriptor() ([]byte, []int) { func (*Market) Descriptor() ([]byte, []int) {
return fileDescriptor_9df40639f5e16f9a, []int{1} return fileDescriptor_b2c3c1086cf495eb, []int{1}
} }
func (m *Market) XXX_Unmarshal(b []byte) error { func (m *Market) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -164,7 +164,7 @@ func (m *PostedPrice) Reset() { *m = PostedPrice{} }
func (m *PostedPrice) String() string { return proto.CompactTextString(m) } func (m *PostedPrice) String() string { return proto.CompactTextString(m) }
func (*PostedPrice) ProtoMessage() {} func (*PostedPrice) ProtoMessage() {}
func (*PostedPrice) Descriptor() ([]byte, []int) { func (*PostedPrice) Descriptor() ([]byte, []int) {
return fileDescriptor_9df40639f5e16f9a, []int{2} return fileDescriptor_b2c3c1086cf495eb, []int{2}
} }
func (m *PostedPrice) XXX_Unmarshal(b []byte) error { func (m *PostedPrice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -225,7 +225,7 @@ func (m *CurrentPrice) Reset() { *m = CurrentPrice{} }
func (m *CurrentPrice) String() string { return proto.CompactTextString(m) } func (m *CurrentPrice) String() string { return proto.CompactTextString(m) }
func (*CurrentPrice) ProtoMessage() {} func (*CurrentPrice) ProtoMessage() {}
func (*CurrentPrice) Descriptor() ([]byte, []int) { func (*CurrentPrice) Descriptor() ([]byte, []int) {
return fileDescriptor_9df40639f5e16f9a, []int{3} return fileDescriptor_b2c3c1086cf495eb, []int{3}
} }
func (m *CurrentPrice) XXX_Unmarshal(b []byte) error { func (m *CurrentPrice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -262,51 +262,49 @@ func (m *CurrentPrice) GetMarketID() string {
} }
func init() { func init() {
proto.RegisterType((*Params)(nil), "kava.pricefeed.v1beta1.Params") proto.RegisterType((*Params)(nil), "zgc.pricefeed.v1beta1.Params")
proto.RegisterType((*Market)(nil), "kava.pricefeed.v1beta1.Market") proto.RegisterType((*Market)(nil), "zgc.pricefeed.v1beta1.Market")
proto.RegisterType((*PostedPrice)(nil), "kava.pricefeed.v1beta1.PostedPrice") proto.RegisterType((*PostedPrice)(nil), "zgc.pricefeed.v1beta1.PostedPrice")
proto.RegisterType((*CurrentPrice)(nil), "kava.pricefeed.v1beta1.CurrentPrice") proto.RegisterType((*CurrentPrice)(nil), "zgc.pricefeed.v1beta1.CurrentPrice")
} }
func init() { func init() { proto.RegisterFile("zgc/pricefeed/v1beta1/store.proto", fileDescriptor_b2c3c1086cf495eb) }
proto.RegisterFile("kava/pricefeed/v1beta1/store.proto", fileDescriptor_9df40639f5e16f9a)
}
var fileDescriptor_9df40639f5e16f9a = []byte{ var fileDescriptor_b2c3c1086cf495eb = []byte{
// 515 bytes of a gzipped FileDescriptorProto // 516 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x3f, 0x6f, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcd, 0x6e, 0xd3, 0x40,
0x14, 0xcf, 0x25, 0x6d, 0xfe, 0x5c, 0x02, 0x48, 0x06, 0x55, 0x26, 0x12, 0x76, 0xe4, 0x01, 0x19, 0x10, 0xce, 0x36, 0x6d, 0x7e, 0x36, 0x01, 0x24, 0xf3, 0x23, 0x13, 0xa9, 0x76, 0xc8, 0x01, 0x19,
0x89, 0x9c, 0xdb, 0xb2, 0xb2, 0xc4, 0x64, 0x20, 0x03, 0x28, 0x32, 0x4c, 0x2c, 0xd1, 0xd9, 0x7e, 0x89, 0xac, 0xdb, 0x72, 0xe5, 0x12, 0x93, 0x43, 0x7b, 0x00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, 0x6b, 0xbf, 0xf8, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xf3, 0xeb, 0x7a,
0x03, 0x00, 0x00, 0xdb, 0x03, 0x00, 0x00,
} }
func (this *Params) VerboseEqual(that interface{}) error { func (this *Params) VerboseEqual(that interface{}) error {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/pricefeed/v1beta1/tx.proto // source: zgc/pricefeed/v1beta1/tx.proto
package types package types
@ -46,7 +46,7 @@ func (m *MsgPostPrice) Reset() { *m = MsgPostPrice{} }
func (m *MsgPostPrice) String() string { return proto.CompactTextString(m) } func (m *MsgPostPrice) String() string { return proto.CompactTextString(m) }
func (*MsgPostPrice) ProtoMessage() {} func (*MsgPostPrice) ProtoMessage() {}
func (*MsgPostPrice) Descriptor() ([]byte, []int) { func (*MsgPostPrice) Descriptor() ([]byte, []int) {
return fileDescriptor_afd93c8e4685da16, []int{0} return fileDescriptor_69b95318348501da, []int{0}
} }
func (m *MsgPostPrice) XXX_Unmarshal(b []byte) error { func (m *MsgPostPrice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -83,7 +83,7 @@ func (m *MsgPostPriceResponse) Reset() { *m = MsgPostPriceResponse{} }
func (m *MsgPostPriceResponse) String() string { return proto.CompactTextString(m) } func (m *MsgPostPriceResponse) String() string { return proto.CompactTextString(m) }
func (*MsgPostPriceResponse) ProtoMessage() {} func (*MsgPostPriceResponse) ProtoMessage() {}
func (*MsgPostPriceResponse) Descriptor() ([]byte, []int) { func (*MsgPostPriceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_afd93c8e4685da16, []int{1} return fileDescriptor_69b95318348501da, []int{1}
} }
func (m *MsgPostPriceResponse) XXX_Unmarshal(b []byte) error { func (m *MsgPostPriceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -113,38 +113,38 @@ func (m *MsgPostPriceResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgPostPriceResponse proto.InternalMessageInfo var xxx_messageInfo_MsgPostPriceResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*MsgPostPrice)(nil), "kava.pricefeed.v1beta1.MsgPostPrice") proto.RegisterType((*MsgPostPrice)(nil), "zgc.pricefeed.v1beta1.MsgPostPrice")
proto.RegisterType((*MsgPostPriceResponse)(nil), "kava.pricefeed.v1beta1.MsgPostPriceResponse") proto.RegisterType((*MsgPostPriceResponse)(nil), "zgc.pricefeed.v1beta1.MsgPostPriceResponse")
} }
func init() { proto.RegisterFile("kava/pricefeed/v1beta1/tx.proto", fileDescriptor_afd93c8e4685da16) } func init() { proto.RegisterFile("zgc/pricefeed/v1beta1/tx.proto", fileDescriptor_69b95318348501da) }
var fileDescriptor_afd93c8e4685da16 = []byte{ var fileDescriptor_69b95318348501da = []byte{
// 376 bytes of a gzipped FileDescriptorProto // 379 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x3f, 0x8f, 0xda, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x3f, 0x6f, 0xda, 0x40,
0x14, 0xc0, 0xe3, 0x42, 0x11, 0xb8, 0x4c, 0x11, 0x42, 0x51, 0x06, 0x07, 0xa1, 0xaa, 0xa2, 0x12, 0x18, 0xc6, 0x7d, 0x85, 0x22, 0xb8, 0x32, 0x59, 0xb4, 0xb2, 0x3c, 0x9c, 0x11, 0x95, 0x2a, 0xaa,
0xd8, 0x40, 0xb7, 0xaa, 0x13, 0x62, 0x61, 0xa0, 0x42, 0x51, 0xa7, 0x2e, 0x28, 0x7f, 0x1c, 0x13, 0x96, 0x3b, 0xa0, 0x5b, 0xd5, 0x09, 0xb1, 0x30, 0x50, 0x21, 0xab, 0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, 0x22, 0x70, 0x49, 0x11, 0x38, 0x5c, 0x91, 0x76, 0xba, 0x22, 0xed, 0xdf, 0x15, 0x69, 0x10, 0xd8, 0x26, 0x08, 0xec, 0x12, 0x04, 0x0e, 0x09, 0x02, 0x9b, 0x23, 0xd2, 0x76, 0x47, 0xa4,
0x3f, 0xbb, 0x85, 0xa5, 0xf4, 0xd9, 0xca, 0x71, 0x05, 0xe9, 0xb3, 0x9e, 0xb7, 0x70, 0xc2, 0x35, 0xdd, 0x1f, 0x91, 0xf6, 0xff, 0x67, 0x2e, 0x92, 0x36, 0x9b, 0x39, 0xae, 0x20, 0x6d, 0xd6, 0xf2,
0xd9, 0x15, 0xde, 0x80, 0x5a, 0x8f, 0x5b, 0x51, 0xee, 0x5f, 0x9e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x26, 0x4e, 0x30, 0x27, 0xcb, 0xdc, 0x03, 0x50, 0xe1, 0xb8, 0x25, 0x45, 0xfe, 0xeb, 0x39, 0x00,
0xea, 0xfe, 0x67, 0x4a, 0x22, 0x02, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x60, 0x5d, 0x2b, 0x1e, 0x02, 0x00, 0x00,
} }
func (this *MsgPostPrice) VerboseEqual(that interface{}) error { func (this *MsgPostPrice) VerboseEqual(that interface{}) error {
@ -294,7 +294,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) PostPrice(ctx context.Context, in *MsgPostPrice, opts ...grpc.CallOption) (*MsgPostPriceResponse, error) { func (c *msgClient) PostPrice(ctx context.Context, in *MsgPostPrice, opts ...grpc.CallOption) (*MsgPostPriceResponse, error) {
out := new(MsgPostPriceResponse) out := new(MsgPostPriceResponse)
err := c.cc.Invoke(ctx, "/kava.pricefeed.v1beta1.Msg/PostPrice", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.pricefeed.v1beta1.Msg/PostPrice", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -329,7 +329,7 @@ func _Msg_PostPrice_Handler(srv interface{}, ctx context.Context, dec func(inter
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.pricefeed.v1beta1.Msg/PostPrice", FullMethod: "/zgc.pricefeed.v1beta1.Msg/PostPrice",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).PostPrice(ctx, req.(*MsgPostPrice)) return srv.(MsgServer).PostPrice(ctx, req.(*MsgPostPrice))
@ -338,7 +338,7 @@ func _Msg_PostPrice_Handler(srv interface{}, ctx context.Context, dec func(inter
} }
var _Msg_serviceDesc = grpc.ServiceDesc{ var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.pricefeed.v1beta1.Msg", ServiceName: "zgc.pricefeed.v1beta1.Msg",
HandlerType: (*MsgServer)(nil), HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -347,7 +347,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/pricefeed/v1beta1/tx.proto", Metadata: "zgc/pricefeed/v1beta1/tx.proto",
} }
func (m *MsgPostPrice) Marshal() (dAtA []byte, err error) { func (m *MsgPostPrice) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/validatorvesting/v1beta1/query.proto // source: zgc/validatorvesting/v1beta1/query.proto
package types package types
@ -39,7 +39,7 @@ func (m *QueryCirculatingSupplyRequest) Reset() { *m = QueryCirculatingS
func (m *QueryCirculatingSupplyRequest) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyRequest) ProtoMessage() {} func (*QueryCirculatingSupplyRequest) ProtoMessage() {}
func (*QueryCirculatingSupplyRequest) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{0} return fileDescriptor_4eb4aa17850547e7, []int{0}
} }
func (m *QueryCirculatingSupplyRequest) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -77,7 +77,7 @@ func (m *QueryCirculatingSupplyResponse) Reset() { *m = QueryCirculating
func (m *QueryCirculatingSupplyResponse) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyResponse) ProtoMessage() {} func (*QueryCirculatingSupplyResponse) ProtoMessage() {}
func (*QueryCirculatingSupplyResponse) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{1} return fileDescriptor_4eb4aa17850547e7, []int{1}
} }
func (m *QueryCirculatingSupplyResponse) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -114,7 +114,7 @@ func (m *QueryTotalSupplyRequest) Reset() { *m = QueryTotalSupplyRequest
func (m *QueryTotalSupplyRequest) String() string { return proto.CompactTextString(m) } func (m *QueryTotalSupplyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyRequest) ProtoMessage() {} func (*QueryTotalSupplyRequest) ProtoMessage() {}
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int) { func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{2} return fileDescriptor_4eb4aa17850547e7, []int{2}
} }
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error { func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -152,7 +152,7 @@ func (m *QueryTotalSupplyResponse) Reset() { *m = QueryTotalSupplyRespon
func (m *QueryTotalSupplyResponse) String() string { return proto.CompactTextString(m) } func (m *QueryTotalSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyResponse) ProtoMessage() {} func (*QueryTotalSupplyResponse) ProtoMessage() {}
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int) { func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{3} return fileDescriptor_4eb4aa17850547e7, []int{3}
} }
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error { func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -189,7 +189,7 @@ func (m *QueryCirculatingSupplyHARDRequest) Reset() { *m = QueryCirculat
func (m *QueryCirculatingSupplyHARDRequest) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplyHARDRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyHARDRequest) ProtoMessage() {} func (*QueryCirculatingSupplyHARDRequest) ProtoMessage() {}
func (*QueryCirculatingSupplyHARDRequest) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplyHARDRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{4} return fileDescriptor_4eb4aa17850547e7, []int{4}
} }
func (m *QueryCirculatingSupplyHARDRequest) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplyHARDRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -227,7 +227,7 @@ func (m *QueryCirculatingSupplyHARDResponse) Reset() { *m = QueryCircula
func (m *QueryCirculatingSupplyHARDResponse) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplyHARDResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyHARDResponse) ProtoMessage() {} func (*QueryCirculatingSupplyHARDResponse) ProtoMessage() {}
func (*QueryCirculatingSupplyHARDResponse) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplyHARDResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{5} return fileDescriptor_4eb4aa17850547e7, []int{5}
} }
func (m *QueryCirculatingSupplyHARDResponse) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplyHARDResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -264,7 +264,7 @@ func (m *QueryCirculatingSupplyUSDXRequest) Reset() { *m = QueryCirculat
func (m *QueryCirculatingSupplyUSDXRequest) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplyUSDXRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyUSDXRequest) ProtoMessage() {} func (*QueryCirculatingSupplyUSDXRequest) ProtoMessage() {}
func (*QueryCirculatingSupplyUSDXRequest) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplyUSDXRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{6} return fileDescriptor_4eb4aa17850547e7, []int{6}
} }
func (m *QueryCirculatingSupplyUSDXRequest) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplyUSDXRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -302,7 +302,7 @@ func (m *QueryCirculatingSupplyUSDXResponse) Reset() { *m = QueryCircula
func (m *QueryCirculatingSupplyUSDXResponse) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplyUSDXResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyUSDXResponse) ProtoMessage() {} func (*QueryCirculatingSupplyUSDXResponse) ProtoMessage() {}
func (*QueryCirculatingSupplyUSDXResponse) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplyUSDXResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{7} return fileDescriptor_4eb4aa17850547e7, []int{7}
} }
func (m *QueryCirculatingSupplyUSDXResponse) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplyUSDXResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -339,7 +339,7 @@ func (m *QueryCirculatingSupplySWPRequest) Reset() { *m = QueryCirculati
func (m *QueryCirculatingSupplySWPRequest) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplySWPRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplySWPRequest) ProtoMessage() {} func (*QueryCirculatingSupplySWPRequest) ProtoMessage() {}
func (*QueryCirculatingSupplySWPRequest) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplySWPRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{8} return fileDescriptor_4eb4aa17850547e7, []int{8}
} }
func (m *QueryCirculatingSupplySWPRequest) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplySWPRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -377,7 +377,7 @@ func (m *QueryCirculatingSupplySWPResponse) Reset() { *m = QueryCirculat
func (m *QueryCirculatingSupplySWPResponse) String() string { return proto.CompactTextString(m) } func (m *QueryCirculatingSupplySWPResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplySWPResponse) ProtoMessage() {} func (*QueryCirculatingSupplySWPResponse) ProtoMessage() {}
func (*QueryCirculatingSupplySWPResponse) Descriptor() ([]byte, []int) { func (*QueryCirculatingSupplySWPResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{9} return fileDescriptor_4eb4aa17850547e7, []int{9}
} }
func (m *QueryCirculatingSupplySWPResponse) XXX_Unmarshal(b []byte) error { func (m *QueryCirculatingSupplySWPResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -414,7 +414,7 @@ func (m *QueryTotalSupplyHARDRequest) Reset() { *m = QueryTotalSupplyHAR
func (m *QueryTotalSupplyHARDRequest) String() string { return proto.CompactTextString(m) } func (m *QueryTotalSupplyHARDRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyHARDRequest) ProtoMessage() {} func (*QueryTotalSupplyHARDRequest) ProtoMessage() {}
func (*QueryTotalSupplyHARDRequest) Descriptor() ([]byte, []int) { func (*QueryTotalSupplyHARDRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{10} return fileDescriptor_4eb4aa17850547e7, []int{10}
} }
func (m *QueryTotalSupplyHARDRequest) XXX_Unmarshal(b []byte) error { func (m *QueryTotalSupplyHARDRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -452,7 +452,7 @@ func (m *QueryTotalSupplyHARDResponse) Reset() { *m = QueryTotalSupplyHA
func (m *QueryTotalSupplyHARDResponse) String() string { return proto.CompactTextString(m) } func (m *QueryTotalSupplyHARDResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyHARDResponse) ProtoMessage() {} func (*QueryTotalSupplyHARDResponse) ProtoMessage() {}
func (*QueryTotalSupplyHARDResponse) Descriptor() ([]byte, []int) { func (*QueryTotalSupplyHARDResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{11} return fileDescriptor_4eb4aa17850547e7, []int{11}
} }
func (m *QueryTotalSupplyHARDResponse) XXX_Unmarshal(b []byte) error { func (m *QueryTotalSupplyHARDResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -489,7 +489,7 @@ func (m *QueryTotalSupplyUSDXRequest) Reset() { *m = QueryTotalSupplyUSD
func (m *QueryTotalSupplyUSDXRequest) String() string { return proto.CompactTextString(m) } func (m *QueryTotalSupplyUSDXRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyUSDXRequest) ProtoMessage() {} func (*QueryTotalSupplyUSDXRequest) ProtoMessage() {}
func (*QueryTotalSupplyUSDXRequest) Descriptor() ([]byte, []int) { func (*QueryTotalSupplyUSDXRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{12} return fileDescriptor_4eb4aa17850547e7, []int{12}
} }
func (m *QueryTotalSupplyUSDXRequest) XXX_Unmarshal(b []byte) error { func (m *QueryTotalSupplyUSDXRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -527,7 +527,7 @@ func (m *QueryTotalSupplyUSDXResponse) Reset() { *m = QueryTotalSupplyUS
func (m *QueryTotalSupplyUSDXResponse) String() string { return proto.CompactTextString(m) } func (m *QueryTotalSupplyUSDXResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyUSDXResponse) ProtoMessage() {} func (*QueryTotalSupplyUSDXResponse) ProtoMessage() {}
func (*QueryTotalSupplyUSDXResponse) Descriptor() ([]byte, []int) { func (*QueryTotalSupplyUSDXResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2198ebff70588a65, []int{13} return fileDescriptor_4eb4aa17850547e7, []int{13}
} }
func (m *QueryTotalSupplyUSDXResponse) XXX_Unmarshal(b []byte) error { func (m *QueryTotalSupplyUSDXResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -557,67 +557,67 @@ func (m *QueryTotalSupplyUSDXResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryTotalSupplyUSDXResponse proto.InternalMessageInfo var xxx_messageInfo_QueryTotalSupplyUSDXResponse proto.InternalMessageInfo
func init() { func init() {
proto.RegisterType((*QueryCirculatingSupplyRequest)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplyRequest") proto.RegisterType((*QueryCirculatingSupplyRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyRequest")
proto.RegisterType((*QueryCirculatingSupplyResponse)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplyResponse") proto.RegisterType((*QueryCirculatingSupplyResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyResponse")
proto.RegisterType((*QueryTotalSupplyRequest)(nil), "kava.validatorvesting.v1beta1.QueryTotalSupplyRequest") proto.RegisterType((*QueryTotalSupplyRequest)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyRequest")
proto.RegisterType((*QueryTotalSupplyResponse)(nil), "kava.validatorvesting.v1beta1.QueryTotalSupplyResponse") proto.RegisterType((*QueryTotalSupplyResponse)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyResponse")
proto.RegisterType((*QueryCirculatingSupplyHARDRequest)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest") proto.RegisterType((*QueryCirculatingSupplyHARDRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest")
proto.RegisterType((*QueryCirculatingSupplyHARDResponse)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse") proto.RegisterType((*QueryCirculatingSupplyHARDResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse")
proto.RegisterType((*QueryCirculatingSupplyUSDXRequest)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest") proto.RegisterType((*QueryCirculatingSupplyUSDXRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest")
proto.RegisterType((*QueryCirculatingSupplyUSDXResponse)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse") proto.RegisterType((*QueryCirculatingSupplyUSDXResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse")
proto.RegisterType((*QueryCirculatingSupplySWPRequest)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest") proto.RegisterType((*QueryCirculatingSupplySWPRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest")
proto.RegisterType((*QueryCirculatingSupplySWPResponse)(nil), "kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse") proto.RegisterType((*QueryCirculatingSupplySWPResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse")
proto.RegisterType((*QueryTotalSupplyHARDRequest)(nil), "kava.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest") proto.RegisterType((*QueryTotalSupplyHARDRequest)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest")
proto.RegisterType((*QueryTotalSupplyHARDResponse)(nil), "kava.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse") proto.RegisterType((*QueryTotalSupplyHARDResponse)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse")
proto.RegisterType((*QueryTotalSupplyUSDXRequest)(nil), "kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest") proto.RegisterType((*QueryTotalSupplyUSDXRequest)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest")
proto.RegisterType((*QueryTotalSupplyUSDXResponse)(nil), "kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse") proto.RegisterType((*QueryTotalSupplyUSDXResponse)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse")
} }
func init() { func init() {
proto.RegisterFile("kava/validatorvesting/v1beta1/query.proto", fileDescriptor_2198ebff70588a65) proto.RegisterFile("zgc/validatorvesting/v1beta1/query.proto", fileDescriptor_4eb4aa17850547e7)
} }
var fileDescriptor_2198ebff70588a65 = []byte{ var fileDescriptor_4eb4aa17850547e7 = []byte{
// 624 bytes of a gzipped FileDescriptorProto // 621 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x96, 0x4d, 0x6f, 0xd3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0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 0xbb, 0xae, 0x9a, 0x3a, 0xee, 0xfb, 0x53, 0x49, 0x75, 0x7b, 0x8a, 0x74, 0xd2, 0x53, 0xa4, 0x1f, 0x3d, 0x45, 0x7a, 0xdb, 0x57,
0xaa, 0xa9, 0xaf, 0x5d, 0x35, 0xf5, 0x2a, 0x1f, 0xba, 0x17, 0xe6, 0x4d, 0x9b, 0x94, 0x19, 0x9e, 0x52, 0x27, 0x7d, 0x25, 0xf5, 0xa5, 0xaf, 0xa4, 0x5e, 0xde, 0x8b, 0xdc, 0x12, 0x39, 0xcb, 0x41,
0x37, 0xb3, 0x95, 0x1a, 0xb1, 0x1c, 0x7c, 0x18, 0x51, 0x47, 0xdc, 0x14, 0xe5, 0x09, 0xf1, 0x3f, 0x55, 0x32, 0xac, 0x72, 0x94, 0x50, 0x87, 0xdd, 0x1b, 0xd5, 0x19, 0xf6, 0xaf, 0xf2, 0xee, 0xef,
0x72, 0xf1, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x36, 0x23, 0xce, 0x5c, 0xe2, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x5a, 0x7b, 0xbb, 0xee, 0x0a, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
@ -632,9 +632,9 @@ const _ = grpc.SupportPackageIsVersion4
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type QueryClient interface { type QueryClient interface {
// CirculatingSupply returns the total amount of kava tokens in circulation // CirculatingSupply returns the total amount of a0gi tokens in circulation
CirculatingSupply(ctx context.Context, in *QueryCirculatingSupplyRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyResponse, error) CirculatingSupply(ctx context.Context, in *QueryCirculatingSupplyRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyResponse, error)
// TotalSupply returns the total amount of kava tokens // TotalSupply returns the total amount of a0gi tokens
TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error)
// CirculatingSupplyHARD returns the total amount of hard tokens in circulation // CirculatingSupplyHARD returns the total amount of hard tokens in circulation
CirculatingSupplyHARD(ctx context.Context, in *QueryCirculatingSupplyHARDRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyHARDResponse, error) CirculatingSupplyHARD(ctx context.Context, in *QueryCirculatingSupplyHARDRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyHARDResponse, error)
@ -658,7 +658,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) CirculatingSupply(ctx context.Context, in *QueryCirculatingSupplyRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyResponse, error) { func (c *queryClient) CirculatingSupply(ctx context.Context, in *QueryCirculatingSupplyRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyResponse, error) {
out := new(QueryCirculatingSupplyResponse) out := new(QueryCirculatingSupplyResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/CirculatingSupply", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupply", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -667,7 +667,7 @@ func (c *queryClient) CirculatingSupply(ctx context.Context, in *QueryCirculatin
func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) { func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) {
out := new(QueryTotalSupplyResponse) out := new(QueryTotalSupplyResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/TotalSupply", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/TotalSupply", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -676,7 +676,7 @@ func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyReque
func (c *queryClient) CirculatingSupplyHARD(ctx context.Context, in *QueryCirculatingSupplyHARDRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyHARDResponse, error) { func (c *queryClient) CirculatingSupplyHARD(ctx context.Context, in *QueryCirculatingSupplyHARDRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyHARDResponse, error) {
out := new(QueryCirculatingSupplyHARDResponse) out := new(QueryCirculatingSupplyHARDResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/CirculatingSupplyHARD", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyHARD", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -685,7 +685,7 @@ func (c *queryClient) CirculatingSupplyHARD(ctx context.Context, in *QueryCircul
func (c *queryClient) CirculatingSupplyUSDX(ctx context.Context, in *QueryCirculatingSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyUSDXResponse, error) { func (c *queryClient) CirculatingSupplyUSDX(ctx context.Context, in *QueryCirculatingSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyUSDXResponse, error) {
out := new(QueryCirculatingSupplyUSDXResponse) out := new(QueryCirculatingSupplyUSDXResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -694,7 +694,7 @@ func (c *queryClient) CirculatingSupplyUSDX(ctx context.Context, in *QueryCircul
func (c *queryClient) CirculatingSupplySWP(ctx context.Context, in *QueryCirculatingSupplySWPRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplySWPResponse, error) { func (c *queryClient) CirculatingSupplySWP(ctx context.Context, in *QueryCirculatingSupplySWPRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplySWPResponse, error) {
out := new(QueryCirculatingSupplySWPResponse) out := new(QueryCirculatingSupplySWPResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/CirculatingSupplySWP", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplySWP", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -703,7 +703,7 @@ func (c *queryClient) CirculatingSupplySWP(ctx context.Context, in *QueryCircula
func (c *queryClient) TotalSupplyHARD(ctx context.Context, in *QueryTotalSupplyHARDRequest, opts ...grpc.CallOption) (*QueryTotalSupplyHARDResponse, error) { func (c *queryClient) TotalSupplyHARD(ctx context.Context, in *QueryTotalSupplyHARDRequest, opts ...grpc.CallOption) (*QueryTotalSupplyHARDResponse, error) {
out := new(QueryTotalSupplyHARDResponse) out := new(QueryTotalSupplyHARDResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/TotalSupplyHARD", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/TotalSupplyHARD", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -712,7 +712,7 @@ func (c *queryClient) TotalSupplyHARD(ctx context.Context, in *QueryTotalSupplyH
func (c *queryClient) TotalSupplyUSDX(ctx context.Context, in *QueryTotalSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryTotalSupplyUSDXResponse, error) { func (c *queryClient) TotalSupplyUSDX(ctx context.Context, in *QueryTotalSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryTotalSupplyUSDXResponse, error) {
out := new(QueryTotalSupplyUSDXResponse) out := new(QueryTotalSupplyUSDXResponse)
err := c.cc.Invoke(ctx, "/kava.validatorvesting.v1beta1.Query/TotalSupplyUSDX", in, out, opts...) err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/TotalSupplyUSDX", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -721,9 +721,9 @@ func (c *queryClient) TotalSupplyUSDX(ctx context.Context, in *QueryTotalSupplyU
// QueryServer is the server API for Query service. // QueryServer is the server API for Query service.
type QueryServer interface { type QueryServer interface {
// CirculatingSupply returns the total amount of kava tokens in circulation // CirculatingSupply returns the total amount of a0gi tokens in circulation
CirculatingSupply(context.Context, *QueryCirculatingSupplyRequest) (*QueryCirculatingSupplyResponse, error) CirculatingSupply(context.Context, *QueryCirculatingSupplyRequest) (*QueryCirculatingSupplyResponse, error)
// TotalSupply returns the total amount of kava tokens // TotalSupply returns the total amount of a0gi tokens
TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
// CirculatingSupplyHARD returns the total amount of hard tokens in circulation // CirculatingSupplyHARD returns the total amount of hard tokens in circulation
CirculatingSupplyHARD(context.Context, *QueryCirculatingSupplyHARDRequest) (*QueryCirculatingSupplyHARDResponse, error) CirculatingSupplyHARD(context.Context, *QueryCirculatingSupplyHARDRequest) (*QueryCirculatingSupplyHARDResponse, error)
@ -777,7 +777,7 @@ func _Query_CirculatingSupply_Handler(srv interface{}, ctx context.Context, dec
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/CirculatingSupply", FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupply",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupply(ctx, req.(*QueryCirculatingSupplyRequest)) return srv.(QueryServer).CirculatingSupply(ctx, req.(*QueryCirculatingSupplyRequest))
@ -795,7 +795,7 @@ func _Query_TotalSupply_Handler(srv interface{}, ctx context.Context, dec func(i
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/TotalSupply", FullMethod: "/zgc.validatorvesting.v1beta1.Query/TotalSupply",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupply(ctx, req.(*QueryTotalSupplyRequest)) return srv.(QueryServer).TotalSupply(ctx, req.(*QueryTotalSupplyRequest))
@ -813,7 +813,7 @@ func _Query_CirculatingSupplyHARD_Handler(srv interface{}, ctx context.Context,
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/CirculatingSupplyHARD", FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyHARD",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupplyHARD(ctx, req.(*QueryCirculatingSupplyHARDRequest)) return srv.(QueryServer).CirculatingSupplyHARD(ctx, req.(*QueryCirculatingSupplyHARDRequest))
@ -831,7 +831,7 @@ func _Query_CirculatingSupplyUSDX_Handler(srv interface{}, ctx context.Context,
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX", FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupplyUSDX(ctx, req.(*QueryCirculatingSupplyUSDXRequest)) return srv.(QueryServer).CirculatingSupplyUSDX(ctx, req.(*QueryCirculatingSupplyUSDXRequest))
@ -849,7 +849,7 @@ func _Query_CirculatingSupplySWP_Handler(srv interface{}, ctx context.Context, d
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/CirculatingSupplySWP", FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplySWP",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupplySWP(ctx, req.(*QueryCirculatingSupplySWPRequest)) return srv.(QueryServer).CirculatingSupplySWP(ctx, req.(*QueryCirculatingSupplySWPRequest))
@ -867,7 +867,7 @@ func _Query_TotalSupplyHARD_Handler(srv interface{}, ctx context.Context, dec fu
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/TotalSupplyHARD", FullMethod: "/zgc.validatorvesting.v1beta1.Query/TotalSupplyHARD",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupplyHARD(ctx, req.(*QueryTotalSupplyHARDRequest)) return srv.(QueryServer).TotalSupplyHARD(ctx, req.(*QueryTotalSupplyHARDRequest))
@ -885,7 +885,7 @@ func _Query_TotalSupplyUSDX_Handler(srv interface{}, ctx context.Context, dec fu
} }
info := &grpc.UnaryServerInfo{ info := &grpc.UnaryServerInfo{
Server: srv, Server: srv,
FullMethod: "/kava.validatorvesting.v1beta1.Query/TotalSupplyUSDX", FullMethod: "/zgc.validatorvesting.v1beta1.Query/TotalSupplyUSDX",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupplyUSDX(ctx, req.(*QueryTotalSupplyUSDXRequest)) return srv.(QueryServer).TotalSupplyUSDX(ctx, req.(*QueryTotalSupplyUSDXRequest))
@ -894,7 +894,7 @@ func _Query_TotalSupplyUSDX_Handler(srv interface{}, ctx context.Context, dec fu
} }
var _Query_serviceDesc = grpc.ServiceDesc{ var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.validatorvesting.v1beta1.Query", ServiceName: "zgc.validatorvesting.v1beta1.Query",
HandlerType: (*QueryServer)(nil), HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{ Methods: []grpc.MethodDesc{
{ {
@ -927,7 +927,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "kava/validatorvesting/v1beta1/query.proto", Metadata: "zgc/validatorvesting/v1beta1/query.proto",
} }
func (m *QueryCirculatingSupplyRequest) Marshal() (dAtA []byte, err error) { func (m *QueryCirculatingSupplyRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/validatorvesting/v1beta1/query.proto // source: zgc/validatorvesting/v1beta1/query.proto
/* /*
Package types is a reverse proxy. Package types is a reverse proxy.
@ -511,19 +511,19 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
} }
var ( var (
pattern_Query_CirculatingSupply_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "circulating_supply"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CirculatingSupply_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "circulating_supply"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_TotalSupply_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "total_supply"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_TotalSupply_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "total_supply"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_CirculatingSupplyHARD_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "circulating_supply_hard"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CirculatingSupplyHARD_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "circulating_supply_hard"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_CirculatingSupplyUSDX_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "circulating_supply_usdx"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CirculatingSupplyUSDX_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "circulating_supply_usdx"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_CirculatingSupplySWP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "circulating_supply_swp"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CirculatingSupplySWP_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "circulating_supply_swp"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_TotalSupplyHARD_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "total_supply_hard"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_TotalSupplyHARD_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "total_supply_hard"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_TotalSupplyUSDX_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "validator-vesting", "v1beta1", "total_supply_usdx"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_TotalSupplyUSDX_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g-chain", "validator-vesting", "v1beta1", "total_supply_usdx"}, "", runtime.AssumeColonVerbOpt(false)))
) )
var ( var (