Pre-release v2.0.0-rc.1
Pre-release
Pre-release
levalleux-ludo
released this
01 Sep 15:38
·
736 commits
to main
since this release
This is our first push to Mumbai for testing purposes. This is an unstable version of the protocol.
What's Changed
- Diamond Scaffolding + tests. by @mischat in #1
- Protocol v2 initial Facet Design by @mischat in #2
- Refactor configuration by @cliffhall in #4
- Domain changes + unit tests by @bidyut-arianelabs in #6
- Add CI to gha by @bidyut-arianelabs in #8
- Entity relationship diagram by @cliffhall in #9
- Add AccountHandler and getNextAccountId by @hswopeams in #10
- Calculate interface id by @zajck in #11
- Offer handler facet - single offers by @zajck in #12
- Counters, initializers by @cliffhall in #13
- Normalize entity getters by @cliffhall in #15
- Update entity relationship diagram by @cliffhall in #16
- Bug fix - Deployment by @bidyut-arianelabs in #18
- Accounthandler get seller by @hswopeams in #21
- Accounthandler create seller by @hswopeams in #19
- Create twin by @bidyut-arianelabs in #14
- ConfigHandler - Max offers per group by @zajck in #23
- Added linter and formatter for contracts and tests by @cliffhall in #22
- Offer handler - createGroup, getGroup by @zajck in #17
- Accounthandler create buyer and getBuyer and getBuyerByWallet by @hswopeams in #25
- Ropsten deploy on pre-release by @bidyut-arianelabs in #7
- New groupHandler facet by @zajck in #27
- Accounthandler mapping getters by @hswopeams in #29
- groupHandler getters by @zajck in #28
- Getter function for nextTwinId by @bidyut-arianelabs in #30
- Create bundle by @bidyut-arianelabs in #26
- groupHandler - add and remove offers to/from groups by @zajck in #31
- Add getSellerByAddress and test cases by @hswopeams in #33
- Rename metadataHash to offerChecksum by @zajck in #36
- groupHandler setGroupCondition by @zajck in #32
- offerHandler - seller checks by @zajck in #34
- Resolve failing tests on main by @zajck in #39
- Get next bundleId by @bidyut-arianelabs in #35
- Accounthandler update seller by @hswopeams in #38
- Max offers per bundle by @bidyut-arianelabs in #42
- Fix issues on the main branch. by @cliffhall in #43
- ExchangeHandlerFacet / Commit to Offer by @cliffhall in #37
- groupHandler - seller checks by @zajck in #41
- Github Actions - Default checkout behaviour by @bidyut-arianelabs in #45
- Deploy to geth node by @hswopeams in #46
- Bundle handler - addTwinsToBundle & removeTwinsFromBundle by @bidyut-arianelabs in #40
- Offer handler - batchVoid by @zajck in #47
- getExchangeIdsByOffer by @bidyut-arianelabs in #51
- Bundle handler - addOffersToBundle & removeOffersFromBundle by @bidyut-arianelabs in #48
- getExchange unit tests by @cliffhall in #49
- getExchangeState and unit tests by @cliffhall in #50
- getNextExchangeId and unit tests by @cliffhall in #52
- Extract events to their own interfaces by @cliffhall in #56
- Orchestration - createSellerAndOffer by @zajck in #53
- Modify to deploy additional facets by @hswopeams in #59
- Remove twin by @bidyut-arianelabs in #54
- Remove bundle by @bidyut-arianelabs in #58
- Fix issues on the main branch by @zajck in #62
- Orchestration - create offer with condition by @zajck in #63
- isExchangeFinalized by @cliffhall in #61
- No new offer in bundle if exchange exists by @bidyut-arianelabs in #64
- Orchestration - create offer, twin and bundle by @zajck in #65
- Orchestration - add seller creation to the existing methods by @zajck in #67
- Complete exchange by @cliffhall in #66
- Verify test env deployment and write contracts to JSON file by @hswopeams in #60
- Orchestration - create offer with condition twin and bundle by @zajck in #68
- Offerhandler - enable skipped test for offer not updateable by @zajck in #71
- OfferHandler - batch extend offer by @zajck in #72
- Orchestration - create seller, offer with condition, twin and bundle by @zajck in #69
- Orchestration - create an offer and add to the group by @zajck in #70
- Update status by @cliffhall in #74
- Refactor Exchange disputed flag to state by @cliffhall in #75
- Revoke voucher by @cliffhall in #76
- Remove updateOffer by @zajck in #77
- Update domain model diagram by @cliffhall in #79
- FundsHandler - depositFunds by @zajck in #78
- Enable meta transactions by @bidyut-arianelabs in #73
- fundsHandler - getAvailableFunds by @zajck in #80
- FundsLib - encumberFunds by @zajck in #81
- cancelVoucher by @cliffhall in #82
- redeemVoucher by @cliffhall in #83
- Added expireVoucher by @cliffhall in #87
- Add protocolFee to the offerStruct by @zajck in #84
- Meta transactions commit to offer by @bidyut-arianelabs in #86
- Added onVoucherTransferred by @cliffhall in #89
- offerHandler - offer fields validation by @zajck in #85
- FundsLib - releaseFunds by @zajck in #88
- fundsHandler - withdraw by @zajck in #91
- Update buyer by @hswopeams in #97
- Meta transactions for cancel voucher by @bidyut-arianelabs in #93
- Meta transactions redeem voucher by @bidyut-arianelabs in #96
- Remove meta transaction tests from twin handler tests by @bidyut-arianelabs in #102
- Meta transactions complete exchange by @bidyut-arianelabs in #101
- disputeHandler - raiseDispute and getDispute by @zajck in #98
- fix main - add missing import by @zajck in #107
- disputeHandler - getDisputeState and isDisputeFinalized by @zajck in #99
- [Test Environment] - Create automated prs with deployed addresses by @bidyut-arianelabs in #108
- [Test Environment] New deployed addresses by @github-actions in #114
- [Test Environment] New deployed addresses by @github-actions in #115
- Create resolver and Get Resolver by @hswopeams in #112
- Make a msgSender() function in the protocolBase by @bidyut-arianelabs in #116
- disputeHandler - refactor dates out of Dispute struct by @zajck in #104
- Bug - When we merge an automated PR, another automated PR is generated. by @bidyut-arianelabs in #118
- [Test Environment] New deployed addresses by @github-actions in #117
- Update dispute resolver by @hswopeams in #120
- [Test Environment] New deployed addresses by @github-actions in #122
- Meta transactions: Remove chain id and use salt field instead by @bidyut-arianelabs in #121
- [Test Environment] New deployed addresses by @github-actions in #123
- Transfer twins at redemption time by @cliffhall in #103
- offerHandler - refactor offer struct by @zajck in #119
- [Test Environment] New deployed addresses by @github-actions in #125
- Add MetaTransactionsHandlerFacet to deploy script by @hswopeams in #127
- [Test Environment] New deployed addresses by @github-actions in #126
- disputeHandler - retractDispute by @zajck in #100
- ConfigHandlerFacet: event emit on initializer by @anajuliabit in #128
- [Test Environment] New deployed addresses by @github-actions in #129
- disputeHandler - resolveDispute by @zajck in #124
- fix deploy config handler in deploy-suite.js by @anajuliabit in #134
- disputeHandler - expireDispute by @zajck in #131
- [Test Environment] New deployed addresses by @github-actions in #135
- Meta transactions for withdraw funds by @bidyut-arianelabs in #137
- [Test Environment] New deployed addresses by @github-actions in #142
- disputeHandler - escalateDispute by @zajck in #132
- Split protocol storage by @anajuliabit in #139
- [Test Environment] New deployed addresses by @github-actions in #143
- Meta transactions for retract dispute by @bidyut-arianelabs in #138
- disputeHandler - raiseDispute only during the fulfillment period by @zajck in #141
- [Test Environment] New deployed addresses by @github-actions in #146
- [Test Environment] New deployed addresses by @github-actions in #147
- disputeHandler - extendDisputeTimeout by @zajck in #140
- [Test Environment] New deployed addresses by @github-actions in #148
- Added Core Exchange Mechanism State Machines Diagram by @cliffhall in #145
- disputeHandler - decideDispute by @zajck in #133
- Refactor createBuyer to AccountBase by @anajuliabit in #152
- Meta transactions for raise dispute by @bidyut-arianelabs in #149
- [Test Environment] New deployed addresses by @github-actions in #154
- Add missing unit tests to ConfigHandlerTest.js by @anajuliabit in #144
- [Test Environment] New deployed addresses by @github-actions in #155
- bosonTypes - remove Resolution struct by @zajck in #136
- Add executed by to events by @anajuliabit in #150
- [Test Environment] New deployed addresses by @github-actions in #156
- Add override to inherited functions by @anajuliabit in #158
- [Test Environment] New deployed addresses by @github-actions in #159
- Meta transactions for escalate dispute by @bidyut-arianelabs in #157
- [Test Environment] New deployed addresses by @github-actions in #160
- offerHandler - createOffer adjustments by @zajck in #153
- Fix deploy suite by @zajck in #162
- offerChecksum and diagram changes by @cliffhall in #161
- [Test Environment] New deployed addresses by @github-actions in #163
- Meta transactions for resolve dispute by @bidyut-arianelabs in #164
- [Test Environment] New deployed addresses by @github-actions in #167
- fundsLib - events by @zajck in #170
- Add unit tests to BosonVoucher by @anajuliabit in #165
- Bug fix - executeMetaTxCommitToOffer by @bidyut-arianelabs in #171
- [Test Environment] New deployed addresses by @github-actions in #172
- Import oneWeek and oneMonth from constants file by @anajuliabit in #166
- [Test Environment] New deployed addresses by @github-actions in #174
- Add mock functions for domains by @anajuliabit in #173
- [Test Environment] New deployed addresses by @github-actions in #178
- disputeHandler - expireEscalatedDispute by @zajck in #175
- [Test Environment] New deployed addresses by @github-actions in #180
- Refused - another final state by @zajck in #176
- Refactor dispute resolver by @hswopeams in #151
- Universal meta transactions by @bidyut-arianelabs in #177
- Chore: auto-commit newly generated contract addresses by @ns4boson in #184
- Chore: auto-commit newly generated contract addresses by @ns4boson in #189
- Change twin erc721 supplyIds to lastTokenId by @anajuliabit in #186
- offerHandler - extendOffer, additional check by @zajck in #185
- disputeHandler - after escalation period, "Refused" is only valid final state by @zajck in #181
- Change msg.sender everywhere to msgSender() by @bidyut-arianelabs in #188
- disputeHandler - expireDisputeBatch by @zajck in #179
- Add allowance to ITwinToken by @anajuliabit in #191
- disputeHandler - refuseToResolve + updated payoffs by @zajck in #182
- Conditional commit by @cliffhall in #168
- Fixing lint tidy and check scripts by @anajuliabit in #197
- offerHandler - store dispute resolution terms at the offer creation by @zajck in #190
- ERC20 and ERC1155 Twin amount by @anajuliabit in #187
- Create agent and Get Agent by @hswopeams in #200
- Deploy to mumbai and deprecate ropsten by @zajck in #201
- Limit twins to a single bundle by @anajuliabit in #199
- Dispute handler escalation period from storage by @zajck in #192
- offerHandler - store DR fee at the offer creation by @zajck in #202
- Buyer escalation deposit by @zajck in #205
- Deploy script fix by @zajck in #207
- Updating documentation by @cliffhall in #204
- Boson voucher contract clone by @zajck in #198
- Anyone can call completeExchange after fulfillment period has elapsed. by @cliffhall in #209
- Fix Seller and DR uniqueness check bug by @hswopeams in #210
- Validate twin supplyAvailable by @anajuliabit in #203
- Fix updateSeller bug by @hswopeams in #212
- VoucherClient - ownable by @zajck in #214
- Seller Allow List by @zajck in #211
- Prevent escalation for disputes without DR by @zajck in #213
- Update agent by @bidyut-arianelabs in #215
- Check if twin token ids range is available on twin creation by @anajuliabit in #208
- removeTwin should make range available again by @anajuliabit in #218
- VoucherClient - contractUri by @zajck in #216
- Bump @openzeppelin/contracts from 4.5.0 to 4.7.1 by @dependabot in #221
- Voucher client - name and symbol by @zajck in #222
- Bump @openzeppelin/contracts-upgradeable from 4.5.2 to 4.7.1 by @dependabot in #220
- Non bypassable marketplace fees by @bidyut-arianelabs in #196
- Constants on file level by @zajck in #223
- Check that seller is allowed to choose DR by @zajck in #217
- Buyer escalation deposit release funds by @zajck in #206
- Handle twin transfer fail by @anajuliabit in #224
- Extend voucher by @cliffhall in #226
- Batch complete exchange by @bidyut-arianelabs in #227
- Grant ADMIN role for test env deployment by @hswopeams in #230
- Nft auth by @hswopeams in #219
- Remove mutation functions from BundleHandlerFacet by @hswopeams in #231
- Support for unlimited offers and twins by @anajuliabit in #229
- Check tokenAddress supports correct interface on twin creation by @anajuliabit in #228
- Refactor AccountHandlerFacet by @hswopeams in #232
- Remove "address" from fields in "ProtocolLib.ProtocolAddresses" by @bidyut-arianelabs in #234
- Add ERC-2981 support to Voucher NFTs by @bidyut-arianelabs in #233
- Bundle Handler facet: Remove unused functions by @bidyut-arianelabs in #239
- Test createOffer() is supported by MetatransactionsHandler by @bidyut-arianelabs in #240
- Added in Mumbai config for BEACON in the deploy script by @mischat in #242
- This bumps the version by @mischat in #243
- This attempts to fix the mumbai deployer by @mischat in #244
- Modify agent fee check by @hswopeams in #236
- Make ADMIN role configurable by @hswopeams in #241
- Update account should ignore active by @hswopeams in #238
- Bug fix: Testing chained events by @bidyut-arianelabs in #246
- Modify deployment script by @hswopeams in #245
- regenerate package-lock.json to force cache cleaning and replace npm … by @levalleux-ludo in #254
- Chrore: add deployment artifacts to git by @ns4boson in #255
- Adds exchange receipt feature by @anajuliabit in #235
- Unit test remediation by @bidyut-arianelabs in #253
- Deploy mock NFT Auth tokens to test env by @hswopeams in #251
- Refactor unit tests to use mock functions by @anajuliabit in #257
- Pausing support by @cliffhall in #237
- Remediate funds handler by @anajuliabit in #261
- Remove complaint field from Dispute by @bidyut-arianelabs in #252
- Remediate offer handler by @anajuliabit in #262
- Max Royalty Percentage by @zajck in #256
- Update Domain Model diagram by @cliffhall in #260
- Add pausing to MetaTransactionHandler by @cliffhall in #265
- Move supportsInterface to a facet by @anajuliabit in #263
- Remediate : exchange handler test and Offer handler test by @bidyut-arianelabs in #264
- Reentrancy guard by @zajck in #271
- unit tests: tests for pauser, client and fee collector by @bidyut-arianelabs in #270
- Nested structs Part 1: Associate Condition with Group by @cliffhall in #268
- Fix todo make execute meta tx external by @hswopeams in #267
- Validate incoming ERC20 tokens by @zajck in #269
- Do not copy storage memory unnecessarily by @bidyut-arianelabs in #273
- Avoid loops when removing elements by @anajuliabit in #266
- Evaluate where calldata be used instead of memory by @bidyut-arianelabs in #276
- Nested structs Part 2: Associate Voucher with Exchange by @cliffhall in #272
- Refactored issueVoucher input parameter by @bidyut-arianelabs in #278
- Adds max resolution period config by @anajuliabit in #279
- Reentrancy guard + msgSeder() to variable by @zajck in #280
- Code coverage - protocol contract by @zajck in #277
- Refactor mock condition by @anajuliabit in #281
- Update architecture diagrams by @cliffhall in #282
- Minor documentation updates by @cliffhall in #284
- Code coverage - diamond contracts by @zajck in #285
- GA to dry run deploy by @zajck in #287
- Use generator id function on mock accounts by @anajuliabit in #286
- Deploy suite: Protocol config and auth addresses read from file by @zajck in #291
- Refactor domains to use common validation function by @anajuliabit in #289
- Remove TODO's from entities by @anajuliabit in #292
- Chore: push new ABI and logs to a pre-release branch by @ns4boson in #283
New Contributors
- @github-actions made their first contribution in #114
- @dependabot made their first contribution in #221
Full Changelog: https://github.com/bosonprotocol/boson-protocol-contracts/commits/v2.0.0-rc.1