Skip to content

Commit 79886de

Browse files
fix: ERC20BaseProperties are back to inherit from AnyObject (restricting protocol to classes)
1 parent d5df8e2 commit 79886de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/Tokens/ERC20/ERC20BaseProperties.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Foundation
99

1010
/// Declares common properties of an [ERC-20](https://eips.ethereum.org/EIPS/eip-20) complient smart contract.
1111
/// Default implementation of access to these properties is declared in the extension of this protocol.
12-
public protocol ERC20BaseProperties: Any {
12+
public protocol ERC20BaseProperties: AnyObject {
1313
var basePropertiesProvider: ERC20BasePropertiesProvider { get }
1414
var contract: Web3.Contract { get }
1515
var name: String? { get }

0 commit comments

Comments
 (0)