File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " dequanto" ,
3
- "version" : " 0.1.42 " ,
3
+ "version" : " 0.1.43 " ,
4
4
"author" : {
5
5
"name" : " Alex Kit" ,
6
6
"email" : " alex.kit@atmajs.com"
Original file line number Diff line number Diff line change 1
1
import di from 'a-di' ;
2
- import alot from 'alot' ;
3
2
import { TPlatform } from '@dequanto/models/TPlatform' ;
4
3
import { IWeb3EndpointOptions } from './interfaces/IWeb3EndpointOptions' ;
5
4
import { HardhatProvider } from '@dequanto/hardhat/HardhatProvider' ;
6
5
import { Config } from '@dequanto/config/Config' ;
7
6
import { EvmWeb3Client } from './EvmWeb3Client' ;
8
7
import { $require } from '@dequanto/utils/$require' ;
9
8
import { $config } from '@dequanto/utils/$config' ;
10
- import { IConfigData } from '@dequanto/config/interface/IConfigData' ;
11
9
12
10
export namespace Web3ClientFactory {
13
11
@@ -20,7 +18,6 @@ export namespace Web3ClientFactory {
20
18
return client ;
21
19
}
22
20
23
-
24
21
let options = $config . getWeb3Options ( platform ) ;
25
22
$require . notNull ( options , `Unsupported platform ${ platform } for web3 client` )
26
23
return new EvmWeb3Client ( {
Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ import { TExplorer } from './TExplorer'
5
5
6
6
export interface TChain {
7
7
name ?: string
8
+ icon ?: string
9
+ wwww ?: string
8
10
9
11
platform : TEth . Platform
10
12
aliases ?: string [ ]
11
13
12
14
chainId ?: number
13
15
chainToken ?: string
14
16
15
-
16
17
endpoints : IRpcConfig [ ]
17
18
18
19
explorers : TExplorer [ ]
@@ -49,4 +50,7 @@ export interface TChain {
49
50
spotPriceAggregator ?: {
50
51
aggregator : TEth . Address
51
52
} ;
53
+ ens ?: {
54
+ registry : TEth . Address
55
+ }
52
56
}
You can’t perform that action at this time.
0 commit comments