Skip to content

Commit

Permalink
Update README and airdrop contract: remove outdated token information…
Browse files Browse the repository at this point in the history
… and clarify token amount
  • Loading branch information
Ben-Rey committed Nov 25, 2024
1 parent 1773212 commit 1d0989f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion airdrop/smart-contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ The **Airdrop** smart contract leverages `executeSc` to ensure that the operatio
3. Update the `addressList` in `addressList.ts` with the recipient addresses for the airdrop.
4. Update MRC20 contract address in `assembly/contracts/mrc20-address.ts` contract.
5. Update token amount in `airdrop.ts` contract.
6. Update token information in `airdrop.ts` contract.


## Scripts
Expand Down
4 changes: 3 additions & 1 deletion airdrop/smart-contract/assembly/contracts/airdrop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ export * from '@massalabs/sc-standards/assembly/contracts/FT/token';

const VERSION_KEY = stringToBytes('airdrop_version'); // Key to store the version of the airdrop
const VERSION = u32(1); // Increment this number to run the airdrop again
const TOKEN_AMOUNT = 20; // Amount of tokens to airdrop
const AIRDROP_LIMIT = 850; // Maximum number of transfers per block
const TRANSFER_COST = 9600000; // Cost of a transfer
export const MRC20_ADDRESS = new Address(mrc20Address);

/** Update this value to the amount you wish to airdrop at each account */
const TOKEN_AMOUNT = 20; // Amount of tokens to airdrop

/**
* Main function to run the airdrop. Will be automatically called when executing the contract.
*/
Expand Down

0 comments on commit 1d0989f

Please sign in to comment.