Skip to content

Commit

Permalink
QR drop for India
Browse files Browse the repository at this point in the history
  • Loading branch information
galekseev committed Nov 23, 2023
1 parent 399dee2 commit f502ff7
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 1 deletion.
29 changes: 29 additions & 0 deletions deploy/qr/deploy_qr_33.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// const { assert } = require('chai');
const { deployAndGetContract } = require('@1inch/solidity-utils');
const hre = require('hardhat');
const { getChainId } = hre;

// change number
const VERSION = 33;

module.exports = async ({ deployments, getNamedAccounts }) => {
console.log('running deploy script: deploy script ' + VERSION.toString());
console.log('network id ', await getChainId());

const { deploy } = deployments;

Check failure on line 13 in deploy/qr/deploy_qr_33.js

View workflow job for this annotation

GitHub Actions / lint

'deploy' is assigned a value but never used
const { deployer } = await getNamedAccounts();

// 1inch address, merkle root, tree height
const args = ['0x111111111117dC0aa78b770fA6A738034120C302', '0x171fa9cb7c1e20760ab3283cfb4092b5', 9];

const deployScriptName = 'MerkleDrop128-' + VERSION.toString();
await deployAndGetContract({
contractName: 'SignatureMerkleDrop128',
constructorArgs: args,
deployments,
deployer,
deploymentName: deployScriptName,
});
};

module.exports.skip = async () => true;
364 changes: 364 additions & 0 deletions deployments/mainnet/MerkleDrop128-33.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/.latest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32
33

0 comments on commit f502ff7

Please sign in to comment.