{
  "_format": "hh-sol-artifact-1",
  "contractName": "TestP256Lib",
  "sourceName": "contracts/test/TestP256Lib.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IP256Verifier",
          "name": "verifier",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "message",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "r",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "s",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "x",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "y",
          "type": "uint256"
        }
      ],
      "name": "verifySignature",
      "outputs": [
        {
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IP256Verifier",
          "name": "verifier",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "message",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "r",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "s",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "x",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "y",
          "type": "uint256"
        }
      ],
      "name": "verifySignatureAllowMalleability",
      "outputs": [
        {
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "P256.Verifiers",
          "name": "verifiers",
          "type": "uint176"
        },
        {
          "internalType": "bytes32",
          "name": "message",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "r",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "s",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "x",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "y",
          "type": "uint256"
        }
      ],
      "name": "verifySignatureWithVerifiers",
      "outputs": [
        {
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "P256.Verifiers",
          "name": "verifiers",
          "type": "uint176"
        },
        {
          "internalType": "bytes32",
          "name": "message",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "r",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "s",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "x",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "y",
          "type": "uint256"
        }
      ],
      "name": "verifySignatureWithVerifiersAllowMalleability",
      "outputs": [
        {
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b50610367806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806370476ffe146100515780637cc4bd97146100785780639ae8c6271461008b578063cd4840041461009e575b600080fd5b61006461005f36600461028d565b6100b1565b604051901515815260200160405180910390f35b6100646100863660046102f4565b6100e4565b6100646100993660046102f4565b61010a565b6100646100ac36600461028d565b610130565b60006100d975ffffffffffffffffffffffffffffffffffffffffffff88168787878787610158565b979650505050505050565b60006100d973ffffffffffffffffffffffffffffffffffffffff881687878787876101a2565b60006100d973ffffffffffffffffffffffffffffffffffffffff881687878787876101de565b60006100d975ffffffffffffffffffffffffffffffffffffffffffff88168787878787610225565b60007f7fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a884111561018a57506000610198565b6100d9878787878787610225565b9695505050505050565b60007f7fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a88411156101d457506000610198565b6100d98787878787875b6000604051868152856020820152846040820152836060820152826080820152600080526020600060a0838b5afa60016000511460203d1416169150509695505050505050565b600061ffff60a088901c16878115610248576102458289898989896101de565b92505b8215801561026b575073ffffffffffffffffffffffffffffffffffffffff811615155b156102815761027e8189898989896101de565b92505b50509695505050505050565b60008060008060008060c087890312156102a657600080fd5b863575ffffffffffffffffffffffffffffffffffffffffffff811681146102cc57600080fd5b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b60008060008060008060c0878903121561030d57600080fd5b863573ffffffffffffffffffffffffffffffffffffffff811681146102cc57600080fdfea2646970667358221220e7c9e871fb629b65f7ae388b7cb789a4ac31c01a9eb72843699b92e2d189f1cf64736f6c63430008180033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806370476ffe146100515780637cc4bd97146100785780639ae8c6271461008b578063cd4840041461009e575b600080fd5b61006461005f36600461028d565b6100b1565b604051901515815260200160405180910390f35b6100646100863660046102f4565b6100e4565b6100646100993660046102f4565b61010a565b6100646100ac36600461028d565b610130565b60006100d975ffffffffffffffffffffffffffffffffffffffffffff88168787878787610158565b979650505050505050565b60006100d973ffffffffffffffffffffffffffffffffffffffff881687878787876101a2565b60006100d973ffffffffffffffffffffffffffffffffffffffff881687878787876101de565b60006100d975ffffffffffffffffffffffffffffffffffffffffffff88168787878787610225565b60007f7fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a884111561018a57506000610198565b6100d9878787878787610225565b9695505050505050565b60007f7fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a88411156101d457506000610198565b6100d98787878787875b6000604051868152856020820152846040820152836060820152826080820152600080526020600060a0838b5afa60016000511460203d1416169150509695505050505050565b600061ffff60a088901c16878115610248576102458289898989896101de565b92505b8215801561026b575073ffffffffffffffffffffffffffffffffffffffff811615155b156102815761027e8189898989896101de565b92505b50509695505050505050565b60008060008060008060c087890312156102a657600080fd5b863575ffffffffffffffffffffffffffffffffffffffffffff811681146102cc57600080fd5b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b60008060008060008060c0878903121561030d57600080fd5b863573ffffffffffffffffffffffffffffffffffffffff811681146102cc57600080fdfea2646970667358221220e7c9e871fb629b65f7ae388b7cb789a4ac31c01a9eb72843699b92e2d189f1cf64736f6c63430008180033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
