mirror of
https://github.com/vacp2p/rln-contract.git
synced 2025-02-08 12:45:56 +00:00
556 lines
122 KiB
JSON
556 lines
122 KiB
JSON
|
{
|
||
|
"address": "0x16eff5b01123605924d9BF74Ed947F8Fd3015f44",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "MAX_DEPTH",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint8",
|
||
|
"name": "",
|
||
|
"type": "uint8"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "SNARK_SCALAR_FIELD",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_0",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_1",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_10",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_11",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_12",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_13",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_14",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_15",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_16",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_17",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_18",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_19",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_2",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_20",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_21",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_22",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_23",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_24",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_25",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_26",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_27",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_28",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_29",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_3",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_30",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_31",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_32",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_4",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_5",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_6",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_7",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_8",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "Z_9",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "defaultZero",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "pure",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"transactionHash": "0xd238ad4f50550de092e44527795ac822223dc21bade30a3db683dc86ba6ae33a",
|
||
|
"receipt": {
|
||
|
"to": null,
|
||
|
"from": "0x3F47b2a1dF96DE2e198d646b598C37251CCC3b98",
|
||
|
"contractAddress": "0x16eff5b01123605924d9BF74Ed947F8Fd3015f44",
|
||
|
"transactionIndex": 0,
|
||
|
"gasUsed": "2602911",
|
||
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"blockHash": "0x1eace0fa137dc24a8c16a15696a925f9f269e9a551214d878c086cfa53bf5848",
|
||
|
"transactionHash": "0xd238ad4f50550de092e44527795ac822223dc21bade30a3db683dc86ba6ae33a",
|
||
|
"logs": [],
|
||
|
"blockNumber": 3324842,
|
||
|
"cumulativeGasUsed": "2602911",
|
||
|
"status": 1,
|
||
|
"byzantium": true
|
||
|
},
|
||
|
"args": [],
|
||
|
"numDeployments": 1,
|
||
|
"solcInputHash": "3f87313134e2217cb187bd594084789f",
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"MAX_DEPTH\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SNARK_SCALAR_FIELD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_10\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_11\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_12\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_13\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_14\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_15\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_16\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_17\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_18\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_19\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_20\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_21\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_22\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_23\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_24\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_25\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_26\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_27\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"Z_28\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inp
|
||
|
"bytecode": "0x612e3f610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061025d5760003560e01c806365ad985e11610150578063b1849a1a116100cd578063c6675bbf11610091578063c6675bbf146106d9578063c7fadc67146106f7578063ccbad17414610715578063d2aa5c6214610733578063eb095a7d14610751578063f49babe61461076f5761025d565b8063b1849a1a14610638578063b410396a14610656578063b5f35eb914610674578063c0c5bf6714610692578063c2ad38d4146106b05761025d565b80639bf21071116101145780639bf21071146105a25780639cda4774146105c0578063a27154ba146105de578063a3205067146105fc578063af9d047c1461061a5761025d565b806365ad985e1461050c57806365f7bec31461052a5780638836ccf61461054857806389d0e9321461056657806394804215146105845761025d565b806344f9e1ac116101de578063583f8af4116101a2578063583f8af41461046b5780635da707d4146104895780635fcde067146104a757806362cff85e146104c557806364048bf2146104ee5761025d565b806344f9e1ac146103d557806352be1fb8146103f357806354f5a9011461041157806355005f761461042f578063565b427e1461044d5761025d565b806325c2cd121161022557806325c2cd121461033457806330314fc014610352578063309ec3c31461037057806334a84bb41461038e5780633994a957146103b75761025d565b80631150554414610262578063143dc3831461028057806314d8c626146102bd57806318f18fb1146102e65780631ddbea0014610316575b600080fd5b61026a61078d565b6040516102779190611fca565b60405180910390f35b81801561028c57600080fd5b506102a760048036038101906102a29190612051565b6107b1565b6040516102b49190611fca565b60405180910390f35b8180156102c957600080fd5b506102e460048036038101906102df9190612051565b610a24565b005b61030060048036038101906102fb9190612091565b610ab2565b60405161030d9190611fca565b60405180910390f35b61031e611104565b60405161032b9190611fca565b60405180910390f35b61033c611128565b6040516103499190611fca565b60405180910390f35b61035a61114c565b6040516103679190611fca565b60405180910390f35b610378611170565b6040516103859190611fca565b60405180910390f35b81801561039a57600080fd5b506103b560048036038101906103b091906120be565b611194565b005b6103bf611325565b6040516103cc9190611fca565b60405180910390f35b6103dd611349565b6040516103ea9190611fca565b60405180910390f35b6103fb61136d565b6040516104089190611fca565b60405180910390f35b610419611391565b6040516104269190611fca565b60405180910390f35b6104376113b5565b6040516104449190611fca565b60405180910390f35b6104556113d9565b6040516104629190611fca565b60405180910390f35b6104736113fd565b6040516104809190611fca565b60405180910390f35b610491611421565b60405161049e9190611fca565b60405180910390f35b6104af611445565b6040516104bc9190611fca565b60405180910390f35b8180156104d157600080fd5b506104ec60048036038101906104e791906121cc565b611469565b005b6104f66114b3565b6040516105039190611fca565b60405180910390f35b6105146114d7565b6040516105219190611fca565b60405180910390f35b6105326114dc565b60405161053f9190611fca565b60405180910390f35b610550611500565b60405161055d9190611fca565b60405180910390f35b61056e611524565b60405161057b9190611fca565b60405180910390f35b61058c611548565b6040516105999190611fca565b60405180910390f35b6105aa61156c565b6040516105b79190611fca565b60405180910390f35b6105c8611590565b6040516105d59190611fca565b60405180910390f35b6105e66115b4565b6040516105f3919061228f565b60405180910390f35b6106046115b9565b6040516106119190611fca565b60405180910390f35b6106226115dd565b60405161062f9190611fca565b60405180910390f35b610640611601565b60405161064d9190611fca565b60405180910390f35b61065e611625565b60405161066b9190611fca565b60405180910390f35b61067c611649565b6040516106899190611fca565b60405180910390f35b61069a61166d565b6040516106a79190611fca565b60405180910390f35b8180156106bc57600080fd5b506106d760048036038101906106d291906122aa565b611691565b005b6106e1611ad3565b6040516106ee9190611fca565b60405180910390f35b6106ff611af7565b60405161070c9190611fca565b60405180910390f35b61071d611b1b565b60405161072a9190611fca565b60405180910390f35b61073b611b3f565b6040516107489190611fca565b60405180910390f35b610759611b63565b6040516107669190611fca565b60405180910390f35b610777611b87565b6040516107849190611fca565b60405180910390f35b7f120c58f143d491e95902f7f5277778a2e0ad5168f6
|
||
|
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061025d5760003560e01c806365ad985e11610150578063b1849a1a116100cd578063c6675bbf11610091578063c6675bbf146106d9578063c7fadc67146106f7578063ccbad17414610715578063d2aa5c6214610733578063eb095a7d14610751578063f49babe61461076f5761025d565b8063b1849a1a14610638578063b410396a14610656578063b5f35eb914610674578063c0c5bf6714610692578063c2ad38d4146106b05761025d565b80639bf21071116101145780639bf21071146105a25780639cda4774146105c0578063a27154ba146105de578063a3205067146105fc578063af9d047c1461061a5761025d565b806365ad985e1461050c57806365f7bec31461052a5780638836ccf61461054857806389d0e9321461056657806394804215146105845761025d565b806344f9e1ac116101de578063583f8af4116101a2578063583f8af41461046b5780635da707d4146104895780635fcde067146104a757806362cff85e146104c557806364048bf2146104ee5761025d565b806344f9e1ac146103d557806352be1fb8146103f357806354f5a9011461041157806355005f761461042f578063565b427e1461044d5761025d565b806325c2cd121161022557806325c2cd121461033457806330314fc014610352578063309ec3c31461037057806334a84bb41461038e5780633994a957146103b75761025d565b80631150554414610262578063143dc3831461028057806314d8c626146102bd57806318f18fb1146102e65780631ddbea0014610316575b600080fd5b61026a61078d565b6040516102779190611fca565b60405180910390f35b81801561028c57600080fd5b506102a760048036038101906102a29190612051565b6107b1565b6040516102b49190611fca565b60405180910390f35b8180156102c957600080fd5b506102e460048036038101906102df9190612051565b610a24565b005b61030060048036038101906102fb9190612091565b610ab2565b60405161030d9190611fca565b60405180910390f35b61031e611104565b60405161032b9190611fca565b60405180910390f35b61033c611128565b6040516103499190611fca565b60405180910390f35b61035a61114c565b6040516103679190611fca565b60405180910390f35b610378611170565b6040516103859190611fca565b60405180910390f35b81801561039a57600080fd5b506103b560048036038101906103b091906120be565b611194565b005b6103bf611325565b6040516103cc9190611fca565b60405180910390f35b6103dd611349565b6040516103ea9190611fca565b60405180910390f35b6103fb61136d565b6040516104089190611fca565b60405180910390f35b610419611391565b6040516104269190611fca565b60405180910390f35b6104376113b5565b6040516104449190611fca565b60405180910390f35b6104556113d9565b6040516104629190611fca565b60405180910390f35b6104736113fd565b6040516104809190611fca565b60405180910390f35b610491611421565b60405161049e9190611fca565b60405180910390f35b6104af611445565b6040516104bc9190611fca565b60405180910390f35b8180156104d157600080fd5b506104ec60048036038101906104e791906121cc565b611469565b005b6104f66114b3565b6040516105039190611fca565b60405180910390f35b6105146114d7565b6040516105219190611fca565b60405180910390f35b6105326114dc565b60405161053f9190611fca565b60405180910390f35b610550611500565b60405161055d9190611fca565b60405180910390f35b61056e611524565b60405161057b9190611fca565b60405180910390f35b61058c611548565b6040516105999190611fca565b60405180910390f35b6105aa61156c565b6040516105b79190611fca565b60405180910390f35b6105c8611590565b6040516105d59190611fca565b60405180910390f35b6105e66115b4565b6040516105f3919061228f565b60405180910390f35b6106046115b9565b6040516106119190611fca565b60405180910390f35b6106226115dd565b60405161062f9190611fca565b60405180910390f35b610640611601565b60405161064d9190611fca565b60405180910390f35b61065e611625565b60405161066b9190611fca565b60405180910390f35b61067c611649565b6040516106899190611fca565b60405180910390f35b61069a61166d565b6040516106a79190611fca565b60405180910390f35b8180156106bc57600080fd5b506106d760048036038101906106d291906122aa565b611691565b005b6106e1611ad3565b6040516106ee9190611fca565b60405180910390f35b6106ff611af7565b60405161070c9190611fca565b60405180910390f35b61071d611b1b565b60405161072a9190611fca565b60405180910390f35b61073b611b3f565b6040516107489190611fca565b60405180910390f35b610759611b63565b6040516107669190611fca565b60405180910390f35b610777611b87565b6040516107849190611fca565b60405180910390f35b7f120c58f143d491e95902f7f5277778a2e0ad5168f6add75669932630ce61151881565b600080836000015490507f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001831061081d576040517f08c379a00000000000000000
|
||
|
"libraries": {
|
||
|
"PoseidonT3": "0x926D62A7b0EBAeF934949499F89554DAa32DD7D5"
|
||
|
},
|
||
|
"devdoc": {
|
||
|
"details": "The incremental tree allows to calculate the root hash each time a leaf is added, ensuring the integrity of the tree.",
|
||
|
"kind": "dev",
|
||
|
"methods": {
|
||
|
"init(BinaryIMTData storage,uint256,uint256)": {
|
||
|
"details": "Initializes a tree.",
|
||
|
"params": {
|
||
|
"depth": ": Depth of the tree.",
|
||
|
"self": ": Tree data.",
|
||
|
"zero": ": Zero value to be used."
|
||
|
}
|
||
|
},
|
||
|
"insert(BinaryIMTData storage,uint256)": {
|
||
|
"details": "Inserts a leaf in the tree.",
|
||
|
"params": {
|
||
|
"leaf": ": Leaf to be inserted.",
|
||
|
"self": ": Tree data."
|
||
|
}
|
||
|
},
|
||
|
"remove(BinaryIMTData storage,uint256,uint256[],uint8[])": {
|
||
|
"details": "Removes a leaf from the tree.",
|
||
|
"params": {
|
||
|
"leaf": ": Leaf to be removed.",
|
||
|
"proofPathIndices": ": Path of the proof of membership.",
|
||
|
"proofSiblings": ": Array of the sibling nodes of the proof of membership.",
|
||
|
"self": ": Tree data."
|
||
|
}
|
||
|
},
|
||
|
"update(BinaryIMTData storage,uint256,uint256,uint256[],uint8[])": {
|
||
|
"details": "Updates a leaf in the tree.",
|
||
|
"params": {
|
||
|
"leaf": ": Leaf to be updated.",
|
||
|
"newLeaf": ": New leaf.",
|
||
|
"proofPathIndices": ": Path of the proof of membership.",
|
||
|
"proofSiblings": ": Array of the sibling nodes of the proof of membership.",
|
||
|
"self": ": Tree data."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"title": "Incremental binary Merkle tree.",
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"storageLayout": {
|
||
|
"storage": [],
|
||
|
"types": null
|
||
|
}
|
||
|
}
|