Smart Contracts and scripts to manage FIH token AirDrop issued by FidelityHouse International SA.
- Initial token amount:
51350768.626444582572504 FIH
- Airdrop
- 3 months
- Block:
8134844
- Amount
1.5%
- Total held tokens:
51168088.812190301623 FIH
- Total airdropped tokens:
767521.332182854524345 FIH
- Transaction hash: 0x07f5750abd2dcea83963579e2061868513d596e178b78c30197fc4617cc01f1d
- Block:
- 6 months
- Block:
8710742
- Amount
2.5%
- Total held tokens:
51142797.797190301623 FIH
- Total airdropped tokens:
1278569.944929757540575
- Transaction hash: 0xce0afe09506c8c6515fe03423e060458b2cdb7ea32f2c3367c9b484f94f74921
- Block:
- 9 months
- Block:
9236400
- Amount
6%
- Total held tokens:
51142797.797190301623 FIH
- Total airdropped tokens:
3068567.86783141809738
- Transaction hash: 0x8b500dde06c332bec024d7da51f5d02790a51637dc0cd386d985b433e3eda38a
- Block:
- 3 months
Code created using:
npm install
Open the Truffle console
npm run console
npm run compile
npm run test
npm run coverage
Use Solhint
npm run lint:sol
Use ESLint
npm run lint:js
Use ESLint and fix
npm run lint:fix
This allow to flatten the code into a single file
Edit scripts/flat.sh
to add your contracts
npm run flat
Note: it is better to analyze the flattened code to have a bigger overview on the entire codebase. So run the flattener first.
The describe
command shows a summary of the contracts and methods in the files provided
surya describe dist/AirDrop.dist.sol
The dependencies
command outputs the c3-linearization of a given contract's inheirtance graph. Contracts will be listed starting with most-derived, ie. if the same function is defined in more than one contract, the solidity compiler will use the definition in whichever contract is listed first.
surya dependencies AirDrop dist/AirDrop.dist.sol
Edit scripts/analyze.sh
to add your contracts
npm run analyze
The inheritance
command outputs a DOT-formatted graph of the inheritance tree.
The graph
command outputs a DOT-formatted graph of the control flow.
The mdreport
command creates a markdown description report with tables comprising information about the system's files, contracts and their functions.
Code released under the MIT License.