NodeOPS smart contracts consist of a standard ERC20 token and an airdrop pool contract. The token contract is designed with the additional features that allows whitelisted addresses to freely send and receive these tokens. Non-whitelist token holders can transfer tokens when the transfer feature is enabled. The Airdrop contract is characterized as a pool where the NODE tokens will be deposited by the admin and users can request once to claim their tokens with their derived signatures. The admin can as well send these tokens to users by invoking the privileged transferTo function.
Low | Medium | High | Critical | Total | |
---|---|---|---|---|---|
Not fixed | 2 | - | - | - | 2 |
Fixed | 3 | - | - | - | 3 |
Total | 5 | 0 | 0 | 0 | 5 |
# | File Name |
---|---|
1 | Airdrop.sol |
2 | openzeppelin/contracts/utils/structs/EnumerableSet.sol |
3 | ERC20.sol |
4 | contracts/interfaces/IPool.sol |
5 | contracts/pools/base/Airdrop.sol |
6 | IPool.sol |
7 | Node.sol |
8 | contracts/libraries/Roles.sol |
9 | attack.sol |
10 | NODE.sol |