Skip to content

Conversation

nkrishang
Copy link
Contributor

Merging this PR concludes the audit by 0xMacro for Multiwrap, DropERC1155 and SignatureDrop.

kumaryash90 and others added 30 commits June 16, 2022 16:55
replace requires with custom errors
* [H-1] Wrapped ETH cannot be unwrapped

* [L-1] Anyone can call renounceRole(), and delete the first valid entry from roleMembers for any role

* [L-2] Incorrect supportsInterface implementation

* [G-4] Require revert msg string length > 32 for Multiwrap: L176 (edited)

* [G-3] Optimization done in CurrencyTransferLib for rare edge cases, increases gas costs for all other use cases.

* [G-2] Improvements for _setBundle()

* [L-7] Unsafe usage of msg.value within CurrencyTransfer library

* [G-5] Return early in PermissionsEnumerable#getRoleMember

Co-authored-by: Krishang Nadgauda <[email protected]>
* (Q-1) Unused variable

* fix claim quantity limit

fix claim quantity limit

* cleanup

* remove thirdwebfee

remove thirdwebfee

Co-authored-by: Krishang Nadgauda <[email protected]>
Co-authored-by: yash <[email protected]>
Co-authored-by: Krishang Nadgauda <[email protected]>
@nkrishang nkrishang added bug Something isn't working enhancement New feature or request labels Jun 27, 2022
@nkrishang nkrishang requested a review from jakeloo June 27, 2022 00:32
@nkrishang nkrishang self-assigned this Jun 27, 2022
@@ -75,8 +75,22 @@
address _to,
Token[] memory _tokens
) internal {
uint256 nativeTokenValue;

Check warning

Code scanning / Slither

Uninitialized local variables

TokenStore._transferTokenBatch(address,address,ITokenBundle.Token[]).nativeTokenValue (contracts/feature/TokenStore.sol#81) is a local variable never initialized
@nkrishang nkrishang merged commit be12145 into main Jun 29, 2022
@kumaryash90 kumaryash90 deleted the macro-audit-june-2022 branch September 4, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants