@xpla/xpla-react 1.8.0-rc.0 → 1.8.0
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/binary.js +1 -1
- package/cosmos/auth/v1beta1/tx.registry.d.ts +1 -1
- package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +1 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/bank/v1beta1/tx.registry.d.ts +4 -4
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/consensus/v1/tx.registry.d.ts +1 -1
- package/cosmos/consensus/v1/tx.rpc.func.d.ts +1 -1
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +7 -7
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/evidence/v1beta1/tx.registry.d.ts +1 -1
- package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +1 -1
- package/cosmos/evm/feemarket/v1/tx.registry.d.ts +1 -1
- package/cosmos/evm/feemarket/v1/tx.rpc.func.d.ts +1 -1
- package/cosmos/evm/vm/v1/evm.js +4 -4
- package/cosmos/evm/vm/v1/tx.registry.d.ts +2 -2
- package/cosmos/evm/vm/v1/tx.rpc.func.d.ts +2 -2
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/gov/v1/gov.js +7 -7
- package/cosmos/gov/v1/tx.registry.d.ts +7 -7
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1beta1/gov.js +7 -7
- package/cosmos/gov/v1beta1/tx.registry.d.ts +4 -4
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/ics23/v1/proofs.js +7 -7
- package/cosmos/mint/v1beta1/tx.registry.d.ts +1 -1
- package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +1 -1
- package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -2
- package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +2 -2
- package/cosmos/staking/v1beta1/authz.js +4 -4
- package/cosmos/staking/v1beta1/staking.js +7 -7
- package/cosmos/staking/v1beta1/tx.registry.d.ts +7 -7
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/tx/signing/v1beta1/signing.js +4 -4
- package/cosmos/tx/v1beta1/service.js +7 -7
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +2 -2
- package/cosmos_proto/cosmos.js +4 -4
- package/cosmwasm/wasm/v1/tx.registry.d.ts +17 -17
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/cosmwasm/wasm/v1/types.js +7 -7
- package/esm/helpers.js +1 -1
- package/ethermint/evm/v1/tx.registry.d.ts +2 -2
- package/ethermint/evm/v1/tx.rpc.func.d.ts +2 -2
- package/ethermint/feemarket/v1/tx.registry.d.ts +1 -1
- package/ethermint/feemarket/v1/tx.rpc.func.d.ts +1 -1
- package/google/protobuf/descriptor.js +62 -63
- package/google/protobuf/duration.d.ts +1 -1
- package/google/protobuf/timestamp.d.ts +1 -1
- package/helper-func-types.d.ts +1 -1
- package/helper-func-types.js +2 -3
- package/helpers.js +13 -13
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/applications/interchain_accounts/v1/packet.js +4 -4
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -2
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/core/channel/v1/channel.js +7 -7
- package/ibc/core/channel/v1/tx.js +4 -4
- package/ibc/core/channel/v1/tx.registry.d.ts +10 -10
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +10 -10
- package/ibc/core/channel/v2/packet.js +4 -4
- package/ibc/core/channel/v2/tx.js +4 -4
- package/ibc/core/channel/v2/tx.registry.d.ts +4 -4
- package/ibc/core/channel/v2/tx.rpc.func.d.ts +4 -4
- package/ibc/core/client/v1/tx.registry.d.ts +8 -8
- package/ibc/core/client/v1/tx.rpc.func.d.ts +8 -8
- package/ibc/core/client/v2/tx.registry.d.ts +2 -2
- package/ibc/core/client/v2/tx.rpc.func.d.ts +2 -2
- package/ibc/core/connection/v1/connection.js +4 -4
- package/ibc/core/connection/v1/tx.registry.d.ts +5 -5
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/ibc/lightclients/solomachine/v2/solomachine.js +4 -4
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +3 -3
- package/package.json +7 -7
- package/react-query.d.ts +1 -2
- package/react-query.js +4 -4
- package/tendermint/abci/types.js +20 -20
- package/tendermint/types/types.js +4 -4
- package/tendermint/types/validator.js +4 -4
- package/utf8.js +3 -4
- package/varint.js +16 -17
- package/xpla/burn/v1beta1/tx.registry.d.ts +1 -1
- package/xpla/burn/v1beta1/tx.rpc.func.d.ts +1 -1
- package/xpla/reward/v1beta1/tx.registry.d.ts +2 -2
- package/xpla/reward/v1beta1/tx.rpc.func.d.ts +2 -2
- package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -2
- package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +2 -2
|
@@ -5,7 +5,7 @@ import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecu
|
|
|
5
5
|
* @package cosmwasm.wasm.v1
|
|
6
6
|
* @see proto service: cosmwasm.wasm.v1.StoreCode
|
|
7
7
|
*/
|
|
8
|
-
export declare const storeCode: (client: import("@interchainjs/cosmos
|
|
8
|
+
export declare const storeCode: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgStoreCode | MsgStoreCode[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* InstantiateContract creates a new smart contract instance for the given
|
|
11
11
|
* code id.
|
|
@@ -13,7 +13,7 @@ export declare const storeCode: (client: import("@interchainjs/cosmos/types/sign
|
|
|
13
13
|
* @package cosmwasm.wasm.v1
|
|
14
14
|
* @see proto service: cosmwasm.wasm.v1.InstantiateContract
|
|
15
15
|
*/
|
|
16
|
-
export declare const instantiateContract: (client: import("@interchainjs/cosmos
|
|
16
|
+
export declare const instantiateContract: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgInstantiateContract | MsgInstantiateContract[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* InstantiateContract2 creates a new smart contract instance for the given
|
|
19
19
|
* code id with a predictable address
|
|
@@ -21,42 +21,42 @@ export declare const instantiateContract: (client: import("@interchainjs/cosmos/
|
|
|
21
21
|
* @package cosmwasm.wasm.v1
|
|
22
22
|
* @see proto service: cosmwasm.wasm.v1.InstantiateContract2
|
|
23
23
|
*/
|
|
24
|
-
export declare const instantiateContract2: (client: import("@interchainjs/cosmos
|
|
24
|
+
export declare const instantiateContract2: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgInstantiateContract2 | MsgInstantiateContract2[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Execute submits the given message data to a smart contract
|
|
27
27
|
* @name executeContract
|
|
28
28
|
* @package cosmwasm.wasm.v1
|
|
29
29
|
* @see proto service: cosmwasm.wasm.v1.ExecuteContract
|
|
30
30
|
*/
|
|
31
|
-
export declare const executeContract: (client: import("@interchainjs/cosmos
|
|
31
|
+
export declare const executeContract: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgExecuteContract | MsgExecuteContract[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
32
32
|
/**
|
|
33
33
|
* Migrate runs a code upgrade/ downgrade for a smart contract
|
|
34
34
|
* @name migrateContract
|
|
35
35
|
* @package cosmwasm.wasm.v1
|
|
36
36
|
* @see proto service: cosmwasm.wasm.v1.MigrateContract
|
|
37
37
|
*/
|
|
38
|
-
export declare const migrateContract: (client: import("@interchainjs/cosmos
|
|
38
|
+
export declare const migrateContract: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgMigrateContract | MsgMigrateContract[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
39
39
|
/**
|
|
40
40
|
* UpdateAdmin sets a new admin for a smart contract
|
|
41
41
|
* @name updateAdmin
|
|
42
42
|
* @package cosmwasm.wasm.v1
|
|
43
43
|
* @see proto service: cosmwasm.wasm.v1.UpdateAdmin
|
|
44
44
|
*/
|
|
45
|
-
export declare const updateAdmin: (client: import("@interchainjs/cosmos
|
|
45
|
+
export declare const updateAdmin: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateAdmin | MsgUpdateAdmin[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
46
46
|
/**
|
|
47
47
|
* ClearAdmin removes any admin stored for a smart contract
|
|
48
48
|
* @name clearAdmin
|
|
49
49
|
* @package cosmwasm.wasm.v1
|
|
50
50
|
* @see proto service: cosmwasm.wasm.v1.ClearAdmin
|
|
51
51
|
*/
|
|
52
|
-
export declare const clearAdmin: (client: import("@interchainjs/cosmos
|
|
52
|
+
export declare const clearAdmin: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgClearAdmin | MsgClearAdmin[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
53
53
|
/**
|
|
54
54
|
* UpdateInstantiateConfig updates instantiate config for a smart contract
|
|
55
55
|
* @name updateInstantiateConfig
|
|
56
56
|
* @package cosmwasm.wasm.v1
|
|
57
57
|
* @see proto service: cosmwasm.wasm.v1.UpdateInstantiateConfig
|
|
58
58
|
*/
|
|
59
|
-
export declare const updateInstantiateConfig: (client: import("@interchainjs/cosmos
|
|
59
|
+
export declare const updateInstantiateConfig: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateInstantiateConfig | MsgUpdateInstantiateConfig[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
60
60
|
/**
|
|
61
61
|
* UpdateParams defines a governance operation for updating the x/wasm
|
|
62
62
|
* module parameters. The authority is defined in the keeper.
|
|
@@ -66,7 +66,7 @@ export declare const updateInstantiateConfig: (client: import("@interchainjs/cos
|
|
|
66
66
|
* @package cosmwasm.wasm.v1
|
|
67
67
|
* @see proto service: cosmwasm.wasm.v1.UpdateParams
|
|
68
68
|
*/
|
|
69
|
-
export declare const updateParams: (client: import("@interchainjs/cosmos
|
|
69
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
70
70
|
/**
|
|
71
71
|
* SudoContract defines a governance operation for calling sudo
|
|
72
72
|
* on a contract. The authority is defined in the keeper.
|
|
@@ -76,7 +76,7 @@ export declare const updateParams: (client: import("@interchainjs/cosmos/types/s
|
|
|
76
76
|
* @package cosmwasm.wasm.v1
|
|
77
77
|
* @see proto service: cosmwasm.wasm.v1.SudoContract
|
|
78
78
|
*/
|
|
79
|
-
export declare const sudoContract: (client: import("@interchainjs/cosmos
|
|
79
|
+
export declare const sudoContract: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgSudoContract | MsgSudoContract[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
80
80
|
/**
|
|
81
81
|
* PinCodes defines a governance operation for pinning a set of
|
|
82
82
|
* code ids in the wasmvm cache. The authority is defined in the keeper.
|
|
@@ -86,7 +86,7 @@ export declare const sudoContract: (client: import("@interchainjs/cosmos/types/s
|
|
|
86
86
|
* @package cosmwasm.wasm.v1
|
|
87
87
|
* @see proto service: cosmwasm.wasm.v1.PinCodes
|
|
88
88
|
*/
|
|
89
|
-
export declare const pinCodes: (client: import("@interchainjs/cosmos
|
|
89
|
+
export declare const pinCodes: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgPinCodes | MsgPinCodes[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
90
90
|
/**
|
|
91
91
|
* UnpinCodes defines a governance operation for unpinning a set of
|
|
92
92
|
* code ids in the wasmvm cache. The authority is defined in the keeper.
|
|
@@ -96,7 +96,7 @@ export declare const pinCodes: (client: import("@interchainjs/cosmos/types/signi
|
|
|
96
96
|
* @package cosmwasm.wasm.v1
|
|
97
97
|
* @see proto service: cosmwasm.wasm.v1.UnpinCodes
|
|
98
98
|
*/
|
|
99
|
-
export declare const unpinCodes: (client: import("@interchainjs/cosmos
|
|
99
|
+
export declare const unpinCodes: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUnpinCodes | MsgUnpinCodes[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
100
100
|
/**
|
|
101
101
|
* StoreAndInstantiateContract defines a governance operation for storing
|
|
102
102
|
* and instantiating the contract. The authority is defined in the keeper.
|
|
@@ -106,7 +106,7 @@ export declare const unpinCodes: (client: import("@interchainjs/cosmos/types/sig
|
|
|
106
106
|
* @package cosmwasm.wasm.v1
|
|
107
107
|
* @see proto service: cosmwasm.wasm.v1.StoreAndInstantiateContract
|
|
108
108
|
*/
|
|
109
|
-
export declare const storeAndInstantiateContract: (client: import("@interchainjs/cosmos
|
|
109
|
+
export declare const storeAndInstantiateContract: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgStoreAndInstantiateContract | MsgStoreAndInstantiateContract[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
110
110
|
/**
|
|
111
111
|
* RemoveCodeUploadParamsAddresses defines a governance operation for
|
|
112
112
|
* removing addresses from code upload params.
|
|
@@ -115,7 +115,7 @@ export declare const storeAndInstantiateContract: (client: import("@interchainjs
|
|
|
115
115
|
* @package cosmwasm.wasm.v1
|
|
116
116
|
* @see proto service: cosmwasm.wasm.v1.RemoveCodeUploadParamsAddresses
|
|
117
117
|
*/
|
|
118
|
-
export declare const removeCodeUploadParamsAddresses: (client: import("@interchainjs/cosmos
|
|
118
|
+
export declare const removeCodeUploadParamsAddresses: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgRemoveCodeUploadParamsAddresses | MsgRemoveCodeUploadParamsAddresses[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
119
119
|
/**
|
|
120
120
|
* AddCodeUploadParamsAddresses defines a governance operation for
|
|
121
121
|
* adding addresses to code upload params.
|
|
@@ -124,7 +124,7 @@ export declare const removeCodeUploadParamsAddresses: (client: import("@intercha
|
|
|
124
124
|
* @package cosmwasm.wasm.v1
|
|
125
125
|
* @see proto service: cosmwasm.wasm.v1.AddCodeUploadParamsAddresses
|
|
126
126
|
*/
|
|
127
|
-
export declare const addCodeUploadParamsAddresses: (client: import("@interchainjs/cosmos
|
|
127
|
+
export declare const addCodeUploadParamsAddresses: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgAddCodeUploadParamsAddresses | MsgAddCodeUploadParamsAddresses[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
128
128
|
/**
|
|
129
129
|
* StoreAndMigrateContract defines a governance operation for storing
|
|
130
130
|
* and migrating the contract. The authority is defined in the keeper.
|
|
@@ -134,7 +134,7 @@ export declare const addCodeUploadParamsAddresses: (client: import("@interchainj
|
|
|
134
134
|
* @package cosmwasm.wasm.v1
|
|
135
135
|
* @see proto service: cosmwasm.wasm.v1.StoreAndMigrateContract
|
|
136
136
|
*/
|
|
137
|
-
export declare const storeAndMigrateContract: (client: import("@interchainjs/cosmos
|
|
137
|
+
export declare const storeAndMigrateContract: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgStoreAndMigrateContract | MsgStoreAndMigrateContract[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
138
138
|
/**
|
|
139
139
|
* UpdateContractLabel sets a new label for a smart contract
|
|
140
140
|
*
|
|
@@ -143,4 +143,4 @@ export declare const storeAndMigrateContract: (client: import("@interchainjs/cos
|
|
|
143
143
|
* @package cosmwasm.wasm.v1
|
|
144
144
|
* @see proto service: cosmwasm.wasm.v1.UpdateContractLabel
|
|
145
145
|
*/
|
|
146
|
-
export declare const updateContractLabel: (client: import("@interchainjs/cosmos
|
|
146
|
+
export declare const updateContractLabel: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateContractLabel | MsgUpdateContractLabel[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Model = exports.AbsoluteTxPosition = exports.ContractCodeHistoryEntry = exports.ContractInfo = exports.CodeInfo = exports.Params = exports.AccessConfig = exports.AccessTypeParam = exports.
|
|
3
|
+
exports.Model = exports.AbsoluteTxPosition = exports.ContractCodeHistoryEntry = exports.ContractInfo = exports.CodeInfo = exports.Params = exports.AccessConfig = exports.AccessTypeParam = exports.ContractCodeHistoryOperationTypeAmino = exports.ContractCodeHistoryOperationType = exports.AccessTypeAmino = exports.AccessType = void 0;
|
|
4
|
+
exports.accessTypeFromJSON = accessTypeFromJSON;
|
|
5
|
+
exports.accessTypeToJSON = accessTypeToJSON;
|
|
6
|
+
exports.contractCodeHistoryOperationTypeFromJSON = contractCodeHistoryOperationTypeFromJSON;
|
|
7
|
+
exports.contractCodeHistoryOperationTypeToJSON = contractCodeHistoryOperationTypeToJSON;
|
|
4
8
|
const any_1 = require("../../../google/protobuf/any");
|
|
5
9
|
const helpers_1 = require("../../../helpers");
|
|
6
10
|
const binary_1 = require("../../../binary");
|
|
@@ -18,7 +22,7 @@ var AccessType;
|
|
|
18
22
|
/** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
|
|
19
23
|
AccessType[AccessType["ACCESS_TYPE_ANY_OF_ADDRESSES"] = 4] = "ACCESS_TYPE_ANY_OF_ADDRESSES";
|
|
20
24
|
AccessType[AccessType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
|
-
})(AccessType
|
|
25
|
+
})(AccessType || (exports.AccessType = AccessType = {}));
|
|
22
26
|
exports.AccessTypeAmino = AccessType;
|
|
23
27
|
function accessTypeFromJSON(object) {
|
|
24
28
|
switch (object) {
|
|
@@ -40,7 +44,6 @@ function accessTypeFromJSON(object) {
|
|
|
40
44
|
return AccessType.UNRECOGNIZED;
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
|
-
exports.accessTypeFromJSON = accessTypeFromJSON;
|
|
44
47
|
function accessTypeToJSON(object) {
|
|
45
48
|
switch (object) {
|
|
46
49
|
case AccessType.ACCESS_TYPE_UNSPECIFIED:
|
|
@@ -56,7 +59,6 @@ function accessTypeToJSON(object) {
|
|
|
56
59
|
return "UNRECOGNIZED";
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
|
-
exports.accessTypeToJSON = accessTypeToJSON;
|
|
60
62
|
/** ContractCodeHistoryOperationType actions that caused a code change */
|
|
61
63
|
var ContractCodeHistoryOperationType;
|
|
62
64
|
(function (ContractCodeHistoryOperationType) {
|
|
@@ -69,7 +71,7 @@ var ContractCodeHistoryOperationType;
|
|
|
69
71
|
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
|
|
70
72
|
ContractCodeHistoryOperationType[ContractCodeHistoryOperationType["CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"] = 3] = "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS";
|
|
71
73
|
ContractCodeHistoryOperationType[ContractCodeHistoryOperationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
72
|
-
})(ContractCodeHistoryOperationType
|
|
74
|
+
})(ContractCodeHistoryOperationType || (exports.ContractCodeHistoryOperationType = ContractCodeHistoryOperationType = {}));
|
|
73
75
|
exports.ContractCodeHistoryOperationTypeAmino = ContractCodeHistoryOperationType;
|
|
74
76
|
function contractCodeHistoryOperationTypeFromJSON(object) {
|
|
75
77
|
switch (object) {
|
|
@@ -91,7 +93,6 @@ function contractCodeHistoryOperationTypeFromJSON(object) {
|
|
|
91
93
|
return ContractCodeHistoryOperationType.UNRECOGNIZED;
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
|
-
exports.contractCodeHistoryOperationTypeFromJSON = contractCodeHistoryOperationTypeFromJSON;
|
|
95
96
|
function contractCodeHistoryOperationTypeToJSON(object) {
|
|
96
97
|
switch (object) {
|
|
97
98
|
case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED:
|
|
@@ -107,7 +108,6 @@ function contractCodeHistoryOperationTypeToJSON(object) {
|
|
|
107
108
|
return "UNRECOGNIZED";
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
|
-
exports.contractCodeHistoryOperationTypeToJSON = contractCodeHistoryOperationTypeToJSON;
|
|
111
111
|
function createBaseAccessTypeParam() {
|
|
112
112
|
return {
|
|
113
113
|
value: 0
|
package/esm/helpers.js
CHANGED
|
@@ -92,7 +92,7 @@ export function isRpc(rpc) {
|
|
|
92
92
|
return rpc !== null && rpc !== undefined && typeof rpc.request === 'function';
|
|
93
93
|
}
|
|
94
94
|
export function toTimestamp(date) {
|
|
95
|
-
const seconds = numberToLong(date.getTime() /
|
|
95
|
+
const seconds = numberToLong(date.getTime() / 1_000);
|
|
96
96
|
const nanos = (date.getTime() % 1000) * 1000000;
|
|
97
97
|
return {
|
|
98
98
|
seconds,
|
|
@@ -5,11 +5,11 @@ export declare const MessageComposer: {
|
|
|
5
5
|
encoded: {
|
|
6
6
|
ethereumTx(value: MsgEthereumTx): {
|
|
7
7
|
typeUrl: string;
|
|
8
|
-
value: Uint8Array
|
|
8
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
9
9
|
};
|
|
10
10
|
updateParams(value: MsgUpdateParams): {
|
|
11
11
|
typeUrl: string;
|
|
12
|
-
value: Uint8Array
|
|
12
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
withTypeUrl: {
|
|
@@ -5,7 +5,7 @@ import { MsgEthereumTx, MsgUpdateParams } from "./tx";
|
|
|
5
5
|
* @package ethermint.evm.v1
|
|
6
6
|
* @see proto service: ethermint.evm.v1.EthereumTx
|
|
7
7
|
*/
|
|
8
|
-
export declare const ethereumTx: (client: import("@interchainjs/cosmos
|
|
8
|
+
export declare const ethereumTx: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgEthereumTx | MsgEthereumTx[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* UpdateParams defined a governance operation for updating the x/evm module parameters.
|
|
11
11
|
* The authority is hard-coded to the Cosmos SDK x/gov module account
|
|
@@ -13,4 +13,4 @@ export declare const ethereumTx: (client: import("@interchainjs/cosmos/types/sig
|
|
|
13
13
|
* @package ethermint.evm.v1
|
|
14
14
|
* @see proto service: ethermint.evm.v1.UpdateParams
|
|
15
15
|
*/
|
|
16
|
-
export declare const updateParams: (client: import("@interchainjs/cosmos
|
|
16
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|
|
@@ -6,4 +6,4 @@ import { MsgUpdateParams } from "./tx";
|
|
|
6
6
|
* @package ethermint.feemarket.v1
|
|
7
7
|
* @see proto service: ethermint.feemarket.v1.UpdateParams
|
|
8
8
|
*/
|
|
9
|
-
export declare const updateParams: (client: import("@interchainjs/cosmos
|
|
9
|
+
export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
|