File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,21 @@ extension Web3 {
33
33
}
34
34
35
35
/// Initialized Web3 instance bound to Infura's rinkeby provider.
36
+ @available ( * , deprecated, message: " This network support was deprecated by Infura " )
36
37
public static func InfuraRinkebyWeb3( accessToken: String ? = nil ) async -> Web3 {
37
38
let infura = await InfuraProvider ( Networks . Rinkeby, accessToken: accessToken) !
38
39
return Web3 ( provider: infura)
39
40
}
40
41
41
42
/// Initialized Web3 instance bound to Infura's ropsten provider.
43
+ @available ( * , deprecated, message: " This network support was deprecated by Infura " )
42
44
public static func InfuraRopstenWeb3( accessToken: String ? = nil ) async -> Web3 {
43
45
let infura = await InfuraProvider ( Networks . Ropsten, accessToken: accessToken) !
44
46
return Web3 ( provider: infura)
45
47
}
46
48
47
49
/// Initialized Web3 instance bound to Infura's kovan provider.
50
+ @available ( * , deprecated, message: " This network support was deprecated by Infura " )
48
51
public static func InfuraKovanWeb3( accessToken: String ? = nil ) async -> Web3 {
49
52
let infura = await InfuraProvider ( Networks . Kovan, accessToken: accessToken) !
50
53
return Web3 ( provider: infura)
You can’t perform that action at this time.
0 commit comments