@ark-us/wasmxjs 0.0.3 → 0.0.4
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/main/codegen/index.js +10 -10
- package/main/codegen/{wasmx → mythos}/bundle.js +21 -21
- package/main/codegen/{wasmx → mythos}/client.js +19 -19
- package/main/codegen/{wasmx → mythos}/rpc.query.js +1 -1
- package/main/codegen/{wasmx → mythos}/rpc.tx.js +1 -1
- package/main/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.js +9 -9
- package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.js +16 -16
- package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.js +41 -41
- package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.js +8 -8
- package/main/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.js +7 -7
- package/main/codegen/{wasmx → mythos}/websrv/v1/tx.amino.js +6 -6
- package/main/codegen/{wasmx → mythos}/websrv/v1/tx.registry.js +16 -16
- package/main/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.js +3 -3
- package/main/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/index.js +3 -3
- package/module/codegen/{wasmx → mythos}/bundle.js +19 -19
- package/module/codegen/{wasmx → mythos}/client.js +11 -11
- package/module/codegen/{wasmx → mythos}/rpc.query.js +1 -1
- package/module/codegen/{wasmx → mythos}/rpc.tx.js +1 -1
- package/module/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.js +9 -9
- package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.js +16 -16
- package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.js +41 -41
- package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.js +8 -8
- package/module/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.js +7 -7
- package/module/codegen/{wasmx → mythos}/websrv/v1/tx.amino.js +6 -6
- package/module/codegen/{wasmx → mythos}/websrv/v1/tx.registry.js +16 -16
- package/module/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.js +3 -3
- package/module/codegen/tendermint/bundle.js +17 -17
- package/package.json +1 -1
- package/src/codegen/index.ts +3 -3
- package/src/codegen/{wasmx → mythos}/bundle.ts +21 -21
- package/src/codegen/{wasmx → mythos}/client.ts +12 -12
- package/src/codegen/{wasmx → mythos}/rpc.query.ts +1 -1
- package/src/codegen/{wasmx → mythos}/rpc.tx.ts +1 -1
- package/src/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.ts +9 -9
- package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.amino.ts +24 -24
- package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.registry.ts +41 -41
- package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.ts +8 -8
- package/src/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.ts +7 -7
- package/src/codegen/{wasmx → mythos}/websrv/v1/tx.amino.ts +9 -9
- package/src/codegen/{wasmx → mythos}/websrv/v1/tx.registry.ts +16 -16
- package/src/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.ts +3 -3
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/types/codegen/index.d.ts +3 -3
- package/types/codegen/mythos/bundle.d.ts +1039 -0
- package/types/codegen/{wasmx → mythos}/client.d.ts +15 -15
- package/types/codegen/mythos/index.d.ts +11 -0
- package/types/codegen/{wasmx → mythos}/rpc.query.d.ts +1 -1
- package/types/codegen/{wasmx → mythos}/rpc.tx.d.ts +1 -1
- package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.amino.d.ts +16 -16
- package/types/codegen/{wasmx → mythos}/websrv/v1/tx.amino.d.ts +6 -6
- package/types/codegen/tendermint/bundle.d.ts +456 -456
- package/types/codegen/wasmx/bundle.d.ts +0 -1039
- package/types/codegen/wasmx/index.d.ts +0 -11
- package/types/codegen/wasmx/lcd.d.ts +0 -14
- package/types/codegen/wasmx/wasmx/contract.d.ts +0 -139
- package/types/codegen/wasmx/wasmx/genesis.d.ts +0 -121
- package/types/codegen/wasmx/wasmx/query.d.ts +0 -451
- package/types/codegen/wasmx/wasmx/query.lcd.d.ts +0 -17
- package/types/codegen/wasmx/wasmx/query.rpc.Query.d.ts +0 -48
- package/types/codegen/wasmx/wasmx/tx.d.ts +0 -404
- package/types/codegen/wasmx/wasmx/tx.rpc.msg.d.ts +0 -39
- package/types/codegen/wasmx/wasmx/v1/params.d.ts +0 -14
- package/types/codegen/wasmx/wasmx/v1/tx.amino.d.ts +0 -134
- package/types/codegen/wasmx/wasmx/v1/tx.registry.d.ts +0 -176
- package/types/codegen/wasmx/websrv/query.d.ts +0 -315
- package/types/codegen/wasmx/websrv/query.rpc.Query.d.ts +0 -40
- package/types/codegen/wasmx/websrv/tx.amino.d.ts +0 -41
- package/types/codegen/wasmx/websrv/tx.d.ts +0 -90
- package/types/codegen/wasmx/websrv/tx.rpc.msg.d.ts +0 -18
- package/types/codegen/wasmx/websrv/v1/genesis.d.ts +0 -17
- package/types/codegen/wasmx/websrv/v1/params.d.ts +0 -16
- package/types/codegen/wasmx/websrv/v1/proposal.d.ts +0 -65
- package/types/codegen/wasmx/websrv/v1/tx.registry.d.ts +0 -76
- /package/main/codegen/{wasmx → mythos}/index.js +0 -0
- /package/main/codegen/{wasmx → mythos}/wasmx/v1/contract.js +0 -0
- /package/main/codegen/{wasmx → mythos}/wasmx/v1/genesis.js +0 -0
- /package/main/codegen/{wasmx → mythos}/wasmx/v1/params.js +0 -0
- /package/main/codegen/{wasmx → mythos}/wasmx/v1/query.js +0 -0
- /package/main/codegen/{wasmx → mythos}/wasmx/v1/tx.js +0 -0
- /package/main/codegen/{wasmx → mythos}/websrv/v1/genesis.js +0 -0
- /package/main/codegen/{wasmx → mythos}/websrv/v1/params.js +0 -0
- /package/main/codegen/{wasmx → mythos}/websrv/v1/proposal.js +0 -0
- /package/main/codegen/{wasmx → mythos}/websrv/v1/query.js +0 -0
- /package/main/codegen/{wasmx → mythos}/websrv/v1/tx.js +0 -0
- /package/module/codegen/{wasmx → mythos}/index.js +0 -0
- /package/module/codegen/{wasmx → mythos}/wasmx/v1/contract.js +0 -0
- /package/module/codegen/{wasmx → mythos}/wasmx/v1/genesis.js +0 -0
- /package/module/codegen/{wasmx → mythos}/wasmx/v1/params.js +0 -0
- /package/module/codegen/{wasmx → mythos}/wasmx/v1/query.js +0 -0
- /package/module/codegen/{wasmx → mythos}/wasmx/v1/tx.js +0 -0
- /package/module/codegen/{wasmx → mythos}/websrv/v1/genesis.js +0 -0
- /package/module/codegen/{wasmx → mythos}/websrv/v1/params.js +0 -0
- /package/module/codegen/{wasmx → mythos}/websrv/v1/proposal.js +0 -0
- /package/module/codegen/{wasmx → mythos}/websrv/v1/query.js +0 -0
- /package/module/codegen/{wasmx → mythos}/websrv/v1/tx.js +0 -0
- /package/src/codegen/{wasmx → mythos}/index.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/wasmx/v1/contract.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/wasmx/v1/genesis.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/wasmx/v1/params.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/wasmx/v1/query.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/wasmx/v1/tx.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/websrv/v1/genesis.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/websrv/v1/params.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/websrv/v1/proposal.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/websrv/v1/query.ts +0 -0
- /package/src/codegen/{wasmx → mythos}/websrv/v1/tx.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/wasmx/v1/contract.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/wasmx/v1/genesis.d.ts +0 -0
- /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/params.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/wasmx/v1/query.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/wasmx/v1/query.rpc.Query.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/wasmx/v1/tx.d.ts +0 -0
- /package/types/codegen/{wasmx/wasmx → mythos/wasmx/v1}/tx.registry.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/wasmx/v1/tx.rpc.msg.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/genesis.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/params.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/proposal.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/websrv/v1/query.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/websrv/v1/query.rpc.Query.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/websrv/v1/tx.d.ts +0 -0
- /package/types/codegen/{wasmx/websrv → mythos/websrv/v1}/tx.registry.d.ts +0 -0
- /package/types/codegen/{wasmx → mythos}/websrv/v1/tx.rpc.msg.d.ts +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./wasmx/contract";
|
|
2
|
-
export * from "./wasmx/genesis";
|
|
3
|
-
export * from "./wasmx/params";
|
|
4
|
-
export * from "./wasmx/query";
|
|
5
|
-
export * from "./wasmx/tx";
|
|
6
|
-
export * from "./wasmx/tx.amino";
|
|
7
|
-
export * from "./wasmx/tx.registry";
|
|
8
|
-
export * from "./wasmx/query.rpc.Query";
|
|
9
|
-
export * from "./wasmx/tx.rpc.msg";
|
|
10
|
-
export * from "./rpc.query";
|
|
11
|
-
export * from "./rpc.tx";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const createLCDClient: ({ restEndpoint }: {
|
|
2
|
-
restEndpoint: string;
|
|
3
|
-
}) => Promise<{
|
|
4
|
-
cosmos: {
|
|
5
|
-
base: {
|
|
6
|
-
tendermint: {
|
|
7
|
-
v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
wasmx: {
|
|
12
|
-
wasmx: import("./wasmx/query.lcd").LCDQueryClient;
|
|
13
|
-
};
|
|
14
|
-
}>;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Long } from "../../helpers";
|
|
3
|
-
/** ContractStorage */
|
|
4
|
-
export interface ContractStorage {
|
|
5
|
-
/** hex-encode key */
|
|
6
|
-
key: Uint8Array;
|
|
7
|
-
/** raw value */
|
|
8
|
-
value: Uint8Array;
|
|
9
|
-
}
|
|
10
|
-
/** ContractStorage */
|
|
11
|
-
export interface ContractStorageSDKType {
|
|
12
|
-
/** hex-encode key */
|
|
13
|
-
key: Uint8Array;
|
|
14
|
-
/** raw value */
|
|
15
|
-
value: Uint8Array;
|
|
16
|
-
}
|
|
17
|
-
/** CodeInfo is data for the uploaded contract WASM code */
|
|
18
|
-
export interface CodeInfo {
|
|
19
|
-
/** CodeHash is the unique identifier created by hashing the wasm code */
|
|
20
|
-
codeHash: Uint8Array;
|
|
21
|
-
/** Creator address who initially stored the code */
|
|
22
|
-
creator: string;
|
|
23
|
-
/**
|
|
24
|
-
* deps can be hex-formatted contract addresses (32 bytes)
|
|
25
|
-
* or versioned interface labels
|
|
26
|
-
*/
|
|
27
|
-
deps: string[];
|
|
28
|
-
/** Pinned contract */
|
|
29
|
-
pinned: boolean;
|
|
30
|
-
}
|
|
31
|
-
/** CodeInfo is data for the uploaded contract WASM code */
|
|
32
|
-
export interface CodeInfoSDKType {
|
|
33
|
-
/** CodeHash is the unique identifier created by hashing the wasm code */
|
|
34
|
-
code_hash: Uint8Array;
|
|
35
|
-
/** Creator address who initially stored the code */
|
|
36
|
-
creator: string;
|
|
37
|
-
/**
|
|
38
|
-
* deps can be hex-formatted contract addresses (32 bytes)
|
|
39
|
-
* or versioned interface labels
|
|
40
|
-
*/
|
|
41
|
-
deps: string[];
|
|
42
|
-
/** Pinned contract */
|
|
43
|
-
pinned: boolean;
|
|
44
|
-
}
|
|
45
|
-
/** Metadata for each codeId */
|
|
46
|
-
export interface CodeMetadata {
|
|
47
|
-
abi: string;
|
|
48
|
-
jsonSchema: string;
|
|
49
|
-
}
|
|
50
|
-
/** Metadata for each codeId */
|
|
51
|
-
export interface CodeMetadataSDKType {
|
|
52
|
-
abi: string;
|
|
53
|
-
json_schema: string;
|
|
54
|
-
}
|
|
55
|
-
/** ContractInfo stores a WASM contract instance */
|
|
56
|
-
export interface ContractInfo {
|
|
57
|
-
/** CodeID is the reference to the stored Wasm code */
|
|
58
|
-
codeId: Long;
|
|
59
|
-
/** Creator address who initially instantiated the contract */
|
|
60
|
-
creator: string;
|
|
61
|
-
/** Label is optional metadata to be stored with a contract instance. */
|
|
62
|
-
label: string;
|
|
63
|
-
/** Initialization message */
|
|
64
|
-
initMessage: Uint8Array;
|
|
65
|
-
ibcPortId: string;
|
|
66
|
-
}
|
|
67
|
-
/** ContractInfo stores a WASM contract instance */
|
|
68
|
-
export interface ContractInfoSDKType {
|
|
69
|
-
/** CodeID is the reference to the stored Wasm code */
|
|
70
|
-
code_id: Long;
|
|
71
|
-
/** Creator address who initially instantiated the contract */
|
|
72
|
-
creator: string;
|
|
73
|
-
/** Label is optional metadata to be stored with a contract instance. */
|
|
74
|
-
label: string;
|
|
75
|
-
/** Initialization message */
|
|
76
|
-
init_message: Uint8Array;
|
|
77
|
-
ibc_port_id: string;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* AbsoluteTxPosition is a unique transaction position that allows for global
|
|
81
|
-
* ordering of transactions.
|
|
82
|
-
*/
|
|
83
|
-
export interface AbsoluteTxPosition {
|
|
84
|
-
/** BlockHeight is the block the contract was created at */
|
|
85
|
-
blockHeight: Long;
|
|
86
|
-
/**
|
|
87
|
-
* TxIndex is a monotonic counter within the block (actual transaction index,
|
|
88
|
-
* or gas consumed)
|
|
89
|
-
*/
|
|
90
|
-
txIndex: Long;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* AbsoluteTxPosition is a unique transaction position that allows for global
|
|
94
|
-
* ordering of transactions.
|
|
95
|
-
*/
|
|
96
|
-
export interface AbsoluteTxPositionSDKType {
|
|
97
|
-
/** BlockHeight is the block the contract was created at */
|
|
98
|
-
block_height: Long;
|
|
99
|
-
/**
|
|
100
|
-
* TxIndex is a monotonic counter within the block (actual transaction index,
|
|
101
|
-
* or gas consumed)
|
|
102
|
-
*/
|
|
103
|
-
tx_index: Long;
|
|
104
|
-
}
|
|
105
|
-
export declare const ContractStorage: {
|
|
106
|
-
encode(message: ContractStorage, writer?: _m0.Writer): _m0.Writer;
|
|
107
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ContractStorage;
|
|
108
|
-
fromJSON(object: any): ContractStorage;
|
|
109
|
-
toJSON(message: ContractStorage): unknown;
|
|
110
|
-
fromPartial(object: Partial<ContractStorage>): ContractStorage;
|
|
111
|
-
};
|
|
112
|
-
export declare const CodeInfo: {
|
|
113
|
-
encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer;
|
|
114
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo;
|
|
115
|
-
fromJSON(object: any): CodeInfo;
|
|
116
|
-
toJSON(message: CodeInfo): unknown;
|
|
117
|
-
fromPartial(object: Partial<CodeInfo>): CodeInfo;
|
|
118
|
-
};
|
|
119
|
-
export declare const CodeMetadata: {
|
|
120
|
-
encode(message: CodeMetadata, writer?: _m0.Writer): _m0.Writer;
|
|
121
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CodeMetadata;
|
|
122
|
-
fromJSON(object: any): CodeMetadata;
|
|
123
|
-
toJSON(message: CodeMetadata): unknown;
|
|
124
|
-
fromPartial(object: Partial<CodeMetadata>): CodeMetadata;
|
|
125
|
-
};
|
|
126
|
-
export declare const ContractInfo: {
|
|
127
|
-
encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer;
|
|
128
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo;
|
|
129
|
-
fromJSON(object: any): ContractInfo;
|
|
130
|
-
toJSON(message: ContractInfo): unknown;
|
|
131
|
-
fromPartial(object: Partial<ContractInfo>): ContractInfo;
|
|
132
|
-
};
|
|
133
|
-
export declare const AbsoluteTxPosition: {
|
|
134
|
-
encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer;
|
|
135
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition;
|
|
136
|
-
fromJSON(object: any): AbsoluteTxPosition;
|
|
137
|
-
toJSON(message: AbsoluteTxPosition): unknown;
|
|
138
|
-
fromPartial(object: Partial<AbsoluteTxPosition>): AbsoluteTxPosition;
|
|
139
|
-
};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { Params, ParamsSDKType } from "./params";
|
|
2
|
-
import { CodeInfo, CodeInfoSDKType, CodeMetadata, CodeMetadataSDKType, ContractInfo, ContractInfoSDKType, ContractStorage, ContractStorageSDKType } from "./contract";
|
|
3
|
-
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Long } from "../../helpers";
|
|
5
|
-
/** GenesisState defines the wasmx module's genesis state. */
|
|
6
|
-
export interface GenesisState {
|
|
7
|
-
params?: Params;
|
|
8
|
-
/** bootstrap address */
|
|
9
|
-
bootstrapAccountAddress: string;
|
|
10
|
-
systemContracts: SystemContract[];
|
|
11
|
-
codes: Code[];
|
|
12
|
-
contracts: Contract[];
|
|
13
|
-
sequences: Sequence[];
|
|
14
|
-
/**
|
|
15
|
-
* not recommended
|
|
16
|
-
* initiate pinned/AOT compiled contracts from a provided folder
|
|
17
|
-
* instead of compiling the contracts from wasm
|
|
18
|
-
*/
|
|
19
|
-
compiledFolderPath: string;
|
|
20
|
-
}
|
|
21
|
-
/** GenesisState defines the wasmx module's genesis state. */
|
|
22
|
-
export interface GenesisStateSDKType {
|
|
23
|
-
params?: ParamsSDKType;
|
|
24
|
-
/** bootstrap address */
|
|
25
|
-
bootstrap_account_address: string;
|
|
26
|
-
system_contracts: SystemContractSDKType[];
|
|
27
|
-
codes: CodeSDKType[];
|
|
28
|
-
contracts: ContractSDKType[];
|
|
29
|
-
sequences: SequenceSDKType[];
|
|
30
|
-
/**
|
|
31
|
-
* not recommended
|
|
32
|
-
* initiate pinned/AOT compiled contracts from a provided folder
|
|
33
|
-
* instead of compiling the contracts from wasm
|
|
34
|
-
*/
|
|
35
|
-
compiled_folder_path: string;
|
|
36
|
-
}
|
|
37
|
-
export interface SystemContract {
|
|
38
|
-
address: string;
|
|
39
|
-
label: string;
|
|
40
|
-
initMessage: Uint8Array;
|
|
41
|
-
pinned: boolean;
|
|
42
|
-
native: boolean;
|
|
43
|
-
}
|
|
44
|
-
export interface SystemContractSDKType {
|
|
45
|
-
address: string;
|
|
46
|
-
label: string;
|
|
47
|
-
init_message: Uint8Array;
|
|
48
|
-
pinned: boolean;
|
|
49
|
-
native: boolean;
|
|
50
|
-
}
|
|
51
|
-
/** Code - for importing and exporting code data */
|
|
52
|
-
export interface Code {
|
|
53
|
-
codeId: Long;
|
|
54
|
-
codeInfo?: CodeInfo;
|
|
55
|
-
codeBytes: Uint8Array;
|
|
56
|
-
codeMetadata?: CodeMetadata;
|
|
57
|
-
}
|
|
58
|
-
/** Code - for importing and exporting code data */
|
|
59
|
-
export interface CodeSDKType {
|
|
60
|
-
code_id: Long;
|
|
61
|
-
code_info?: CodeInfoSDKType;
|
|
62
|
-
code_bytes: Uint8Array;
|
|
63
|
-
code_metadata?: CodeMetadataSDKType;
|
|
64
|
-
}
|
|
65
|
-
/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
|
|
66
|
-
export interface Contract {
|
|
67
|
-
contractAddress: string;
|
|
68
|
-
contractInfo?: ContractInfo;
|
|
69
|
-
contractState: ContractStorage[];
|
|
70
|
-
}
|
|
71
|
-
/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
|
|
72
|
-
export interface ContractSDKType {
|
|
73
|
-
contract_address: string;
|
|
74
|
-
contract_info?: ContractInfoSDKType;
|
|
75
|
-
contract_state: ContractStorageSDKType[];
|
|
76
|
-
}
|
|
77
|
-
/** Sequence key and value of an id generation counter */
|
|
78
|
-
export interface Sequence {
|
|
79
|
-
idKey: Uint8Array;
|
|
80
|
-
value: Long;
|
|
81
|
-
}
|
|
82
|
-
/** Sequence key and value of an id generation counter */
|
|
83
|
-
export interface SequenceSDKType {
|
|
84
|
-
id_key: Uint8Array;
|
|
85
|
-
value: Long;
|
|
86
|
-
}
|
|
87
|
-
export declare const GenesisState: {
|
|
88
|
-
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
89
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
|
90
|
-
fromJSON(object: any): GenesisState;
|
|
91
|
-
toJSON(message: GenesisState): unknown;
|
|
92
|
-
fromPartial(object: Partial<GenesisState>): GenesisState;
|
|
93
|
-
};
|
|
94
|
-
export declare const SystemContract: {
|
|
95
|
-
encode(message: SystemContract, writer?: _m0.Writer): _m0.Writer;
|
|
96
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SystemContract;
|
|
97
|
-
fromJSON(object: any): SystemContract;
|
|
98
|
-
toJSON(message: SystemContract): unknown;
|
|
99
|
-
fromPartial(object: Partial<SystemContract>): SystemContract;
|
|
100
|
-
};
|
|
101
|
-
export declare const Code: {
|
|
102
|
-
encode(message: Code, writer?: _m0.Writer): _m0.Writer;
|
|
103
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Code;
|
|
104
|
-
fromJSON(object: any): Code;
|
|
105
|
-
toJSON(message: Code): unknown;
|
|
106
|
-
fromPartial(object: Partial<Code>): Code;
|
|
107
|
-
};
|
|
108
|
-
export declare const Contract: {
|
|
109
|
-
encode(message: Contract, writer?: _m0.Writer): _m0.Writer;
|
|
110
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Contract;
|
|
111
|
-
fromJSON(object: any): Contract;
|
|
112
|
-
toJSON(message: Contract): unknown;
|
|
113
|
-
fromPartial(object: Partial<Contract>): Contract;
|
|
114
|
-
};
|
|
115
|
-
export declare const Sequence: {
|
|
116
|
-
encode(message: Sequence, writer?: _m0.Writer): _m0.Writer;
|
|
117
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Sequence;
|
|
118
|
-
fromJSON(object: any): Sequence;
|
|
119
|
-
toJSON(message: Sequence): unknown;
|
|
120
|
-
fromPartial(object: Partial<Sequence>): Sequence;
|
|
121
|
-
};
|