@opensea/seaport-js 4.0.7 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/abi/ERC1155.js.map +1 -1
- package/lib/abi/ERC20.js.map +1 -1
- package/lib/abi/ERC721.js.map +1 -1
- package/lib/abi/Seaport.js.map +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/seaport.d.ts +4 -4
- package/lib/seaport.js +99 -93
- package/lib/seaport.js.map +1 -1
- package/lib/typechain-types/common.d.ts +15 -19
- package/lib/typechain-types/factories/index.d.ts +2 -5
- package/lib/typechain-types/factories/index.js +36 -6
- package/lib/typechain-types/factories/index.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/Seaport__factory.d.ts +5 -3
- package/lib/typechain-types/factories/seaport/contracts/Seaport__factory.js +1878 -1877
- package/lib/typechain-types/factories/seaport/contracts/Seaport__factory.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/LocalConduit__factory.d.ts +5 -3
- package/lib/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/LocalConduit__factory.js +249 -248
- package/lib/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/LocalConduit__factory.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/index.d.ts +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/index.js +2 -2
- package/lib/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/index.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/LocalConduitController__factory.d.ts +5 -3
- package/lib/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/LocalConduitController__factory.js +294 -293
- package/lib/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/LocalConduitController__factory.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/index.d.ts +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/index.js +2 -2
- package/lib/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/index.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/conduit/index.d.ts +2 -2
- package/lib/typechain-types/factories/seaport/contracts/conduit/index.js +35 -2
- package/lib/typechain-types/factories/seaport/contracts/conduit/index.js.map +1 -1
- package/lib/typechain-types/factories/seaport/contracts/index.d.ts +2 -2
- package/lib/typechain-types/factories/seaport/contracts/index.js +36 -3
- package/lib/typechain-types/factories/seaport/contracts/index.js.map +1 -1
- package/lib/typechain-types/factories/seaport/index.d.ts +1 -1
- package/lib/typechain-types/factories/seaport/index.js +34 -1
- package/lib/typechain-types/factories/seaport/index.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistryInterface__factory.d.ts +1 -1
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistryInterface__factory.js +94 -94
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistryInterface__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistry__factory.d.ts +5 -3
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistry__factory.js +100 -99
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistry__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/index.d.ts +2 -2
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/index.js +4 -4
- package/lib/typechain-types/factories/src/contracts/DomainRegistry.sol/index.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/index.d.ts +2 -2
- package/lib/typechain-types/factories/src/contracts/index.js +35 -2
- package/lib/typechain-types/factories/src/contracts/index.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC1155__factory.d.ts +5 -3
- package/lib/typechain-types/factories/src/contracts/test/TestERC1155__factory.js +235 -234
- package/lib/typechain-types/factories/src/contracts/test/TestERC1155__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve__factory.d.ts +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve__factory.js +18 -18
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet__factory.d.ts +5 -3
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet__factory.js +73 -72
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/index.d.ts +2 -2
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/index.js +4 -4
- package/lib/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/index.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC20USDC__factory.d.ts +5 -3
- package/lib/typechain-types/factories/src/contracts/test/TestERC20USDC__factory.js +250 -249
- package/lib/typechain-types/factories/src/contracts/test/TestERC20USDC__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC20__factory.d.ts +5 -3
- package/lib/typechain-types/factories/src/contracts/test/TestERC20__factory.js +250 -249
- package/lib/typechain-types/factories/src/contracts/test/TestERC20__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/TestERC721__factory.d.ts +5 -3
- package/lib/typechain-types/factories/src/contracts/test/TestERC721__factory.js +248 -247
- package/lib/typechain-types/factories/src/contracts/test/TestERC721__factory.js.map +1 -1
- package/lib/typechain-types/factories/src/contracts/test/index.d.ts +5 -5
- package/lib/typechain-types/factories/src/contracts/test/index.js +42 -9
- package/lib/typechain-types/factories/src/contracts/test/index.js.map +1 -1
- package/lib/typechain-types/factories/src/index.d.ts +1 -1
- package/lib/typechain-types/factories/src/index.js +34 -1
- package/lib/typechain-types/factories/src/index.js.map +1 -1
- package/lib/typechain-types/index.d.ts +25 -103
- package/lib/typechain-types/index.js +57 -96
- package/lib/typechain-types/index.js.map +1 -1
- package/lib/typechain-types/seaport/contracts/Seaport.d.ts +160 -279
- package/lib/typechain-types/seaport/contracts/Seaport.js +21 -0
- package/lib/typechain-types/seaport/contracts/Seaport.js.map +1 -1
- package/lib/typechain-types/seaport/contracts/conduit/Conduit.sol/LocalConduit.d.ts +25 -38
- package/lib/typechain-types/seaport/contracts/conduit/Conduit.sol/LocalConduit.js +5 -0
- package/lib/typechain-types/seaport/contracts/conduit/Conduit.sol/LocalConduit.js.map +1 -1
- package/lib/typechain-types/seaport/contracts/conduit/Conduit.sol/index.d.ts +1 -1
- package/lib/typechain-types/seaport/contracts/conduit/ConduitController.sol/LocalConduitController.d.ts +112 -80
- package/lib/typechain-types/seaport/contracts/conduit/ConduitController.sol/LocalConduitController.js +13 -0
- package/lib/typechain-types/seaport/contracts/conduit/ConduitController.sol/LocalConduitController.js.map +1 -1
- package/lib/typechain-types/seaport/contracts/conduit/ConduitController.sol/index.d.ts +1 -1
- package/lib/typechain-types/seaport/contracts/conduit/index.d.ts +2 -2
- package/lib/typechain-types/seaport/contracts/index.d.ts +2 -2
- package/lib/typechain-types/seaport/index.d.ts +1 -1
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistry.d.ts +45 -25
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistry.js +5 -0
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistry.js.map +1 -1
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistryInterface.d.ts +45 -25
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistryInterface.js +5 -0
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistryInterface.js.map +1 -1
- package/lib/typechain-types/src/contracts/DomainRegistry.sol/index.d.ts +2 -2
- package/lib/typechain-types/src/contracts/index.d.ts +2 -2
- package/lib/typechain-types/src/contracts/test/TestERC1155.d.ts +70 -96
- package/lib/typechain-types/src/contracts/test/TestERC1155.js +17 -0
- package/lib/typechain-types/src/contracts/test/TestERC1155.js.map +1 -1
- package/lib/typechain-types/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve.d.ts +6 -6
- package/lib/typechain-types/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet.d.ts +26 -20
- package/lib/typechain-types/src/contracts/test/TestERC1271Wallet.sol/index.d.ts +2 -2
- package/lib/typechain-types/src/contracts/test/TestERC20.d.ts +133 -89
- package/lib/typechain-types/src/contracts/test/TestERC20.js +9 -0
- package/lib/typechain-types/src/contracts/test/TestERC20.js.map +1 -1
- package/lib/typechain-types/src/contracts/test/TestERC20USDC.d.ts +133 -89
- package/lib/typechain-types/src/contracts/test/TestERC20USDC.js +9 -0
- package/lib/typechain-types/src/contracts/test/TestERC20USDC.js.map +1 -1
- package/lib/typechain-types/src/contracts/test/TestERC721.d.ts +122 -90
- package/lib/typechain-types/src/contracts/test/TestERC721.js +13 -0
- package/lib/typechain-types/src/contracts/test/TestERC721.js.map +1 -1
- package/lib/typechain-types/src/contracts/test/index.d.ts +5 -5
- package/lib/typechain-types/src/index.d.ts +1 -1
- package/lib/types.d.ts +5 -5
- package/lib/utils/approval.d.ts +1 -1
- package/lib/utils/approval.js +5 -5
- package/lib/utils/approval.js.map +1 -1
- package/lib/utils/balance.d.ts +1 -1
- package/lib/utils/balance.js +6 -6
- package/lib/utils/balance.js.map +1 -1
- package/lib/utils/balanceAndApprovalCheck.d.ts +3 -3
- package/lib/utils/balanceAndApprovalCheck.js +2 -2
- package/lib/utils/balanceAndApprovalCheck.js.map +1 -1
- package/lib/utils/criteria.d.ts +1 -1
- package/lib/utils/criteria.js.map +1 -1
- package/lib/utils/eip712/Eip712MerkleTree.js +11 -1
- package/lib/utils/eip712/Eip712MerkleTree.js.map +1 -1
- package/lib/utils/eip712/bulk-orders.d.ts +1 -1
- package/lib/utils/eip712/bulk-orders.js +2 -2
- package/lib/utils/eip712/bulk-orders.js.map +1 -1
- package/lib/utils/eip712/defaults.d.ts +1 -1
- package/lib/utils/eip712/defaults.js +4 -3
- package/lib/utils/eip712/defaults.js.map +1 -1
- package/lib/utils/eip712/utils.js +2 -2
- package/lib/utils/eip712/utils.js.map +1 -1
- package/lib/utils/fulfill.d.ts +5 -5
- package/lib/utils/fulfill.js +8 -8
- package/lib/utils/fulfill.js.map +1 -1
- package/lib/utils/gcd.d.ts +1 -1
- package/lib/utils/gcd.js.map +1 -1
- package/lib/utils/item.js.map +1 -1
- package/lib/utils/merkletree.d.ts +1 -1
- package/lib/utils/merkletree.js +2 -1
- package/lib/utils/merkletree.js.map +1 -1
- package/lib/utils/order.d.ts +1 -1
- package/lib/utils/order.js +7 -7
- package/lib/utils/order.js.map +1 -1
- package/lib/utils/usecase.d.ts +3 -3
- package/lib/utils/usecase.js +1 -1
- package/lib/utils/usecase.js.map +1 -1
- package/package.json +24 -38
- package/src/abi/ERC1155.ts +2 -2
- package/src/abi/ERC20.ts +2 -2
- package/src/abi/ERC721.ts +2 -2
- package/src/abi/Seaport.ts +1 -1
- package/src/artifacts/artifacts.d.ts +0 -0
- package/src/artifacts/build-info/solc-0_8_24-4919f060ad5018d55598e984a399ab6375a00193.json +329 -0
- package/src/artifacts/build-info/{90b7b45c3cdf389e1b80d1a2d21abb2f.json → solc-0_8_24-4919f060ad5018d55598e984a399ab6375a00193.output.json} +1 -1
- package/src/artifacts/seaport/contracts/Seaport.sol/Seaport.json +113 -5
- package/src/artifacts/seaport/contracts/Seaport.sol/artifacts.d.ts +27 -0
- package/src/artifacts/seaport/contracts/conduit/Conduit.sol/LocalConduit.json +15 -5
- package/src/artifacts/seaport/contracts/conduit/Conduit.sol/artifacts.d.ts +27 -0
- package/src/artifacts/seaport/contracts/conduit/ConduitController.sol/LocalConduitController.json +37 -5
- package/src/artifacts/seaport/contracts/conduit/ConduitController.sol/artifacts.d.ts +27 -0
- package/src/artifacts/src/contracts/Conduit.sol/artifacts.d.ts +0 -0
- package/src/artifacts/src/contracts/ConduitController.sol/artifacts.d.ts +0 -0
- package/src/artifacts/src/contracts/DomainRegistry.sol/DomainRegistry.json +8 -5
- package/src/artifacts/src/contracts/DomainRegistry.sol/DomainRegistryInterface.json +6 -3
- package/src/artifacts/src/contracts/DomainRegistry.sol/artifacts.d.ts +43 -0
- package/src/artifacts/src/contracts/Seaport.sol/artifacts.d.ts +0 -0
- package/src/artifacts/src/contracts/test/TestERC1155.sol/TestERC1155.json +8 -5
- package/src/artifacts/src/contracts/test/TestERC1155.sol/artifacts.d.ts +27 -0
- package/src/artifacts/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve.json +6 -3
- package/src/artifacts/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet.json +8 -5
- package/src/artifacts/src/contracts/test/TestERC1271Wallet.sol/artifacts.d.ts +43 -0
- package/src/artifacts/src/contracts/test/TestERC20.sol/TestERC20.json +27 -5
- package/src/artifacts/src/contracts/test/TestERC20.sol/artifacts.d.ts +27 -0
- package/src/artifacts/src/contracts/test/TestERC20USDC.sol/TestERC20USDC.json +27 -5
- package/src/artifacts/src/contracts/test/TestERC20USDC.sol/artifacts.d.ts +27 -0
- package/src/artifacts/src/contracts/test/TestERC721.sol/TestERC721.json +8 -5
- package/src/artifacts/src/contracts/test/TestERC721.sol/artifacts.d.ts +27 -0
- package/src/constants.ts +15 -15
- package/src/index.ts +2 -2
- package/src/seaport.ts +218 -223
- package/src/typechain-types/common.ts +46 -85
- package/src/typechain-types/factories/index.ts +2 -5
- package/src/typechain-types/factories/seaport/contracts/Seaport__factory.ts +1920 -1932
- package/src/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/LocalConduit__factory.ts +291 -297
- package/src/typechain-types/factories/seaport/contracts/conduit/Conduit.sol/index.ts +1 -1
- package/src/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/LocalConduitController__factory.ts +336 -348
- package/src/typechain-types/factories/seaport/contracts/conduit/ConduitController.sol/index.ts +1 -1
- package/src/typechain-types/factories/seaport/contracts/conduit/index.ts +2 -2
- package/src/typechain-types/factories/seaport/contracts/index.ts +2 -2
- package/src/typechain-types/factories/seaport/index.ts +1 -1
- package/src/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistryInterface__factory.ts +105 -114
- package/src/typechain-types/factories/src/contracts/DomainRegistry.sol/DomainRegistry__factory.ts +142 -148
- package/src/typechain-types/factories/src/contracts/DomainRegistry.sol/index.ts +2 -2
- package/src/typechain-types/factories/src/contracts/index.ts +2 -2
- package/src/typechain-types/factories/src/contracts/test/TestERC1155__factory.ts +277 -280
- package/src/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve__factory.ts +29 -34
- package/src/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet__factory.ts +115 -121
- package/src/typechain-types/factories/src/contracts/test/TestERC1271Wallet.sol/index.ts +2 -2
- package/src/typechain-types/factories/src/contracts/test/TestERC20USDC__factory.ts +286 -292
- package/src/typechain-types/factories/src/contracts/test/TestERC20__factory.ts +286 -289
- package/src/typechain-types/factories/src/contracts/test/TestERC721__factory.ts +288 -291
- package/src/typechain-types/factories/src/contracts/test/index.ts +5 -5
- package/src/typechain-types/factories/src/index.ts +1 -1
- package/src/typechain-types/hardhat.d.ts +50 -854
- package/src/typechain-types/index.ts +25 -103
- package/src/typechain-types/seaport/contracts/Seaport.ts +452 -1001
- package/src/typechain-types/seaport/contracts/conduit/Conduit.sol/LocalConduit.ts +121 -233
- package/src/typechain-types/seaport/contracts/conduit/Conduit.sol/index.ts +1 -1
- package/src/typechain-types/seaport/contracts/conduit/ConduitController.sol/LocalConduitController.ts +294 -421
- package/src/typechain-types/seaport/contracts/conduit/ConduitController.sol/index.ts +1 -1
- package/src/typechain-types/seaport/contracts/conduit/index.ts +3 -3
- package/src/typechain-types/seaport/contracts/index.ts +2 -2
- package/src/typechain-types/seaport/index.ts +2 -2
- package/src/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistry.ts +112 -151
- package/src/typechain-types/src/contracts/DomainRegistry.sol/DomainRegistryInterface.ts +112 -151
- package/src/typechain-types/src/contracts/DomainRegistry.sol/index.ts +2 -2
- package/src/typechain-types/src/contracts/index.ts +3 -3
- package/src/typechain-types/src/contracts/test/TestERC1155.ts +232 -431
- package/src/typechain-types/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve.ts +58 -80
- package/src/typechain-types/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet.ts +103 -144
- package/src/typechain-types/src/contracts/test/TestERC1271Wallet.sol/index.ts +2 -2
- package/src/typechain-types/src/contracts/test/TestERC20.ts +294 -370
- package/src/typechain-types/src/contracts/test/TestERC20USDC.ts +294 -370
- package/src/typechain-types/src/contracts/test/TestERC721.ts +294 -405
- package/src/typechain-types/src/contracts/test/index.ts +5 -5
- package/src/typechain-types/src/index.ts +2 -2
- package/src/types.ts +144 -144
- package/src/utils/approval.ts +24 -21
- package/src/utils/balance.ts +20 -20
- package/src/utils/balanceAndApprovalCheck.ts +108 -108
- package/src/utils/criteria.ts +20 -20
- package/src/utils/eip712/Eip712MerkleTree.ts +46 -48
- package/src/utils/eip712/bulk-orders.ts +24 -27
- package/src/utils/eip712/defaults.ts +33 -33
- package/src/utils/eip712/utils.ts +24 -26
- package/src/utils/fulfill.ts +218 -218
- package/src/utils/gcd.ts +11 -11
- package/src/utils/item.ts +42 -42
- package/src/utils/match.ts +1 -1
- package/src/utils/merkletree.ts +7 -7
- package/src/utils/order.ts +59 -59
- package/src/utils/usecase.ts +57 -58
- package/lib/typechain-types/@rari-capital/index.d.ts +0 -2
- package/lib/typechain-types/@rari-capital/index.js +0 -3
- package/lib/typechain-types/@rari-capital/index.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/index.d.ts +0 -2
- package/lib/typechain-types/@rari-capital/solmate/index.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/index.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/index.d.ts +0 -2
- package/lib/typechain-types/@rari-capital/solmate/src/index.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/index.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +0 -236
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +0 -67
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/index.d.ts +0 -2
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/index.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/index.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC20.d.ts +0 -181
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC20.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC20.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721.d.ts +0 -211
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +0 -39
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/index.d.ts +0 -2
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/index.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/index.js.map +0 -1
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/index.d.ts +0 -5
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/index.js +0 -3
- package/lib/typechain-types/@rari-capital/solmate/src/tokens/index.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/index.d.ts +0 -1
- package/lib/typechain-types/factories/@rari-capital/index.js +0 -8
- package/lib/typechain-types/factories/@rari-capital/index.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/index.d.ts +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/index.js +0 -8
- package/lib/typechain-types/factories/@rari-capital/solmate/index.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/index.d.ts +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/index.js +0 -8
- package/lib/typechain-types/factories/@rari-capital/solmate/src/index.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +0 -67
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.js +0 -98
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +0 -250
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155__factory.js +0 -332
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155__factory.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/index.d.ts +0 -2
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/index.js +0 -11
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/index.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC20__factory.d.ts +0 -235
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC20__factory.js +0 -317
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC20__factory.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +0 -33
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.js +0 -54
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +0 -261
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721__factory.js +0 -350
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721__factory.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/index.d.ts +0 -2
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/index.js +0 -11
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/index.js.map +0 -1
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/index.d.ts +0 -3
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/index.js +0 -11
- package/lib/typechain-types/factories/@rari-capital/solmate/src/tokens/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/index.d.ts +0 -1
- package/lib/typechain-types/factories/seaport-core/index.js +0 -8
- package/lib/typechain-types/factories/seaport-core/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/conduit/ConduitController__factory.d.ts +0 -351
- package/lib/typechain-types/factories/seaport-core/src/conduit/ConduitController__factory.js +0 -475
- package/lib/typechain-types/factories/seaport-core/src/conduit/ConduitController__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/conduit/Conduit__factory.d.ts +0 -317
- package/lib/typechain-types/factories/seaport-core/src/conduit/Conduit__factory.js +0 -424
- package/lib/typechain-types/factories/seaport-core/src/conduit/Conduit__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/conduit/index.d.ts +0 -2
- package/lib/typechain-types/factories/seaport-core/src/conduit/index.js +0 -11
- package/lib/typechain-types/factories/seaport-core/src/conduit/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/index.d.ts +0 -2
- package/lib/typechain-types/factories/seaport-core/src/index.js +0 -9
- package/lib/typechain-types/factories/seaport-core/src/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/AmountDeriver__factory.d.ts +0 -26
- package/lib/typechain-types/factories/seaport-core/src/lib/AmountDeriver__factory.js +0 -45
- package/lib/typechain-types/factories/seaport-core/src/lib/AmountDeriver__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/Assertions__factory.d.ts +0 -500
- package/lib/typechain-types/factories/seaport-core/src/lib/Assertions__factory.js +0 -656
- package/lib/typechain-types/factories/seaport-core/src/lib/Assertions__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/BasicOrderFulfiller__factory.d.ts +0 -536
- package/lib/typechain-types/factories/seaport-core/src/lib/BasicOrderFulfiller__factory.js +0 -704
- package/lib/typechain-types/factories/seaport-core/src/lib/BasicOrderFulfiller__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/ConsiderationBase__factory.d.ts +0 -382
- package/lib/typechain-types/factories/seaport-core/src/lib/ConsiderationBase__factory.js +0 -504
- package/lib/typechain-types/factories/seaport-core/src/lib/ConsiderationBase__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/Consideration__factory.d.ts +0 -2312
- package/lib/typechain-types/factories/seaport-core/src/lib/Consideration__factory.js +0 -2996
- package/lib/typechain-types/factories/seaport-core/src/lib/Consideration__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/CounterManager__factory.d.ts +0 -396
- package/lib/typechain-types/factories/seaport-core/src/lib/CounterManager__factory.js +0 -520
- package/lib/typechain-types/factories/seaport-core/src/lib/CounterManager__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/CriteriaResolution__factory.d.ts +0 -70
- package/lib/typechain-types/factories/seaport-core/src/lib/CriteriaResolution__factory.js +0 -103
- package/lib/typechain-types/factories/seaport-core/src/lib/CriteriaResolution__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/Executor__factory.d.ts +0 -520
- package/lib/typechain-types/factories/seaport-core/src/lib/Executor__factory.js +0 -682
- package/lib/typechain-types/factories/seaport-core/src/lib/Executor__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/FulfillmentApplier__factory.d.ts +0 -46
- package/lib/typechain-types/factories/seaport-core/src/lib/FulfillmentApplier__factory.js +0 -72
- package/lib/typechain-types/factories/seaport-core/src/lib/FulfillmentApplier__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/GettersAndDerivers__factory.d.ts +0 -382
- package/lib/typechain-types/factories/seaport-core/src/lib/GettersAndDerivers__factory.js +0 -504
- package/lib/typechain-types/factories/seaport-core/src/lib/GettersAndDerivers__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderCombiner__factory.d.ts +0 -612
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderCombiner__factory.js +0 -804
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderCombiner__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderFulfiller__factory.d.ts +0 -588
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderFulfiller__factory.js +0 -772
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderFulfiller__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderValidator__factory.d.ts +0 -536
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderValidator__factory.js +0 -704
- package/lib/typechain-types/factories/seaport-core/src/lib/OrderValidator__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/ReentrancyGuard__factory.d.ts +0 -48
- package/lib/typechain-types/factories/seaport-core/src/lib/ReentrancyGuard__factory.js +0 -72
- package/lib/typechain-types/factories/seaport-core/src/lib/ReentrancyGuard__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/SignatureVerification__factory.d.ts +0 -42
- package/lib/typechain-types/factories/seaport-core/src/lib/SignatureVerification__factory.js +0 -66
- package/lib/typechain-types/factories/seaport-core/src/lib/SignatureVerification__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/TokenTransferrer__factory.d.ts +0 -118
- package/lib/typechain-types/factories/seaport-core/src/lib/TokenTransferrer__factory.js +0 -165
- package/lib/typechain-types/factories/seaport-core/src/lib/TokenTransferrer__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/Verifiers__factory.d.ts +0 -520
- package/lib/typechain-types/factories/seaport-core/src/lib/Verifiers__factory.js +0 -682
- package/lib/typechain-types/factories/seaport-core/src/lib/Verifiers__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/ZoneInteraction__factory.d.ts +0 -38
- package/lib/typechain-types/factories/seaport-core/src/lib/ZoneInteraction__factory.js +0 -62
- package/lib/typechain-types/factories/seaport-core/src/lib/ZoneInteraction__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-core/src/lib/index.d.ts +0 -18
- package/lib/typechain-types/factories/seaport-core/src/lib/index.js +0 -43
- package/lib/typechain-types/factories/seaport-core/src/lib/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/index.d.ts +0 -1
- package/lib/typechain-types/factories/seaport-types/index.js +0 -8
- package/lib/typechain-types/factories/seaport-types/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/index.d.ts +0 -1
- package/lib/typechain-types/factories/seaport-types/src/index.js +0 -8
- package/lib/typechain-types/factories/seaport-types/src/index.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/AmountDerivationErrors__factory.d.ts +0 -11
- package/lib/typechain-types/factories/seaport-types/src/interfaces/AmountDerivationErrors__factory.js +0 -25
- package/lib/typechain-types/factories/seaport-types/src/interfaces/AmountDerivationErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConduitControllerInterface__factory.d.ts +0 -332
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConduitControllerInterface__factory.js +0 -450
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConduitControllerInterface__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConduitInterface__factory.d.ts +0 -202
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConduitInterface__factory.js +0 -274
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConduitInterface__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConsiderationEventsAndErrors__factory.d.ts +0 -359
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConsiderationEventsAndErrors__factory.js +0 -473
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConsiderationEventsAndErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConsiderationInterface__factory.d.ts +0 -1704
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConsiderationInterface__factory.js +0 -2208
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ConsiderationInterface__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/CriteriaResolutionErrors__factory.d.ts +0 -55
- package/lib/typechain-types/factories/seaport-types/src/interfaces/CriteriaResolutionErrors__factory.js +0 -83
- package/lib/typechain-types/factories/seaport-types/src/interfaces/CriteriaResolutionErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/FulfillmentApplicationErrors__factory.d.ts +0 -31
- package/lib/typechain-types/factories/seaport-types/src/interfaces/FulfillmentApplicationErrors__factory.js +0 -52
- package/lib/typechain-types/factories/seaport-types/src/interfaces/FulfillmentApplicationErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ReentrancyErrors__factory.d.ts +0 -23
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ReentrancyErrors__factory.js +0 -40
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ReentrancyErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/SignatureVerificationErrors__factory.d.ts +0 -27
- package/lib/typechain-types/factories/seaport-types/src/interfaces/SignatureVerificationErrors__factory.js +0 -46
- package/lib/typechain-types/factories/seaport-types/src/interfaces/SignatureVerificationErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/TokenTransferrerErrors__factory.d.ts +0 -103
- package/lib/typechain-types/factories/seaport-types/src/interfaces/TokenTransferrerErrors__factory.js +0 -145
- package/lib/typechain-types/factories/seaport-types/src/interfaces/TokenTransferrerErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ZoneInteractionErrors__factory.d.ts +0 -23
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ZoneInteractionErrors__factory.js +0 -42
- package/lib/typechain-types/factories/seaport-types/src/interfaces/ZoneInteractionErrors__factory.js.map +0 -1
- package/lib/typechain-types/factories/seaport-types/src/interfaces/index.d.ts +0 -11
- package/lib/typechain-types/factories/seaport-types/src/interfaces/index.js +0 -29
- package/lib/typechain-types/factories/seaport-types/src/interfaces/index.js.map +0 -1
- package/lib/typechain-types/seaport-core/index.d.ts +0 -2
- package/lib/typechain-types/seaport-core/index.js +0 -3
- package/lib/typechain-types/seaport-core/index.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/conduit/Conduit.d.ts +0 -133
- package/lib/typechain-types/seaport-core/src/conduit/Conduit.js +0 -3
- package/lib/typechain-types/seaport-core/src/conduit/Conduit.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/conduit/ConduitController.d.ts +0 -226
- package/lib/typechain-types/seaport-core/src/conduit/ConduitController.js +0 -3
- package/lib/typechain-types/seaport-core/src/conduit/ConduitController.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/conduit/index.d.ts +0 -2
- package/lib/typechain-types/seaport-core/src/conduit/index.js +0 -3
- package/lib/typechain-types/seaport-core/src/conduit/index.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/index.d.ts +0 -4
- package/lib/typechain-types/seaport-core/src/index.js +0 -3
- package/lib/typechain-types/seaport-core/src/index.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/AmountDeriver.d.ts +0 -20
- package/lib/typechain-types/seaport-core/src/lib/AmountDeriver.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/AmountDeriver.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/Assertions.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/Assertions.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/Assertions.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/BasicOrderFulfiller.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/BasicOrderFulfiller.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/BasicOrderFulfiller.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/Consideration.d.ts +0 -701
- package/lib/typechain-types/seaport-core/src/lib/Consideration.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/Consideration.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/ConsiderationBase.d.ts +0 -243
- package/lib/typechain-types/seaport-core/src/lib/ConsiderationBase.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/ConsiderationBase.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/CounterManager.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/CounterManager.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/CounterManager.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/CriteriaResolution.d.ts +0 -20
- package/lib/typechain-types/seaport-core/src/lib/CriteriaResolution.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/CriteriaResolution.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/Executor.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/Executor.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/Executor.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/FulfillmentApplier.d.ts +0 -20
- package/lib/typechain-types/seaport-core/src/lib/FulfillmentApplier.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/FulfillmentApplier.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/GettersAndDerivers.d.ts +0 -243
- package/lib/typechain-types/seaport-core/src/lib/GettersAndDerivers.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/GettersAndDerivers.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/OrderCombiner.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/OrderCombiner.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/OrderCombiner.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/OrderFulfiller.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/OrderFulfiller.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/OrderFulfiller.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/OrderValidator.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/OrderValidator.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/OrderValidator.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/ReentrancyGuard.d.ts +0 -25
- package/lib/typechain-types/seaport-core/src/lib/ReentrancyGuard.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/ReentrancyGuard.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/SignatureVerification.d.ts +0 -20
- package/lib/typechain-types/seaport-core/src/lib/SignatureVerification.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/SignatureVerification.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/TokenTransferrer.d.ts +0 -20
- package/lib/typechain-types/seaport-core/src/lib/TokenTransferrer.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/TokenTransferrer.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/Verifiers.d.ts +0 -248
- package/lib/typechain-types/seaport-core/src/lib/Verifiers.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/Verifiers.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/ZoneInteraction.d.ts +0 -20
- package/lib/typechain-types/seaport-core/src/lib/ZoneInteraction.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/ZoneInteraction.js.map +0 -1
- package/lib/typechain-types/seaport-core/src/lib/index.d.ts +0 -18
- package/lib/typechain-types/seaport-core/src/lib/index.js +0 -3
- package/lib/typechain-types/seaport-core/src/lib/index.js.map +0 -1
- package/lib/typechain-types/seaport-types/index.d.ts +0 -2
- package/lib/typechain-types/seaport-types/index.js +0 -3
- package/lib/typechain-types/seaport-types/index.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/index.d.ts +0 -2
- package/lib/typechain-types/seaport-types/src/index.js +0 -3
- package/lib/typechain-types/seaport-types/src/index.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/AmountDerivationErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/AmountDerivationErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/AmountDerivationErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/ConduitControllerInterface.d.ts +0 -226
- package/lib/typechain-types/seaport-types/src/interfaces/ConduitControllerInterface.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/ConduitControllerInterface.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/ConduitInterface.d.ts +0 -133
- package/lib/typechain-types/seaport-types/src/interfaces/ConduitInterface.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/ConduitInterface.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/ConsiderationEventsAndErrors.d.ts +0 -243
- package/lib/typechain-types/seaport-types/src/interfaces/ConsiderationEventsAndErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/ConsiderationEventsAndErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/ConsiderationInterface.d.ts +0 -603
- package/lib/typechain-types/seaport-types/src/interfaces/ConsiderationInterface.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/ConsiderationInterface.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/CriteriaResolutionErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/CriteriaResolutionErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/CriteriaResolutionErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/FulfillmentApplicationErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/FulfillmentApplicationErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/FulfillmentApplicationErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/ReentrancyErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/ReentrancyErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/ReentrancyErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/SignatureVerificationErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/SignatureVerificationErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/SignatureVerificationErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/TokenTransferrerErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/TokenTransferrerErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/TokenTransferrerErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/ZoneInteractionErrors.d.ts +0 -20
- package/lib/typechain-types/seaport-types/src/interfaces/ZoneInteractionErrors.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/ZoneInteractionErrors.js.map +0 -1
- package/lib/typechain-types/seaport-types/src/interfaces/index.d.ts +0 -11
- package/lib/typechain-types/seaport-types/src/interfaces/index.js +0 -3
- package/lib/typechain-types/seaport-types/src/interfaces/index.js.map +0 -1
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155.dbg.json +0 -4
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155.json +0 -323
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.dbg.json +0 -4
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.json +0 -89
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC20.sol/ERC20.dbg.json +0 -4
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC20.sol/ERC20.json +0 -308
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721.dbg.json +0 -4
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721.json +0 -341
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.dbg.json +0 -4
- package/src/artifacts/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.json +0 -45
- package/src/artifacts/seaport/contracts/Seaport.sol/Seaport.dbg.json +0 -4
- package/src/artifacts/seaport/contracts/conduit/Conduit.sol/LocalConduit.dbg.json +0 -4
- package/src/artifacts/seaport/contracts/conduit/ConduitController.sol/LocalConduitController.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/conduit/Conduit.sol/Conduit.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/conduit/Conduit.sol/Conduit.json +0 -395
- package/src/artifacts/seaport-core/src/conduit/ConduitController.sol/ConduitController.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/conduit/ConduitController.sol/ConduitController.json +0 -446
- package/src/artifacts/seaport-core/src/lib/AmountDeriver.sol/AmountDeriver.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/AmountDeriver.sol/AmountDeriver.json +0 -16
- package/src/artifacts/seaport-core/src/lib/Assertions.sol/Assertions.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/Assertions.sol/Assertions.json +0 -627
- package/src/artifacts/seaport-core/src/lib/BasicOrderFulfiller.sol/BasicOrderFulfiller.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/BasicOrderFulfiller.sol/BasicOrderFulfiller.json +0 -675
- package/src/artifacts/seaport-core/src/lib/Consideration.sol/Consideration.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/Consideration.sol/Consideration.json +0 -2967
- package/src/artifacts/seaport-core/src/lib/ConsiderationBase.sol/ConsiderationBase.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/ConsiderationBase.sol/ConsiderationBase.json +0 -475
- package/src/artifacts/seaport-core/src/lib/ConsiderationDecoder.sol/ConsiderationDecoder.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/ConsiderationDecoder.sol/ConsiderationDecoder.json +0 -10
- package/src/artifacts/seaport-core/src/lib/ConsiderationEncoder.sol/ConsiderationEncoder.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/ConsiderationEncoder.sol/ConsiderationEncoder.json +0 -10
- package/src/artifacts/seaport-core/src/lib/CounterManager.sol/CounterManager.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/CounterManager.sol/CounterManager.json +0 -491
- package/src/artifacts/seaport-core/src/lib/CriteriaResolution.sol/CriteriaResolution.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/CriteriaResolution.sol/CriteriaResolution.json +0 -74
- package/src/artifacts/seaport-core/src/lib/Executor.sol/Executor.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/Executor.sol/Executor.json +0 -653
- package/src/artifacts/seaport-core/src/lib/FulfillmentApplier.sol/FulfillmentApplier.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/FulfillmentApplier.sol/FulfillmentApplier.json +0 -43
- package/src/artifacts/seaport-core/src/lib/GettersAndDerivers.sol/GettersAndDerivers.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/GettersAndDerivers.sol/GettersAndDerivers.json +0 -475
- package/src/artifacts/seaport-core/src/lib/LowLevelHelpers.sol/LowLevelHelpers.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/LowLevelHelpers.sol/LowLevelHelpers.json +0 -10
- package/src/artifacts/seaport-core/src/lib/OrderCombiner.sol/OrderCombiner.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/OrderCombiner.sol/OrderCombiner.json +0 -775
- package/src/artifacts/seaport-core/src/lib/OrderFulfiller.sol/OrderFulfiller.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/OrderFulfiller.sol/OrderFulfiller.json +0 -743
- package/src/artifacts/seaport-core/src/lib/OrderValidator.sol/OrderValidator.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/OrderValidator.sol/OrderValidator.json +0 -675
- package/src/artifacts/seaport-core/src/lib/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/ReentrancyGuard.sol/ReentrancyGuard.json +0 -43
- package/src/artifacts/seaport-core/src/lib/SignatureVerification.sol/SignatureVerification.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/SignatureVerification.sol/SignatureVerification.json +0 -37
- package/src/artifacts/seaport-core/src/lib/TokenTransferrer.sol/TokenTransferrer.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/TokenTransferrer.sol/TokenTransferrer.json +0 -136
- package/src/artifacts/seaport-core/src/lib/Verifiers.sol/Verifiers.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/Verifiers.sol/Verifiers.json +0 -653
- package/src/artifacts/seaport-core/src/lib/ZoneInteraction.sol/ZoneInteraction.dbg.json +0 -4
- package/src/artifacts/seaport-core/src/lib/ZoneInteraction.sol/ZoneInteraction.json +0 -33
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/CalldataPointerLib.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/CalldataPointerLib.json +0 -10
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/CalldataReaders.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/CalldataReaders.json +0 -10
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/MemoryPointerLib.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/MemoryPointerLib.json +0 -10
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/MemoryReaders.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/MemoryReaders.json +0 -10
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/MemoryWriters.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/MemoryWriters.json +0 -10
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/ReturndataPointerLib.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/ReturndataPointerLib.json +0 -10
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/ReturndataReaders.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/helpers/PointerLibraries.sol/ReturndataReaders.json +0 -10
- package/src/artifacts/seaport-types/src/interfaces/AmountDerivationErrors.sol/AmountDerivationErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/AmountDerivationErrors.sol/AmountDerivationErrors.json +0 -16
- package/src/artifacts/seaport-types/src/interfaces/ConduitControllerInterface.sol/ConduitControllerInterface.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/ConduitControllerInterface.sol/ConduitControllerInterface.json +0 -441
- package/src/artifacts/seaport-types/src/interfaces/ConduitInterface.sol/ConduitInterface.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/ConduitInterface.sol/ConduitInterface.json +0 -265
- package/src/artifacts/seaport-types/src/interfaces/ConsiderationEventsAndErrors.sol/ConsiderationEventsAndErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/ConsiderationEventsAndErrors.sol/ConsiderationEventsAndErrors.json +0 -464
- package/src/artifacts/seaport-types/src/interfaces/ConsiderationInterface.sol/ConsiderationInterface.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/ConsiderationInterface.sol/ConsiderationInterface.json +0 -2199
- package/src/artifacts/seaport-types/src/interfaces/CriteriaResolutionErrors.sol/CriteriaResolutionErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/CriteriaResolutionErrors.sol/CriteriaResolutionErrors.json +0 -74
- package/src/artifacts/seaport-types/src/interfaces/FulfillmentApplicationErrors.sol/FulfillmentApplicationErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/FulfillmentApplicationErrors.sol/FulfillmentApplicationErrors.json +0 -43
- package/src/artifacts/seaport-types/src/interfaces/ReentrancyErrors.sol/ReentrancyErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/ReentrancyErrors.sol/ReentrancyErrors.json +0 -31
- package/src/artifacts/seaport-types/src/interfaces/SignatureVerificationErrors.sol/SignatureVerificationErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/SignatureVerificationErrors.sol/SignatureVerificationErrors.json +0 -37
- package/src/artifacts/seaport-types/src/interfaces/TokenTransferrerErrors.sol/TokenTransferrerErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/TokenTransferrerErrors.sol/TokenTransferrerErrors.json +0 -136
- package/src/artifacts/seaport-types/src/interfaces/ZoneInteractionErrors.sol/ZoneInteractionErrors.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/interfaces/ZoneInteractionErrors.sol/ZoneInteractionErrors.json +0 -33
- package/src/artifacts/seaport-types/src/lib/ConsiderationStructs.sol/StructPointers.dbg.json +0 -4
- package/src/artifacts/seaport-types/src/lib/ConsiderationStructs.sol/StructPointers.json +0 -10
- package/src/artifacts/src/contracts/DomainRegistry.sol/DomainRegistry.dbg.json +0 -4
- package/src/artifacts/src/contracts/DomainRegistry.sol/DomainRegistryInterface.dbg.json +0 -4
- package/src/artifacts/src/contracts/test/TestERC1155.sol/TestERC1155.dbg.json +0 -4
- package/src/artifacts/src/contracts/test/TestERC1271Wallet.sol/IERC20Approve.dbg.json +0 -4
- package/src/artifacts/src/contracts/test/TestERC1271Wallet.sol/TestERC1271Wallet.dbg.json +0 -4
- package/src/artifacts/src/contracts/test/TestERC20.sol/TestERC20.dbg.json +0 -4
- package/src/artifacts/src/contracts/test/TestERC20USDC.sol/TestERC20USDC.dbg.json +0 -4
- package/src/artifacts/src/contracts/test/TestERC721.sol/TestERC721.dbg.json +0 -4
- package/src/typechain-types/@rari-capital/index.ts +0 -5
- package/src/typechain-types/@rari-capital/solmate/index.ts +0 -5
- package/src/typechain-types/@rari-capital/solmate/src/index.ts +0 -5
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155.ts +0 -440
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.ts +0 -153
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC1155.sol/index.ts +0 -5
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC20.ts +0 -351
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721.ts +0 -410
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.ts +0 -100
- package/src/typechain-types/@rari-capital/solmate/src/tokens/ERC721.sol/index.ts +0 -5
- package/src/typechain-types/@rari-capital/solmate/src/tokens/index.ts +0 -8
- package/src/typechain-types/factories/@rari-capital/index.ts +0 -4
- package/src/typechain-types/factories/@rari-capital/solmate/index.ts +0 -4
- package/src/typechain-types/factories/@rari-capital/solmate/src/index.ts +0 -4
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.ts +0 -107
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/ERC1155__factory.ts +0 -334
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC1155.sol/index.ts +0 -5
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC20__factory.ts +0 -319
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.ts +0 -63
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/ERC721__factory.ts +0 -352
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/ERC721.sol/index.ts +0 -5
- package/src/typechain-types/factories/@rari-capital/solmate/src/tokens/index.ts +0 -6
- package/src/typechain-types/factories/seaport-core/index.ts +0 -4
- package/src/typechain-types/factories/seaport-core/src/conduit/ConduitController__factory.ts +0 -502
- package/src/typechain-types/factories/seaport-core/src/conduit/Conduit__factory.ts +0 -448
- package/src/typechain-types/factories/seaport-core/src/conduit/index.ts +0 -5
- package/src/typechain-types/factories/seaport-core/src/index.ts +0 -5
- package/src/typechain-types/factories/seaport-core/src/lib/AmountDeriver__factory.ts +0 -72
- package/src/typechain-types/factories/seaport-core/src/lib/Assertions__factory.ts +0 -689
- package/src/typechain-types/factories/seaport-core/src/lib/BasicOrderFulfiller__factory.ts +0 -746
- package/src/typechain-types/factories/seaport-core/src/lib/ConsiderationBase__factory.ts +0 -540
- package/src/typechain-types/factories/seaport-core/src/lib/Consideration__factory.ts +0 -3032
- package/src/typechain-types/factories/seaport-core/src/lib/CounterManager__factory.ts +0 -547
- package/src/typechain-types/factories/seaport-core/src/lib/CriteriaResolution__factory.ts +0 -130
- package/src/typechain-types/factories/seaport-core/src/lib/Executor__factory.ts +0 -715
- package/src/typechain-types/factories/seaport-core/src/lib/FulfillmentApplier__factory.ts +0 -99
- package/src/typechain-types/factories/seaport-core/src/lib/GettersAndDerivers__factory.ts +0 -540
- package/src/typechain-types/factories/seaport-core/src/lib/OrderCombiner__factory.ts +0 -840
- package/src/typechain-types/factories/seaport-core/src/lib/OrderFulfiller__factory.ts +0 -808
- package/src/typechain-types/factories/seaport-core/src/lib/OrderValidator__factory.ts +0 -740
- package/src/typechain-types/factories/seaport-core/src/lib/ReentrancyGuard__factory.ts +0 -99
- package/src/typechain-types/factories/seaport-core/src/lib/SignatureVerification__factory.ts +0 -99
- package/src/typechain-types/factories/seaport-core/src/lib/TokenTransferrer__factory.ts +0 -192
- package/src/typechain-types/factories/seaport-core/src/lib/Verifiers__factory.ts +0 -715
- package/src/typechain-types/factories/seaport-core/src/lib/ZoneInteraction__factory.ts +0 -89
- package/src/typechain-types/factories/seaport-core/src/lib/index.ts +0 -21
- package/src/typechain-types/factories/seaport-types/index.ts +0 -4
- package/src/typechain-types/factories/seaport-types/src/index.ts +0 -4
- package/src/typechain-types/factories/seaport-types/src/interfaces/AmountDerivationErrors__factory.ts +0 -34
- package/src/typechain-types/factories/seaport-types/src/interfaces/ConduitControllerInterface__factory.ts +0 -459
- package/src/typechain-types/factories/seaport-types/src/interfaces/ConduitInterface__factory.ts +0 -279
- package/src/typechain-types/factories/seaport-types/src/interfaces/ConsiderationEventsAndErrors__factory.ts +0 -482
- package/src/typechain-types/factories/seaport-types/src/interfaces/ConsiderationInterface__factory.ts +0 -2217
- package/src/typechain-types/factories/seaport-types/src/interfaces/CriteriaResolutionErrors__factory.ts +0 -92
- package/src/typechain-types/factories/seaport-types/src/interfaces/FulfillmentApplicationErrors__factory.ts +0 -61
- package/src/typechain-types/factories/seaport-types/src/interfaces/ReentrancyErrors__factory.ts +0 -45
- package/src/typechain-types/factories/seaport-types/src/interfaces/SignatureVerificationErrors__factory.ts +0 -55
- package/src/typechain-types/factories/seaport-types/src/interfaces/TokenTransferrerErrors__factory.ts +0 -154
- package/src/typechain-types/factories/seaport-types/src/interfaces/ZoneInteractionErrors__factory.ts +0 -51
- package/src/typechain-types/factories/seaport-types/src/interfaces/index.ts +0 -14
- package/src/typechain-types/seaport-core/index.ts +0 -5
- package/src/typechain-types/seaport-core/src/conduit/Conduit.ts +0 -255
- package/src/typechain-types/seaport-core/src/conduit/ConduitController.ts +0 -445
- package/src/typechain-types/seaport-core/src/conduit/index.ts +0 -5
- package/src/typechain-types/seaport-core/src/index.ts +0 -7
- package/src/typechain-types/seaport-core/src/lib/AmountDeriver.ts +0 -69
- package/src/typechain-types/seaport-core/src/lib/Assertions.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/BasicOrderFulfiller.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/Consideration.ts +0 -1030
- package/src/typechain-types/seaport-core/src/lib/ConsiderationBase.ts +0 -390
- package/src/typechain-types/seaport-core/src/lib/CounterManager.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/CriteriaResolution.ts +0 -69
- package/src/typechain-types/seaport-core/src/lib/Executor.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/FulfillmentApplier.ts +0 -69
- package/src/typechain-types/seaport-core/src/lib/GettersAndDerivers.ts +0 -390
- package/src/typechain-types/seaport-core/src/lib/OrderCombiner.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/OrderFulfiller.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/OrderValidator.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/ReentrancyGuard.ts +0 -90
- package/src/typechain-types/seaport-core/src/lib/SignatureVerification.ts +0 -69
- package/src/typechain-types/seaport-core/src/lib/TokenTransferrer.ts +0 -69
- package/src/typechain-types/seaport-core/src/lib/Verifiers.ts +0 -410
- package/src/typechain-types/seaport-core/src/lib/ZoneInteraction.ts +0 -69
- package/src/typechain-types/seaport-core/src/lib/index.ts +0 -21
- package/src/typechain-types/seaport-types/index.ts +0 -5
- package/src/typechain-types/seaport-types/src/index.ts +0 -5
- package/src/typechain-types/seaport-types/src/interfaces/AmountDerivationErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/ConduitControllerInterface.ts +0 -445
- package/src/typechain-types/seaport-types/src/interfaces/ConduitInterface.ts +0 -255
- package/src/typechain-types/seaport-types/src/interfaces/ConsiderationEventsAndErrors.ts +0 -390
- package/src/typechain-types/seaport-types/src/interfaces/ConsiderationInterface.ts +0 -831
- package/src/typechain-types/seaport-types/src/interfaces/CriteriaResolutionErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/FulfillmentApplicationErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/ReentrancyErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/SignatureVerificationErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/TokenTransferrerErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/ZoneInteractionErrors.ts +0 -69
- package/src/typechain-types/seaport-types/src/interfaces/index.ts +0 -14
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import type * as testErc1271WalletSol from
|
|
4
|
+
import type * as testErc1271WalletSol from './TestERC1271Wallet.sol/index.js';
|
|
5
5
|
export type { testErc1271WalletSol };
|
|
6
|
-
export type { TestERC1155 } from
|
|
7
|
-
export type { TestERC20 } from
|
|
8
|
-
export type { TestERC20USDC } from
|
|
9
|
-
export type { TestERC721 } from
|
|
6
|
+
export type { TestERC1155 } from './TestERC1155.js';
|
|
7
|
+
export type { TestERC20 } from './TestERC20.js';
|
|
8
|
+
export type { TestERC20USDC } from './TestERC20USDC.js';
|
|
9
|
+
export type { TestERC721 } from './TestERC721.js';
|
package/src/types.ts
CHANGED
|
@@ -1,206 +1,206 @@
|
|
|
1
|
-
import { BigNumberish, ContractTransaction } from "ethers"
|
|
2
|
-
import { ItemType, OrderType } from "./constants"
|
|
3
|
-
import type { TestERC20, TestERC721 } from "./typechain-types"
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { BigNumberish, ContractTransaction } from "ethers"
|
|
2
|
+
import type { ItemType, OrderType } from "./constants"
|
|
3
|
+
import type { TestERC20, TestERC721 } from "./typechain-types/index"
|
|
4
|
+
import type { Seaport as SeaportContract } from "./typechain-types/seaport/contracts/Seaport"
|
|
5
|
+
import type { TransactionMethods } from "./utils/usecase"
|
|
6
6
|
|
|
7
|
-
export type { SeaportContract }
|
|
7
|
+
export type { SeaportContract }
|
|
8
8
|
|
|
9
9
|
export type SeaportConfig = {
|
|
10
10
|
// Used because fulfillments may be invalid if confirmations take too long. Default buffer is 5 minutes
|
|
11
|
-
ascendingAmountFulfillmentBuffer?: number
|
|
11
|
+
ascendingAmountFulfillmentBuffer?: number
|
|
12
12
|
|
|
13
13
|
// Allow users to optionally skip balance and approval checks on order creation
|
|
14
|
-
balanceAndApprovalChecksOnOrderCreation?: boolean
|
|
14
|
+
balanceAndApprovalChecksOnOrderCreation?: boolean
|
|
15
15
|
|
|
16
16
|
// A mapping of conduit key to conduit
|
|
17
|
-
conduitKeyToConduit?: Record<string, string
|
|
17
|
+
conduitKeyToConduit?: Record<string, string>
|
|
18
18
|
|
|
19
19
|
overrides?: {
|
|
20
20
|
// The Seaport version to use
|
|
21
|
-
seaportVersion?: string
|
|
21
|
+
seaportVersion?: string
|
|
22
22
|
// The Seaport contract address to use
|
|
23
|
-
contractAddress?: string
|
|
23
|
+
contractAddress?: string
|
|
24
24
|
// The domain registry address to use
|
|
25
|
-
domainRegistryAddress?: string
|
|
25
|
+
domainRegistryAddress?: string
|
|
26
26
|
// The default conduit key to use when creating and fulfilling orders
|
|
27
|
-
defaultConduitKey?: string
|
|
28
|
-
}
|
|
29
|
-
}
|
|
27
|
+
defaultConduitKey?: string
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
30
|
|
|
31
31
|
export type OfferItem = {
|
|
32
|
-
itemType: ItemType
|
|
33
|
-
token: string
|
|
34
|
-
identifierOrCriteria: string
|
|
35
|
-
startAmount: string
|
|
36
|
-
endAmount: string
|
|
37
|
-
}
|
|
32
|
+
itemType: ItemType
|
|
33
|
+
token: string
|
|
34
|
+
identifierOrCriteria: string
|
|
35
|
+
startAmount: string
|
|
36
|
+
endAmount: string
|
|
37
|
+
}
|
|
38
38
|
|
|
39
39
|
export type ConsiderationItem = {
|
|
40
|
-
itemType: ItemType
|
|
41
|
-
token: string
|
|
42
|
-
identifierOrCriteria: string
|
|
43
|
-
startAmount: string
|
|
44
|
-
endAmount: string
|
|
45
|
-
recipient: string
|
|
46
|
-
}
|
|
40
|
+
itemType: ItemType
|
|
41
|
+
token: string
|
|
42
|
+
identifierOrCriteria: string
|
|
43
|
+
startAmount: string
|
|
44
|
+
endAmount: string
|
|
45
|
+
recipient: string
|
|
46
|
+
}
|
|
47
47
|
|
|
48
|
-
export type Item = OfferItem | ConsiderationItem
|
|
48
|
+
export type Item = OfferItem | ConsiderationItem
|
|
49
49
|
|
|
50
50
|
export type OrderParameters = {
|
|
51
|
-
offerer: string
|
|
52
|
-
zone: string
|
|
53
|
-
orderType: OrderType
|
|
54
|
-
startTime: BigNumberish
|
|
55
|
-
endTime: BigNumberish
|
|
56
|
-
zoneHash: string
|
|
57
|
-
salt: string
|
|
58
|
-
offer: OfferItem[]
|
|
59
|
-
consideration: ConsiderationItem[]
|
|
60
|
-
totalOriginalConsiderationItems: BigNumberish
|
|
61
|
-
conduitKey: string
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export type OrderComponents = OrderParameters & { counter: BigNumberish }
|
|
51
|
+
offerer: string
|
|
52
|
+
zone: string
|
|
53
|
+
orderType: OrderType
|
|
54
|
+
startTime: BigNumberish
|
|
55
|
+
endTime: BigNumberish
|
|
56
|
+
zoneHash: string
|
|
57
|
+
salt: string
|
|
58
|
+
offer: OfferItem[]
|
|
59
|
+
consideration: ConsiderationItem[]
|
|
60
|
+
totalOriginalConsiderationItems: BigNumberish
|
|
61
|
+
conduitKey: string
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type OrderComponents = OrderParameters & { counter: BigNumberish }
|
|
65
65
|
|
|
66
66
|
export type Order = {
|
|
67
|
-
parameters: OrderParameters
|
|
68
|
-
signature: string
|
|
69
|
-
}
|
|
67
|
+
parameters: OrderParameters
|
|
68
|
+
signature: string
|
|
69
|
+
}
|
|
70
70
|
|
|
71
71
|
export type AdvancedOrder = Order & {
|
|
72
|
-
numerator: bigint
|
|
73
|
-
denominator: bigint
|
|
74
|
-
extraData: string
|
|
75
|
-
}
|
|
72
|
+
numerator: bigint
|
|
73
|
+
denominator: bigint
|
|
74
|
+
extraData: string
|
|
75
|
+
}
|
|
76
76
|
|
|
77
77
|
export type BasicErc721Item = {
|
|
78
|
-
itemType: ItemType.ERC721
|
|
79
|
-
token: string
|
|
80
|
-
identifier: string
|
|
81
|
-
}
|
|
78
|
+
itemType: ItemType.ERC721
|
|
79
|
+
token: string
|
|
80
|
+
identifier: string
|
|
81
|
+
}
|
|
82
82
|
|
|
83
83
|
export type Erc721ItemWithCriteria = {
|
|
84
|
-
itemType: ItemType.ERC721
|
|
85
|
-
token: string
|
|
86
|
-
amount?: string
|
|
87
|
-
endAmount?: string
|
|
84
|
+
itemType: ItemType.ERC721
|
|
85
|
+
token: string
|
|
86
|
+
amount?: string
|
|
87
|
+
endAmount?: string
|
|
88
88
|
// Used for criteria based items i.e. offering to buy 5 NFTs for a collection
|
|
89
|
-
} & ({ identifiers: string[] } | { criteria: string })
|
|
89
|
+
} & ({ identifiers: string[] } | { criteria: string })
|
|
90
90
|
|
|
91
|
-
type Erc721Item = BasicErc721Item | Erc721ItemWithCriteria
|
|
91
|
+
type Erc721Item = BasicErc721Item | Erc721ItemWithCriteria
|
|
92
92
|
|
|
93
93
|
export type BasicErc1155Item = {
|
|
94
|
-
itemType: ItemType.ERC1155
|
|
95
|
-
token: string
|
|
96
|
-
identifier: string
|
|
97
|
-
amount: string
|
|
98
|
-
endAmount?: string
|
|
99
|
-
}
|
|
94
|
+
itemType: ItemType.ERC1155
|
|
95
|
+
token: string
|
|
96
|
+
identifier: string
|
|
97
|
+
amount: string
|
|
98
|
+
endAmount?: string
|
|
99
|
+
}
|
|
100
100
|
|
|
101
101
|
export type Erc1155ItemWithCriteria = {
|
|
102
|
-
itemType: ItemType.ERC1155
|
|
103
|
-
token: string
|
|
104
|
-
amount: string
|
|
105
|
-
endAmount?: string
|
|
106
|
-
} & ({ identifiers: string[] } | { criteria: string })
|
|
102
|
+
itemType: ItemType.ERC1155
|
|
103
|
+
token: string
|
|
104
|
+
amount: string
|
|
105
|
+
endAmount?: string
|
|
106
|
+
} & ({ identifiers: string[] } | { criteria: string })
|
|
107
107
|
|
|
108
|
-
type Erc1155Item = BasicErc1155Item | Erc1155ItemWithCriteria
|
|
108
|
+
type Erc1155Item = BasicErc1155Item | Erc1155ItemWithCriteria
|
|
109
109
|
|
|
110
110
|
export type CurrencyItem = {
|
|
111
|
-
token?: string
|
|
112
|
-
amount: string
|
|
113
|
-
endAmount?: string
|
|
114
|
-
}
|
|
111
|
+
token?: string
|
|
112
|
+
amount: string
|
|
113
|
+
endAmount?: string
|
|
114
|
+
}
|
|
115
115
|
|
|
116
|
-
export type CreateInputItem = Erc721Item | Erc1155Item | CurrencyItem
|
|
116
|
+
export type CreateInputItem = Erc721Item | Erc1155Item | CurrencyItem
|
|
117
117
|
|
|
118
|
-
export type ConsiderationInputItem = CreateInputItem & { recipient?: string }
|
|
118
|
+
export type ConsiderationInputItem = CreateInputItem & { recipient?: string }
|
|
119
119
|
|
|
120
|
-
export type TipInputItem = CreateInputItem & { recipient: string }
|
|
120
|
+
export type TipInputItem = CreateInputItem & { recipient: string }
|
|
121
121
|
|
|
122
122
|
export type Fee = {
|
|
123
|
-
recipient: string
|
|
124
|
-
basisPoints: number
|
|
125
|
-
}
|
|
123
|
+
recipient: string
|
|
124
|
+
basisPoints: number
|
|
125
|
+
}
|
|
126
126
|
|
|
127
127
|
export type CreateOrderInput = {
|
|
128
|
-
conduitKey?: string
|
|
129
|
-
zone?: string
|
|
130
|
-
zoneHash?: string
|
|
131
|
-
startTime?: BigNumberish
|
|
132
|
-
endTime?: BigNumberish
|
|
133
|
-
offer: readonly CreateInputItem[]
|
|
134
|
-
consideration: readonly ConsiderationInputItem[]
|
|
135
|
-
counter?: BigNumberish
|
|
136
|
-
fees?: readonly Fee[]
|
|
137
|
-
allowPartialFills?: boolean
|
|
138
|
-
restrictedByZone?: boolean
|
|
139
|
-
domain?: string
|
|
140
|
-
salt?: BigNumberish
|
|
141
|
-
}
|
|
128
|
+
conduitKey?: string
|
|
129
|
+
zone?: string
|
|
130
|
+
zoneHash?: string
|
|
131
|
+
startTime?: BigNumberish
|
|
132
|
+
endTime?: BigNumberish
|
|
133
|
+
offer: readonly CreateInputItem[]
|
|
134
|
+
consideration: readonly ConsiderationInputItem[]
|
|
135
|
+
counter?: BigNumberish
|
|
136
|
+
fees?: readonly Fee[]
|
|
137
|
+
allowPartialFills?: boolean
|
|
138
|
+
restrictedByZone?: boolean
|
|
139
|
+
domain?: string
|
|
140
|
+
salt?: BigNumberish
|
|
141
|
+
}
|
|
142
142
|
|
|
143
143
|
export type InputCriteria = {
|
|
144
|
-
identifier: string
|
|
145
|
-
proof: string[]
|
|
146
|
-
}
|
|
144
|
+
identifier: string
|
|
145
|
+
proof: string[]
|
|
146
|
+
}
|
|
147
147
|
|
|
148
148
|
export type OrderStatus = {
|
|
149
|
-
isValidated: boolean
|
|
150
|
-
isCancelled: boolean
|
|
151
|
-
totalFilled: bigint
|
|
152
|
-
totalSize: bigint
|
|
153
|
-
}
|
|
149
|
+
isValidated: boolean
|
|
150
|
+
isCancelled: boolean
|
|
151
|
+
totalFilled: bigint
|
|
152
|
+
totalSize: bigint
|
|
153
|
+
}
|
|
154
154
|
|
|
155
155
|
export type OrderWithCounter = {
|
|
156
|
-
parameters: OrderComponents
|
|
157
|
-
signature: string
|
|
158
|
-
}
|
|
156
|
+
parameters: OrderComponents
|
|
157
|
+
signature: string
|
|
158
|
+
}
|
|
159
159
|
|
|
160
160
|
export type ApprovalAction = {
|
|
161
|
-
type: "approval"
|
|
162
|
-
token: string
|
|
163
|
-
identifierOrCriteria: string
|
|
164
|
-
itemType: ItemType
|
|
165
|
-
operator: string
|
|
161
|
+
type: "approval"
|
|
162
|
+
token: string
|
|
163
|
+
identifierOrCriteria: string
|
|
164
|
+
itemType: ItemType
|
|
165
|
+
operator: string
|
|
166
166
|
transactionMethods: TransactionMethods<
|
|
167
167
|
TestERC721["setApprovalForAll"] | TestERC20["approve"]
|
|
168
|
-
|
|
169
|
-
}
|
|
168
|
+
>
|
|
169
|
+
}
|
|
170
170
|
|
|
171
171
|
export type ExchangeAction<T = unknown> = {
|
|
172
|
-
type: "exchange"
|
|
173
|
-
transactionMethods: TransactionMethods<T
|
|
174
|
-
}
|
|
172
|
+
type: "exchange"
|
|
173
|
+
transactionMethods: TransactionMethods<T>
|
|
174
|
+
}
|
|
175
175
|
|
|
176
176
|
export type CreateOrderAction = {
|
|
177
|
-
type: "create"
|
|
178
|
-
getMessageToSign: () => Promise<string
|
|
179
|
-
createOrder: () => Promise<OrderWithCounter
|
|
180
|
-
}
|
|
177
|
+
type: "create"
|
|
178
|
+
getMessageToSign: () => Promise<string>
|
|
179
|
+
createOrder: () => Promise<OrderWithCounter>
|
|
180
|
+
}
|
|
181
181
|
|
|
182
182
|
export type CreateBulkOrdersAction = {
|
|
183
|
-
type: "createBulk"
|
|
184
|
-
getMessageToSign: () => Promise<string
|
|
185
|
-
createBulkOrders: () => Promise<OrderWithCounter[]
|
|
186
|
-
}
|
|
183
|
+
type: "createBulk"
|
|
184
|
+
getMessageToSign: () => Promise<string>
|
|
185
|
+
createBulkOrders: () => Promise<OrderWithCounter[]>
|
|
186
|
+
}
|
|
187
187
|
|
|
188
|
-
export type TransactionAction = ApprovalAction | ExchangeAction
|
|
188
|
+
export type TransactionAction = ApprovalAction | ExchangeAction
|
|
189
189
|
|
|
190
190
|
export type CreateOrderActions = readonly [
|
|
191
191
|
...ApprovalAction[],
|
|
192
192
|
CreateOrderAction,
|
|
193
|
-
]
|
|
193
|
+
]
|
|
194
194
|
|
|
195
195
|
export type CreateBulkOrdersActions = readonly [
|
|
196
196
|
...ApprovalAction[],
|
|
197
197
|
CreateBulkOrdersAction,
|
|
198
|
-
]
|
|
198
|
+
]
|
|
199
199
|
|
|
200
200
|
export type OrderExchangeActions<T> = readonly [
|
|
201
201
|
...ApprovalAction[],
|
|
202
202
|
ExchangeAction<T>,
|
|
203
|
-
]
|
|
203
|
+
]
|
|
204
204
|
|
|
205
205
|
export type OrderUseCase<
|
|
206
206
|
T extends CreateOrderAction | CreateBulkOrdersAction | ExchangeAction,
|
|
@@ -209,32 +209,32 @@ export type OrderUseCase<
|
|
|
209
209
|
? CreateOrderActions
|
|
210
210
|
: T extends CreateBulkOrdersAction
|
|
211
211
|
? CreateBulkOrdersActions
|
|
212
|
-
: OrderExchangeActions<T extends ExchangeAction<infer U> ? U : never
|
|
212
|
+
: OrderExchangeActions<T extends ExchangeAction<infer U> ? U : never>
|
|
213
213
|
executeAllActions: () => Promise<
|
|
214
214
|
T extends CreateOrderAction
|
|
215
215
|
? OrderWithCounter
|
|
216
216
|
: T extends CreateBulkOrdersAction
|
|
217
217
|
? OrderWithCounter[]
|
|
218
218
|
: ContractTransaction
|
|
219
|
-
|
|
220
|
-
}
|
|
219
|
+
>
|
|
220
|
+
}
|
|
221
221
|
|
|
222
222
|
export type FulfillmentComponent = {
|
|
223
|
-
orderIndex: number
|
|
224
|
-
itemIndex: number
|
|
225
|
-
}[]
|
|
223
|
+
orderIndex: number
|
|
224
|
+
itemIndex: number
|
|
225
|
+
}[]
|
|
226
226
|
|
|
227
227
|
export type Fulfillment = {
|
|
228
|
-
offerComponents: FulfillmentComponent[]
|
|
229
|
-
considerationComponents: FulfillmentComponent[]
|
|
230
|
-
}
|
|
228
|
+
offerComponents: FulfillmentComponent[]
|
|
229
|
+
considerationComponents: FulfillmentComponent[]
|
|
230
|
+
}
|
|
231
231
|
|
|
232
232
|
type MatchOrdersFulfillmentComponent = {
|
|
233
|
-
orderIndex: number
|
|
234
|
-
itemIndex: number
|
|
235
|
-
}
|
|
233
|
+
orderIndex: number
|
|
234
|
+
itemIndex: number
|
|
235
|
+
}
|
|
236
236
|
|
|
237
237
|
export type MatchOrdersFulfillment = {
|
|
238
|
-
offerComponents: MatchOrdersFulfillmentComponent[]
|
|
239
|
-
considerationComponents: MatchOrdersFulfillmentComponent[]
|
|
240
|
-
}
|
|
238
|
+
offerComponents: MatchOrdersFulfillmentComponent[]
|
|
239
|
+
considerationComponents: MatchOrdersFulfillmentComponent[]
|
|
240
|
+
}
|
package/src/utils/approval.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ItemType, MAX_INT } from "../constants"
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
1
|
+
import type { ethers, Signer } from "ethers"
|
|
2
|
+
import { ItemType, MAX_INT } from "../constants"
|
|
3
|
+
import {
|
|
4
|
+
TestERC20__factory,
|
|
5
|
+
TestERC721__factory,
|
|
6
|
+
} from "../typechain-types/index"
|
|
7
|
+
import type { ApprovalAction, Item } from "../types"
|
|
8
|
+
import type { InsufficientApprovals } from "./balanceAndApprovalCheck"
|
|
9
|
+
import { isErc721Item, isErc1155Item } from "./item"
|
|
10
|
+
import { getTransactionMethods } from "./usecase"
|
|
8
11
|
|
|
9
12
|
export const approvedItemAmount = async (
|
|
10
13
|
owner: string,
|
|
@@ -14,20 +17,20 @@ export const approvedItemAmount = async (
|
|
|
14
17
|
) => {
|
|
15
18
|
if (isErc721Item(item.itemType) || isErc1155Item(item.itemType)) {
|
|
16
19
|
// isApprovedForAll check is the same for both ERC721 and ERC1155, defaulting to ERC721
|
|
17
|
-
const contract = TestERC721__factory.connect(item.token, provider)
|
|
20
|
+
const contract = TestERC721__factory.connect(item.token, provider)
|
|
18
21
|
|
|
19
|
-
const isApprovedForAll = await contract.isApprovedForAll(owner, operator)
|
|
22
|
+
const isApprovedForAll = await contract.isApprovedForAll(owner, operator)
|
|
20
23
|
// Setting to the max int to consolidate types and simplify
|
|
21
|
-
return isApprovedForAll ? MAX_INT : 0n
|
|
24
|
+
return isApprovedForAll ? MAX_INT : 0n
|
|
22
25
|
} else if (item.itemType === ItemType.ERC20) {
|
|
23
|
-
const contract = TestERC20__factory.connect(item.token, provider)
|
|
26
|
+
const contract = TestERC20__factory.connect(item.token, provider)
|
|
24
27
|
|
|
25
|
-
return contract.allowance(owner, operator)
|
|
28
|
+
return contract.allowance(owner, operator)
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
// We don't need to check approvals for native tokens
|
|
29
|
-
return MAX_INT
|
|
30
|
-
}
|
|
32
|
+
return MAX_INT
|
|
33
|
+
}
|
|
31
34
|
|
|
32
35
|
/**
|
|
33
36
|
* Get approval actions given a list of insufficient approvals.
|
|
@@ -51,10 +54,10 @@ export function getApprovalActions(
|
|
|
51
54
|
identifierOrCriteria,
|
|
52
55
|
requiredApprovedAmount,
|
|
53
56
|
}) => {
|
|
54
|
-
const isErc1155 = isErc1155Item(itemType)
|
|
57
|
+
const isErc1155 = isErc1155Item(itemType)
|
|
55
58
|
if (isErc721Item(itemType) || isErc1155) {
|
|
56
59
|
// setApprovalForAll check is the same for both ERC721 and ERC1155, defaulting to ERC721
|
|
57
|
-
const contract = TestERC721__factory.connect(token, signer)
|
|
60
|
+
const contract = TestERC721__factory.connect(token, signer)
|
|
58
61
|
const transactionMethods =
|
|
59
62
|
exactApproval && !isErc1155
|
|
60
63
|
? getTransactionMethods(signer, contract, "approve", [
|
|
@@ -64,7 +67,7 @@ export function getApprovalActions(
|
|
|
64
67
|
: getTransactionMethods(signer, contract, "setApprovalForAll", [
|
|
65
68
|
operator,
|
|
66
69
|
true,
|
|
67
|
-
])
|
|
70
|
+
])
|
|
68
71
|
|
|
69
72
|
return {
|
|
70
73
|
type: "approval",
|
|
@@ -73,9 +76,9 @@ export function getApprovalActions(
|
|
|
73
76
|
itemType,
|
|
74
77
|
operator,
|
|
75
78
|
transactionMethods,
|
|
76
|
-
}
|
|
79
|
+
}
|
|
77
80
|
} else {
|
|
78
|
-
const contract = TestERC20__factory.connect(token, signer)
|
|
81
|
+
const contract = TestERC20__factory.connect(token, signer)
|
|
79
82
|
|
|
80
83
|
return {
|
|
81
84
|
type: "approval",
|
|
@@ -89,8 +92,8 @@ export function getApprovalActions(
|
|
|
89
92
|
[operator, exactApproval ? requiredApprovedAmount : MAX_INT],
|
|
90
93
|
),
|
|
91
94
|
operator,
|
|
92
|
-
}
|
|
95
|
+
}
|
|
93
96
|
}
|
|
94
97
|
},
|
|
95
|
-
)
|
|
98
|
+
)
|
|
96
99
|
}
|
package/src/utils/balance.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ethers } from "ethers"
|
|
2
|
-
import { ItemType } from "../constants"
|
|
1
|
+
import type { ethers } from "ethers"
|
|
2
|
+
import { ItemType } from "../constants"
|
|
3
3
|
import {
|
|
4
|
+
TestERC20__factory,
|
|
4
5
|
TestERC721__factory,
|
|
5
6
|
TestERC1155__factory,
|
|
6
|
-
|
|
7
|
-
} from "../
|
|
8
|
-
import
|
|
9
|
-
import { isErc1155Item, isErc20Item, isErc721Item } from "./item";
|
|
7
|
+
} from "../typechain-types/index"
|
|
8
|
+
import type { InputCriteria, Item } from "../types"
|
|
9
|
+
import { isErc20Item, isErc721Item, isErc1155Item } from "./item"
|
|
10
10
|
|
|
11
11
|
export const balanceOf = async (
|
|
12
12
|
owner: string,
|
|
@@ -15,43 +15,43 @@ export const balanceOf = async (
|
|
|
15
15
|
criteria?: InputCriteria,
|
|
16
16
|
): Promise<bigint> => {
|
|
17
17
|
if (isErc721Item(item.itemType)) {
|
|
18
|
-
const contract = TestERC721__factory.connect(item.token, provider)
|
|
18
|
+
const contract = TestERC721__factory.connect(item.token, provider)
|
|
19
19
|
|
|
20
20
|
if (item.itemType === ItemType.ERC721_WITH_CRITERIA) {
|
|
21
21
|
return criteria
|
|
22
22
|
? contract
|
|
23
23
|
.ownerOf(criteria.identifier)
|
|
24
|
-
.then(
|
|
24
|
+
.then(ownerOf =>
|
|
25
25
|
BigInt(ownerOf.toLowerCase() === owner.toLowerCase()),
|
|
26
26
|
)
|
|
27
|
-
: contract.balanceOf(owner)
|
|
27
|
+
: contract.balanceOf(owner)
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
return contract
|
|
31
31
|
.ownerOf(item.identifierOrCriteria)
|
|
32
|
-
.then(
|
|
32
|
+
.then(ownerOf => BigInt(ownerOf.toLowerCase() === owner.toLowerCase()))
|
|
33
33
|
} else if (isErc1155Item(item.itemType)) {
|
|
34
|
-
const contract = TestERC1155__factory.connect(item.token, provider)
|
|
34
|
+
const contract = TestERC1155__factory.connect(item.token, provider)
|
|
35
35
|
|
|
36
36
|
if (item.itemType === ItemType.ERC1155_WITH_CRITERIA) {
|
|
37
37
|
if (!criteria) {
|
|
38
38
|
// We don't have a good way to determine the balance of an erc1155 criteria item unless explicit
|
|
39
39
|
// identifiers are provided, so just assume the offerer has sufficient balance
|
|
40
|
-
const startAmount = BigInt(item.startAmount)
|
|
41
|
-
const endAmount = BigInt(item.endAmount)
|
|
40
|
+
const startAmount = BigInt(item.startAmount)
|
|
41
|
+
const endAmount = BigInt(item.endAmount)
|
|
42
42
|
|
|
43
|
-
return startAmount > endAmount ? startAmount : endAmount
|
|
43
|
+
return startAmount > endAmount ? startAmount : endAmount
|
|
44
44
|
}
|
|
45
|
-
return contract.balanceOf(owner, criteria.identifier)
|
|
45
|
+
return contract.balanceOf(owner, criteria.identifier)
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
return contract.balanceOf(owner, item.identifierOrCriteria)
|
|
48
|
+
return contract.balanceOf(owner, item.identifierOrCriteria)
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
if (isErc20Item(item.itemType)) {
|
|
52
|
-
const contract = TestERC20__factory.connect(item.token, provider)
|
|
53
|
-
return contract.balanceOf(owner)
|
|
52
|
+
const contract = TestERC20__factory.connect(item.token, provider)
|
|
53
|
+
return contract.balanceOf(owner)
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
return provider.getBalance(owner)
|
|
57
|
-
}
|
|
56
|
+
return provider.getBalance(owner)
|
|
57
|
+
}
|