cic-staff-client/src/assets/js/block-sync/data/AddressDeclarator.json

67 lines
2.3 KiB
JSON

[
{
"anonymous": false,
"inputs": [
{ "indexed": false, "internalType": "address", "name": "_declarator", "type": "address" },
{ "indexed": false, "internalType": "address", "name": "_subject", "type": "address" },
{ "indexed": false, "internalType": "bytes32", "name": "_proof", "type": "bytes32" }
],
"name": "DeclarationAdded",
"type": "event"
},
{
"inputs": [
{ "internalType": "address", "name": "_subject", "type": "address" },
{ "internalType": "bytes32", "name": "_proof", "type": "bytes32" }
],
"name": "addDeclaration",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_declarator", "type": "address" },
{ "internalType": "address", "name": "_subject", "type": "address" }
],
"name": "declaration",
"outputs": [{ "internalType": "bytes32[]", "name": "", "type": "bytes32[]" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_declarator", "type": "address" },
{ "internalType": "uint256", "name": "_idx", "type": "uint256" }
],
"name": "declarationAddressAt",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "_declarator", "type": "address" }],
"name": "declarationCount",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_subject", "type": "address" },
{ "internalType": "uint256", "name": "_idx", "type": "uint256" }
],
"name": "declaratorAddressAt",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "_subject", "type": "address" }],
"name": "declaratorCount",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
}
]