genlayer-js 0.9.1 → 0.9.3

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.
@@ -0,0 +1,13 @@
1
+ import { G as GenLayerChain } from './chains-BYSCF33g.cjs';
2
+
3
+ declare const localnet: GenLayerChain;
4
+
5
+ declare const testnetAsimov: GenLayerChain;
6
+
7
+ declare const index_localnet: typeof localnet;
8
+ declare const index_testnetAsimov: typeof testnetAsimov;
9
+ declare namespace index {
10
+ export { index_localnet as localnet, index_testnetAsimov as testnetAsimov };
11
+ }
12
+
13
+ export { index as i, localnet as l, testnetAsimov as t };
@@ -122,6 +122,10 @@ declare const voteTypeNameToNumber: {
122
122
  DETERMINISTIC_VIOLATION: string;
123
123
  };
124
124
  type TransactionType = "deploy" | "call";
125
+ declare enum TransactionHashVariant {
126
+ LATEST_FINAL = "latest-final",
127
+ LATEST_NONFINAL = "latest-nonfinal"
128
+ }
125
129
  type DecodedDeployData = {
126
130
  code?: Hex;
127
131
  constructorArgs?: any;
@@ -271,7 +275,7 @@ type ContractSchema = {
271
275
  methods: ContractMethod[];
272
276
  };
273
277
 
274
- type Network = 'localnet' | 'testnet' | 'mainnet';
278
+ type Network = "localnet" | "studionet" | "testnetAsimov" | "mainnet";
275
279
 
276
280
  type SnapSource = 'npm' | 'local';
277
281
 
@@ -367,4 +371,4 @@ type GenLayerClient<TGenLayerChain extends GenLayerChain> = Omit<Client<Transpor
367
371
  metamaskClient: (snapSource?: SnapSource) => Promise<MetaMaskClientResult>;
368
372
  };
369
373
 
370
- export { type CalldataEncodable as C, type DecodedDeployData as D, type GenLayerClient as G, type Hash as H, type MethodDescription as M, type Network as N, type SnapSource as S, type TransactionDataElement as T, VoteType as V, CalldataAddress as a, type GenLayerMethod as b, type ContractParamsArraySchemaElement as c, type ContractParamsSchema as d, type ContractMethodBase as e, type ContractMethod as f, type ContractSchema as g, type TransactionHash as h, TransactionStatus as i, TransactionResult as j, transactionsStatusNameToNumber as k, transactionResultNumberToName as l, TransactionResultNameToNumber as m, voteTypeNameToNumber as n, type TransactionType as o, type DecodedCallData as p, type GenLayerTransaction as q, type GenLayerRawTransaction as r, transactionsStatusNumberToName as t, voteTypeNumberToName as v };
374
+ export { type CalldataEncodable as C, type DecodedDeployData as D, type GenLayerClient as G, type Hash as H, type MethodDescription as M, type Network as N, type SnapSource as S, type TransactionDataElement as T, VoteType as V, CalldataAddress as a, type GenLayerMethod as b, type ContractParamsArraySchemaElement as c, type ContractParamsSchema as d, type ContractMethodBase as e, type ContractMethod as f, type ContractSchema as g, type TransactionHash as h, TransactionStatus as i, TransactionResult as j, transactionsStatusNameToNumber as k, transactionResultNumberToName as l, TransactionResultNameToNumber as m, voteTypeNameToNumber as n, type TransactionType as o, TransactionHashVariant as p, type DecodedCallData as q, type GenLayerTransaction as r, type GenLayerRawTransaction as s, transactionsStatusNumberToName as t, voteTypeNumberToName as v };
@@ -0,0 +1,13 @@
1
+ import { G as GenLayerChain } from './chains-BYSCF33g.js';
2
+
3
+ declare const localnet: GenLayerChain;
4
+
5
+ declare const testnetAsimov: GenLayerChain;
6
+
7
+ declare const index_localnet: typeof localnet;
8
+ declare const index_testnetAsimov: typeof testnetAsimov;
9
+ declare namespace index {
10
+ export { index_localnet as localnet, index_testnetAsimov as testnetAsimov };
11
+ }
12
+
13
+ export { index as i, localnet as l, testnetAsimov as t };
@@ -122,6 +122,10 @@ declare const voteTypeNameToNumber: {
122
122
  DETERMINISTIC_VIOLATION: string;
123
123
  };
124
124
  type TransactionType = "deploy" | "call";
125
+ declare enum TransactionHashVariant {
126
+ LATEST_FINAL = "latest-final",
127
+ LATEST_NONFINAL = "latest-nonfinal"
128
+ }
125
129
  type DecodedDeployData = {
126
130
  code?: Hex;
127
131
  constructorArgs?: any;
@@ -271,7 +275,7 @@ type ContractSchema = {
271
275
  methods: ContractMethod[];
272
276
  };
273
277
 
274
- type Network = 'localnet' | 'testnet' | 'mainnet';
278
+ type Network = "localnet" | "studionet" | "testnetAsimov" | "mainnet";
275
279
 
276
280
  type SnapSource = 'npm' | 'local';
277
281
 
@@ -367,4 +371,4 @@ type GenLayerClient<TGenLayerChain extends GenLayerChain> = Omit<Client<Transpor
367
371
  metamaskClient: (snapSource?: SnapSource) => Promise<MetaMaskClientResult>;
368
372
  };
369
373
 
370
- export { type CalldataEncodable as C, type DecodedDeployData as D, type GenLayerClient as G, type Hash as H, type MethodDescription as M, type Network as N, type SnapSource as S, type TransactionDataElement as T, VoteType as V, CalldataAddress as a, type GenLayerMethod as b, type ContractParamsArraySchemaElement as c, type ContractParamsSchema as d, type ContractMethodBase as e, type ContractMethod as f, type ContractSchema as g, type TransactionHash as h, TransactionStatus as i, TransactionResult as j, transactionsStatusNameToNumber as k, transactionResultNumberToName as l, TransactionResultNameToNumber as m, voteTypeNameToNumber as n, type TransactionType as o, type DecodedCallData as p, type GenLayerTransaction as q, type GenLayerRawTransaction as r, transactionsStatusNumberToName as t, voteTypeNumberToName as v };
374
+ export { type CalldataEncodable as C, type DecodedDeployData as D, type GenLayerClient as G, type Hash as H, type MethodDescription as M, type Network as N, type SnapSource as S, type TransactionDataElement as T, VoteType as V, CalldataAddress as a, type GenLayerMethod as b, type ContractParamsArraySchemaElement as c, type ContractParamsSchema as d, type ContractMethodBase as e, type ContractMethod as f, type ContractSchema as g, type TransactionHash as h, TransactionStatus as i, TransactionResult as j, transactionsStatusNameToNumber as k, transactionResultNumberToName as l, TransactionResultNameToNumber as m, voteTypeNameToNumber as n, type TransactionType as o, TransactionHashVariant as p, type DecodedCallData as q, type GenLayerTransaction as r, type GenLayerRawTransaction as s, transactionsStatusNumberToName as t, voteTypeNumberToName as v };