v4.0.0
What's Changed
- Update and generalize wrapped token constants by @dmosites in #839
- Deploy latest to NPM by @dmosites in #840
- Publish libraries to NPM by @dmosites in #845
- Delete package merkle #834 by @Mitsichury in #844
- Removed yearn url from MAINNET #833 by @Mitsichury in #843
- Publish metadata to NPM by @dmosites in #846
- 522: findTokenByAddress fix by @piersss in #849
- Bump cross-fetch from 2.2.5 to 2.2.6 by @dependabot in #850
- Publish by @dmosites in #851
- Index senderWallet on WrappedSwapFor event by @dmosites in #853
- Removing subgraph in favor of dedicated repo by @dmosites in #854
- Adds util functions for order param compression by @dmosites in #858
- Adds order hashing to utils by @dmosites in #856
- Merge latest by @gpxl-dev in #859
- Wrapper deploy to all networks (ex. Rinkeby) by @dmosites in #860
- Publish Wrapper by @dmosites in #861
- Only _checkValidClaim for msg.sender by @dmosites in #864
- Bump parse-url from 6.0.0 to 6.0.2 by @dependabot in #862
- Simplify pool interface by @dmosites in #865
- Pool deploy and version bump by @dmosites in #866
- Publish latest pool package updates by @dmosites in #867
- Bump @openzeppelin/contracts from 4.4.2 to 4.7.1 by @dependabot in #868
- Root dep upgrades; use Nx for task running by @dmosites in #872
- Remove Rinkeby in favor of Goerli by @dmosites in #873
- Add FullOrder type with additional params; additional compression utils by @dmosites in #871
- Cache compile; update sinon; update lockfile by @dmosites in #874
- Merge to main and publish latest packages by @dmosites in #875
- Update publish action by @dmosites in #876
- Update publish action (#876) by @dmosites in #877
- Indexer registry and goerli deploy by @dmosites in #878
- Merge to main and publish latest by @dmosites in #879
- Main by @dmosites in #881
- Swap Improvements by @dmosites in #870
- Merge to main and publish latest by @dmosites in #882
- Indexer registry library and typechain by @gpxl-dev in #884
- Bump undici from 5.8.0 to 5.9.1 by @dependabot in #887
- Bump @openzeppelin/contracts from 4.7.1 to 4.7.3 by @dependabot in #886
- feat(FullOrder): Add validator by @Mitsichury in #889
- Check address and bytes values in order validity utils by @dmosites in #896
- Publish latest to NPM by @dmosites in #897
- swap audit 3.4 by @Perelyn-sama in #900
- Swap audit 3.1 by @Perelyn-sama in #898
- Swap audit 3.5: Additional order signer validity check by @dmosites in #901
- Deploy swap to goerli and update scripts by @dmosites in #903
- Publish latest to NPM by @dmosites in #904
- Update hardhat; restore converter deps by @dmosites in #905
- Bump metadata package version for NPM publishing by @dmosites in #906
- Update pool deploys and goerli metadata by @dmosites in #907
- Update typechain by @dmosites in #909
- Publish latest to NPM by @dmosites in #910
- Add swapAnySender and swapLight to Swap library by @dmosites in #911
- Avoid sender checks if wallet is null by @dmosites in #914
- Update typechain build and package export by @dmosites in #917
- Publish latest Swap package (goerli deploy) by @dmosites in #915
- Remove converter by @dmosites in #918
- Update hardhat config; update devDeps by @dmosites in #919
- feat(node_indexer): export http client by @Mitsichury in #908
- Added AddAdmin and RemoveAdmin events => issue 902 by @smartcontrart in #920
- Publish latest to NPM by @dmosites in #921
- Update registry names; update libraries names by @dmosites in #922
- Publish latest changes to NPM by @dmosites in #923
- Created swap-any directory and imported swap v2 files by @smartcontrart in #931
- Switched contract to solidity v0.8.17, created the OrderAny struct by @smartcontrart in #932
- SwapAny: complete configs and missing files; now compiles by @dmosites in #935
- SwapAny: updated structs and hashing; initial unit test by @dmosites in #936
- chore(indexer): Downgrade typing error to ES5 by @Mitsichury in #934
- Rename swap to swap-erc20 by @dmosites in #939
- Swap any to swap by @smartcontrart in #940
- Update swap nonce handling by @smartcontrart in #941
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #944
- Deploy Latest by @dmosites in #942
- Deploys for goerli, bsctestnet, fuji, mumbai, arbitrumgoerli by @dmosites in #945
- Publish Latest to NPM by @dmosites in #946
- Publish Latest to NPM by @dmosites in #948
- Update libraries export by @dmosites in #949
- Remove kitty handlers to reduce scope by @dmosites in #952
- Adds
check
function to new Swap with initial unit tests by @dmosites in #954 - Simplify Swap.check and update unit tests by @dmosites in #956
- Protocol fee update by @smartcontrart in #955
- Underscores for internals; quick fixes by @dmosites in #957
- Adds RSK networks; constants; testnet deploy by @dmosites in #960
- Custom errors for Swap contract by @dmosites in #961
- Add chainId argument to scrapeToken by @dmosites in #964
- Publish latest to NPM by @dmosites in #963
- Scrape default provider by @dmosites in #969
- Publish latest to NPM by @dmosites in #970
- Converted last requirements to custom errors by @smartcontrart in #968
- Bump to republish by @dmosites in #972
- NPM Publish by @dmosites in #973
- Added SwapERC20 style authorization by @smartcontrart in #966
- Add erc777handler by @smartcontrart in #971
- Unit test suite creation by @dmosites in #974
- Update handler interface by @dmosites in #975
- Update Swap.check strings to match custom error style by @dmosites in #976
- Latest Swap revisions for review by @dmosites in #977
- First wave of audit remediation recommendations by @smartcontrart in #979
- Bump cookiejar from 2.1.3 to 2.1.4 by @dependabot in #999
- Wrapper support for Swap and SwapERC20 by @dmosites in #1001
- Add functions to fetch individual token kinds by @dmosites in #1000
- Simplified _hashOrder function - fixes #992 by @smartcontrart in #1004
- Changed nonce check from signatory to signer by @smartcontrart in #1002
- TransferHandler to Adapter; Adapter[] provided in constructor by @dmosites in #1005
- Include staking token addresses in metadata by @dmosites in #978
- Reconcile swap and swap-erc20 by @dmosites in #1006
- Deploy and verify scripts for Swap; add Hardhat to constants by @dmosites in #1007
- Publish constants, metadata, typescript, utils to NPM by @dmosites in #1008
- Further consistency for swap, swap-erc20 by @dmosites in #1009
- Deploy basics to RSK by @dmosites in #1017
- Fix audit 4.11 by @smartcontrart in #1016
- Publish Latest to NPM by @dmosites in #1018
- Use delegatecall for Swap._transferToken by @dmosites in #1020
- Fix audit 4.12 by @smartcontrart in #1019
- Remove tools; migrating to airswap-tools by @dmosites in #1021
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1022
- syntax updates; improvement for Swap.swap by @dmosites in #1023
- Use Ownable2Step for Swap, SwapERC20, Wrapper by @dmosites in #1025
- update to @openzeppelin/contracts; remove redundant domain hash by @dmosites in #1026
- Remove extraneous deps by @dmosites in #1028
- Add custom errors swaperc20 by @smartcontrart in #1027
- Update swap chain change check by @smartcontrart in #1032
- Initial test rework for Swap by @dmosites in #1036
- Terminology; version; config by @dmosites in #1040
- Use EIP712 for SwapERC20; related adjustments to Swap; closes #1011 by @dmosites in #1041
- Assess protocol and affiliate fee on senders; closes #1037 #1038 by @dmosites in #1042
- Initial integration test for Swap by @dmosites in #1043
- Update swap events by @smartcontrart in #1049
- Eip2981 implementation by @smartcontrart in #1047
- Sender is not nft by @smartcontrart in #1048
- logic review; error names; sender kind _check; coverage by @dmosites in #1052
- Integration tests for Swap; make wrapper erc20 only by @dmosites in #1053
- Defer ERC777 support by @dmosites in #1055
- Finalizations by @dmosites in #1056
- ensure that authorized signatory is used if one is set by @dmosites in #1057
- Finalizations by @dmosites in #1058
- update swap, swap-erc20, wrapper to 4.0.0-beta.0 by @dmosites in #1059
- restore constants, types; add beta publishing workflow by @dmosites in #1061
- Bump undici from 5.9.1 to 5.19.1 by @dependabot in #1060
- restore structure; update packages by @dmosites in #1062
- package, dep updates; goerli deploy by @dmosites in #1063
- Publish latest beta packages to NPM by @dmosites in #1064
- add FullOrder type with chainId, swapContract by @dmosites in #1065
- use jayson for Indexer as with Maker by @dmosites in #1066
- Bump @openzeppelin/contracts from 4.8.1 to 4.8.2 by @dependabot in #1067
- deploy swap, swap-erc20, wrapper to mainnets; drop beta tag by @dmosites in #1068
- Publish V4 Packages by @dmosites in #1069
- arbitrum deploy; testnet deploys by @dmosites in #1070
- publish arbitrum deploy; testnet deploys by @dmosites in #1071
- Update utils by @dmosites in #1072
- types and utils cleanup by @dmosites in #1073
- Update libraries by @dmosites in #1074
- add rsk deploys; bump package versions by @dmosites in #1075
- rename ETHEREUM to MAINNET for consistency by @dmosites in #1076
- Staking updates by @smartcontrart in #1077
- add content for branching, versioning, releasing by @dmosites in #1080
- Staking updates by @smartcontrart in #1079
- Protocol Support for Registry; Combine Maker and Indexer by @smartcontrart in #1081
- update maker library methods to latest by @dmosites in #1086
- use getApproved for ERC721 approval check by @dmosites in #1088
- add public order support for Swap.check by @dmosites in #1089
- add ts modules for deploys.js in contract packages by @dmosites in #1087
- beta.2 versions; staking coverage; registry terminology by @dmosites in #1091
- note on deploys.js; clear deploys.js for new versions by @dmosites in #1092
- 4.0.0-beta.2 by @dmosites in #1090
- CollectionTokenInfo for @airswap/metadata by @dmosites in #1083
- linea constants, deploys by @dmosites in #1093
- TypeScript Upgrade and Fixes by @dmosites in #1094
- feat(marketPlace): add route in library to add and get orders by @Mitsichury in #1095
- Upgrade deps; extract Server types by @dmosites in #1096
- libraries api and types by @dmosites in #1097
- publish beta packages by @dmosites in #1098
- update library deps by @dmosites in #1099
- update library deps (#1099) by @dmosites in #1100
- update constants, add protocols, add goerli deploys by @dmosites in #1101
- publish latest beta to npm by @dmosites in #1102
- check allowances with msg.sender instead of this by @dmosites in #1103
- remove protocol versioning in favor of different protocol identifiers by @dmosites in #1104
- add rpc and explorer urls to constants by @dmosites in #1105
- publish latest beta packages by @dmosites in #1106
- staking natspec; staking for with delegate by @dmosites in #1107
- feat(Server): add get orders by filters and method by @Mitsichury in #1108
- Publish latest beta packages by @dmosites in #1117
- use msg.sender instead of order.sender.wallet; update tests by @dmosites in #1118
- use msg.sender instead of order.sender.wallet; update tests (#1118) by @dmosites in #1119
- Implemented audit recommendations by @smartcontrart in #1120
- Implemented audit recommendations (#1120) by @dmosites in #1121
- Add existing balances package to monorepo by @dmosites in #1122
- Publish latest beta packages by @dmosites in #1123
- initial protocol interfaces and IDs by @dmosites in #1124
- update staking contract naming for clarity by @dmosites in #1127
- remaining server protocols; proxyingFor support by @dmosites in #1125
- Mainnet deploys for Staking, Registry, Swap by @dmosites in #1129
- Publishing latest V4 contracts by @dmosites in #1130
New Contributors
- @Mitsichury made their first contribution in #844
- @smartcontrart made their first contribution in #920
Full Changelog: v3.0.0...v4.0.0