Use explicit imports (#4399)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "./IERC1155.sol";
|
||||
import "./IERC1155Receiver.sol";
|
||||
import "./extensions/IERC1155MetadataURI.sol";
|
||||
import "../../utils/Context.sol";
|
||||
import "../../utils/introspection/ERC165.sol";
|
||||
import "../../utils/Arrays.sol";
|
||||
import "../../interfaces/draft-IERC6093.sol";
|
||||
import {IERC1155} from "./IERC1155.sol";
|
||||
import {IERC1155Receiver} from "./IERC1155Receiver.sol";
|
||||
import {IERC1155MetadataURI} from "./extensions/IERC1155MetadataURI.sol";
|
||||
import {Context} from "../../utils/Context.sol";
|
||||
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
|
||||
import {Arrays} from "../../utils/Arrays.sol";
|
||||
import {IERC1155Errors} from "../../interfaces/draft-IERC6093.sol";
|
||||
|
||||
/**
|
||||
* @dev Implementation of the basic standard multi-token.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../../utils/introspection/IERC165.sol";
|
||||
import {IERC165} from "../../utils/introspection/IERC165.sol";
|
||||
|
||||
/**
|
||||
* @dev Required interface of an ERC1155 compliant contract, as defined in the
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../../utils/introspection/IERC165.sol";
|
||||
import {IERC165} from "../../utils/introspection/IERC165.sol";
|
||||
|
||||
/**
|
||||
* @dev _Available since v3.1._
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../ERC1155.sol";
|
||||
import {ERC1155} from "../ERC1155.sol";
|
||||
|
||||
/**
|
||||
* @dev Extension of {ERC1155} that allows token holders to destroy both their
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../ERC1155.sol";
|
||||
import "../../../security/Pausable.sol";
|
||||
import {ERC1155} from "../ERC1155.sol";
|
||||
import {Pausable} from "../../../security/Pausable.sol";
|
||||
|
||||
/**
|
||||
* @dev ERC1155 token with pausable token transfers, minting and burning.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../ERC1155.sol";
|
||||
import {ERC1155} from "../ERC1155.sol";
|
||||
|
||||
/**
|
||||
* @dev Extension of ERC1155 that adds tracking of total supply per id.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../../../utils/Strings.sol";
|
||||
import "../ERC1155.sol";
|
||||
import {Strings} from "../../../utils/Strings.sol";
|
||||
import {ERC1155} from "../ERC1155.sol";
|
||||
|
||||
/**
|
||||
* @dev ERC1155 token with storage based token URI management.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../IERC1155.sol";
|
||||
import {IERC1155} from "../IERC1155.sol";
|
||||
|
||||
/**
|
||||
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "./ERC1155Receiver.sol";
|
||||
import {ERC1155Receiver} from "./ERC1155Receiver.sol";
|
||||
|
||||
/**
|
||||
* Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../IERC1155Receiver.sol";
|
||||
import "../../../utils/introspection/ERC165.sol";
|
||||
import {IERC1155Receiver} from "../IERC1155Receiver.sol";
|
||||
import {IERC165, ERC165} from "../../../utils/introspection/ERC165.sol";
|
||||
|
||||
/**
|
||||
* @dev _Available since v3.1._
|
||||
|
||||
Reference in New Issue
Block a user