Download contracts/src/interfaces/IERC6551.sol from UTSCybeR/nftbench: direct link, hf CLI and curl.
- Browser
- Download file 574 Bytes
-
https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/src/interfaces/IERC6551.sol
- Command line
-
hf download hf://datasets/UTSCybeR/nftbench/contracts/src/interfaces/IERC6551.sol
-
curl -L -o IERC6551.sol https://huggingface.co/datasets/UTSCybeR/nftbench/resolve/main/contracts/src/interfaces/IERC6551.sol
574 Bytes
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.20; | |
| interface IERC6551Account { | |
| receive() external payable; | |
| function token() external view returns (uint256 chainId, address tokenContract, uint256 tokenId); | |
| function state() external view returns (uint256); | |
| function isValidSigner(address signer, bytes calldata context) external view returns (bytes4 magicValue); | |
| } | |
| interface IERC6551Executable { | |
| function execute(address to, uint256 value, bytes calldata data, uint8 operation) | |
| external | |
| payable | |
| returns (bytes memory); | |
| } | |