Update remappings.txt for upgradeable contracts and set up submodule (#4639)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Francisco
2023-10-02 15:41:18 -03:00
committed by GitHub
parent 5ed5a86d1d
commit abba0d047a
16 changed files with 78 additions and 34 deletions

View File

@ -15,8 +15,6 @@ import {ERC1967Utils} from "../ERC1967/ERC1967Utils.sol";
* `UUPSUpgradeable` with a custom implementation of upgrades.
*
* The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
*
* @custom:stateless
*/
abstract contract UUPSUpgradeable is IERC1822Proxiable {
/// @custom:oz-upgrades-unsafe-allow state-variable-immutable

View File

@ -11,8 +11,6 @@ import {IERC1155Receiver} from "../IERC1155Receiver.sol";
*
* IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
* stuck.
*
* @custom:stateless
*/
abstract contract ERC1155Holder is ERC165, IERC1155Receiver {
/**

View File

@ -11,8 +11,6 @@ import {IERC721Receiver} from "../IERC721Receiver.sol";
* Accepts all token transfers.
* Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or
* {IERC721-setApprovalForAll}.
*
* @custom:stateless
*/
abstract contract ERC721Holder is IERC721Receiver {
/**

View File

@ -12,8 +12,6 @@ pragma solidity ^0.8.20;
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*
* @custom:stateless
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {

View File

@ -7,8 +7,6 @@ import {Address} from "./Address.sol";
/**
* @dev Provides a function to batch together multiple calls in a single external call.
*
* @custom:stateless
*/
abstract contract Multicall {
/**

View File

@ -16,8 +16,6 @@ import {IERC165} from "./IERC165.sol";
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* @custom:stateless
*/
abstract contract ERC165 is IERC165 {
/**