Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/HOLO-604: implementing critical issue fixes #84

Merged
merged 3 commits into from
Nov 14, 2022

Conversation

ACC01ADE
Copy link
Contributor

@ACC01ADE ACC01ADE commented Nov 12, 2022

Describe Changes

Covers all code4rena audit critical issue (except for 473.

  • Re-wrote gas prices and limits to be chain specific
  • Fixed issue in HolographERC721 enforcer for re-minting burned NFT
  • Updated tests to work with updated code

Code4rena related audit issues:

Checklist before requesting a review

  • I have performed a self-review of my code
  • Code styles have been enforced
  • All Hardhat tests are passing

Copy link
Contributor

@alexanderattar alexanderattar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

deploy/07_layer_zero_module.ts Outdated Show resolved Hide resolved
@ACC01ADE ACC01ADE merged commit 1d0bfe4 into experimental Nov 14, 2022
@ACC01ADE ACC01ADE deleted the feature/HOLO-604-high-risk-c4-fixes branch November 14, 2022 21:26
alexanderattar added a commit that referenced this pull request Dec 7, 2022
* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>
alexanderattar added a commit that referenced this pull request Dec 8, 2022
* Merge experimental

* Experimental to Develop 20221206 (#95)

* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest develop deployments Wed Dec  7 17:57:20 UTC 2022

* Add latest develop deployments Wed Dec 7 17:57:20 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>
ACC01ADE added a commit that referenced this pull request Dec 14, 2022
* Release/develop to testnet 20221207 (#96)

* Merge experimental

* Experimental to Develop 20221206 (#95)

* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest develop deployments Wed Dec  7 17:57:20 UTC 2022

* Add latest develop deployments Wed Dec 7 17:57:20 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest testnet deployments and abis (#97)

* Add latest testnet deployments and abis

* Update deployment salt history file for clarity

* local changes

* updates

* fixes

* clearer check for false

* fixing nonce issue

* multisig transfer

* mainnet upgrade test

* switching to networks npm package for multisig reference

* cleanup on aisle 9

* fixed nonce bug for tests and adding recoverJob tests

* nonce fix

* test gas limit adjustment

* adding details to bad gas for test

Co-authored-by: Alexander <alexanderattar@users.noreply.github.com>
Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
alexanderattar added a commit that referenced this pull request Dec 14, 2022
* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

* Merge develop

* HOLO-678: Deployment patches (#98)

* Release/develop to testnet 20221207 (#96)

* Merge experimental

* Experimental to Develop 20221206 (#95)

* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest develop deployments Wed Dec  7 17:57:20 UTC 2022

* Add latest develop deployments Wed Dec 7 17:57:20 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest testnet deployments and abis (#97)

* Add latest testnet deployments and abis

* Update deployment salt history file for clarity

* local changes

* updates

* fixes

* clearer check for false

* fixing nonce issue

* multisig transfer

* mainnet upgrade test

* switching to networks npm package for multisig reference

* cleanup on aisle 9

* fixed nonce bug for tests and adding recoverJob tests

* nonce fix

* test gas limit adjustment

* adding details to bad gas for test

Co-authored-by: Alexander <alexanderattar@users.noreply.github.com>
Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>

* Add code4rena audit report (#100)

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>
alexanderattar added a commit that referenced this pull request Dec 15, 2022
* Merge experimental

* Experimental to Develop 20221206 (#95)

* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest develop deployments Wed Dec 7 17:57:20 UTC 2022

* Merge testnet to develop 20221208

* Experimental to develop (#101)

* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

* Merge develop

* HOLO-678: Deployment patches (#98)

* Release/develop to testnet 20221207 (#96)

* Merge experimental

* Experimental to Develop 20221206 (#95)

* Improvement/ HOLO 595 Enforce prettier / lint run on protocol (#81)

* prettier and eslint setup to run action

* fixed command on prettier action

* fixed command on prettier action and package.json

* fixed command on prettier action

* Remove unknown prettier options

* husky prepush check for linting and prettier

* added husky prepare on package.json

* fixed husky prepare on package.json

* fixed husky pre-push

Co-authored-by: Alexander <alexanderattar@gmail.com>

* Add solhint config and fix prettier config (#83)

* Feature/HOLO-604: implementing critical issue fixes (#84)

* fixing critical issues

* implemented suggestions

* Featuer/HOLO-605: C4 medium risk fixes (#88)

* init

* fixes

* enforcing msgSender on all source contract calls

* fixing typo

* fixing tests

* test fixes and prettier

* royatlies patch

* removing unused library

* Feature/adding generic contract type (#85)

* fixing critical issues

* adding generic contract type

* implemented suggestions

* merging latest from experimental branch

* adding withdraw andmsgSender protection

* adding withdraw andmsgSender protection

* prettier

* fixing typo

* assembly memory fix

* combined generic contract pr

* deployments

* deployments

* adding support for `asciihex` compiler function

* adding comments and fixing missed check

* Feature/holo 613 rename pa1d to royalty (#90)

* name change

* Quick minor updates

* Update reverts to use new ROYALTIES format

* fix to test

Co-authored-by: Vitto <admin@vitto.io>

* royalties hotfix (#91)

* royalties change

* develop env deployments of royalties hotfix

* Feature/holo 612 royalty smart contract improvements (#93)

* First pass at royalty contract improvements

* Second pass on royalty improvements from C4 audit

* Remove broken check

* Minor check and comments added

* Remove check for greater than 10000 tokens for ERC20s in royalties

* Add usage notes for payout functions

* Add logic to allow setting a slot to use either transfer or call

* Add handling for code-423n4/2022-10-holograph-findings#456

* Fix tests by passing proper init code

* Add dev note on _callOptionalReturn

* Limit payout addresses to 10

* Add test for max addresses

* Improvement/holo 614 royalties smart contracts tests (#86)

* royalties distribution

* removed comments

Co-authored-by: Alexander <alexanderattar@gmail.com>

* cleanup

* check send amount on ethPayouts

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: Vitto <admin@vitto.io>

* Feature/HOLO-642: Implement Super Cold Storage logic into protocol (#92)

* clean

* implementing the super-cold-storage-signer

* cleanup

* Latest deployments 20221206

* Add external deployments back

* Roll back to ff5b4ee due to incorrect deployment process on experimental env

* Add latest deployments 20221206 Wed Dec  7 03:08:37 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest develop deployments Wed Dec  7 17:57:20 UTC 2022

* Add latest develop deployments Wed Dec 7 17:57:20 UTC 2022

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

* Add latest testnet deployments and abis (#97)

* Add latest testnet deployments and abis

* Update deployment salt history file for clarity

* local changes

* updates

* fixes

* clearer check for false

* fixing nonce issue

* multisig transfer

* mainnet upgrade test

* switching to networks npm package for multisig reference

* cleanup on aisle 9

* fixed nonce bug for tests and adding recoverJob tests

* nonce fix

* test gas limit adjustment

* adding details to bad gas for test

Co-authored-by: Alexander <alexanderattar@users.noreply.github.com>
Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>

* Add code4rena audit report (#100)

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>

Co-authored-by: Natalie Bravo <natalie.bravo@outlook.com>
Co-authored-by: ACC01ADE <admin@vitto.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants