mirror of
https://github.com/vacp2p/rln-interep-contract.git
synced 2025-03-01 06:30:33 +00:00
354 lines
31 KiB
JSON
354 lines
31 KiB
JSON
|
{
|
||
|
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "constructor"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "groupId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "provider",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "name",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "root",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint8",
|
||
|
"name": "depth",
|
||
|
"type": "uint8"
|
||
|
}
|
||
|
],
|
||
|
"name": "GroupUpdated",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "nullifierHash",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "NullifierHashAdded",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "groupId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "signal",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "ProofVerified",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "groupId",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getDepth",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint8",
|
||
|
"name": "",
|
||
|
"type": "uint8"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "groupId",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getRoot",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "groups",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "provider",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "name",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "root",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint8",
|
||
|
"name": "depth",
|
||
|
"type": "uint8"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "provider",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "name",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "root",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint8",
|
||
|
"name": "depth",
|
||
|
"type": "uint8"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct IInterep.Group[]",
|
||
|
"name": "_groups",
|
||
|
"type": "tuple[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "updateGroups",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "groupId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "signal",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "nullifierHash",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "externalNullifier",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256[8]",
|
||
|
"name": "proof",
|
||
|
"type": "uint256[8]"
|
||
|
}
|
||
|
],
|
||
|
"name": "verifyProof",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"transactionHash": "0xae96071f4bf0c893a293894326d92c0e0a219aab41a2d659621a0f8e2e5266e3",
|
||
|
"receipt": {
|
||
|
"to": null,
|
||
|
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
|
||
|
"contractAddress": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
||
|
"transactionIndex": 0,
|
||
|
"gasUsed": "595225",
|
||
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"blockHash": "0x61bcaf553e2b76f90c68125b05da3035f7d91d3bfeab900c886c6a917b97bc67",
|
||
|
"transactionHash": "0xae96071f4bf0c893a293894326d92c0e0a219aab41a2d659621a0f8e2e5266e3",
|
||
|
"logs": [],
|
||
|
"blockNumber": 2,
|
||
|
"cumulativeGasUsed": "595225",
|
||
|
"status": 1,
|
||
|
"byzantium": true
|
||
|
},
|
||
|
"args": [],
|
||
|
"numDeployments": 1,
|
||
|
"solcInputHash": "ead6ef53c3357eb855a45d268525327d",
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.8.4+commit.c7e474f2\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"groupId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"provider\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"depth\",\"type\":\"uint8\"}],\"name\":\"GroupUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nullifierHash\",\"type\":\"uint256\"}],\"name\":\"NullifierHashAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"groupId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"signal\",\"type\":\"bytes32\"}],\"name\":\"ProofVerified\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"groupId\",\"type\":\"uint256\"}],\"name\":\"getDepth\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"groupId\",\"type\":\"uint256\"}],\"name\":\"getRoot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"groups\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"provider\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"depth\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"provider\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"name\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"depth\",\"type\":\"uint8\"}],\"internalType\":\"struct IInterep.Group[]\",\"name\":\"_groups\",\"type\":\"tuple[]\"}],\"name\":\"updateGroups\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"groupId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"signal\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"nullifierHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"externalNullifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256[8]\",\"name\":\"proof\",\"type\":\"uint256[8]\"}],\"name\":\"verifyProof\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"mimics https://github.com/interep-project/contracts/blob/main/contracts/Interep.sol but ignores the verification mechanism\"},\"getDepth(uint256)\":{\"details\":\"See {IInterep-getDepth}.\"},\"getRoot(uint256)\":{\"details\":\"See {IInterep-getRoot}.\"},\"updateGroups((bytes32,bytes32,uint256,uint8)[])\":{\"details\":\"See {IInterep-updateGroups}.\"},\"verifyProof(uint256,bytes32,uint256,uint256,uint256[8])\":{\"details\":\"Saves the nullifier hash to avoid double signaling and emits an event if the zero-knowledge proof is valid.\",\"params\":{\"externalNullifier\":\": External nullifier.\",\"groupId\":\": Id of the group.\",\"nullifierHash\":\": Nullifier hash.\",\"proof\":\": Zero-knowledge proof.\",\"signal\":\": Semaphore signal.\"}}},\"version\":1},\"userdoc\":{\"events\":{\"NullifierHashAdded(uint256)\":{\"notice\":\"Emitted when a proof is verified correctly and a new nullifier hash is added.\"}},\"kind\":\"user\",\"methods
|
||
|
"bytecode": "0x608060405234801561001057600080fd5b506109d8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806358bdf0f41461005c5780636673e8491461007857806375e618c91461009457806396324bd4146100c45780639b24b3b0146100f7575b600080fd5b6100766004803603810190610071919061043a565b610127565b005b610092600480360381019061008d91906104a8565b610281565b005b6100ae60048036038101906100a9919061047f565b610288565b6040516100bb9190610642565b60405180910390f35b6100de60048036038101906100d9919061047f565b6102b4565b6040516100ee94939291906105b9565b60405180910390f35b610111600480360381019061010c919061047f565b6102f1565b60405161011e91906105fe565b60405180910390f35b60005b828290508160ff16101561027c5760007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000184848460ff16818110610197577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050608002016000013585858560ff168181106101dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060800201602001356040516020016101f892919061058d565b6040516020818303038152906040528051906020012060001c61021b9190610770565b90506102688185858560ff1681811061025d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060800201610310565b5080806102749061073c565b91505061012a565b505050565b5050505050565b600080600083815260200190815260200160002060030160009054906101000a900460ff169050919050565b60006020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16905084565b6000806000838152602001908152602001600020600201549050919050565b80600080848152602001908152602001600020818161032f9190610909565b9050508060600160208101906103459190610520565b60ff16816020013582600001357f3c0faca11540ab6635a2fc029595f2f4ffdd340883eea6c374bf74a68eef5c7d858560400135604051610387929190610619565b60405180910390a45050565b60008083601f8401126103a557600080fd5b8235905067ffffffffffffffff8111156103be57600080fd5b6020830191508360808202830111156103d657600080fd5b9250929050565b6000819050826020600802820111156103f557600080fd5b92915050565b60008135905061040a8161095d565b92915050565b60008135905061041f81610974565b92915050565b6000813590506104348161098b565b92915050565b6000806020838503121561044d57600080fd5b600083013567ffffffffffffffff81111561046757600080fd5b61047385828601610393565b92509250509250929050565b60006020828403121561049157600080fd5b600061049f84828501610410565b91505092915050565b600080600080600061018086880312156104c157600080fd5b60006104cf88828901610410565b95505060206104e0888289016103fb565b94505060406104f188828901610410565b935050606061050288828901610410565b9250506080610513888289016103dd565b9150509295509295909350565b60006020828403121561053257600080fd5b600061054084828501610425565b91505092915050565b6105528161065d565b82525050565b6105696105648261065d565b610766565b82525050565b61057881610667565b82525050565b61058781610671565b82525050565b60006105998285610558565b6020820191506105a98284610558565b6020820191508190509392505050565b60006080820190506105ce6000830187610549565b6105db6020830186610549565b6105e8604083018561056f565b6105f5606083018461057e565b95945050505050565b6000602082019050610613600083018461056f565b92915050565b600060408201905061062e600083018561056f565b61063b602083018461056f565b9392505050565b6000602082019050610657600083018461057e565b92915050565b6000819050919050565b6000819050919050565b600060ff82169050919050565b60006106898261065d565b9050919050565b600061069b82610667565b9050919050565b60006106ad82610671565b9050919050565b6000810160008301806106c681610825565b90506106d281846108e6565b5050506001810160208301806106e781610825565b90506106f381846108e6565b5050506002810160408301806107088161083b565b90506107148184610917565b50505060038101606083018061072981610851565b9050610735818461093a565b5050505050565b600061074782610671565b915060ff82141561075b5761075a6107a1565b5b600182019050919050565b6000819050919050565b600061077b82610667565b915061078683610667565b925082610796576107956107d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100
|
||
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c806358bdf0f41461005c5780636673e8491461007857806375e618c91461009457806396324bd4146100c45780639b24b3b0146100f7575b600080fd5b6100766004803603810190610071919061043a565b610127565b005b610092600480360381019061008d91906104a8565b610281565b005b6100ae60048036038101906100a9919061047f565b610288565b6040516100bb9190610642565b60405180910390f35b6100de60048036038101906100d9919061047f565b6102b4565b6040516100ee94939291906105b9565b60405180910390f35b610111600480360381019061010c919061047f565b6102f1565b60405161011e91906105fe565b60405180910390f35b60005b828290508160ff16101561027c5760007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000184848460ff16818110610197577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050608002016000013585858560ff168181106101dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060800201602001356040516020016101f892919061058d565b6040516020818303038152906040528051906020012060001c61021b9190610770565b90506102688185858560ff1681811061025d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060800201610310565b5080806102749061073c565b91505061012a565b505050565b5050505050565b600080600083815260200190815260200160002060030160009054906101000a900460ff169050919050565b60006020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff16905084565b6000806000838152602001908152602001600020600201549050919050565b80600080848152602001908152602001600020818161032f9190610909565b9050508060600160208101906103459190610520565b60ff16816020013582600001357f3c0faca11540ab6635a2fc029595f2f4ffdd340883eea6c374bf74a68eef5c7d858560400135604051610387929190610619565b60405180910390a45050565b60008083601f8401126103a557600080fd5b8235905067ffffffffffffffff8111156103be57600080fd5b6020830191508360808202830111156103d657600080fd5b9250929050565b6000819050826020600802820111156103f557600080fd5b92915050565b60008135905061040a8161095d565b92915050565b60008135905061041f81610974565b92915050565b6000813590506104348161098b565b92915050565b6000806020838503121561044d57600080fd5b600083013567ffffffffffffffff81111561046757600080fd5b61047385828601610393565b92509250509250929050565b60006020828403121561049157600080fd5b600061049f84828501610410565b91505092915050565b600080600080600061018086880312156104c157600080fd5b60006104cf88828901610410565b95505060206104e0888289016103fb565b94505060406104f188828901610410565b935050606061050288828901610410565b9250506080610513888289016103dd565b9150509295509295909350565b60006020828403121561053257600080fd5b600061054084828501610425565b91505092915050565b6105528161065d565b82525050565b6105696105648261065d565b610766565b82525050565b61057881610667565b82525050565b61058781610671565b82525050565b60006105998285610558565b6020820191506105a98284610558565b6020820191508190509392505050565b60006080820190506105ce6000830187610549565b6105db6020830186610549565b6105e8604083018561056f565b6105f5606083018461057e565b95945050505050565b6000602082019050610613600083018461056f565b92915050565b600060408201905061062e600083018561056f565b61063b602083018461056f565b9392505050565b6000602082019050610657600083018461057e565b92915050565b6000819050919050565b6000819050919050565b600060ff82169050919050565b60006106898261065d565b9050919050565b600061069b82610667565b9050919050565b60006106ad82610671565b9050919050565b6000810160008301806106c681610825565b90506106d281846108e6565b5050506001810160208301806106e781610825565b90506106f381846108e6565b5050506002810160408301806107088161083b565b90506107148184610917565b50505060038101606083018061072981610851565b9050610735818461093a565b5050505050565b600061074782610671565b915060ff82141561075b5761075a6107a1565b5b600182019050919050565b6000819050919050565b600061077b82610667565b915061078683610667565b925082610796576107956107d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b710000000000000000000000000000000000000000000000000000000060
|
||
|
"devdoc": {
|
||
|
"kind": "dev",
|
||
|
"methods": {
|
||
|
"constructor": {
|
||
|
"details": "mimics https://github.com/interep-project/contracts/blob/main/contracts/Interep.sol but ignores the verification mechanism"
|
||
|
},
|
||
|
"getDepth(uint256)": {
|
||
|
"details": "See {IInterep-getDepth}."
|
||
|
},
|
||
|
"getRoot(uint256)": {
|
||
|
"details": "See {IInterep-getRoot}."
|
||
|
},
|
||
|
"updateGroups((bytes32,bytes32,uint256,uint8)[])": {
|
||
|
"details": "See {IInterep-updateGroups}."
|
||
|
},
|
||
|
"verifyProof(uint256,bytes32,uint256,uint256,uint256[8])": {
|
||
|
"details": "Saves the nullifier hash to avoid double signaling and emits an event if the zero-knowledge proof is valid.",
|
||
|
"params": {
|
||
|
"externalNullifier": ": External nullifier.",
|
||
|
"groupId": ": Id of the group.",
|
||
|
"nullifierHash": ": Nullifier hash.",
|
||
|
"proof": ": Zero-knowledge proof.",
|
||
|
"signal": ": Semaphore signal."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"events": {
|
||
|
"NullifierHashAdded(uint256)": {
|
||
|
"notice": "Emitted when a proof is verified correctly and a new nullifier hash is added."
|
||
|
}
|
||
|
},
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"storageLayout": {
|
||
|
"storage": [
|
||
|
{
|
||
|
"astId": 225,
|
||
|
"contract": "contracts/InterepTest.sol:InterepTest",
|
||
|
"label": "groups",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_mapping(t_uint256,t_struct(Group)16_storage)"
|
||
|
}
|
||
|
],
|
||
|
"types": {
|
||
|
"t_bytes32": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "bytes32",
|
||
|
"numberOfBytes": "32"
|
||
|
},
|
||
|
"t_mapping(t_uint256,t_struct(Group)16_storage)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_uint256",
|
||
|
"label": "mapping(uint256 => struct IInterep.Group)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_struct(Group)16_storage"
|
||
|
},
|
||
|
"t_struct(Group)16_storage": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "struct IInterep.Group",
|
||
|
"members": [
|
||
|
{
|
||
|
"astId": 9,
|
||
|
"contract": "contracts/InterepTest.sol:InterepTest",
|
||
|
"label": "provider",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_bytes32"
|
||
|
},
|
||
|
{
|
||
|
"astId": 11,
|
||
|
"contract": "contracts/InterepTest.sol:InterepTest",
|
||
|
"label": "name",
|
||
|
"offset": 0,
|
||
|
"slot": "1",
|
||
|
"type": "t_bytes32"
|
||
|
},
|
||
|
{
|
||
|
"astId": 13,
|
||
|
"contract": "contracts/InterepTest.sol:InterepTest",
|
||
|
"label": "root",
|
||
|
"offset": 0,
|
||
|
"slot": "2",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 15,
|
||
|
"contract": "contracts/InterepTest.sol:InterepTest",
|
||
|
"label": "depth",
|
||
|
"offset": 0,
|
||
|
"slot": "3",
|
||
|
"type": "t_uint8"
|
||
|
}
|
||
|
],
|
||
|
"numberOfBytes": "128"
|
||
|
},
|
||
|
"t_uint256": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint256",
|
||
|
"numberOfBytes": "32"
|
||
|
},
|
||
|
"t_uint8": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint8",
|
||
|
"numberOfBytes": "1"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|