Skip to content

Commit a0b15f1

Browse files
very small fix
1 parent de70583 commit a0b15f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web3swift/PrecompiledContracts/ERC721/Web3+ERC721.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ protocol IERC721 {
2323

2424
func transfer(from: EthereumAddress, to: EthereumAddress, tokenId: BigUInt) throws -> WriteTransaction
2525

26-
func approve(approved: EthereumAddress, tokenId: BigUInt) throws -> WriteTransaction
26+
func approve(from: EthereumAddress, approved: EthereumAddress, tokenId: BigUInt) throws -> WriteTransaction
2727

28-
func setApprovalForAll(operator address: EthereumAddress, approved: Bool) throws -> WriteTransaction
28+
func setApprovalForAll(operator address: EthereumAddress, from: EthereumAddress, approved: Bool) throws -> WriteTransaction
2929

3030
func getApproved(tokenId: BigUInt) throws -> EthereumAddress
3131

0 commit comments

Comments
 (0)