@xpla/xplajs 1.7.0-beta.1 → 1.7.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +3 -3
- package/package.json +14 -12
- package/src/binary.ts +1 -1
- package/src/cosmos/app/runtime/v1alpha1/module.ts +6 -7
- package/src/cosmos/app/runtime/v2/module.ts +9 -10
- package/src/cosmos/app/v1alpha1/config.ts +10 -9
- package/src/cosmos/app/v1alpha1/module.ts +9 -10
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +2 -1
- package/src/cosmos/app/v1alpha1/query.ts +6 -7
- package/src/cosmos/auth/module/v1/module.ts +6 -7
- package/src/cosmos/auth/v1beta1/accounts.ts +6 -7
- package/src/cosmos/auth/v1beta1/auth.ts +15 -12
- package/src/cosmos/auth/v1beta1/genesis.ts +3 -5
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +20 -10
- package/src/cosmos/auth/v1beta1/query.ts +52 -55
- package/src/cosmos/auth/v1beta1/tx.registry.ts +27 -1
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +2 -1
- package/src/cosmos/auth/v1beta1/tx.ts +6 -7
- package/src/cosmos/authz/module/v1/module.ts +3 -5
- package/src/cosmos/authz/v1beta1/authz.ts +32 -17
- package/src/cosmos/authz/v1beta1/event.ts +5 -8
- package/src/cosmos/authz/v1beta1/genesis.ts +4 -4
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/authz/v1beta1/query.ts +22 -14
- package/src/cosmos/authz/v1beta1/tx.registry.ts +63 -1
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +6 -3
- package/src/cosmos/authz/v1beta1/tx.ts +15 -19
- package/src/cosmos/autocli/v1/options.ts +22 -14
- package/src/cosmos/autocli/v1/query.rpc.func.ts +2 -1
- package/src/cosmos/autocli/v1/query.ts +9 -7
- package/src/cosmos/bank/module/v1/module.ts +3 -5
- package/src/cosmos/bank/v1beta1/authz.ts +6 -3
- package/src/cosmos/bank/v1beta1/bank.ts +22 -17
- package/src/cosmos/bank/v1beta1/genesis.ts +11 -6
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +26 -13
- package/src/cosmos/bank/v1beta1/query.ts +83 -62
- package/src/cosmos/bank/v1beta1/tx.registry.ts +81 -1
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +8 -4
- package/src/cosmos/bank/v1beta1/tx.ts +22 -22
- package/src/cosmos/base/abci/v1beta1/abci.ts +30 -29
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +4 -2
- package/src/cosmos/base/grpc/v2/service.ts +12 -16
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +4 -2
- package/src/cosmos/base/node/v1beta1/query.ts +9 -14
- package/src/cosmos/base/query/v1beta1/pagination.ts +5 -8
- package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +4 -2
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +9 -14
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +12 -6
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +72 -67
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +14 -7
- package/src/cosmos/base/tendermint/v1beta1/query.ts +56 -49
- package/src/cosmos/base/tendermint/v1beta1/types.ts +11 -6
- package/src/cosmos/base/v1beta1/coin.ts +16 -20
- package/src/cosmos/consensus/module/v1/module.ts +3 -5
- package/src/cosmos/consensus/v1/query.rpc.func.ts +2 -1
- package/src/cosmos/consensus/v1/query.ts +6 -7
- package/src/cosmos/consensus/v1/tx.registry.ts +27 -1
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +2 -1
- package/src/cosmos/consensus/v1/tx.ts +9 -7
- package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +5 -8
- package/src/cosmos/distribution/module/v1/module.ts +3 -5
- package/src/cosmos/distribution/v1beta1/distribution.ts +53 -43
- package/src/cosmos/distribution/v1beta1/genesis.ts +32 -19
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +20 -10
- package/src/cosmos/distribution/v1beta1/query.ts +52 -53
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +135 -1
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +14 -7
- package/src/cosmos/distribution/v1beta1/tx.ts +35 -38
- package/src/cosmos/evidence/module/v1/module.ts +3 -5
- package/src/cosmos/evidence/v1beta1/evidence.ts +3 -5
- package/src/cosmos/evidence/v1beta1/genesis.ts +3 -5
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +4 -2
- package/src/cosmos/evidence/v1beta1/query.ts +11 -12
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +27 -1
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +2 -1
- package/src/cosmos/evidence/v1beta1/tx.ts +6 -8
- package/src/cosmos/feegrant/module/v1/module.ts +3 -5
- package/src/cosmos/feegrant/v1beta1/feegrant.ts +24 -9
- package/src/cosmos/feegrant/v1beta1/genesis.ts +4 -4
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/feegrant/v1beta1/query.ts +20 -15
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +63 -1
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +6 -3
- package/src/cosmos/feegrant/v1beta1/tx.ts +17 -19
- package/src/cosmos/gov/module/v1/module.ts +3 -5
- package/src/cosmos/gov/v1/genesis.ts +10 -4
- package/src/cosmos/gov/v1/gov.ts +25 -24
- package/src/cosmos/gov/v1/query.rpc.func.ts +18 -9
- package/src/cosmos/gov/v1/query.ts +54 -45
- package/src/cosmos/gov/v1/tx.registry.ts +135 -1
- package/src/cosmos/gov/v1/tx.rpc.func.ts +14 -7
- package/src/cosmos/gov/v1/tx.ts +60 -45
- package/src/cosmos/gov/v1beta1/genesis.ts +9 -4
- package/src/cosmos/gov/v1beta1/gov.ts +56 -32
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +16 -8
- package/src/cosmos/gov/v1beta1/query.ts +49 -39
- package/src/cosmos/gov/v1beta1/tx.registry.ts +81 -1
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +8 -4
- package/src/cosmos/gov/v1beta1/tx.ts +47 -29
- package/src/cosmos/ics23/v1/proofs.ts +45 -31
- package/src/cosmos/mint/module/v1/module.ts +3 -5
- package/src/cosmos/mint/v1beta1/genesis.ts +5 -4
- package/src/cosmos/mint/v1beta1/mint.ts +24 -26
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/mint/v1beta1/query.ts +14 -19
- package/src/cosmos/mint/v1beta1/tx.registry.ts +27 -1
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +2 -1
- package/src/cosmos/mint/v1beta1/tx.ts +6 -7
- package/src/cosmos/params/module/v1/module.ts +3 -5
- package/src/cosmos/params/v1beta1/params.ts +8 -6
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +4 -2
- package/src/cosmos/params/v1beta1/query.ts +13 -15
- package/src/cosmos/slashing/module/v1/module.ts +3 -5
- package/src/cosmos/slashing/v1beta1/genesis.ts +14 -11
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +6 -3
- package/src/cosmos/slashing/v1beta1/query.ts +18 -16
- package/src/cosmos/slashing/v1beta1/slashing.ts +5 -8
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +45 -1
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +4 -2
- package/src/cosmos/slashing/v1beta1/tx.ts +10 -13
- package/src/cosmos/staking/module/v1/module.ts +3 -5
- package/src/cosmos/staking/v1beta1/authz.ts +9 -6
- package/src/cosmos/staking/v1beta1/genesis.ts +11 -7
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +28 -14
- package/src/cosmos/staking/v1beta1/query.ts +85 -65
- package/src/cosmos/staking/v1beta1/staking.ts +82 -76
- package/src/cosmos/staking/v1beta1/tx.registry.ts +135 -1
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +14 -7
- package/src/cosmos/staking/v1beta1/tx.ts +43 -40
- package/src/cosmos/tx/config/v1/config.ts +3 -5
- package/src/cosmos/tx/signing/v1beta1/signing.ts +17 -13
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +18 -9
- package/src/cosmos/tx/v1beta1/service.ts +54 -46
- package/src/cosmos/tx/v1beta1/tx.ts +41 -32
- package/src/cosmos/upgrade/module/v1/module.ts +3 -5
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +10 -5
- package/src/cosmos/upgrade/v1beta1/query.ts +23 -30
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +45 -1
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +4 -2
- package/src/cosmos/upgrade/v1beta1/tx.ts +10 -13
- package/src/cosmos/upgrade/v1beta1/upgrade.ts +14 -11
- package/src/cosmos_proto/cosmos.ts +5 -6
- package/src/cosmwasm/wasm/v1/authz.ts +51 -24
- package/src/cosmwasm/wasm/v1/genesis.ts +17 -11
- package/src/cosmwasm/wasm/v1/ibc.ts +83 -11
- package/src/cosmwasm/wasm/v1/proposal_legacy.ts +61 -29
- package/src/cosmwasm/wasm/v1/query.lcd.ts +21 -1
- package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -1
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +31 -12
- package/src/cosmwasm/wasm/v1/query.ts +322 -55
- package/src/cosmwasm/wasm/v1/tx.registry.ts +315 -1
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +34 -17
- package/src/cosmwasm/wasm/v1/tx.ts +81 -99
- package/src/cosmwasm/wasm/v1/types.ts +21 -23
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +5 -6
- package/src/ethermint/evm/v1/events.ts +9 -10
- package/src/ethermint/evm/v1/evm.ts +21 -15
- package/src/ethermint/evm/v1/genesis.ts +8 -4
- package/src/ethermint/evm/v1/query.rpc.func.ts +24 -12
- package/src/ethermint/evm/v1/query.ts +57 -45
- package/src/ethermint/evm/v1/tx.registry.ts +45 -1
- package/src/ethermint/evm/v1/tx.rpc.func.ts +4 -2
- package/src/ethermint/evm/v1/tx.ts +25 -15
- package/src/ethermint/feemarket/v1/events.ts +5 -6
- package/src/ethermint/feemarket/v1/feemarket.ts +10 -11
- package/src/ethermint/feemarket/v1/genesis.ts +4 -3
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +6 -3
- package/src/ethermint/feemarket/v1/query.ts +14 -13
- package/src/ethermint/feemarket/v1/tx.registry.ts +27 -1
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +2 -1
- package/src/ethermint/feemarket/v1/tx.ts +6 -6
- package/src/ethermint/types/v1/account.ts +6 -3
- package/src/ethermint/types/v1/dynamic_fee.ts +3 -4
- package/src/ethermint/types/v1/indexer.ts +3 -4
- package/src/ethermint/types/v1/web3.ts +3 -4
- package/src/extern.ts +2 -2
- package/src/google/api/http.ts +10 -6
- package/src/google/protobuf/any.ts +2 -1
- package/src/google/protobuf/descriptor.ts +118 -44
- package/src/google/protobuf/duration.ts +3 -4
- package/src/google/protobuf/timestamp.ts +3 -4
- package/src/helper-func-types.ts +26 -10
- package/src/helpers.ts +1 -2
- package/src/ibc/applications/fee/v1/ack.ts +3 -5
- package/src/ibc/applications/fee/v1/fee.ts +14 -10
- package/src/ibc/applications/fee/v1/genesis.ts +17 -15
- package/src/ibc/applications/fee/v1/metadata.ts +3 -5
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +20 -10
- package/src/ibc/applications/fee/v1/query.ts +58 -48
- package/src/ibc/applications/fee/v1/tx.registry.ts +81 -1
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +8 -4
- package/src/ibc/applications/fee/v1/tx.ts +20 -24
- package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +3 -5
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +4 -2
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +10 -13
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +63 -1
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +6 -3
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +15 -18
- package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +19 -14
- package/src/ibc/applications/interchain_accounts/host/v1/host.ts +5 -8
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +2 -1
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +6 -7
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +45 -1
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +4 -2
- package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +11 -12
- package/src/ibc/applications/interchain_accounts/v1/account.ts +7 -4
- package/src/ibc/applications/interchain_accounts/v1/metadata.ts +3 -5
- package/src/ibc/applications/interchain_accounts/v1/packet.ts +5 -8
- package/src/ibc/applications/transfer/v1/authz.ts +9 -5
- package/src/ibc/applications/transfer/v1/genesis.ts +6 -4
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +12 -6
- package/src/ibc/applications/transfer/v1/query.ts +31 -33
- package/src/ibc/applications/transfer/v1/transfer.ts +5 -8
- package/src/ibc/applications/transfer/v1/tx.registry.ts +45 -1
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +4 -2
- package/src/ibc/applications/transfer/v1/tx.ts +12 -12
- package/src/ibc/applications/transfer/v2/packet.ts +3 -5
- package/src/ibc/core/channel/v1/channel.ts +24 -24
- package/src/ibc/core/channel/v1/genesis.ts +9 -7
- package/src/ibc/core/channel/v1/query.rpc.func.ts +34 -17
- package/src/ibc/core/channel/v1/query.ts +102 -83
- package/src/ibc/core/channel/v1/tx.registry.ts +351 -1
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +38 -19
- package/src/ibc/core/channel/v1/tx.ts +106 -97
- package/src/ibc/core/channel/v1/upgrade.ts +9 -10
- package/src/ibc/core/client/v1/client.ts +21 -20
- package/src/ibc/core/client/v1/genesis.ts +12 -9
- package/src/ibc/core/client/v1/query.rpc.func.ts +20 -10
- package/src/ibc/core/client/v1/query.ts +55 -52
- package/src/ibc/core/client/v1/tx.registry.ts +135 -1
- package/src/ibc/core/client/v1/tx.rpc.func.ts +14 -7
- package/src/ibc/core/client/v1/tx.ts +30 -43
- package/src/ibc/core/commitment/v1/commitment.ts +10 -13
- package/src/ibc/core/connection/v1/connection.ts +20 -20
- package/src/ibc/core/connection/v1/genesis.ts +6 -4
- package/src/ibc/core/connection/v1/query.rpc.func.ts +12 -6
- package/src/ibc/core/connection/v1/query.ts +36 -31
- package/src/ibc/core/connection/v1/tx.registry.ts +99 -1
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +10 -5
- package/src/ibc/core/connection/v1/tx.ts +29 -27
- package/src/ibc/core/types/v1/genesis.ts +6 -4
- package/src/ibc/lightclients/localhost/v2/localhost.ts +4 -4
- package/src/ibc/lightclients/solomachine/v2/solomachine.ts +37 -46
- package/src/ibc/lightclients/solomachine/v3/solomachine.ts +19 -24
- package/src/ibc/lightclients/tendermint/v1/tendermint.ts +19 -13
- package/src/ibc/lightclients/wasm/v1/genesis.ts +6 -7
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +4 -2
- package/src/ibc/lightclients/wasm/v1/query.ts +11 -12
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +63 -1
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +6 -3
- package/src/ibc/lightclients/wasm/v1/tx.ts +13 -20
- package/src/ibc/lightclients/wasm/v1/wasm.ts +10 -13
- package/src/registry.ts +1 -1
- package/src/tendermint/abci/types.ts +157 -74
- package/src/tendermint/crypto/keys.ts +3 -4
- package/src/tendermint/crypto/proof.ts +13 -10
- package/src/tendermint/p2p/types.ts +11 -9
- package/src/tendermint/types/block.ts +7 -3
- package/src/tendermint/types/evidence.ts +15 -6
- package/src/tendermint/types/params.ts +20 -15
- package/src/tendermint/types/types.ts +48 -21
- package/src/tendermint/types/validator.ts +10 -5
- package/src/tendermint/version/types.ts +5 -6
- package/src/test.ts +11 -0
- package/src/types.ts +3 -6
- package/src/utf8.ts +1 -1
- package/src/varint.ts +1 -1
- package/src/xpla/lcd.ts +102 -102
- package/src/xpla/reward/v1beta1/genesis.ts +4 -3
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +4 -2
- package/src/xpla/reward/v1beta1/query.ts +11 -8
- package/src/xpla/reward/v1beta1/reward.ts +13 -14
- package/src/xpla/reward/v1beta1/tx.registry.ts +45 -1
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +4 -2
- package/src/xpla/reward/v1beta1/tx.ts +11 -10
- package/src/xpla/rpc.query.ts +89 -89
- package/src/xpla/volunteer/v1beta1/genesis.ts +4 -3
- package/src/xpla/volunteer/v1beta1/proposal.ts +13 -13
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +2 -1
- package/src/xpla/volunteer/v1beta1/query.ts +5 -6
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +45 -1
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +4 -2
- package/src/xpla/volunteer/v1beta1/tx.ts +12 -12
- package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +3 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
2
2
|
import { Params, ParamsAmino, AccessTuple, AccessTupleAmino, Log, LogAmino } from "./evm";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
4
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
+
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
6
6
|
/** MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. */
|
|
7
7
|
export interface MsgEthereumTx {
|
|
8
8
|
/** data is inner transaction data of the Ethereum transaction */
|
|
@@ -441,10 +441,9 @@ export const MsgEthereumTx = {
|
|
|
441
441
|
typeUrl: "/ethermint.evm.v1.MsgEthereumTx",
|
|
442
442
|
value: MsgEthereumTx.encode(message).finish()
|
|
443
443
|
};
|
|
444
|
-
}
|
|
444
|
+
},
|
|
445
|
+
registerTypeUrl() {}
|
|
445
446
|
};
|
|
446
|
-
GlobalDecoderRegistry.register(MsgEthereumTx.typeUrl, MsgEthereumTx);
|
|
447
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgEthereumTx.aminoType, MsgEthereumTx.typeUrl);
|
|
448
447
|
function createBaseLegacyTx(): LegacyTx {
|
|
449
448
|
return {
|
|
450
449
|
nonce: BigInt(0),
|
|
@@ -608,9 +607,11 @@ export const LegacyTx = {
|
|
|
608
607
|
typeUrl: "/ethermint.evm.v1.LegacyTx",
|
|
609
608
|
value: LegacyTx.encode(message).finish()
|
|
610
609
|
};
|
|
610
|
+
},
|
|
611
|
+
registerTypeUrl() {
|
|
612
|
+
GlobalDecoderRegistry.register(LegacyTx.typeUrl, LegacyTx);
|
|
611
613
|
}
|
|
612
614
|
};
|
|
613
|
-
GlobalDecoderRegistry.register(LegacyTx.typeUrl, LegacyTx);
|
|
614
615
|
function createBaseAccessListTx(): AccessListTx {
|
|
615
616
|
return {
|
|
616
617
|
chainId: "",
|
|
@@ -800,9 +801,12 @@ export const AccessListTx = {
|
|
|
800
801
|
typeUrl: "/ethermint.evm.v1.AccessListTx",
|
|
801
802
|
value: AccessListTx.encode(message).finish()
|
|
802
803
|
};
|
|
804
|
+
},
|
|
805
|
+
registerTypeUrl() {
|
|
806
|
+
GlobalDecoderRegistry.register(AccessListTx.typeUrl, AccessListTx);
|
|
807
|
+
AccessTuple.registerTypeUrl();
|
|
803
808
|
}
|
|
804
809
|
};
|
|
805
|
-
GlobalDecoderRegistry.register(AccessListTx.typeUrl, AccessListTx);
|
|
806
810
|
function createBaseDynamicFeeTx(): DynamicFeeTx {
|
|
807
811
|
return {
|
|
808
812
|
chainId: "",
|
|
@@ -1004,9 +1008,12 @@ export const DynamicFeeTx = {
|
|
|
1004
1008
|
typeUrl: "/ethermint.evm.v1.DynamicFeeTx",
|
|
1005
1009
|
value: DynamicFeeTx.encode(message).finish()
|
|
1006
1010
|
};
|
|
1011
|
+
},
|
|
1012
|
+
registerTypeUrl() {
|
|
1013
|
+
GlobalDecoderRegistry.register(DynamicFeeTx.typeUrl, DynamicFeeTx);
|
|
1014
|
+
AccessTuple.registerTypeUrl();
|
|
1007
1015
|
}
|
|
1008
1016
|
};
|
|
1009
|
-
GlobalDecoderRegistry.register(DynamicFeeTx.typeUrl, DynamicFeeTx);
|
|
1010
1017
|
function createBaseExtensionOptionsEthereumTx(): ExtensionOptionsEthereumTx {
|
|
1011
1018
|
return {};
|
|
1012
1019
|
}
|
|
@@ -1061,9 +1068,9 @@ export const ExtensionOptionsEthereumTx = {
|
|
|
1061
1068
|
typeUrl: "/ethermint.evm.v1.ExtensionOptionsEthereumTx",
|
|
1062
1069
|
value: ExtensionOptionsEthereumTx.encode(message).finish()
|
|
1063
1070
|
};
|
|
1064
|
-
}
|
|
1071
|
+
},
|
|
1072
|
+
registerTypeUrl() {}
|
|
1065
1073
|
};
|
|
1066
|
-
GlobalDecoderRegistry.register(ExtensionOptionsEthereumTx.typeUrl, ExtensionOptionsEthereumTx);
|
|
1067
1074
|
function createBaseMsgEthereumTxResponse(): MsgEthereumTxResponse {
|
|
1068
1075
|
return {
|
|
1069
1076
|
hash: "",
|
|
@@ -1181,9 +1188,11 @@ export const MsgEthereumTxResponse = {
|
|
|
1181
1188
|
typeUrl: "/ethermint.evm.v1.MsgEthereumTxResponse",
|
|
1182
1189
|
value: MsgEthereumTxResponse.encode(message).finish()
|
|
1183
1190
|
};
|
|
1191
|
+
},
|
|
1192
|
+
registerTypeUrl() {
|
|
1193
|
+
Log.registerTypeUrl();
|
|
1184
1194
|
}
|
|
1185
1195
|
};
|
|
1186
|
-
GlobalDecoderRegistry.register(MsgEthereumTxResponse.typeUrl, MsgEthereumTxResponse);
|
|
1187
1196
|
function createBaseMsgUpdateParams(): MsgUpdateParams {
|
|
1188
1197
|
return {
|
|
1189
1198
|
authority: "",
|
|
@@ -1270,10 +1279,11 @@ export const MsgUpdateParams = {
|
|
|
1270
1279
|
typeUrl: "/ethermint.evm.v1.MsgUpdateParams",
|
|
1271
1280
|
value: MsgUpdateParams.encode(message).finish()
|
|
1272
1281
|
};
|
|
1282
|
+
},
|
|
1283
|
+
registerTypeUrl() {
|
|
1284
|
+
Params.registerTypeUrl();
|
|
1273
1285
|
}
|
|
1274
1286
|
};
|
|
1275
|
-
GlobalDecoderRegistry.register(MsgUpdateParams.typeUrl, MsgUpdateParams);
|
|
1276
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateParams.aminoType, MsgUpdateParams.typeUrl);
|
|
1277
1287
|
function createBaseMsgUpdateParamsResponse(): MsgUpdateParamsResponse {
|
|
1278
1288
|
return {};
|
|
1279
1289
|
}
|
|
@@ -1328,6 +1338,6 @@ export const MsgUpdateParamsResponse = {
|
|
|
1328
1338
|
typeUrl: "/ethermint.evm.v1.MsgUpdateParamsResponse",
|
|
1329
1339
|
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
1330
1340
|
};
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1341
|
+
},
|
|
1342
|
+
registerTypeUrl() {}
|
|
1343
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/** EventFeeMarket is the event type for the fee market module */
|
|
5
4
|
export interface EventFeeMarket {
|
|
6
5
|
/** base_fee for EIP-1559 blocks */
|
|
@@ -108,9 +107,9 @@ export const EventFeeMarket = {
|
|
|
108
107
|
typeUrl: "/ethermint.feemarket.v1.EventFeeMarket",
|
|
109
108
|
value: EventFeeMarket.encode(message).finish()
|
|
110
109
|
};
|
|
111
|
-
}
|
|
110
|
+
},
|
|
111
|
+
registerTypeUrl() {}
|
|
112
112
|
};
|
|
113
|
-
GlobalDecoderRegistry.register(EventFeeMarket.typeUrl, EventFeeMarket);
|
|
114
113
|
function createBaseEventBlockGas(): EventBlockGas {
|
|
115
114
|
return {
|
|
116
115
|
height: "",
|
|
@@ -190,6 +189,6 @@ export const EventBlockGas = {
|
|
|
190
189
|
typeUrl: "/ethermint.feemarket.v1.EventBlockGas",
|
|
191
190
|
value: EventBlockGas.encode(message).finish()
|
|
192
191
|
};
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
192
|
+
},
|
|
193
|
+
registerTypeUrl() {}
|
|
194
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { Decimal } from "@interchainjs/math";
|
|
2
3
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
4
|
/** Params defines the EVM module parameters */
|
|
5
5
|
export interface Params {
|
|
6
6
|
/** no_base_fee forces the EIP-1559 base fee to 0 (needed for 0 price calls) */
|
|
@@ -98,10 +98,10 @@ export const Params = {
|
|
|
98
98
|
writer.uint32(50).string(message.baseFee);
|
|
99
99
|
}
|
|
100
100
|
if (message.minGasPrice !== "") {
|
|
101
|
-
writer.uint32(58).string(message.minGasPrice);
|
|
101
|
+
writer.uint32(58).string(Decimal.fromUserInput(message.minGasPrice, 18).atomics);
|
|
102
102
|
}
|
|
103
103
|
if (message.minGasMultiplier !== "") {
|
|
104
|
-
writer.uint32(66).string(message.minGasMultiplier);
|
|
104
|
+
writer.uint32(66).string(Decimal.fromUserInput(message.minGasMultiplier, 18).atomics);
|
|
105
105
|
}
|
|
106
106
|
return writer;
|
|
107
107
|
},
|
|
@@ -128,10 +128,10 @@ export const Params = {
|
|
|
128
128
|
message.baseFee = reader.string();
|
|
129
129
|
break;
|
|
130
130
|
case 7:
|
|
131
|
-
message.minGasPrice = reader.string();
|
|
131
|
+
message.minGasPrice = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
132
132
|
break;
|
|
133
133
|
case 8:
|
|
134
|
-
message.minGasMultiplier = reader.string();
|
|
134
|
+
message.minGasMultiplier = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
135
135
|
break;
|
|
136
136
|
default:
|
|
137
137
|
reader.skipType(tag & 7);
|
|
@@ -183,8 +183,8 @@ export const Params = {
|
|
|
183
183
|
obj.elasticity_multiplier = message.elasticityMultiplier === 0 ? undefined : message.elasticityMultiplier;
|
|
184
184
|
obj.enable_height = message.enableHeight !== BigInt(0) ? message.enableHeight?.toString() : undefined;
|
|
185
185
|
obj.base_fee = message.baseFee ?? "";
|
|
186
|
-
obj.min_gas_price = message.minGasPrice ?? "";
|
|
187
|
-
obj.min_gas_multiplier = message.minGasMultiplier ?? "";
|
|
186
|
+
obj.min_gas_price = Decimal.fromUserInput(message.minGasPrice, 18).atomics ?? "";
|
|
187
|
+
obj.min_gas_multiplier = Decimal.fromUserInput(message.minGasMultiplier, 18).atomics ?? "";
|
|
188
188
|
return obj;
|
|
189
189
|
},
|
|
190
190
|
fromAminoMsg(object: ParamsAminoMsg): Params {
|
|
@@ -207,7 +207,6 @@ export const Params = {
|
|
|
207
207
|
typeUrl: "/ethermint.feemarket.v1.Params",
|
|
208
208
|
value: Params.encode(message).finish()
|
|
209
209
|
};
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Params.aminoType, Params.typeUrl);
|
|
210
|
+
},
|
|
211
|
+
registerTypeUrl() {}
|
|
212
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./feemarket";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
/** GenesisState defines the feemarket module's genesis state. */
|
|
6
5
|
export interface GenesisState {
|
|
7
6
|
/** params defines all the parameters of the feemarket module. */
|
|
@@ -109,6 +108,8 @@ export const GenesisState = {
|
|
|
109
108
|
typeUrl: "/ethermint.feemarket.v1.GenesisState",
|
|
110
109
|
value: GenesisState.encode(message).finish()
|
|
111
110
|
};
|
|
111
|
+
},
|
|
112
|
+
registerTypeUrl() {
|
|
113
|
+
Params.registerTypeUrl();
|
|
112
114
|
}
|
|
113
|
-
};
|
|
114
|
-
GlobalDecoderRegistry.register(GenesisState.typeUrl, GenesisState);
|
|
115
|
+
};
|
|
@@ -5,19 +5,22 @@ export const createGetParams = (clientResolver?: RpcResolver) => buildQuery<Quer
|
|
|
5
5
|
decode: QueryParamsResponse.decode,
|
|
6
6
|
service: "ethermint.feemarket.v1.Query",
|
|
7
7
|
method: "Params",
|
|
8
|
-
clientResolver
|
|
8
|
+
clientResolver,
|
|
9
|
+
deps: [QueryParamsRequest, QueryParamsResponse]
|
|
9
10
|
});
|
|
10
11
|
export const createGetBaseFee = (clientResolver?: RpcResolver) => buildQuery<QueryBaseFeeRequest, QueryBaseFeeResponse>({
|
|
11
12
|
encode: QueryBaseFeeRequest.encode,
|
|
12
13
|
decode: QueryBaseFeeResponse.decode,
|
|
13
14
|
service: "ethermint.feemarket.v1.Query",
|
|
14
15
|
method: "BaseFee",
|
|
15
|
-
clientResolver
|
|
16
|
+
clientResolver,
|
|
17
|
+
deps: [QueryBaseFeeRequest, QueryBaseFeeResponse]
|
|
16
18
|
});
|
|
17
19
|
export const createGetBlockGas = (clientResolver?: RpcResolver) => buildQuery<QueryBlockGasRequest, QueryBlockGasResponse>({
|
|
18
20
|
encode: QueryBlockGasRequest.encode,
|
|
19
21
|
decode: QueryBlockGasResponse.decode,
|
|
20
22
|
service: "ethermint.feemarket.v1.Query",
|
|
21
23
|
method: "BlockGas",
|
|
22
|
-
clientResolver
|
|
24
|
+
clientResolver,
|
|
25
|
+
deps: [QueryBlockGasRequest, QueryBlockGasResponse]
|
|
23
26
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./feemarket";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
/** QueryParamsRequest defines the request type for querying x/evm parameters. */
|
|
6
5
|
export interface QueryParamsRequest {}
|
|
7
6
|
export interface QueryParamsRequestProtoMsg {
|
|
@@ -158,9 +157,9 @@ export const QueryParamsRequest = {
|
|
|
158
157
|
typeUrl: "/ethermint.feemarket.v1.QueryParamsRequest",
|
|
159
158
|
value: QueryParamsRequest.encode(message).finish()
|
|
160
159
|
};
|
|
161
|
-
}
|
|
160
|
+
},
|
|
161
|
+
registerTypeUrl() {}
|
|
162
162
|
};
|
|
163
|
-
GlobalDecoderRegistry.register(QueryParamsRequest.typeUrl, QueryParamsRequest);
|
|
164
163
|
function createBaseQueryParamsResponse(): QueryParamsResponse {
|
|
165
164
|
return {
|
|
166
165
|
params: Params.fromPartial({})
|
|
@@ -228,9 +227,11 @@ export const QueryParamsResponse = {
|
|
|
228
227
|
typeUrl: "/ethermint.feemarket.v1.QueryParamsResponse",
|
|
229
228
|
value: QueryParamsResponse.encode(message).finish()
|
|
230
229
|
};
|
|
230
|
+
},
|
|
231
|
+
registerTypeUrl() {
|
|
232
|
+
Params.registerTypeUrl();
|
|
231
233
|
}
|
|
232
234
|
};
|
|
233
|
-
GlobalDecoderRegistry.register(QueryParamsResponse.typeUrl, QueryParamsResponse);
|
|
234
235
|
function createBaseQueryBaseFeeRequest(): QueryBaseFeeRequest {
|
|
235
236
|
return {};
|
|
236
237
|
}
|
|
@@ -285,9 +286,9 @@ export const QueryBaseFeeRequest = {
|
|
|
285
286
|
typeUrl: "/ethermint.feemarket.v1.QueryBaseFeeRequest",
|
|
286
287
|
value: QueryBaseFeeRequest.encode(message).finish()
|
|
287
288
|
};
|
|
288
|
-
}
|
|
289
|
+
},
|
|
290
|
+
registerTypeUrl() {}
|
|
289
291
|
};
|
|
290
|
-
GlobalDecoderRegistry.register(QueryBaseFeeRequest.typeUrl, QueryBaseFeeRequest);
|
|
291
292
|
function createBaseQueryBaseFeeResponse(): QueryBaseFeeResponse {
|
|
292
293
|
return {
|
|
293
294
|
baseFee: ""
|
|
@@ -355,9 +356,9 @@ export const QueryBaseFeeResponse = {
|
|
|
355
356
|
typeUrl: "/ethermint.feemarket.v1.QueryBaseFeeResponse",
|
|
356
357
|
value: QueryBaseFeeResponse.encode(message).finish()
|
|
357
358
|
};
|
|
358
|
-
}
|
|
359
|
+
},
|
|
360
|
+
registerTypeUrl() {}
|
|
359
361
|
};
|
|
360
|
-
GlobalDecoderRegistry.register(QueryBaseFeeResponse.typeUrl, QueryBaseFeeResponse);
|
|
361
362
|
function createBaseQueryBlockGasRequest(): QueryBlockGasRequest {
|
|
362
363
|
return {};
|
|
363
364
|
}
|
|
@@ -412,9 +413,9 @@ export const QueryBlockGasRequest = {
|
|
|
412
413
|
typeUrl: "/ethermint.feemarket.v1.QueryBlockGasRequest",
|
|
413
414
|
value: QueryBlockGasRequest.encode(message).finish()
|
|
414
415
|
};
|
|
415
|
-
}
|
|
416
|
+
},
|
|
417
|
+
registerTypeUrl() {}
|
|
416
418
|
};
|
|
417
|
-
GlobalDecoderRegistry.register(QueryBlockGasRequest.typeUrl, QueryBlockGasRequest);
|
|
418
419
|
function createBaseQueryBlockGasResponse(): QueryBlockGasResponse {
|
|
419
420
|
return {
|
|
420
421
|
gas: BigInt(0)
|
|
@@ -482,6 +483,6 @@ export const QueryBlockGasResponse = {
|
|
|
482
483
|
typeUrl: "/ethermint.feemarket.v1.QueryBlockGasResponse",
|
|
483
484
|
value: QueryBlockGasResponse.encode(message).finish()
|
|
484
485
|
};
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
486
|
+
},
|
|
487
|
+
registerTypeUrl() {}
|
|
488
|
+
};
|
|
@@ -1,3 +1,29 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { MsgUpdateParams } from "./tx";
|
|
3
|
-
export const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]> = [["/ethermint.feemarket.v1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
|
+
export const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]> = [["/ethermint.feemarket.v1.MsgUpdateParams", MsgUpdateParams]];
|
|
4
|
+
export const MessageComposer = {
|
|
5
|
+
encoded: {
|
|
6
|
+
updateParams(value: MsgUpdateParams) {
|
|
7
|
+
return {
|
|
8
|
+
typeUrl: "/ethermint.feemarket.v1.MsgUpdateParams",
|
|
9
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
withTypeUrl: {
|
|
14
|
+
updateParams(value: MsgUpdateParams) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/ethermint.feemarket.v1.MsgUpdateParams",
|
|
17
|
+
value
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
fromPartial: {
|
|
22
|
+
updateParams(value: MsgUpdateParams) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ethermint.feemarket.v1.MsgUpdateParams",
|
|
25
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -5,5 +5,6 @@ export const createUpdateParams = (clientResolver?: SigningClientResolver) => bu
|
|
|
5
5
|
clientResolver,
|
|
6
6
|
typeUrl: MsgUpdateParams.typeUrl,
|
|
7
7
|
encoders: toEncoders(MsgUpdateParams),
|
|
8
|
-
converters: toConverters(MsgUpdateParams)
|
|
8
|
+
converters: toConverters(MsgUpdateParams),
|
|
9
|
+
deps: [MsgUpdateParams]
|
|
9
10
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./feemarket";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
4
|
/** MsgUpdateParams defines a Msg for updating the x/feemarket module parameters. */
|
|
6
5
|
export interface MsgUpdateParams {
|
|
7
6
|
/** authority is the address of the governance account. */
|
|
@@ -134,10 +133,11 @@ export const MsgUpdateParams = {
|
|
|
134
133
|
typeUrl: "/ethermint.feemarket.v1.MsgUpdateParams",
|
|
135
134
|
value: MsgUpdateParams.encode(message).finish()
|
|
136
135
|
};
|
|
136
|
+
},
|
|
137
|
+
registerTypeUrl() {
|
|
138
|
+
Params.registerTypeUrl();
|
|
137
139
|
}
|
|
138
140
|
};
|
|
139
|
-
GlobalDecoderRegistry.register(MsgUpdateParams.typeUrl, MsgUpdateParams);
|
|
140
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateParams.aminoType, MsgUpdateParams.typeUrl);
|
|
141
141
|
function createBaseMsgUpdateParamsResponse(): MsgUpdateParamsResponse {
|
|
142
142
|
return {};
|
|
143
143
|
}
|
|
@@ -192,6 +192,6 @@ export const MsgUpdateParamsResponse = {
|
|
|
192
192
|
typeUrl: "/ethermint.feemarket.v1.MsgUpdateParamsResponse",
|
|
193
193
|
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
194
194
|
};
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
195
|
+
},
|
|
196
|
+
registerTypeUrl() {}
|
|
197
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseAccount, BaseAccountAmino } from "../../../cosmos/auth/v1beta1/auth";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { DeepPartial } from "../../../helpers";
|
|
4
3
|
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
5
|
/**
|
|
6
6
|
* EthAccount implements the sdk.AccountI interface and embeds an
|
|
7
7
|
* authtypes.BaseAccount type. It is compatible with the auth AccountKeeper.
|
|
@@ -109,6 +109,9 @@ export const EthAccount = {
|
|
|
109
109
|
typeUrl: "/ethermint.types.v1.EthAccount",
|
|
110
110
|
value: EthAccount.encode(message).finish()
|
|
111
111
|
};
|
|
112
|
+
},
|
|
113
|
+
registerTypeUrl() {
|
|
114
|
+
GlobalDecoderRegistry.register(EthAccount.typeUrl, EthAccount);
|
|
115
|
+
BaseAccount.registerTypeUrl();
|
|
112
116
|
}
|
|
113
|
-
};
|
|
114
|
-
GlobalDecoderRegistry.register(EthAccount.typeUrl, EthAccount);
|
|
117
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/** ExtensionOptionDynamicFeeTx is an extension option that specifies the maxPrioPrice for cosmos tx */
|
|
5
4
|
export interface ExtensionOptionDynamicFeeTx {
|
|
6
5
|
/** max_priority_price is the same as `max_priority_fee_per_gas` in eip-1559 spec */
|
|
@@ -86,6 +85,6 @@ export const ExtensionOptionDynamicFeeTx = {
|
|
|
86
85
|
typeUrl: "/ethermint.types.v1.ExtensionOptionDynamicFeeTx",
|
|
87
86
|
value: ExtensionOptionDynamicFeeTx.encode(message).finish()
|
|
88
87
|
};
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
88
|
+
},
|
|
89
|
+
registerTypeUrl() {}
|
|
90
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/** TxResult is the value stored in eth tx indexer */
|
|
5
4
|
export interface TxResult {
|
|
6
5
|
/** height of the blockchain */
|
|
@@ -200,6 +199,6 @@ export const TxResult = {
|
|
|
200
199
|
typeUrl: "/ethermint.types.v1.TxResult",
|
|
201
200
|
value: TxResult.encode(message).finish()
|
|
202
201
|
};
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
202
|
+
},
|
|
203
|
+
registerTypeUrl() {}
|
|
204
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
2
|
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
3
|
/**
|
|
5
4
|
* ExtensionOptionsWeb3Tx is an extension option that specifies the typed chain id,
|
|
6
5
|
* the fee payer as well as its signature data.
|
|
@@ -142,6 +141,6 @@ export const ExtensionOptionsWeb3Tx = {
|
|
|
142
141
|
typeUrl: "/ethermint.types.v1.ExtensionOptionsWeb3Tx",
|
|
143
142
|
value: ExtensionOptionsWeb3Tx.encode(message).finish()
|
|
144
143
|
};
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
144
|
+
},
|
|
145
|
+
registerTypeUrl() {}
|
|
146
|
+
};
|
package/src/extern.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.
|
|
2
|
+
* This file and any referenced files were automatically generated by @cosmology/telescope@1.11.22
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { HttpEndpoint } from "@interchainjs/types";
|
|
9
9
|
import {
|
|
10
10
|
createQueryRpc,
|
|
11
|
-
} from '@interchainjs/
|
|
11
|
+
} from '@interchainjs/utils';
|
|
12
12
|
import { Rpc } from "./helpers";
|
|
13
13
|
|
|
14
14
|
const _rpcClients: Record<string, Rpc> = {};
|
package/src/google/api/http.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
2
2
|
import { DeepPartial } from "../../helpers";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../registry";
|
|
4
3
|
/**
|
|
5
4
|
* Defines the HTTP configuration for an API service. It contains a list of
|
|
6
5
|
* [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
|
|
@@ -802,9 +801,11 @@ export const Http = {
|
|
|
802
801
|
typeUrl: "/google.api.Http",
|
|
803
802
|
value: Http.encode(message).finish()
|
|
804
803
|
};
|
|
804
|
+
},
|
|
805
|
+
registerTypeUrl() {
|
|
806
|
+
HttpRule.registerTypeUrl();
|
|
805
807
|
}
|
|
806
808
|
};
|
|
807
|
-
GlobalDecoderRegistry.register(Http.typeUrl, Http);
|
|
808
809
|
function createBaseHttpRule(): HttpRule {
|
|
809
810
|
return {
|
|
810
811
|
selector: "",
|
|
@@ -982,9 +983,12 @@ export const HttpRule = {
|
|
|
982
983
|
typeUrl: "/google.api.HttpRule",
|
|
983
984
|
value: HttpRule.encode(message).finish()
|
|
984
985
|
};
|
|
986
|
+
},
|
|
987
|
+
registerTypeUrl() {
|
|
988
|
+
CustomHttpPattern.registerTypeUrl();
|
|
989
|
+
HttpRule.registerTypeUrl();
|
|
985
990
|
}
|
|
986
991
|
};
|
|
987
|
-
GlobalDecoderRegistry.register(HttpRule.typeUrl, HttpRule);
|
|
988
992
|
function createBaseCustomHttpPattern(): CustomHttpPattern {
|
|
989
993
|
return {
|
|
990
994
|
kind: "",
|
|
@@ -1064,6 +1068,6 @@ export const CustomHttpPattern = {
|
|
|
1064
1068
|
typeUrl: "/google.api.CustomHttpPattern",
|
|
1065
1069
|
value: CustomHttpPattern.encode(message).finish()
|
|
1066
1070
|
};
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1071
|
+
},
|
|
1072
|
+
registerTypeUrl() {}
|
|
1073
|
+
};
|