@0xsequence/metadata 0.43.8 → 0.43.10

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.
@@ -18,9 +18,9 @@ function _extends() {
18
18
  }
19
19
 
20
20
  /* eslint-disable */
21
- // sequence-metadata v0.4.0 af94302de504695d49c89615d251934712903381
21
+ // sequence-metadata v0.4.0 7632f016690db407e9764f41fecac1fb81a37493
22
22
  // --
23
- // Code generated by webrpc-gen@v0.8.x-dev with typescript generator. DO NOT EDIT.
23
+ // Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
24
24
  //
25
25
  // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
26
26
 
@@ -31,11 +31,12 @@ const WebRPCVersion = "v1";
31
31
  const WebRPCSchemaVersion = "v0.4.0";
32
32
 
33
33
  // Schema hash generated from your RIDL schema
34
- const WebRPCSchemaHash = "af94302de504695d49c89615d251934712903381";
34
+ const WebRPCSchemaHash = "7632f016690db407e9764f41fecac1fb81a37493";
35
35
 
36
36
  //
37
37
  // Types
38
38
  //
39
+
39
40
  exports.ContractType = void 0;
40
41
  (function (ContractType) {
41
42
  ContractType["UNKNOWN"] = "UNKNOWN";
@@ -18,9 +18,9 @@ function _extends() {
18
18
  }
19
19
 
20
20
  /* eslint-disable */
21
- // sequence-metadata v0.4.0 af94302de504695d49c89615d251934712903381
21
+ // sequence-metadata v0.4.0 7632f016690db407e9764f41fecac1fb81a37493
22
22
  // --
23
- // Code generated by webrpc-gen@v0.8.x-dev with typescript generator. DO NOT EDIT.
23
+ // Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
24
24
  //
25
25
  // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
26
26
 
@@ -31,11 +31,12 @@ const WebRPCVersion = "v1";
31
31
  const WebRPCSchemaVersion = "v0.4.0";
32
32
 
33
33
  // Schema hash generated from your RIDL schema
34
- const WebRPCSchemaHash = "af94302de504695d49c89615d251934712903381";
34
+ const WebRPCSchemaHash = "7632f016690db407e9764f41fecac1fb81a37493";
35
35
 
36
36
  //
37
37
  // Types
38
38
  //
39
+
39
40
  exports.ContractType = void 0;
40
41
  (function (ContractType) {
41
42
  ContractType["UNKNOWN"] = "UNKNOWN";
@@ -14,9 +14,9 @@ function _extends() {
14
14
  }
15
15
 
16
16
  /* eslint-disable */
17
- // sequence-metadata v0.4.0 af94302de504695d49c89615d251934712903381
17
+ // sequence-metadata v0.4.0 7632f016690db407e9764f41fecac1fb81a37493
18
18
  // --
19
- // Code generated by webrpc-gen@v0.8.x-dev with typescript generator. DO NOT EDIT.
19
+ // Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
20
20
  //
21
21
  // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
22
22
 
@@ -27,11 +27,12 @@ const WebRPCVersion = "v1";
27
27
  const WebRPCSchemaVersion = "v0.4.0";
28
28
 
29
29
  // Schema hash generated from your RIDL schema
30
- const WebRPCSchemaHash = "af94302de504695d49c89615d251934712903381";
30
+ const WebRPCSchemaHash = "7632f016690db407e9764f41fecac1fb81a37493";
31
31
 
32
32
  //
33
33
  // Types
34
34
  //
35
+
35
36
  let ContractType;
36
37
  (function (ContractType) {
37
38
  ContractType["UNKNOWN"] = "UNKNOWN";
@@ -1,6 +1,6 @@
1
1
  export declare const WebRPCVersion = "v1";
2
2
  export declare const WebRPCSchemaVersion = "v0.4.0";
3
- export declare const WebRPCSchemaHash = "af94302de504695d49c89615d251934712903381";
3
+ export declare const WebRPCSchemaHash = "7632f016690db407e9764f41fecac1fb81a37493";
4
4
  export declare enum ContractType {
5
5
  UNKNOWN = "UNKNOWN",
6
6
  ERC20 = "ERC20",
@@ -47,6 +47,8 @@ export interface ContractIndex {
47
47
  [key: string]: any;
48
48
  };
49
49
  contentHash: number;
50
+ deployed: boolean;
51
+ bytecodeHash: string;
50
52
  notFound: boolean;
51
53
  }
52
54
  export interface TokenIndex {
@@ -67,6 +69,8 @@ export interface ContractInfo {
67
69
  symbol: string;
68
70
  decimals?: number;
69
71
  logoURI: string;
72
+ deployed: boolean;
73
+ bytecodeHash: string;
70
74
  extensions: ContractInfoExtensions;
71
75
  }
72
76
  export interface ContractInfoExtensions {
@@ -254,6 +258,7 @@ export interface GetNiftyswapUnitPricesArgs {
254
258
  chainID: string;
255
259
  contractAddress: string;
256
260
  req: GetNiftyswapUnitPricesRequest;
261
+ fresh: boolean;
257
262
  }
258
263
  export interface GetNiftyswapUnitPricesReturn {
259
264
  prices: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/metadata",
3
- "version": "0.43.8",
3
+ "version": "0.43.10",
4
4
  "description": "metadata sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/metadata",
6
6
  "source": "src/index.ts",
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
- // sequence-metadata v0.4.0 af94302de504695d49c89615d251934712903381
2
+ // sequence-metadata v0.4.0 7632f016690db407e9764f41fecac1fb81a37493
3
3
  // --
4
- // Code generated by webrpc-gen@v0.8.x-dev with typescript generator. DO NOT EDIT.
4
+ // Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
5
5
  //
6
6
  // webrpc-gen -schema=metadata.ridl -target=typescript -client -out=./clients/metadata.gen.ts
7
7
 
@@ -12,11 +12,12 @@ export const WebRPCVersion = "v1"
12
12
  export const WebRPCSchemaVersion = "v0.4.0"
13
13
 
14
14
  // Schema hash generated from your RIDL schema
15
- export const WebRPCSchemaHash = "af94302de504695d49c89615d251934712903381"
15
+ export const WebRPCSchemaHash = "7632f016690db407e9764f41fecac1fb81a37493"
16
16
 
17
17
  //
18
18
  // Types
19
19
  //
20
+
20
21
  export enum ContractType {
21
22
  UNKNOWN = 'UNKNOWN',
22
23
  ERC20 = 'ERC20',
@@ -68,6 +69,8 @@ export interface ContractIndex {
68
69
  type: ContractType
69
70
  metadata: {[key: string]: any}
70
71
  contentHash: number
72
+ deployed: boolean
73
+ bytecodeHash: string
71
74
  notFound: boolean
72
75
  }
73
76
 
@@ -89,7 +92,9 @@ export interface ContractInfo {
89
92
  symbol: string
90
93
  decimals?: number
91
94
  logoURI: string
92
- extensions: ContractInfoExtensions
95
+ deployed: boolean
96
+ bytecodeHash: string
97
+ extensions: ContractInfoExtensions
93
98
  }
94
99
 
95
100
  export interface ContractInfoExtensions {
@@ -283,6 +288,7 @@ export interface GetNiftyswapUnitPricesArgs {
283
288
  chainID: string
284
289
  contractAddress: string
285
290
  req: GetNiftyswapUnitPricesRequest
291
+ fresh: boolean
286
292
  }
287
293
 
288
294
  export interface GetNiftyswapUnitPricesReturn {