feat: new 0 deposit deployment

This commit is contained in:
rymnc 2023-08-22 13:08:27 +05:30
parent cdc1bdc40a
commit 3ab3b8b854
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34
4 changed files with 53 additions and 53 deletions

View File

@ -14,7 +14,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
await deploy("RLN", {
from: deployer,
log: true,
args: [1000000000000000, 20, poseidonHasherAddress, rlnVerifierAddress],
args: [0, 20, poseidonHasherAddress, rlnVerifierAddress],
});
};
export default func;

View File

@ -28,47 +28,8 @@
}
]
},
"Verifier": {
"address": "0xa6Da88FA985557936594CD1a04d9F7B9593806E9",
"abi": [
{
"inputs": [
{
"internalType": "uint256[2]",
"name": "a",
"type": "uint256[2]"
},
{
"internalType": "uint256[2][2]",
"name": "b",
"type": "uint256[2][2]"
},
{
"internalType": "uint256[2]",
"name": "c",
"type": "uint256[2]"
},
{
"internalType": "uint256[2]",
"name": "input",
"type": "uint256[2]"
}
],
"name": "verifyProof",
"outputs": [
{
"internalType": "bool",
"name": "r",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
},
"RLN": {
"address": "0x39558059411112732D73997712B75a865a697330",
"address": "0x2992c7bFD42729991b614e95F4C2C78619f49c50",
"abi": [
{
"inputs": [
@ -387,6 +348,45 @@
"type": "function"
}
]
},
"Verifier": {
"address": "0xa6Da88FA985557936594CD1a04d9F7B9593806E9",
"abi": [
{
"inputs": [
{
"internalType": "uint256[2]",
"name": "a",
"type": "uint256[2]"
},
{
"internalType": "uint256[2][2]",
"name": "b",
"type": "uint256[2][2]"
},
{
"internalType": "uint256[2]",
"name": "c",
"type": "uint256[2]"
},
{
"internalType": "uint256[2]",
"name": "input",
"type": "uint256[2]"
}
],
"name": "verifyProof",
"outputs": [
{
"internalType": "bool",
"name": "r",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
}
}

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit 2b58ecbcf3dfde7a75959dc7b4eb3d0670278de6
Subproject commit 74cfb77e308dd188d2f58864aaf44963ae6b88b1