LootHunt is a reward tool for airdrop marketing. Providers can offer a reward to anyone who meets the requirements. For users, itβs fun to collect NFTs and even unlock/discover other items. It is as amazing as treasure hunting!
This repository contains 0x extension contract RequirementFilter, which acts two roles
-
Requirements Checker
Implement a hook to check whether all requirements have been achieved by
signer
before callingexecuteTransaction
to exchange. -
Fake ERC20
Implement an always-success
transferFrom
interface for no need for taker asset, which is useful when holding an airdrop or hunting!Besides, in addition to take advantage of the feature of partial filling of 0x, we require the amount in
transferFrom
to be 1, which makes airdrop issuers more convenient to issue multiple amount of goods in one signing action (no need for transaction).
git clone https://github.com/han0110/loothunt && cd loothunt
yarn
yarn dev
- Han Jian
- Xavier Lupin
- David Tseng
- Justine Lu