2024-05-09 18:54:47 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "signer",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indexed": false,
|
|
|
|
"internalType": "struct BN254.G1Point",
|
|
|
|
"name": "pkG1",
|
|
|
|
"type": "tuple"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256[2]",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256[2]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256[2]",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256[2]"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indexed": false,
|
|
|
|
"internalType": "struct BN254.G2Point",
|
|
|
|
"name": "pkG2",
|
|
|
|
"type": "tuple"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "NewSigner",
|
|
|
|
"type": "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "signer",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"indexed": false,
|
|
|
|
"internalType": "string",
|
|
|
|
"name": "socket",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "SocketUpdated",
|
|
|
|
"type": "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [],
|
|
|
|
"name": "epochNumber",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
2024-05-16 14:49:29 +00:00
|
|
|
"name": "_epoch",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "_quorumId",
|
2024-05-09 18:54:47 +00:00
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "bytes",
|
2024-05-16 14:49:29 +00:00
|
|
|
"name": "_quorumBitmap",
|
2024-05-09 18:54:47 +00:00
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getAggPkG1",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G1Point",
|
|
|
|
"name": "aggPkG1",
|
|
|
|
"type": "tuple"
|
2024-05-11 09:13:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "total",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "hit",
|
|
|
|
"type": "uint256"
|
2024-05-09 18:54:47 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
2024-05-16 14:49:29 +00:00
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "_epoch",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "_quorumId",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getQuorum",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "address[]",
|
|
|
|
"name": "",
|
|
|
|
"type": "address[]"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "address[]",
|
|
|
|
"name": "_account",
|
|
|
|
"type": "address[]"
|
2024-05-09 18:54:47 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getSigner",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "signer",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "string",
|
|
|
|
"name": "socket",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G1Point",
|
|
|
|
"name": "pkG1",
|
|
|
|
"type": "tuple"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256[2]",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256[2]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256[2]",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256[2]"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G2Point",
|
|
|
|
"name": "pkG2",
|
|
|
|
"type": "tuple"
|
|
|
|
}
|
|
|
|
],
|
2024-05-16 14:49:29 +00:00
|
|
|
"internalType": "struct IDASigners.SignerDetail[]",
|
2024-05-09 18:54:47 +00:00
|
|
|
"name": "",
|
2024-05-16 14:49:29 +00:00
|
|
|
"type": "tuple[]"
|
2024-05-09 18:54:47 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
2024-05-16 14:49:29 +00:00
|
|
|
"name": "_epoch",
|
2024-05-09 18:54:47 +00:00
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
2024-05-16 14:49:29 +00:00
|
|
|
"name": "quorumCount",
|
2024-05-09 18:54:47 +00:00
|
|
|
"outputs": [
|
|
|
|
{
|
2024-05-16 14:49:29 +00:00
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
2024-05-09 18:54:47 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G1Point",
|
|
|
|
"name": "_signature",
|
|
|
|
"type": "tuple"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "registerNextEpoch",
|
|
|
|
"outputs": [],
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "signer",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "string",
|
|
|
|
"name": "socket",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G1Point",
|
|
|
|
"name": "pkG1",
|
|
|
|
"type": "tuple"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256[2]",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256[2]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256[2]",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256[2]"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G2Point",
|
|
|
|
"name": "pkG2",
|
|
|
|
"type": "tuple"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct IDASigners.SignerDetail",
|
|
|
|
"name": "_signer",
|
|
|
|
"type": "tuple"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "X",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "Y",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct BN254.G1Point",
|
|
|
|
"name": "_signature",
|
|
|
|
"type": "tuple"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "registerSigner",
|
|
|
|
"outputs": [],
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "string",
|
2024-05-16 14:49:29 +00:00
|
|
|
"name": "_socket",
|
2024-05-09 18:54:47 +00:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "updateSocket",
|
|
|
|
"outputs": [],
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
}
|
|
|
|
]
|