Commit e1ad606 1 parent 475c79a commit e1ad606 Copy full SHA for e1ad606
File tree 3 files changed +13
-19
lines changed
3 files changed +13
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import { buildModule } from "@nomicfoundation/hardhat-ignition/modules" ;
2
+
3
+ const JAN_1ST_2030 = 1893456000 ;
4
+ const ONE_GWEI : bigint = 1_000_000_000n ;
5
+
6
+ const PaillierModule = buildModule ( "PaillierModule" , ( m ) => {
7
+ const paillier = m . contract ( "Paillier" , [ ] ) ;
8
+ return { paillier } ;
9
+ } ) ;
10
+
11
+ export default PaillierModule ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " paillier-contracts" ,
3
- "version" : " 1.0.3 " ,
3
+ "version" : " 1.0.4 " ,
4
4
"description" : " Paillier homomorphic encryption contract" ,
5
5
"license" : " The Unlicense" ,
6
6
"author" : {
10
10
"scripts" : {
11
11
"test" : " hardhat test" ,
12
12
"clean" : " hardhat clean" ,
13
- "deploy:local" : " hardhat ignition deploy ./ignition/modules/Lock .ts" ,
13
+ "deploy:local" : " hardhat ignition deploy ./ignition/modules/PaillierModule .ts" ,
14
14
"prettier" : " prettier --write --plugin=prettier-plugin-solidity 'contracts/Paillier.sol' && npx prettier --write ." ,
15
15
"prettier:check" : " prettier --check . --check --plugin=prettier-plugin-solidity 'contracts/Paillier.sol'"
16
16
},
You can’t perform that action at this time.
0 commit comments