-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
675 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
packages/arcana/deploy/lineaGoerli/003_deploy_ERC20Distributor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { DeployFunction } from 'hardhat-deploy/types'; | ||
|
||
const func: DeployFunction = async function ({ deployments, getNamedAccounts }) { | ||
const { deploy, execute } = deployments; | ||
|
||
const { deployer } = await getNamedAccounts(); | ||
|
||
await deploy('ERC20Distributor', { | ||
from: deployer, | ||
// self deployed USDT | ||
// https://goerli.lineascan.build/address/0x7757f3b0d9270bea2f28366a97cdec36a2de3459 | ||
args: [deployer, '0x7757f3b0d9270bea2f28366a97cdec36a2de3459'], | ||
log: true, | ||
}); | ||
|
||
await execute( | ||
'ERC20Distributor', | ||
{ from: deployer, log: true }, | ||
'setMerkleRoot', | ||
'0x4e44c703b05c0c2ce3b972025c00d18cf2c12551731df70081c89c40cc036481', | ||
); | ||
|
||
await execute('ERC20Distributor', { from: deployer, log: true }, 'setClaimPeriodEnds', 1698681600); | ||
}; | ||
|
||
func.tags = ['ERC20Distributor']; | ||
|
||
export default func; |
Oops, something went wrong.