Skip to content

Commit 72fb251

Browse files
small refactor
1 parent d3fe1c4 commit 72fb251

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web3swift/PrecompiledContracts/ERC721/Web3+ERC721.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import EthereumAddress
1111

1212
// This namespace contains functions to work with ERC721 tokens.
1313
// can be imperatively read and saved
14-
public class ERC721: IERC165 {
14+
public class ERC721 {
1515

1616
@available(*, deprecated, renamed: "transactionOptions")
1717
public var options: Web3Options = .init()
@@ -178,6 +178,10 @@ public class ERC721: IERC165 {
178178
return tx
179179
}
180180

181+
}
182+
183+
extension ERC721: IERC165 {
184+
181185
public func supportsInterface(interfaceID: [UInt8]) throws -> Bool {
182186
let contract = self.contract
183187
var transactionOptions = TransactionOptions()

0 commit comments

Comments
 (0)