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 {
3333 }
3434
3535 /// Initialized Web3 instance bound to Infura's rinkeby provider.
36+ @available ( * , deprecated, message: " This network support was deprecated by Infura " )
3637 public static func InfuraRinkebyWeb3( accessToken: String ? = nil ) async -> Web3 {
3738 let infura = await InfuraProvider ( Networks . Rinkeby, accessToken: accessToken) !
3839 return Web3 ( provider: infura)
3940 }
4041
4142 /// Initialized Web3 instance bound to Infura's ropsten provider.
43+ @available ( * , deprecated, message: " This network support was deprecated by Infura " )
4244 public static func InfuraRopstenWeb3( accessToken: String ? = nil ) async -> Web3 {
4345 let infura = await InfuraProvider ( Networks . Ropsten, accessToken: accessToken) !
4446 return Web3 ( provider: infura)
4547 }
4648
4749 /// Initialized Web3 instance bound to Infura's kovan provider.
50+ @available ( * , deprecated, message: " This network support was deprecated by Infura " )
4851 public static func InfuraKovanWeb3( accessToken: String ? = nil ) async -> Web3 {
4952 let infura = await InfuraProvider ( Networks . Kovan, accessToken: accessToken) !
5053 return Web3 ( provider: infura)
You can’t perform that action at this time.
0 commit comments