Releases: airswap/airswap-protocols
Releases · airswap/airswap-protocols
v5.0.0
What's Changed
- Publish beta packages to NPM by @dmosites in #1266
- update staking token addresses, deploy staking to testnets (#1267) by @dmosites in #1268
- Batch registry call by @smartcontrart in #1295
- Delegates by @smartcontrart in #1309
- Delegates to beta by @smartcontrart in #1310
- libraries: export RegistryV3 for legacy support by @dmosites in #1315
- Neon deployment preparation by @smartcontrart in #1313
- Delegates by @smartcontrart in #1320
- Use of hashTypeData for code clarity and check chain ID by @smartcontrart in #1318
- Delegate and SwapERC20 Finalizations by @dmosites in #1322
- Scripts enhancements by @smartcontrart in #1321
- Increased Delegate test coverage to 100% by @smartcontrart in #1325
- Delegate tests coverage by @smartcontrart in #1326
- Fix/audit fixes by @smartcontrart in #1327
- consolidate deploy confirms; delegates report; consistent swapERC20Contract by @dmosites in #1334
- natspec pass; swap-erc20 usage consistent with wrapper; interface fix by @dmosites in #1335
- delegate primary multi-chain deploy by @dmosites in #1336
- add delegate to libraries; package versions to v5 by @dmosites in #1337
- Package script updates by @dmosites in #1338
- Publish latest / V5 by @dmosites in #1339
Full Changelog: v4.3...v5.0.0
v4.3
What's Changed
- add wrappers report to scripts by @dmosites in #1285
- Add stores package by @dmosites in #1286
- Publish latest to NPM by @dmosites in #1287
- @airswap/stores: index and store by chainId; flexible filters by @dmosites in #1288
- fix filtering for getServerURLs; add test file for Registry by @dmosites in #1289
- Bump undici from 5.28.2 to 5.28.3 by @dependabot in #1290
- Bump ip from 2.0.0 to 2.0.1 by @dependabot in #1291
- @airswap/utils: add animation_url to collection token by @dmosites in #1292
- @airswap/swap-erc20: swap in solady for openzeppelin by @dmosites in #1293
- Bump es5-ext from 0.10.62 to 0.10.63 by @dependabot in #1294
- @airswap/swap-erc20: use ERC20 for all balanceOf calls by @dmosites in #1296
- Bump @openzeppelin/contracts from 4.9.3 to 4.9.6 by @dependabot in #1297
- swap-erc20 mainnets deploy, others to follow; dep upgrades by @dmosites in #1298
- Publish latest to NPM by @dmosites in #1299
- Additional swap-erc20 deploys; remove solidity deps from NPM packages by @dmosites in #1300
- remove openzeppelin from utils deps by @dmosites in #1301
Full Changelog: v4.2...v4.3
v4.2
What's Changed
- add tokenlists for telos evm mainnet, testnet by @dmosites in #1229
- libraries: deprecate V3 registry in favor of V4 by @dmosites in #1231
- Bump axios from 0.21.4 to 1.6.0 by @dependabot in #1230
- Consolidate Protocols; Update TS by @dmosites in #1232
- add balances deploys for telos, telostestnet by @dmosites in #1234
- drop axios in favor of fetch; module config by @dmosites in #1235
- Improve transfer parser util by @dmosites in #1237
- Storage to Indexing by @dmosites in #1238
- collection token id to string; custom ipfs for metadata calls by @dmosites in #1239
- Upgrade node; getPriceForAmount updates by @dmosites in #1243
- swap-erc20: add INoReturnERC20 for swapLight to handle USDT; upgrade solc, hardhat by @dmosites in #1241
- Added a check in available function to return user's staked balance i… by @smartcontrart in #1242
- erc1155 amount check; solc upgrade by @dmosites in #1244
- typedefs for deploys files by @dmosites in #1246
- Bump follow-redirects from 1.15.2 to 1.15.4 by @dependabot in #1247
- Added functions to former Balances contract to allow for checking Orders and OrderERC20 validity by @smartcontrart in #1240
- Swap param checks by @dmosites in #1248
- Rename staker discount to bonus by @dmosites in #1249
- Testnet deploy by @dmosites in #1250
- Swap check fix by @smartcontrart in #1254
- add holesky to constants; default publicnode.com for rpc by @dmosites in #1256
- Added getNonceUsedERC20 and getNonceUsed functions by @smartcontrart in #1255
- Registry update by @smartcontrart in #1257
- updated deploy for batch-call and swap; holesky deploy by @dmosites in #1258
- indexing updates to types and server library by @dmosites in #1259
- replace {id} in erc1155 metadata uris by @dmosites in #1261
- enable eip-1271 for swap, swapAnySender by @dmosites in #1263
- final updates; natspec; clear deploys by @dmosites in #1262
- check sender allowance and balance only if sender is set by @dmosites in #1264
- goerli deploy for swap, swap-erc20, registry, staking, batch-call by @dmosites in #1265
- update staking token addresses, deploy staking to testnets by @dmosites in #1267
- Swap eip 1271 support by @smartcontrart in #1269
- swap/-erc20 check updates by @dmosites in #1270
- 4.2 Audit Remediations by @dmosites in #1271
- Staking refactor and readability by @dmosites in #1272
- expand registry unsetServer integration test by @dmosites in #1273
- Initial 4.2 packages by @dmosites in #1274
- Publish Initial 4.2 Packages by @dmosites in #1275
- Consolidate into utils; update Indexing/ERC20 protocols by @dmosites in #1276
- update addOrder; OrderFilter; publish libraries by @dmosites in #1277
- merge metadata into utils; remove merkle; update readme, copyrights by @dmosites in #1278
- Created a toggle to allow and unlock stakes by @smartcontrart in #1279
- @airswap/utils fix: lowercase addresses for getFullSwapERC20 by @dmosites in #1280
- add testnet token metadata for bsctestnet, mumbai by @dmosites in #1281
- add Server.getTags to libraries by @dmosites in #1282
- multi-chain deploy; update helper scripts by @dmosites in #1283
Full Changelog: v4.1.1...v4.2
v4.1.1
What's Changed
- Scripts to manage ownable contracts by @dmosites in #1214
- Pool: index Withdraw events; add value to UseClaim by @dmosites in #1215
- Script to help migrate pools by @dmosites in #1216
- multi chain pool deploy by @dmosites in #1217
- Publish latest to NPM by @dmosites in #1218
- balance helper for pool migrations; metadata dedupe by @dmosites in #1219
- Publish metadata package to NPM by @dmosites in #1220
- Telos and Sepolia by @dmosites in #1222
- Bump undici from 5.21.2 to 5.26.3 by @dependabot in #1221
- adds receivers report; ownership to owners by @dmosites in #1223
- named param for getPricingERC20; add minExpiry; response validation by @dmosites in #1225
- pricing validation util; adjustments to libraries by @dmosites in #1226
- Add pricing verification to server library by @dmosites in #1228
- Publish Latest to NPM by @dmosites in #1227
Full Changelog: v4.1.0...v4.1.1
v4.1.0
What's Changed
- remove trailing slash from urls by @dmosites in #1132
- Registry v3 libraries by @dmosites in #1135
- linea wrapper deploy by @dmosites in #1137
- include typedefs for deploys.js in packages by @dmosites in #1138
- linea metadata defaults; cleanup; publish package to npm by @dmosites in #1139
- Split request filters by @Mitsichury in #1136
- Feat/rework filters by @dmosites in #1141
- update protocol discovery and storage signatures by @dmosites in #1131
- ownership checks; script cleanup by @dmosites in #1142
- prettierignore fix; prefer-const by @dmosites in #1145
- Add gas consumption test by @smartcontrart in #1144
- Update of the pool contract with merkle root system, solidity version and related code refresh by @smartcontrart in #1143
- chore(server): Update response types following OrderFilter by @Mitsichury in #1146
- registry refactor, terminology; add protocol cost by @dmosites in #1148
- Linea to Linea-Goerli; update URLs by @dmosites in #1153
- Explorer API URLs for custom networks by @dmosites in #1155
- chore(server): Update response types following OrderFilter (#1146) by @Mitsichury in #1152
- temp replacement for linea staking token by @dmosites in #1156
- chore(libraries): bump types to 4.0.5 by @Mitsichury in #1157
- add linea mainnet to constants by @dmosites in #1158
- Updated workflows to use node 16.x by @adityakode in #1154
- Linea mainnet deploy by @dmosites in #1159
- Add block numbers to libraries by @dmosites in #1160
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #1162
- move deployed blocks to respective packages by @dmosites in #1163
- Audit prep by @smartcontrart in #1161
- include deploy blocks in packages; add getters by @dmosites in #1165
- add staking to libraries; staking blocks typedef by @dmosites in #1166
- Beta Release by @dmosites in #1167
- bump pool, registry for beta publishing by @dmosites in #1169
- fix swap-erc20 integration tests by @dmosites in #1172
- add optional gas reporter to tests by @dmosites in #1171
- add tokenlists for linea, lineagoerli; bump version for publishing by @dmosites in #1175
- separate test and test:ci commands by @dmosites in #1176
- Registry integration tests by @smartcontrart in #1174
- Bump @openzeppelin/contracts from 4.8.3 to 4.9.3 by @dependabot in #1177
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #1178
- Implemented proposalId metric for root claims and a view function to … by @smartcontrart in #1173
- remove staking functionality from pool by @dmosites in #1179
- remove withdrawFor from pool by @dmosites in #1180
- consolidate pool withdraw; remove return in favor of event by @dmosites in #1181
- NatSpec and API cleanup for Registry, Pool by @dmosites in #1182
- pool and registry deploys; write blocks; add pool to libraries by @dmosites in #1183
- Beta release for Pool, Registry by @dmosites in #1184
- Changed calculate function to improve readability and removed unused … by @smartcontrart in #1185
- update protocol interfaces and ids by @dmosites in #1186
- Feat(storage): Add NONCE sort constant by @Mitsichury in #1188
- Feat(storage): Add NONCE sort constant by @Mitsichury in #1190
- fix(jayson): Fix url for maker when configuring jayson by @Mitsichury in #1193
- add enableAndSetClaims function to Pool by @dmosites in #1187
- SwapERC20.swapLight efficiency improvements by @dmosites in #1192
- Publish to Beta by @dmosites in #1194
- feat(indexer): add excludedNonces + chainId filter by @Mitsichury in #1196
- lerna upgrade by @dmosites in #1197
- Gas optimization audit fixes by @smartcontrart in #1195
- naming, ordering, natspec by @dmosites in #1198
- Bump get-func-name from 2.0.0 to 2.0.2 by @dependabot in #1199
- deploy pool, registry, swap-erc20 to goerli; beta package versions (v4.1.0) by @dmosites in #1200
- swap-erc20 domain 4.1; deploy goerli by @dmosites in #1201
- 4.1 mainnet for pool, registry, swap-erc20, wrapper by @dmosites in #1202
- Publish Latest to NPM by @dmosites in #1203
- Drop beta tag from wrapper version by @dmosites in #1204
- release utils 4.1.0 for new domain constants by @dmosites in #1205
- add SwapERC20 to types; add getFullSwapERC20 to utils by @dmosites in #1206
- move getFullSwapERC20 to swap-erc20 to fix circular dep by @dmosites in #1207
- move SwapERC20 helper to utils to avoid typechain confusion by @dmosites in #1208
- optional staking token for swap-erc20 by @dmosites in #1209
- V4.1 multi chain deploy by @dmosites in #1210
- Publish 4.1 to NPM by @dmosites in #1211
- assess protocol fee when no staking contract is set by @dmosites in #1212
- Deploy Latest to NPM by @dmosites in #1213
New Contributors
- @adityakode made their first contribution in #1154
Full Changelog: v4.0.0...v4.1.0
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 htt...
v3.0.0
AIPs Delivered
- AIP 18: Conversion of rewards to sAST for Compounded Staking airswap/airswap-aips#18
- AIP 26: Consolidate Fee Token Pools airswap/airswap-aips#26
- AIP 37: Fee discounts for sAST holders using web app airswap/airswap-aips#37
- AIP 41: Delegated voting implementation (security) airswap/airswap-aips#41
- AIP 46: Protocol Fee Allocations airswap/airswap-aips#46
- AIP 57: Deploy AirSwap on Avalanche airswap/airswap-aips#57
What's Changed
- Upgrade truffle by @AboldUSER in #658
- @airswap/metadata: error handling by @dmosites in #662
- Aip 26 - Add converter package by @AboldUSER in #660
- Updating packages, upgrading dependencies by @dmosites in #667
- New wrapper by @dmosites in #669
- Light Validator by @hmalik88 in #670
- LightValidator -> Validator by @dmosites in #671
- Update scripts; deploy converter, validator, wrapper by @dmosites in #673
- Update license badges to MIT by @dmosites in #675
- Use forked Uniswap router for Converter integration tests by @dmosites in #674
- Upgrade eslint, prettier; run them; remove some outdated code by @dmosites in #676
- Add calculateCostFromLevels to @airswap/utils by @dmosites in #678
- Add websocket support to parseUrl by @gpxl-dev in #679
- Last look client by @gpxl-dev in #672
- Correct last look websocket node implementation by @gpxl-dev in #680
- Fix dependency checker, update dependencies, run linter by @dmosites in #682
- Husky and lint by @dmosites in #683
- Feature/wrapper by @codyenokida in #681
- Staking contract streamline balanceOf and delegate functionality by @AboldUSER in #684
- Pool withdraw by @AboldUSER in #686
- Staking and pool deploys to Rinkeby by @dmosites in #688
- version bump by @codyenokida in #691
- Initial light rebates and integration test by @dmosites in #692
- Initial wrapper updates and integration test by @dmosites in #689
- Rinkeby deploy for light and wrapper by @dmosites in #693
- Add WETH unwrap to Wrapper by @dmosites in #694
- libraries 0.0.6, types 3.7.0 by @gpxl-dev in #695
- Update types and versions for utils, metadata by @dmosites in #696
- Adding calculateCost to @airswap/utils by @dmosites in #697
- Upgrade eslint to version 8 by @dmosites in #704
- Add validate to Light contract by @hmalik88 in #705
- Add optional
InitializeTimeout
to Server by @gpxl-dev in #707 - Catch and throw for invalid params; allow optional options by @dmosites in #708
- Last look library server initialization and error handling improvements by @gpxl-dev in #711
- Add minamountout require statement, fix empty triggerfee transaction by @AboldUSER in #714
- Fix stakeFor call, add multiAdmin, update tests by @AboldUSER in #712
- Staking contract - delegate proposal and set mappings, add timelock to change duration by @AboldUSER in #713
- New swap functions and improvements by @dmosites in #709
- Move IStaking and create IPool interfaces by @dmosites in #717
- Bump keypair from 1.0.3 to 1.0.4 by @dependabot in #719
- Adding WrappedSwapFor event to Wrapper by @dmosites in #720
- Bump @openzeppelin/contracts from 4.3.2 to 4.3.3 by @dependabot in #726
- Bump pip from 20.0.2 to 21.1 by @dependabot in #725
- Renames light to swap and cleanup by @dmosites in #718
- Add minimum to pricing type by @gpxl-dev in #721
- Updates and rinkeby deploy for swap by @dmosites in #731
- Upgrade devdeps by @dmosites in #732
- Fix wrapper swapContract setter, add sellNFT and buyNFT to wrapper by @AboldUSER in #734
- Fixes by @dmosites in #735
- eslint resolution, linter pass, yarn lockfile update by @dmosites in #741
- Bump @openzeppelin/contracts from 4.3.3 to 4.4.1 by @dependabot in #740
- Add opensea fetch to scrapeToken by @dmosites in #742
- Update testnet URL for opensea by @dmosites in #744
- Metadata urls by @dmosites in #745
- Metadata urls by @dmosites in #746
- Improve test coverage for Pool and Staking contracts by @francisldn in #754
- Add withdrawWithSignature function by @francisldn in #750
- Test coverage for wrapper and registry by @geewynn in #758
- Add value & volume and correct fees for subgraph by @gpxl-dev in #739
- Bump shelljs from 0.8.4 to 0.8.5 by @dependabot in #767
- Bump follow-redirects from 1.14.4 to 1.14.7 by @dependabot in #766
- Bump @openzeppelin/contracts from 4.4.1 to 4.4.2 by @dependabot in #765
- Converter swap coverage by @AboldUSER in #755
- Change pool withdraw functions to signatures, update tests and tools by @AboldUSER in #768
- Wrapper subgraph by @geewynn in #759
- Remove broken metadata URL and run linter by @dmosites in #770
- Added getEtherscanWalletURL helper by @piersss in #769
- Index nonce and account for Withdraw event. Resolves #773 by @dmosites in #774
- update subgraph with latest wrapper contract by @geewynn in #791
- Remove requirement and payable keyword for sellNFT by @francisldn in #788
- Removal of unused state variables by @francisldn in #787
- Reset allowance on old stakingToken and stakingContract to zero #776 by @francisldn in #786
- accommodation of non-erc20-compliant token by @geewynn in #790
- Update yarn lockfile by @dmosites in #794
- Add score to Withdraw event by @francisldn in #796
- Remove approve statement in withdrawAndStakeFor function by @francisldn in #795
- Fix swap staking balanceOf check to staking contract by @AboldUSER in #797
- Update approval to safeApproval and safeIncreaseAllowance by @AboldUSER in #798
- Add expiry to pool claim by @AboldUSER in #801
- Filter out empty addresses in fetchTokens by @dmosites in #805
- Bump url-parse from 1.5.3 to 1.5.7 by @dependabot in #806
- Bump follow-redirects from 1.14.7 to 1.14.8 by @dependabot in #804
- Bump simple-get from 2.8.1 to 2.8.2 by @dependabot in #803
- Update Rinkeby deplo...