I have an ERC-1155 Contract with the following override
function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes memory data) public override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not owner nor approved"
);
_safeTransferFrom(from, to, id, amount, data);
resetSendHomeCountdown();
}
within remix I try to use the following function with the following input:
safeTransferFrom(0x5B38Da6a701c568545dCfcB03FcB875f56beddC4, 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c, 1, 1, "")
and it returns
transact to aeToken.safeTransferFrom errored: Error encoding arguments: Error: invalid arrayify value (argument="value", value="", code=INVALID_ARGUMENT, version=bytes/5.4.0)
>
- The Token ID is correct within the contract,
- At least 1 token is minted and displays on the โfrom addressโ with balanceOf