{
  "_format": "hh-sol-artifact-1",
  "contractName": "WithdrawalLibTest",
  "sourceName": "contracts/test/common/WithdrawalLibTest.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint32",
          "name": "tokenIndex",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "bytes32",
          "name": "nullifier",
          "type": "bytes32"
        }
      ],
      "name": "createWithdrawal",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "recipient",
              "type": "address"
            },
            {
              "internalType": "uint32",
              "name": "tokenIndex",
              "type": "uint32"
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "nullifier",
              "type": "bytes32"
            }
          ],
          "internalType": "struct WithdrawalLib.Withdrawal",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint32",
          "name": "tokenIndex",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "bytes32",
          "name": "nullifier",
          "type": "bytes32"
        }
      ],
      "name": "getHash",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    }
  ],
  "bytecode": "0x6080604052348015600f57600080fd5b5061025d8061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638bfcde7a1461003b578063d3c2afcd146100e9575b600080fd5b61009e6100493660046101cc565b60408051608081018252600080825260208201819052918101829052606081019190915250604080516080810182526001600160a01b03909516855263ffffffff909316602085015291830152606082015290565b6040516100e0919081516001600160a01b0316815260208083015163ffffffff1690820152604080830151908201526060918201519181019190915260800190565b60405180910390f35b6100fc6100f73660046101cc565b61010a565b6040519081526020016100e0565b604080516080810182526001600160a01b038616815263ffffffff85166020820152908101839052606081018290526000906101458161014f565b9695505050505050565b600081600001518260200151836040015184606001516040516020016101af949392919060609490941b6bffffffffffffffffffffffff1916845260e09290921b6001600160e01b03191660148401526018830152603882015260580190565b604051602081830303815290604052805190602001209050919050565b600080600080608085870312156101e257600080fd5b84356001600160a01b03811681146101f957600080fd5b9350602085013563ffffffff8116811461021257600080fd5b9396939550505050604082013591606001359056fea26469706673582212206c6ade808065fc723ea2573cebd0de3d52e6ef78f3289836ae5a6cd7aa139c1264736f6c634300081b0033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80638bfcde7a1461003b578063d3c2afcd146100e9575b600080fd5b61009e6100493660046101cc565b60408051608081018252600080825260208201819052918101829052606081019190915250604080516080810182526001600160a01b03909516855263ffffffff909316602085015291830152606082015290565b6040516100e0919081516001600160a01b0316815260208083015163ffffffff1690820152604080830151908201526060918201519181019190915260800190565b60405180910390f35b6100fc6100f73660046101cc565b61010a565b6040519081526020016100e0565b604080516080810182526001600160a01b038616815263ffffffff85166020820152908101839052606081018290526000906101458161014f565b9695505050505050565b600081600001518260200151836040015184606001516040516020016101af949392919060609490941b6bffffffffffffffffffffffff1916845260e09290921b6001600160e01b03191660148401526018830152603882015260580190565b604051602081830303815290604052805190602001209050919050565b600080600080608085870312156101e257600080fd5b84356001600160a01b03811681146101f957600080fd5b9350602085013563ffffffff8116811461021257600080fd5b9396939550505050604082013591606001359056fea26469706673582212206c6ade808065fc723ea2573cebd0de3d52e6ef78f3289836ae5a6cd7aa139c1264736f6c634300081b0033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
