Skip to content

Commit

Permalink
chore: update dependencies and solc
Browse files Browse the repository at this point in the history
  • Loading branch information
vittominacori committed Oct 18, 2024
1 parent 9c9de56 commit d4304b9
Show file tree
Hide file tree
Showing 8 changed files with 153 additions and 160 deletions.
2 changes: 1 addition & 1 deletion analysis/description-table/ERC1363.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| File Name | SHA-1 Hash |
|-------------|--------------|
| dist/ERC1363.dist.sol | 52effbc90e477791a0581d5df2b08f5a17a337b0 |
| dist/ERC1363.dist.sol | 0d45339c4a3577a10f190dc01be176ff384221f7 |


### Contracts Description Table
Expand Down
2 changes: 1 addition & 1 deletion analysis/description-table/ERC1363Mintable.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| File Name | SHA-1 Hash |
|-------------|--------------|
| dist/ERC1363Mintable.dist.sol | a12687555f57d87040495e9d34048ce94d6ec382 |
| dist/ERC1363Mintable.dist.sol | 06babee9bdb29926f8151f7754e0d5e50a0fd5bd |


### Contracts Description Table
Expand Down
68 changes: 32 additions & 36 deletions dist/ERC1363.dist.sol
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// SPDX-License-Identifier: MIT

// Sources flattened with hardhat v2.22.12 https://hardhat.org
// Sources flattened with hardhat v2.22.13 https://hardhat.org



// File @openzeppelin/contracts/interfaces/draft-IERC6093.sol@v5.0.2
// File @openzeppelin/contracts/interfaces/draft-IERC6093.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
Expand Down Expand Up @@ -57,12 +57,12 @@ interface IERC20Errors {
}

/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
Expand Down Expand Up @@ -115,8 +115,8 @@ interface IERC721Errors {
}

/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
Expand Down Expand Up @@ -169,15 +169,15 @@ interface IERC1155Errors {
}


// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v5.0.2
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
* @dev Interface of the ERC20 standard as defined in the EIP.
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
Expand Down Expand Up @@ -252,15 +252,15 @@ interface IERC20 {
}


// File @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol@v5.0.2
// File @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
Expand All @@ -280,7 +280,7 @@ interface IERC20Metadata is IERC20 {
}


// File @openzeppelin/contracts/utils/Context.sol@v5.0.2
// File @openzeppelin/contracts/utils/Context.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
Expand Down Expand Up @@ -312,10 +312,10 @@ abstract contract Context {
}


// File @openzeppelin/contracts/token/ERC20/ERC20.sol@v5.0.2
// File @openzeppelin/contracts/token/ERC20/ERC20.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

Expand All @@ -337,13 +337,8 @@ pragma solidity ^0.8.20;
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* conventional and does not conflict with the expectations of ERC-20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
Expand Down Expand Up @@ -452,8 +447,8 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
Expand Down Expand Up @@ -587,7 +582,8 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
Expand Down Expand Up @@ -630,16 +626,16 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
}


// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v5.0.2
// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
Expand All @@ -650,7 +646,7 @@ interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
Expand All @@ -659,17 +655,17 @@ interface IERC165 {
}


// File @openzeppelin/contracts/utils/introspection/ERC165.sol@v5.0.2
// File @openzeppelin/contracts/utils/introspection/ERC165.sol@v5.1.0

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
Expand Down
Loading

0 comments on commit d4304b9

Please sign in to comment.