Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@imtbl/contracts v3.0.0
Breaking Changes
This is a major version upgrade with significant breaking changes to modernize the package.
Package Structure
Removed Contracts
GuardedMulticaller(v1)GuardedMulticaller2ImmutableSignedZone(v1)ImmutableSignedZoneV2Removed Dependencies
@limitbreak/creator-token-standardsITransferValidatorinterface inlinedsolidity-bitssolidity-bytes-utilsethers@nomiclabs/hardhat-ethers@nomicfoundation/hardhat-viemtypechainprettier/prettier-plugin-solidityforge fmtAPI Changes
guardedMulticallerAbiexport (useguardedMulticaller2Abi)IMMUTABLE_SEAPORT[CHAIN_ID.IMMUTABLE_MAINNET]Security Improvements
Vulnerability Reduction
Dependency Cleanup
Package Changes
Upgraded
hardhat@openzeppelin/contractstypescriptsolhintviemTooling Migration
Contract Changes
Staking Contracts
stakeForfunctionality now in base contractsERC721 Contracts
ImmutableERC721V2→ImmutableERC721ERC721PsiV2→ERC721PsiPermit Contracts
BytesLib.slice()with inline assemblySeaport/Trading
New Usage
Installation
npm install @imtbl/contracts # or yarn add @imtbl/contractsTypeScript/JavaScript
Solidity
Migration Guide
From v2.x
Update imports:
Update address access:
Update contract references:
GuardedMulticaller→GuardedMulticaller2ImmutableSignedZone→ImmutableSignedZoneV2ImmutableERC721V2→ImmutableERC721Peer dependencies:
{ "peerDependencies": { "@openzeppelin/contracts": "^4.9.3 || ^5.0.0" } }Full Changelog
Removed
GuardedMulticaller.sol(v1)ImmutableSignedZone.sol(v1) + testscontracts/random/(empty)Changed
Added
CHAIN_IDconstants for Immutable zkEVM