Tags: thirdweb-dev/contracts
Tags
Airdrop audit fixes (#634) * [Q-2] Make processed mapping public * [Q-3] Unused error definition * [Q-4] Use separate events for each airdrop type * [Q-5] Use safeTransferETH instead of low-level call * remove receive and withdraw * cleanup * [Q-1] Missing natspec documentation * [L-1] Airdropping tokens using push or signature-based methods can be griefed * [G-1] Use verifyCalldata to verify Merkle tree * support EIP1271 signatures * revert L-1 * The statement using ECDSA for bytes32 is not needed anymore
Airdrop (#628) * Airdrop * airdrop with signature * benchmark tests * Partial changes * remove unused * remove failsafe and refund from eth airdrop * reorg * no sig airdrop for eth * claim condition id and reset * cleanup * prefix ERC * fix * unit tests wip * rename * update tests * Update * receive and withdraw functions * cleanup * fix uid check * test revert cases * update claim hash generation and merkle root checks * tests * gasreport * Add onlyOwner for airdrop functions * isClaimed view function * remove conditionId param from isClaimed * events * update isClaimed * update dependencies * fix --------- Co-authored-by: Jake Loo <2171134+jakeloo@users.noreply.github.com>
PreviousNext