Releases: corpus-io/tokenize.it-smart-contracts
v6.1.0
What's New
- Both Private Offers and Crowdinvestings can now transfer existing tokens to the buyer instead of minting new ones
- Dedicated TokenSwap contract is intended for secondary market where it represents a buy or sell offer that others can use
What's Changed
From v6.0.0-beta: TokenSwap does not have setHolder anymore
- Feature/add timelock controller by @malteish in #342
- update hardhat, add verification arguments by @malteish in #343
- Feature/fix docs by @malteish in #340
- Merge Develop into main by @malteish in #344
- Merge pull request #344 from corpus-io/develop by @malteish in #345
- Chore/housekeeping by @malteish in #349
- chore: document deployments & update prettier action by @malteish in #351
- Feat: transfer or mint by @malteish in #352
- Chore/update forge std by @malteish in #353
- Release candidate v6.0.0-beta: transfer on buy and token swap by @malteish in #364
- rc v6.0.0: transfer on buy by @malteish in #355
- 6.0.0-beta release by @malteish in #367
- Update TokenSwap documentation by @malteish in #368
- Fix/hacken audit changes by @malteish in #369
- Changes after hacken audit by @malteish in #370
Full Changelog: v5.0.2...v6.1.0
v6.0.0-beta
What's new
- Both Private Offers and Crowdinvestings can now transfer existing tokens to the buyer instead of minting new ones
- dedicated TokenSwap contract is intended for secondary market where it represents a buy or sell offer that others can use
What's Changed
- Updated to current foundry and github action versions which required changes in many test files.
- Feature/add timelock controller by @malteish in #342
- update hardhat, add verification arguments by @malteish in #343
- Feature/fix docs by @malteish in #340
- Merge Develop into main by @malteish in #344
- Merge pull request #344 from corpus-io/develop by @malteish in #345
- Chore/housekeeping by @malteish in #349
- chore: document deployments & update prettier action by @malteish in #351
- Feat: transfer or mint by @malteish in #352
- Chore/update forge std by @malteish in #353
- Release candidate v6.0.0-beta: transfer on buy and token swap by @malteish in #364
- rc v6.0.0: transfer on buy by @malteish in #355
Full Changelog: v5.0.2...v6.0.0-beta
v5.0.2
What's Changed
- Feature/release v5.0.1 by @malteish in #322
- update develop by @malteish in #323
- add Crowdinvesting deployment by @malteish in #334
- update oz to fix encoding issue by @malteish in #333
- ensure division by zero reverts by @malteish in #327
- Feature/deploy2gnosis by @malteish in #335
- Update Openzeppelin by @malteish in #337
Full Changelog: v5.0.1...v5.0.2
v5.0.1
v5.0.0
Audit report:
https://consensys.io/diligence/audits/2023/12/tokenize-it/
Main changes from v4:
- Token
- Snapshots
- upgradeable (
createTokenProxyinsteadcreateTokenClone)
- Employee Participation
- Vesting.sol instead of other vesting contracts
- powerful factories, e.g. PrivateOfferFactory that can deploy lock-up in one tx with
deployPrivateOfferWithTimeLock - some arguments handed over as structs
- AllowList
- ERC2771
- AllowListCloneFactory
- Add or remove many addresses in 1 tx
- Clone and add many addresses in 1 tx
- FeeSettings
- add or remove managers
- managers can set or remove custom fees or custom fee collectors
- Crowdinvesting
- dynamic pricing
- auto stop date
Pull Requests:
- Feature/vesting wallet factory by @malteish in #151
- Feature/docs npm publishing by @malteish in #152
- add vestingWallet deployment info and script by @malteish in #157
- fix test for mainnet execution, auto-execute by @malteish in #156
- Feature/mintallower needs no allowance by @malteish in #155
- check for requirements == 0 by @malteish in #154
- bump openzeppelin to 4.9.1 by @malteish in #161
- use yul pipeline for improved optimization by @malteish in #167
- pin prettier version because of breaking changes by @malteish in #172
- Feature/update verification docs by @malteish in #178
- Feature/clone with upgradeable by @malteish in #176
- update packages by @malteish in #181
- Feature/clone continuous fundraising by @malteish in #186
- Feature/extend fee settings by @malteish in #190
- add test for PaymentSplitter by @malteish in #189
- add nvmrc by @malteish in #196
- fix tests by @malteish in #200
- Feature/rename smart contracts by @malteish in #205
- remove unnecessary old files by @malteish in #206
- Feature/fee settings numerator no struct by @malteish in #214
- Feature/fee settings no0 denominator by @malteish in #217
- Feature/token balance snapshots by @malteish in #201
- Feature/upgradeable token with oz v4 by @malteish in #218
- describe fee discounts by @malteish in #220
- Feature/dynamic price by @malteish in #210
- Feature/transfer and call by @malteish in #222
- Feature/auto pause fundraising by @malteish in #221
- reduce code for PublicFundraising by @malteish in #225
- update solidity to 0.8.23 and all dependencies by @malteish in #227
- explicitly disable initializers for token logic contract by @malteish in #230
- Feature/vesting contract by @malteish in #229
- Feature/remove token clone factory by @malteish in #234
- update specification by @malteish in #233
- fix time and block handling by @malteish in #232
- update docs by @malteish in #235
- Vesting update by @CJentzsch in #236
- minor fixes by @CJentzsch in #237
- Feature/cool down pricing by @malteish in #239
- fix test by @malteish in #241
- Feature/public fundraising arguments struct by @malteish in #244
- rename autoPauseDate to lastBuyDate by @malteish in #243
- Feature/reorganize and rename by @malteish in #245
- fix fee settings interface by @malteish in #252
- Feature/test pricing by @malteish in #250
- Feature/polish vesting by @malteish in #248
- rename raise to crowdinvest by @malteish in #249
- Feature/remove reasonability checks from vesting by @malteish in #253
- Feature/increase coverage by @malteish in #251
- improve coverage and revert message by @malteish in #254
- Feature/improve crowdinvesting again by @malteish in #256
- Feature/docs by @malteish in #258
- add some reasoning on cloning and proxy use by @malteish in #257
- fix tests that overflow by @malteish in #259
- next release by @malteish in #150
- 5.0.0-alpha.1 by @malteish in #261
- pull develop forward by @malteish in #262
- Feature/fix license by @malteish in #264
- Feature/new private offer factory by @malteish in #263
- move arguments files, ignore build/ by @malteish in #267
- 5.0.0-alpha2 by @malteish in #271
- update develop version by @malteish in #276
- Feature/fee discounts2 by @malteish in #270
- start implementing custom fee collectors by @malteish in #275
- Add cloning and meta-transactions to AllowList by @malteish in #279
- Feature/polish by @malteish in #280
- Feature/explicitly provide token address by @malteish in #281
- Feature/add tests by @malteish in #282
- avoid writing storage when not needed by @malteish in #283
- defaultFokenFeeCollector -> defaultToken... by @malteish in #284
- Custom fees and personalized AllowList by @malteish in #277
- 5.0.0-alpha3 by @malteish in #285
- remove unused imports by @malteish in #286
- store currency in function context by @malteish in #289
- verify Private Offer arguments by @malteish in #290
- change salt calculations, fix tests by @malteish in #287
- fix emits, check last buy date by @malteish in #291
- Feature/bump semver by @malteish in #292
- Feature/add safety boundaries by @malteish in #293
- enforce minAmountPerBuyer > 0 by @malteish in #294
- add test for vesting by @malteish in #298
- Feature/initialize allow list by @malteish in https://githu...
v5.0.0-beta0
Minor fixes and internal refactorings
What's Changed
- Feature/vesting wallet factory by @malteish in #151
- Feature/docs npm publishing by @malteish in #152
- add vestingWallet deployment info and script by @malteish in #157
- fix test for mainnet execution, auto-execute by @malteish in #156
- Feature/mintallower needs no allowance by @malteish in #155
- check for requirements == 0 by @malteish in #154
- bump openzeppelin to 4.9.1 by @malteish in #161
- use yul pipeline for improved optimization by @malteish in #167
- pin prettier version because of breaking changes by @malteish in #172
- Feature/update verification docs by @malteish in #178
- Feature/clone with upgradeable by @malteish in #176
- update packages by @malteish in #181
- Feature/clone continuous fundraising by @malteish in #186
- Feature/extend fee settings by @malteish in #190
- add test for PaymentSplitter by @malteish in #189
- add nvmrc by @malteish in #196
- fix tests by @malteish in #200
- Feature/rename smart contracts by @malteish in #205
- remove unnecessary old files by @malteish in #206
- Feature/fee settings numerator no struct by @malteish in #214
- Feature/fee settings no0 denominator by @malteish in #217
- Feature/token balance snapshots by @malteish in #201
- Feature/upgradeable token with oz v4 by @malteish in #218
- describe fee discounts by @malteish in #220
- Feature/dynamic price by @malteish in #210
- Feature/transfer and call by @malteish in #222
- Feature/auto pause fundraising by @malteish in #221
- reduce code for PublicFundraising by @malteish in #225
- update solidity to 0.8.23 and all dependencies by @malteish in #227
- explicitly disable initializers for token logic contract by @malteish in #230
- Feature/vesting contract by @malteish in #229
- Feature/remove token clone factory by @malteish in #234
- update specification by @malteish in #233
- fix time and block handling by @malteish in #232
- update docs by @malteish in #235
- Vesting update by @CJentzsch in #236
- minor fixes by @CJentzsch in #237
- Feature/cool down pricing by @malteish in #239
- fix test by @malteish in #241
- Feature/public fundraising arguments struct by @malteish in #244
- rename autoPauseDate to lastBuyDate by @malteish in #243
- Feature/reorganize and rename by @malteish in #245
- fix fee settings interface by @malteish in #252
- Feature/test pricing by @malteish in #250
- Feature/polish vesting by @malteish in #248
- rename raise to crowdinvest by @malteish in #249
- Feature/remove reasonability checks from vesting by @malteish in #253
- Feature/increase coverage by @malteish in #251
- improve coverage and revert message by @malteish in #254
- Feature/improve crowdinvesting again by @malteish in #256
- Feature/docs by @malteish in #258
- add some reasoning on cloning and proxy use by @malteish in #257
- fix tests that overflow by @malteish in #259
- next release by @malteish in #150
- 5.0.0-alpha.1 by @malteish in #261
- pull develop forward by @malteish in #262
- Feature/fix license by @malteish in #264
- Feature/new private offer factory by @malteish in #263
- move arguments files, ignore build/ by @malteish in #267
- 5.0.0-alpha2 by @malteish in #271
- update develop version by @malteish in #276
- Feature/fee discounts2 by @malteish in #270
- start implementing custom fee collectors by @malteish in #275
- Add cloning and meta-transactions to AllowList by @malteish in #279
- Feature/polish by @malteish in #280
- Feature/explicitly provide token address by @malteish in #281
- Feature/add tests by @malteish in #282
- avoid writing storage when not needed by @malteish in #283
- defaultFokenFeeCollector -> defaultToken... by @malteish in #284
- Custom fees and personalized AllowList by @malteish in #277
- 5.0.0-alpha3 by @malteish in #285
- remove unused imports by @malteish in #286
- store currency in function context by @malteish in #289
- verify Private Offer arguments by @malteish in #290
- change salt calculations, fix tests by @malteish in #287
- fix emits, check last buy date by @malteish in #291
- Feature/bump semver by @malteish in #292
- Feature/add safety boundaries by @malteish in #293
- enforce minAmountPerBuyer > 0 by @malteish in #294
- add test for vesting by @malteish in #298
- Feature/initialize allow list by @malteish in #297
- enforce currency to be on allowlist by @malteish in #295
- Feature/currency allow list docs and tests by @malteish in #299
- Feature/streamline fee settings by @malteish in #300
- Feature/update fee settings storage structure by @malteish in #303
Full Changelog: v4.1.0-alpha.0...v5.0.0-beta0
v4.2.1
What's Changed
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #146
- Bump cookiejar from 2.1.3 to 2.1.4 by @dependabot in #145
- Feature/extend nat spec by @malteish in #139
- Feature/demo test permit by @malteish in #142
- Feature/timelock by @malteish in #143
- Bump @openzeppelin/contracts from 4.8.0 to 4.8.3 by @dependabot in #144
- Feature/test events by @malteish in #147
- Feature/bump prettier by @malteish in #149
- Feature/naive token factory by @malteish in #175
- introduce higher fee ceiling for ContinuousFundraising by @malteish in #212
- Feature/backport fee numerator to v4 by @malteish in #215
- add check and test for 0 denominator to v4.2 by @malteish in #216
- add constructor arguments file by @malteish in #219
New Contributors
- @dependabot made their first contribution in #146
Full Changelog: v4.0...v4.2.1
v4.2.0-beta.0
This version adds a naive token factory TokenFactory.sol, which is capable of deterministic deployments. It uses CREATE2.
v4.1.0-alpha0
add VestingWalletFactory for token lockups
v4.0
Node.js package
A npm package has been released that allows deployment of and interaction with the smart contracts, e.g. using hardhat.
https://www.npmjs.com/package/@tokenize.it/contracts
What's Changed
Breaking Change
The ContinuousFundraising.buy() function and PersonalInvite now support 2 separate addresses for the investor:
- currency payer address -> pays for the investment
- token receiver address -> receives the tokens
Other Changes
- Test token meta tx by @malteish in #116
- update license to gpl by @malteish in #119
- add optional token receiver by @CJentzsch in #70
- test uses 1 domainSeparator and 1 requestTypeHash by @malteish in #118
- add audit reports by @malteish in #123
- contract verification by @malteish in #121
- Add test showcasing usage of PersonalInvite, update docs by @malteish in #122
- Update license gpl to agpl by @malteish in #124
- add DAI as currency by @malteish in #126
- Add some devops scripts by @malteish in #125
- Create npm package by @malteish in #127
- release npm by @malteish in #133
Full Changelog: v3.1...v4.0