From a31762383022defc62c87ade3115d07c26278334 Mon Sep 17 00:00:00 2001 From: Tom Pearson Date: Mon, 29 Mar 2021 21:45:37 +0100 Subject: [PATCH 1/2] Updating broken documentation links --- README.md | 2 +- Sources/ContractABI/Contract/ERC20.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 925990bb..0770d33c 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ or [the official Ethereum JSON RPC documentation](https://eth.wiki/json-rpc/API) We are providing an optional module for interaction with smart contracts. To use it you have to add `Web3ContractABI` to your target dependencies in your Podfile (for SPM). Make sure you check out the [installation instructions](#Installation) first. -We are providing two different options to create contract abi interfaces in Swift. Either you define your functions and events manually (or use one of our provided interfaces like [ERC20](Web3/Classes/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Classes/ContractABI/Contract/ERC721.swift)). Or you parse them from the JSON ABI representation just like in web3.js. +We are providing two different options to create contract abi interfaces in Swift. Either you define your functions and events manually (or use one of our provided interfaces like [ERC20](Web3/Sources/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Sources/ContractABI/Contract/ERC721.swift)). Or you parse them from the JSON ABI representation just like in web3.js. ### Static Contracts diff --git a/Sources/ContractABI/Contract/ERC20.swift b/Sources/ContractABI/Contract/ERC20.swift index 7cba5131..66245f34 100644 --- a/Sources/ContractABI/Contract/ERC20.swift +++ b/Sources/ContractABI/Contract/ERC20.swift @@ -48,7 +48,7 @@ open class GenericERC20Contract: StaticContract, ERC20Contract, AnnotatedERC20 { } } -// MARK: - Implementation of ERC721 standard methods and events +// MARK: - Implementation of ERC20 standard methods and events public extension ERC20Contract { From 2eebfa2326343ee23a428b9156764d813960badb Mon Sep 17 00:00:00 2001 From: Tom Pearson Date: Mon, 29 Mar 2021 21:48:12 +0100 Subject: [PATCH 2/2] updating again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0770d33c..c77a65d2 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ or [the official Ethereum JSON RPC documentation](https://eth.wiki/json-rpc/API) We are providing an optional module for interaction with smart contracts. To use it you have to add `Web3ContractABI` to your target dependencies in your Podfile (for SPM). Make sure you check out the [installation instructions](#Installation) first. -We are providing two different options to create contract abi interfaces in Swift. Either you define your functions and events manually (or use one of our provided interfaces like [ERC20](Web3/Sources/ContractABI/Contract/ERC20.swift) or [ERC721](Web3/Sources/ContractABI/Contract/ERC721.swift)). Or you parse them from the JSON ABI representation just like in web3.js. +We are providing two different options to create contract abi interfaces in Swift. Either you define your functions and events manually (or use one of our provided interfaces like [ERC20](Sources/ContractABI/Contract/ERC20.swift) or [ERC721](Sources/ContractABI/Contract/ERC721.swift)). Or you parse them from the JSON ABI representation just like in web3.js. ### Static Contracts