diff --git a/src/executor/ERC721Actions.sol b/src/executor/ERC721Actions.sol index bc6aaacf..cf29b874 100644 --- a/src/executor/ERC721Actions.sol +++ b/src/executor/ERC721Actions.sol @@ -2,9 +2,14 @@ pragma solidity ^0.8.0; import "openzeppelin-contracts/contracts/token/ERC721/IERC721.sol"; +import "openzeppelin-contracts/contracts/token/ERC1155/IERC1155.sol"; contract ERC721Actions { function transferERC721Action(address _token, uint256 _id, address _to) external { IERC721(_token).transferFrom(address(this), _to, _id); } + + function transferERC1155Action(address _token, uint256 _id, address _to, uint256 amount, bytes calldata data) external { + IERC1155(_token).safeTransferFrom(address(this), _to, _id, amount, data); + } }