{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IProjects",
          "name": "_projects",
          "type": "address"
        },
        {
          "internalType": "contract IOperatorStore",
          "name": "_operatorStore",
          "type": "address"
        },
        {
          "internalType": "contract ITerminalDirectory",
          "name": "_terminalDirectory",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "name",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "symbol",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Issue",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Lock",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "convertedTickets",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "preferUnstakedTickets",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "controller",
          "type": "address"
        }
      ],
      "name": "Print",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "stakedTickets",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "preferUnstaked",
          "type": "bool"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "controller",
          "type": "address"
        }
      ],
      "name": "Redeem",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Stake",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Transfer",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Unlock",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "holder",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "Unstake",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "balanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "balance",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_name",
          "type": "string"
        },
        {
          "internalType": "string",
          "name": "_symbol",
          "type": "string"
        }
      ],
      "name": "issue",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "lock",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "lockedBalanceBy",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "lockedBalanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "operatorStore",
      "outputs": [
        {
          "internalType": "contract IOperatorStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "_preferUnstakedTickets",
          "type": "bool"
        }
      ],
      "name": "print",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "projects",
      "outputs": [
        {
          "internalType": "contract IProjects",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "_preferUnstaked",
          "type": "bool"
        }
      ],
      "name": "redeem",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "stake",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "stakedBalanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "stakedTotalSupplyOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "terminalDirectory",
      "outputs": [
        {
          "internalType": "contract ITerminalDirectory",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "ticketsOf",
      "outputs": [
        {
          "internalType": "contract ITickets",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "totalSupplyOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "supply",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_recipient",
          "type": "address"
        }
      ],
      "name": "transfer",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "unlock",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_holder",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "unstake",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x60e06040523480156200001157600080fd5b5060405162004c4338038062004c4383398101604081905262000034916200005d565b6001600160601b0319606091821b811660805291811b821660a0529190911b1660c052620000ca565b6000806000606084860312156200007357600080fd5b83516200008081620000b1565b60208501519093506200009381620000b1565b6040850151909250620000a681620000b1565b809150509250925092565b6001600160a01b0381168114620000c757600080fd5b50565b60805160601c60a05160601c60c05160601c614aec62000157600039600081816102a201526115c701526000818161030f015281816105520152818161063001528181610ae201528181610bc0015281816116d601528181611b6c01528181611c4a0152818161267301526127510152600081816102630152818161108d01526122ab0152614aec6000f3fe60806040523480156200001157600080fd5b50600436106200014e5760003560e01c80638b79543c11620000c0578063b5674c68116200008b578063b6f7fdb9116200006e578063b6f7fdb91462000376578063e0826c8914620003aa578063e2ab691d14620003c157600080fd5b8063b5674c681462000331578063b656463b146200034857600080fd5b80638b79543c146200029c5780638ef4c80714620002c4578063a2bc66be14620002f2578063ad007d63146200030957600080fd5b80635030724e116200011e5780636806ec5911620001015780636806ec5914620002465780636abcf8e3146200025d57806375b0d9cd146200028557600080fd5b80635030724e146200020c57806365e0d731146200022f57600080fd5b8062fdd58e14620001535780630c51b88f146200017d57806333681fb11462000196578063465909fc14620001ad575b600080fd5b6200016a6200016436600462002b67565b620003d8565b6040519081526020015b60405180910390f35b620001946200018e36600462002b96565b620004d5565b005b62000194620001a736600462002bce565b62000a65565b620001e6620001be36600462002c81565b60006020819052908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200162000174565b6200016a6200021d36600462002c81565b60026020526000908152604090205481565b620001946200024036600462002c1d565b62001045565b620001946200025736600462002cb5565b62001598565b620001e67f000000000000000000000000000000000000000000000000000000000000000081565b6200016a6200029636600462002c81565b62001a21565b620001e67f000000000000000000000000000000000000000000000000000000000000000081565b6200016a620002d536600462002b67565b600360209081526000928352604080842090915290825290205481565b620001946200030336600462002b96565b62001aef565b620001e67f000000000000000000000000000000000000000000000000000000000000000081565b620001946200034236600462002b96565b62002014565b6200016a6200035936600462002b67565b600160209081526000928352604080842090915290825290205481565b6200016a6200038736600462002b21565b600460209081526000938452604080852082529284528284209052825290205481565b62000194620003bb36600462002c1d565b62002263565b62000194620003d236600462002b96565b620025f6565b73ffffffffffffffffffffffffffffffffffffffff808316600090815260016020908152604080832085845282528083205491839052909120549091168015620004ce576040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301528216906370a082319060240160206040518083038186803b1580156200048457600080fd5b505afa15801562000499573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004bf919062002c9b565b620004cb908362002e09565b91505b5092915050565b8282600a3373ffffffffffffffffffffffffffffffffffffffff84161480620005d057506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200059557600080fd5b505afa158015620005aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005d0919062002c61565b80620006ae57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200067357600080fd5b505afa15801562000688573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ae919062002c61565b6200071a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a4544000000000000000060448201526064015b60405180910390fd5b60008581526020819052604090205473ffffffffffffffffffffffffffffffffffffffff1680620007a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5469636b6574426f6f74683a3a7374616b653a204e4f545f464f554e44000000604482015260640162000711565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152600091908316906370a082319060240160206040518083038186803b1580156200081457600080fd5b505afa15801562000829573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084f919062002c9b565b905085811015620008e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5469636b6574426f6f74683a3a7374616b653a20494e53554646494349454e5460448201527f5f46554e44530000000000000000000000000000000000000000000000000000606482015260840162000711565b6040517f1e9a695000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff898116600483015260248201889052831690631e9a695090604401600060405180830381600087803b1580156200095457600080fd5b505af115801562000969573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff891660009081526001602090815260408083208b8452909152902054620009ab9150879062002e09565b73ffffffffffffffffffffffffffffffffffffffff891660009081526001602090815260408083208b8452825280832093909355600290522054620009f290879062002e09565b6000888152600260209081526040918290209290925580518881523392810192909252889173ffffffffffffffffffffffffffffffffffffffff8b16917feb43904edee62537f8f003e791630611e9d7d8b7e0f0c038639ebe7c970dd63091015b60405180910390a35050505050505050565b8383600c3373ffffffffffffffffffffffffffffffffffffffff8416148062000b6057506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562000b2557600080fd5b505afa15801562000b3a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b60919062002c61565b8062000c3e57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562000c0357600080fd5b505afa15801562000c18573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c3e919062002c61565b62000ca6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff841662000d4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5469636b6574426f6f74683a3a7472616e736665723a205a45524f5f4144445260448201527f4553530000000000000000000000000000000000000000000000000000000000606482015260840162000711565b8373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141562000de3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5469636b6574426f6f74683a3a7472616e736665723a204944454e5449545900604482015260640162000711565b6000851162000e4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5469636b6574426f6f74683a3a7472616e736665723a204e4f5f4f5000000000604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff871660008181526003602090815260408083208a8452825280832054938352600182528083208a8452909152812054909162000ea09162002e24565b90508086111562000f34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5469636b6574426f6f74683a3a7472616e736665723a20494e5355464649434960448201527f454e545f46554e44530000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602090815260408083208a845290915290205462000f7290879062002e24565b73ffffffffffffffffffffffffffffffffffffffff808a1660009081526001602081815260408084208d8552825280842095909555928916825282528281208a8252909152205462000fc690879062002e09565b73ffffffffffffffffffffffffffffffffffffffff86811660008181526001602090815260408083208d84528252918290209490945580518a8152339481019490945290928a928c16917fae47e55abe3902569528abe4272b889079230a248aec0659a2939a90354982c6910160405180910390a45050505050505050565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018490528390339073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b158015620010d057600080fd5b505afa158015620010e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200110b919062002afa565b73ffffffffffffffffffffffffffffffffffffffff16146200118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5465726d696e616c5574696c6974793a20554e415554484f52495a4544000000604482015260640162000711565b6000848152602081815260408083205473ffffffffffffffffffffffffffffffffffffffff898116808652600385528386208a8752855283862054908652600185528386208a87529094529184205491169291620011e89162002e24565b9050600073ffffffffffffffffffffffffffffffffffffffff831615620012b2576040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301528416906370a082319060240160206040518083038186803b1580156200127157600080fd5b505afa15801562001286573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012ac919062002c9b565b620012b5565b60005b90508086108015620012c657508186105b80620012e95750808610158015620012e95750620012e5818762002e24565b8210155b806200130c57508186101580156200130c575062001308828762002e24565b8110155b6200139a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f5469636b6574426f6f74683a3a72656465656d3a20494e53554646494349454e60448201527f545f46554e445300000000000000000000000000000000000000000000000000606482015260840162000711565b600081620013ab57506000620013ed565b8515620013cc5786821015620013c25781620013c4565b865b9050620013ed565b86831015620013e757620013e1838862002e24565b620013ea565b60005b90505b6000620013fb828962002e24565b905081156200148f576040517f1e9a695000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b8116600483015260248201849052861690631e9a695090604401600060405180830381600087803b1580156200147557600080fd5b505af11580156200148a573d6000803e3d6000fd5b505050505b80156200152b5773ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602090815260408083208c8452909152902054620014d490829062002e24565b73ffffffffffffffffffffffffffffffffffffffff8b1660009081526001602090815260408083208d84528252808320939093556002905220546200151b90829062002e24565b60008a8152600260205260409020555b60408051898152602081018690528815158183015233606082015290518a9173ffffffffffffffffffffffffffffffffffffffff8d16917f8c2b9ccc192ca181c0f26a420bbc623e6222ce29c08f6e81b68df4f076f123439181900360800190a350505050505050505050565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018690527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690636352211e9060240160206040518083038186803b1580156200161f57600080fd5b505afa15801562001634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165a919062002afa565b8560093373ffffffffffffffffffffffffffffffffffffffff841614806200175457506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200171957600080fd5b505afa1580156200172e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001754919062002c61565b620017bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b8562001825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5469636b6574426f6f74683a3a69737375653a20454d5054595f4e414d450000604482015260640162000711565b836200188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5469636b6574426f6f74683a3a69737375653a20454d5054595f53594d424f4c604482015260640162000711565b60008881526020819052604090205473ffffffffffffffffffffffffffffffffffffffff161562001942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5469636b6574426f6f74683a3a69737375653a20414c52454144595f4953535560448201527f4544000000000000000000000000000000000000000000000000000000000000606482015260840162000711565b86868686604051620019549062002aa0565b62001963949392919062002d7f565b604051809103906000f08015801562001980573d6000803e3d6000fd5b506000898152602081905260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff93909316929092179091555188907f05f79890a2d2c8e15c45a3a79a0ddc2c45db38d489e7f6948593f1fef566c8ec9062001a0f908a908a908a908a90339062002db5565b60405180910390a25050505050505050565b600081815260026020908152604080832054918390529091205473ffffffffffffffffffffffffffffffffffffffff16801562001ae9578073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801562001a9f57600080fd5b505afa15801562001ab4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ada919062002c9b565b62001ae6908362002e09565b91505b50919050565b8282600b3373ffffffffffffffffffffffffffffffffffffffff8416148062001bea57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562001baf57600080fd5b505afa15801562001bc4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bea919062002c61565b8062001cc857506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562001c8d57600080fd5b505afa15801562001ca2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cc8919062002c61565b62001d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b60008581526020819052604090205473ffffffffffffffffffffffffffffffffffffffff168062001dbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5469636b6574426f6f74683a3a756e7374616b653a204e4f545f464f554e4400604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff871660008181526003602090815260408083208a8452825280832054938352600182528083208a8452909152812054909162001e0f9162002e24565b90508581101562001ea3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5469636b6574426f6f74683a3a756e7374616b653a20494e535546464943494560448201527f4e545f46554e4453000000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602090815260408083208a845290915290205462001ee190879062002e24565b73ffffffffffffffffffffffffffffffffffffffff891660009081526001602090815260408083208b845282528083209390935560029052205462001f2890879062002e24565b6000888152600260205260409081902091909155517fac68553900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301526024820188905283169063ac68553990604401600060405180830381600087803b15801562001fab57600080fd5b505af115801562001fc0573d6000803e3d6000fd5b5050604080518981523360208201528a935073ffffffffffffffffffffffffffffffffffffffff8c1692507f8b264d23b1bf5d7d34440338fbbf8e868725712186df7862503c9620ea6e9589910162000a53565b6000811162002080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5469636b6574426f6f74683a3a756e6c6f636b3a204e4f5f4f50000000000000604482015260640162000711565b33600090815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845282528083208584529091529020548111156200214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f5469636b6574426f6f74683a3a756e6c6f636b3a20494e53554646494349454e60448201527f545f46554e445300000000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083208584529091529020546200218890829062002e24565b73ffffffffffffffffffffffffffffffffffffffff84166000818152600360209081526040808320878452825280832094909455338252600481528382209282529182528281208582529091522054620021e490829062002e24565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff891680855290835281842088855283529281902094909455835185815290810192909252849290917f17a47c3640e01bce0ad23c20907bc651cab2af1b0abc543ae1da119b43de8cca910160405180910390a3505050565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018490528390339073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b158015620022ee57600080fd5b505afa15801562002303573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002329919062002afa565b73ffffffffffffffffffffffffffffffffffffffff1614620023a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5465726d696e616c5574696c6974793a20554e415554484f52495a4544000000604482015260640162000711565b6000831162002414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5469636b6574426f6f74683a3a7072696e743a204e4f5f4f5000000000000000604482015260640162000711565b60008481526020819052604081205473ffffffffffffffffffffffffffffffffffffffff16908380156200245d575073ffffffffffffffffffffffffffffffffffffffff821615155b90508015620024f6576040517fac68553900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526024820187905283169063ac68553990604401600060405180830381600087803b158015620024d757600080fd5b505af1158015620024ec573d6000803e3d6000fd5b505050506200258b565b73ffffffffffffffffffffffffffffffffffffffff871660009081526001602090815260408083208984529091529020546200253490869062002e09565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602090815260408083208a84528252808320939093556002905220546200257b90869062002e09565b6000878152600260205260409020555b604080518681528215156020820152851515818301523360608201529051879173ffffffffffffffffffffffffffffffffffffffff8a16917f1d52fee743b6ab8b9037ca51c77fba34120c1ccf69645da4defbb134728698789181900360800190a350505050505050565b8282600d3373ffffffffffffffffffffffffffffffffffffffff84161480620026f157506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b158015620026b657600080fd5b505afa158015620026cb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026f1919062002c61565b80620027cf57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200279457600080fd5b505afa158015620027a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027cf919062002c61565b62002837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b60008411620028a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5469636b6574426f6f74683a3a6c6f636b3a204e4f5f4f500000000000000000604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff86166000818152600360209081526040808320898452825280832054938352600182528083208984529091529020548591620028f49162002e24565b101562002984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f5469636b6574426f6f74683a3a6c6f636b3a20494e53554646494349454e545f60448201527f46554e4453000000000000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600360209081526040808320888452909152902054620029c290859062002e09565b73ffffffffffffffffffffffffffffffffffffffff871660008181526003602090815260408083208a845282528083209490945533825260048152838220928252918252828120888252909152205462002a1e90859062002e09565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8c168085529083528184208b855283529281902094909455835188815290810192909252879290917f75784e97e4541f1b3d2c44d8c51b419e33fb6de615033cfc6e6810db54ffa4fe910160405180910390a3505050505050565b611c148062002ea383390190565b60008083601f84011262002ac157600080fd5b50813567ffffffffffffffff81111562002ada57600080fd5b60208301915083602082850101111562002af357600080fd5b9250929050565b60006020828403121562002b0d57600080fd5b815162002b1a8162002e6d565b9392505050565b60008060006060848603121562002b3757600080fd5b833562002b448162002e6d565b9250602084013562002b568162002e6d565b929592945050506040919091013590565b6000806040838503121562002b7b57600080fd5b823562002b888162002e6d565b946020939093013593505050565b60008060006060848603121562002bac57600080fd5b833562002bb98162002e6d565b95602085013595506040909401359392505050565b6000806000806080858703121562002be557600080fd5b843562002bf28162002e6d565b93506020850135925060408501359150606085013562002c128162002e6d565b939692955090935050565b6000806000806080858703121562002c3457600080fd5b843562002c418162002e6d565b93506020850135925060408501359150606085013562002c128162002e93565b60006020828403121562002c7457600080fd5b815162002b1a8162002e93565b60006020828403121562002c9457600080fd5b5035919050565b60006020828403121562002cae57600080fd5b5051919050565b60008060008060006060868803121562002cce57600080fd5b85359450602086013567ffffffffffffffff8082111562002cee57600080fd5b62002cfc89838a0162002aae565b9096509450604088013591508082111562002d1657600080fd5b5062002d258882890162002aae565b969995985093965092949392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60408152600062002d9560408301868862002d36565b828103602084015262002daa81858762002d36565b979650505050505050565b60608152600062002dcb60608301878962002d36565b828103602084015262002de081868862002d36565b91505073ffffffffffffffffffffffffffffffffffffffff831660408301529695505050505050565b6000821982111562002e1f5762002e1f62002e3e565b500190565b60008282101562002e395762002e3962002e3e565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff8116811462002e9057600080fd5b50565b801515811462002e9057600080fdfe6101406040523480156200001257600080fd5b5060405162001c1438038062001c148339810160408190526200003591620002eb565b8180604051806040016040528060018152602001603160f81b815250848481600390805190602001906200006b9291906200018e565b508051620000819060049060208401906200018e565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060601b60c05261012052506200013093506200012a925050620001389050565b6200013c565b5050620003a8565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200019c9062000355565b90600052602060002090601f016020900481019282620001c057600085556200020b565b82601f10620001db57805160ff19168380011785556200020b565b828001600101855582156200020b579182015b828111156200020b578251825591602001919060010190620001ee565b50620002199291506200021d565b5090565b5b808211156200021957600081556001016200021e565b600082601f8301126200024657600080fd5b81516001600160401b038082111562000263576200026362000392565b604051601f8301601f19908116603f011681019082821181831017156200028e576200028e62000392565b81604052838152602092508683858801011115620002ab57600080fd5b600091505b83821015620002cf5785820183015181830184015290820190620002b0565b83821115620002e15760008385830101525b9695505050505050565b60008060408385031215620002ff57600080fd5b82516001600160401b03808211156200031757600080fd5b620003258683870162000234565b935060208501519150808211156200033c57600080fd5b506200034b8582860162000234565b9150509250929050565b600181811c908216806200036a57607f821691505b602082108114156200038c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160601c60e0516101005161012051611819620003fb6000396000610fea015260006110390152600061101401526000610f6d01526000610f9701526000610fc101526118196000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c8063715018a6116100cd578063a9059cbb11610081578063d505accf11610066578063d505accf146102b5578063dd62ed3e146102c8578063f2fde38b1461030e57600080fd5b8063a9059cbb1461028f578063ac685539146102a257600080fd5b80638da5cb5b116100b25780638da5cb5b1461024c57806395d89b4114610274578063a457c2d71461027c57600080fd5b8063715018a6146102315780637ecebe001461023957600080fd5b806323b872dd116101245780633644e515116101095780633644e515146101e057806339509351146101e857806370a08231146101fb57600080fd5b806323b872dd146101be578063313ce567146101d157600080fd5b806306fdde0314610156578063095ea7b31461017457806318160ddd146101975780631e9a6950146101a9575b600080fd5b61015e610321565b60405161016b91906116b4565b60405180910390f35b61018761018236600461168a565b6103b3565b604051901515815260200161016b565b6002545b60405190815260200161016b565b6101bc6101b736600461168a565b6103cb565b005b6101876101cc3660046115db565b6103e1565b6040516012815260200161016b565b61019b610405565b6101876101f636600461168a565b610414565b61019b610209366004611586565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101bc610460565b61019b610247366004611586565b610474565b60075460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161016b565b61015e6104a1565b61018761028a36600461168a565b6104b0565b61018761029d36600461168a565b610586565b6101bc6102b036600461168a565b610594565b6101bc6102c3366004611617565b6105a6565b61019b6102d63660046115a8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101bc61031c366004611586565b610765565b60606003805461033090611766565b80601f016020809104026020016040519081016040528092919081815260200182805461035c90611766565b80156103a95780601f1061037e576101008083540402835291602001916103a9565b820191906000526020600020905b81548152906001019060200180831161038c57829003601f168201915b5050505050905090565b6000336103c181858561081c565b5060019392505050565b6103d36109d0565b6103dd8282610a51565b5050565b6000336103ef858285610c0d565b6103fa858585610ce4565b506001949350505050565b600061040f610f53565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906103c1908290869061045b908790611727565b61081c565b6104686109d0565b6104726000611087565b565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600560205260408120545b92915050565b60606004805461033090611766565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103fa828686840361081c565b6000336103c1818585610ce4565b61059c6109d0565b6103dd82826110fe565b83421115610610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610570565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861063f8c6111f1565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006106a782611226565b905060006106b78287878761128f565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461074e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610570565b6107598a8a8a61081c565b50505050505050505050565b61076d6109d0565b73ffffffffffffffffffffffffffffffffffffffff8116610810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610570565b61081981611087565b50565b73ffffffffffffffffffffffffffffffffffffffff83166108be576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff8216610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610570565b73ffffffffffffffffffffffffffffffffffffffff8216610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610baa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016109c3565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610cde5781811015610cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610570565b610cde848484840361081c565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610d87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff8216610e2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610ee0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cde565b60003073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016148015610fb957507f000000000000000000000000000000000000000000000000000000000000000046145b15610fe357507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821661117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610570565b806002600082825461118d9190611727565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090208054600181018255905b50919050565b600061049b611233610f53565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006112a0878787876112b7565b915091506112ad816113a6565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112ee575060009050600361139d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611342573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166113965760006001925092505061139d565b9150600090505b94509492505050565b60008160048111156113ba576113ba6117b4565b14156113c35750565b60018160048111156113d7576113d76117b4565b141561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610570565b6002816004811115611453576114536117b4565b14156114bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610570565b60038160048111156114cf576114cf6117b4565b1415610819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610570565b803573ffffffffffffffffffffffffffffffffffffffff8116811461158157600080fd5b919050565b60006020828403121561159857600080fd5b6115a18261155d565b9392505050565b600080604083850312156115bb57600080fd5b6115c48361155d565b91506115d26020840161155d565b90509250929050565b6000806000606084860312156115f057600080fd5b6115f98461155d565b92506116076020850161155d565b9150604084013590509250925092565b600080600080600080600060e0888a03121561163257600080fd5b61163b8861155d565b96506116496020890161155d565b95506040880135945060608801359350608088013560ff8116811461166d57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561169d57600080fd5b6116a68361155d565b946020939093013593505050565b600060208083528351808285015260005b818110156116e1578581018301518582016040015282016116c5565b818111156116f3576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115611761577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b600181811c9082168061177a57607f821691505b60208210811415611220577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212208cbc1eeb9bda246d6a6990a82c3ebbf85f72b977cb4b3d65538b5b15864cd7df64736f6c63430008060033a26469706673582212206c145522ea36d08f469c37c89c8fab43bf55018ee259b51b360000949abf253c64736f6c63430008060033",
    "sourceMap": "604:17438:35:-:0;;;3326:233;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;680:38:39;;;;;;;1861:30:38;;;;;;;3532:20:35;;;;;::::2;::::0;604:17438;;14:638:168;173:6;181;189;242:2;230:9;221:7;217:23;213:32;210:2;;;258:1;255;248:12;210:2;290:9;284:16;309:47;350:5;309:47;:::i;:::-;425:2;410:18;;404:25;375:5;;-1:-1:-1;438:49:168;404:25;438:49;:::i;:::-;558:2;543:18;;537:25;506:7;;-1:-1:-1;571:49:168;537:25;571:49;:::i;:::-;639:7;629:17;;;200:452;;;;;:::o;657:147::-;-1:-1:-1;748:31:168;;738:42;;728:2;;794:1;791;784:12;728:2;718:86;:::o;:::-;604:17438:35;;;;;;;;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x60806040523480156200001157600080fd5b50600436106200014e5760003560e01c80638b79543c11620000c0578063b5674c68116200008b578063b6f7fdb9116200006e578063b6f7fdb91462000376578063e0826c8914620003aa578063e2ab691d14620003c157600080fd5b8063b5674c681462000331578063b656463b146200034857600080fd5b80638b79543c146200029c5780638ef4c80714620002c4578063a2bc66be14620002f2578063ad007d63146200030957600080fd5b80635030724e116200011e5780636806ec5911620001015780636806ec5914620002465780636abcf8e3146200025d57806375b0d9cd146200028557600080fd5b80635030724e146200020c57806365e0d731146200022f57600080fd5b8062fdd58e14620001535780630c51b88f146200017d57806333681fb11462000196578063465909fc14620001ad575b600080fd5b6200016a6200016436600462002b67565b620003d8565b6040519081526020015b60405180910390f35b620001946200018e36600462002b96565b620004d5565b005b62000194620001a736600462002bce565b62000a65565b620001e6620001be36600462002c81565b60006020819052908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200162000174565b6200016a6200021d36600462002c81565b60026020526000908152604090205481565b620001946200024036600462002c1d565b62001045565b620001946200025736600462002cb5565b62001598565b620001e67f000000000000000000000000000000000000000000000000000000000000000081565b6200016a6200029636600462002c81565b62001a21565b620001e67f000000000000000000000000000000000000000000000000000000000000000081565b6200016a620002d536600462002b67565b600360209081526000928352604080842090915290825290205481565b620001946200030336600462002b96565b62001aef565b620001e67f000000000000000000000000000000000000000000000000000000000000000081565b620001946200034236600462002b96565b62002014565b6200016a6200035936600462002b67565b600160209081526000928352604080842090915290825290205481565b6200016a6200038736600462002b21565b600460209081526000938452604080852082529284528284209052825290205481565b62000194620003bb36600462002c1d565b62002263565b62000194620003d236600462002b96565b620025f6565b73ffffffffffffffffffffffffffffffffffffffff808316600090815260016020908152604080832085845282528083205491839052909120549091168015620004ce576040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301528216906370a082319060240160206040518083038186803b1580156200048457600080fd5b505afa15801562000499573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004bf919062002c9b565b620004cb908362002e09565b91505b5092915050565b8282600a3373ffffffffffffffffffffffffffffffffffffffff84161480620005d057506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200059557600080fd5b505afa158015620005aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005d0919062002c61565b80620006ae57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200067357600080fd5b505afa15801562000688573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ae919062002c61565b6200071a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a4544000000000000000060448201526064015b60405180910390fd5b60008581526020819052604090205473ffffffffffffffffffffffffffffffffffffffff1680620007a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5469636b6574426f6f74683a3a7374616b653a204e4f545f464f554e44000000604482015260640162000711565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152600091908316906370a082319060240160206040518083038186803b1580156200081457600080fd5b505afa15801562000829573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084f919062002c9b565b905085811015620008e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5469636b6574426f6f74683a3a7374616b653a20494e53554646494349454e5460448201527f5f46554e44530000000000000000000000000000000000000000000000000000606482015260840162000711565b6040517f1e9a695000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff898116600483015260248201889052831690631e9a695090604401600060405180830381600087803b1580156200095457600080fd5b505af115801562000969573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff891660009081526001602090815260408083208b8452909152902054620009ab9150879062002e09565b73ffffffffffffffffffffffffffffffffffffffff891660009081526001602090815260408083208b8452825280832093909355600290522054620009f290879062002e09565b6000888152600260209081526040918290209290925580518881523392810192909252889173ffffffffffffffffffffffffffffffffffffffff8b16917feb43904edee62537f8f003e791630611e9d7d8b7e0f0c038639ebe7c970dd63091015b60405180910390a35050505050505050565b8383600c3373ffffffffffffffffffffffffffffffffffffffff8416148062000b6057506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562000b2557600080fd5b505afa15801562000b3a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b60919062002c61565b8062000c3e57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562000c0357600080fd5b505afa15801562000c18573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c3e919062002c61565b62000ca6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff841662000d4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5469636b6574426f6f74683a3a7472616e736665723a205a45524f5f4144445260448201527f4553530000000000000000000000000000000000000000000000000000000000606482015260840162000711565b8373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141562000de3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5469636b6574426f6f74683a3a7472616e736665723a204944454e5449545900604482015260640162000711565b6000851162000e4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5469636b6574426f6f74683a3a7472616e736665723a204e4f5f4f5000000000604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff871660008181526003602090815260408083208a8452825280832054938352600182528083208a8452909152812054909162000ea09162002e24565b90508086111562000f34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5469636b6574426f6f74683a3a7472616e736665723a20494e5355464649434960448201527f454e545f46554e44530000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602090815260408083208a845290915290205462000f7290879062002e24565b73ffffffffffffffffffffffffffffffffffffffff808a1660009081526001602081815260408084208d8552825280842095909555928916825282528281208a8252909152205462000fc690879062002e09565b73ffffffffffffffffffffffffffffffffffffffff86811660008181526001602090815260408083208d84528252918290209490945580518a8152339481019490945290928a928c16917fae47e55abe3902569528abe4272b889079230a248aec0659a2939a90354982c6910160405180910390a45050505050505050565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018490528390339073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b158015620010d057600080fd5b505afa158015620010e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200110b919062002afa565b73ffffffffffffffffffffffffffffffffffffffff16146200118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5465726d696e616c5574696c6974793a20554e415554484f52495a4544000000604482015260640162000711565b6000848152602081815260408083205473ffffffffffffffffffffffffffffffffffffffff898116808652600385528386208a8752855283862054908652600185528386208a87529094529184205491169291620011e89162002e24565b9050600073ffffffffffffffffffffffffffffffffffffffff831615620012b2576040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301528416906370a082319060240160206040518083038186803b1580156200127157600080fd5b505afa15801562001286573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012ac919062002c9b565b620012b5565b60005b90508086108015620012c657508186105b80620012e95750808610158015620012e95750620012e5818762002e24565b8210155b806200130c57508186101580156200130c575062001308828762002e24565b8110155b6200139a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f5469636b6574426f6f74683a3a72656465656d3a20494e53554646494349454e60448201527f545f46554e445300000000000000000000000000000000000000000000000000606482015260840162000711565b600081620013ab57506000620013ed565b8515620013cc5786821015620013c25781620013c4565b865b9050620013ed565b86831015620013e757620013e1838862002e24565b620013ea565b60005b90505b6000620013fb828962002e24565b905081156200148f576040517f1e9a695000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b8116600483015260248201849052861690631e9a695090604401600060405180830381600087803b1580156200147557600080fd5b505af11580156200148a573d6000803e3d6000fd5b505050505b80156200152b5773ffffffffffffffffffffffffffffffffffffffff8a1660009081526001602090815260408083208c8452909152902054620014d490829062002e24565b73ffffffffffffffffffffffffffffffffffffffff8b1660009081526001602090815260408083208d84528252808320939093556002905220546200151b90829062002e24565b60008a8152600260205260409020555b60408051898152602081018690528815158183015233606082015290518a9173ffffffffffffffffffffffffffffffffffffffff8d16917f8c2b9ccc192ca181c0f26a420bbc623e6222ce29c08f6e81b68df4f076f123439181900360800190a350505050505050505050565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018690527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690636352211e9060240160206040518083038186803b1580156200161f57600080fd5b505afa15801562001634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165a919062002afa565b8560093373ffffffffffffffffffffffffffffffffffffffff841614806200175457506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200171957600080fd5b505afa1580156200172e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001754919062002c61565b620017bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b8562001825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5469636b6574426f6f74683a3a69737375653a20454d5054595f4e414d450000604482015260640162000711565b836200188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5469636b6574426f6f74683a3a69737375653a20454d5054595f53594d424f4c604482015260640162000711565b60008881526020819052604090205473ffffffffffffffffffffffffffffffffffffffff161562001942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5469636b6574426f6f74683a3a69737375653a20414c52454144595f4953535560448201527f4544000000000000000000000000000000000000000000000000000000000000606482015260840162000711565b86868686604051620019549062002aa0565b62001963949392919062002d7f565b604051809103906000f08015801562001980573d6000803e3d6000fd5b506000898152602081905260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff93909316929092179091555188907f05f79890a2d2c8e15c45a3a79a0ddc2c45db38d489e7f6948593f1fef566c8ec9062001a0f908a908a908a908a90339062002db5565b60405180910390a25050505050505050565b600081815260026020908152604080832054918390529091205473ffffffffffffffffffffffffffffffffffffffff16801562001ae9578073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801562001a9f57600080fd5b505afa15801562001ab4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ada919062002c9b565b62001ae6908362002e09565b91505b50919050565b8282600b3373ffffffffffffffffffffffffffffffffffffffff8416148062001bea57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562001baf57600080fd5b505afa15801562001bc4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001bea919062002c61565b8062001cc857506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801562001c8d57600080fd5b505afa15801562001ca2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cc8919062002c61565b62001d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b60008581526020819052604090205473ffffffffffffffffffffffffffffffffffffffff168062001dbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5469636b6574426f6f74683a3a756e7374616b653a204e4f545f464f554e4400604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff871660008181526003602090815260408083208a8452825280832054938352600182528083208a8452909152812054909162001e0f9162002e24565b90508581101562001ea3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5469636b6574426f6f74683a3a756e7374616b653a20494e535546464943494560448201527f4e545f46554e4453000000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602090815260408083208a845290915290205462001ee190879062002e24565b73ffffffffffffffffffffffffffffffffffffffff891660009081526001602090815260408083208b845282528083209390935560029052205462001f2890879062002e24565b6000888152600260205260409081902091909155517fac68553900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301526024820188905283169063ac68553990604401600060405180830381600087803b15801562001fab57600080fd5b505af115801562001fc0573d6000803e3d6000fd5b5050604080518981523360208201528a935073ffffffffffffffffffffffffffffffffffffffff8c1692507f8b264d23b1bf5d7d34440338fbbf8e868725712186df7862503c9620ea6e9589910162000a53565b6000811162002080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5469636b6574426f6f74683a3a756e6c6f636b3a204e4f5f4f50000000000000604482015260640162000711565b33600090815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845282528083208584529091529020548111156200214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f5469636b6574426f6f74683a3a756e6c6f636b3a20494e53554646494349454e60448201527f545f46554e445300000000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083208584529091529020546200218890829062002e24565b73ffffffffffffffffffffffffffffffffffffffff84166000818152600360209081526040808320878452825280832094909455338252600481528382209282529182528281208582529091522054620021e490829062002e24565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff891680855290835281842088855283529281902094909455835185815290810192909252849290917f17a47c3640e01bce0ad23c20907bc651cab2af1b0abc543ae1da119b43de8cca910160405180910390a3505050565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018490528390339073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b158015620022ee57600080fd5b505afa15801562002303573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002329919062002afa565b73ffffffffffffffffffffffffffffffffffffffff1614620023a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5465726d696e616c5574696c6974793a20554e415554484f52495a4544000000604482015260640162000711565b6000831162002414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5469636b6574426f6f74683a3a7072696e743a204e4f5f4f5000000000000000604482015260640162000711565b60008481526020819052604081205473ffffffffffffffffffffffffffffffffffffffff16908380156200245d575073ffffffffffffffffffffffffffffffffffffffff821615155b90508015620024f6576040517fac68553900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526024820187905283169063ac68553990604401600060405180830381600087803b158015620024d757600080fd5b505af1158015620024ec573d6000803e3d6000fd5b505050506200258b565b73ffffffffffffffffffffffffffffffffffffffff871660009081526001602090815260408083208984529091529020546200253490869062002e09565b73ffffffffffffffffffffffffffffffffffffffff881660009081526001602090815260408083208a84528252808320939093556002905220546200257b90869062002e09565b6000878152600260205260409020555b604080518681528215156020820152851515818301523360608201529051879173ffffffffffffffffffffffffffffffffffffffff8a16917f1d52fee743b6ab8b9037ca51c77fba34120c1ccf69645da4defbb134728698789181900360800190a350505050505050565b8282600d3373ffffffffffffffffffffffffffffffffffffffff84161480620026f157506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260448201849052606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b158015620026b657600080fd5b505afa158015620026cb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026f1919062002c61565b80620027cf57506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015260006044830152606482018390527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200279457600080fd5b505afa158015620027a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027cf919062002c61565b62002837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a45440000000000000000604482015260640162000711565b60008411620028a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5469636b6574426f6f74683a3a6c6f636b3a204e4f5f4f500000000000000000604482015260640162000711565b73ffffffffffffffffffffffffffffffffffffffff86166000818152600360209081526040808320898452825280832054938352600182528083208984529091529020548591620028f49162002e24565b101562002984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f5469636b6574426f6f74683a3a6c6f636b3a20494e53554646494349454e545f60448201527f46554e4453000000000000000000000000000000000000000000000000000000606482015260840162000711565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600360209081526040808320888452909152902054620029c290859062002e09565b73ffffffffffffffffffffffffffffffffffffffff871660008181526003602090815260408083208a845282528083209490945533825260048152838220928252918252828120888252909152205462002a1e90859062002e09565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8c168085529083528184208b855283529281902094909455835188815290810192909252879290917f75784e97e4541f1b3d2c44d8c51b419e33fb6de615033cfc6e6810db54ffa4fe910160405180910390a3505050505050565b611c148062002ea383390190565b60008083601f84011262002ac157600080fd5b50813567ffffffffffffffff81111562002ada57600080fd5b60208301915083602082850101111562002af357600080fd5b9250929050565b60006020828403121562002b0d57600080fd5b815162002b1a8162002e6d565b9392505050565b60008060006060848603121562002b3757600080fd5b833562002b448162002e6d565b9250602084013562002b568162002e6d565b929592945050506040919091013590565b6000806040838503121562002b7b57600080fd5b823562002b888162002e6d565b946020939093013593505050565b60008060006060848603121562002bac57600080fd5b833562002bb98162002e6d565b95602085013595506040909401359392505050565b6000806000806080858703121562002be557600080fd5b843562002bf28162002e6d565b93506020850135925060408501359150606085013562002c128162002e6d565b939692955090935050565b6000806000806080858703121562002c3457600080fd5b843562002c418162002e6d565b93506020850135925060408501359150606085013562002c128162002e93565b60006020828403121562002c7457600080fd5b815162002b1a8162002e93565b60006020828403121562002c9457600080fd5b5035919050565b60006020828403121562002cae57600080fd5b5051919050565b60008060008060006060868803121562002cce57600080fd5b85359450602086013567ffffffffffffffff8082111562002cee57600080fd5b62002cfc89838a0162002aae565b9096509450604088013591508082111562002d1657600080fd5b5062002d258882890162002aae565b969995985093965092949392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60408152600062002d9560408301868862002d36565b828103602084015262002daa81858762002d36565b979650505050505050565b60608152600062002dcb60608301878962002d36565b828103602084015262002de081868862002d36565b91505073ffffffffffffffffffffffffffffffffffffffff831660408301529695505050505050565b6000821982111562002e1f5762002e1f62002e3e565b500190565b60008282101562002e395762002e3962002e3e565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff8116811462002e9057600080fd5b50565b801515811462002e9057600080fdfe6101406040523480156200001257600080fd5b5060405162001c1438038062001c148339810160408190526200003591620002eb565b8180604051806040016040528060018152602001603160f81b815250848481600390805190602001906200006b9291906200018e565b508051620000819060049060208401906200018e565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060601b60c05261012052506200013093506200012a925050620001389050565b6200013c565b5050620003a8565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200019c9062000355565b90600052602060002090601f016020900481019282620001c057600085556200020b565b82601f10620001db57805160ff19168380011785556200020b565b828001600101855582156200020b579182015b828111156200020b578251825591602001919060010190620001ee565b50620002199291506200021d565b5090565b5b808211156200021957600081556001016200021e565b600082601f8301126200024657600080fd5b81516001600160401b038082111562000263576200026362000392565b604051601f8301601f19908116603f011681019082821181831017156200028e576200028e62000392565b81604052838152602092508683858801011115620002ab57600080fd5b600091505b83821015620002cf5785820183015181830184015290820190620002b0565b83821115620002e15760008385830101525b9695505050505050565b60008060408385031215620002ff57600080fd5b82516001600160401b03808211156200031757600080fd5b620003258683870162000234565b935060208501519150808211156200033c57600080fd5b506200034b8582860162000234565b9150509250929050565b600181811c908216806200036a57607f821691505b602082108114156200038c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160601c60e0516101005161012051611819620003fb6000396000610fea015260006110390152600061101401526000610f6d01526000610f9701526000610fc101526118196000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c8063715018a6116100cd578063a9059cbb11610081578063d505accf11610066578063d505accf146102b5578063dd62ed3e146102c8578063f2fde38b1461030e57600080fd5b8063a9059cbb1461028f578063ac685539146102a257600080fd5b80638da5cb5b116100b25780638da5cb5b1461024c57806395d89b4114610274578063a457c2d71461027c57600080fd5b8063715018a6146102315780637ecebe001461023957600080fd5b806323b872dd116101245780633644e515116101095780633644e515146101e057806339509351146101e857806370a08231146101fb57600080fd5b806323b872dd146101be578063313ce567146101d157600080fd5b806306fdde0314610156578063095ea7b31461017457806318160ddd146101975780631e9a6950146101a9575b600080fd5b61015e610321565b60405161016b91906116b4565b60405180910390f35b61018761018236600461168a565b6103b3565b604051901515815260200161016b565b6002545b60405190815260200161016b565b6101bc6101b736600461168a565b6103cb565b005b6101876101cc3660046115db565b6103e1565b6040516012815260200161016b565b61019b610405565b6101876101f636600461168a565b610414565b61019b610209366004611586565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101bc610460565b61019b610247366004611586565b610474565b60075460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161016b565b61015e6104a1565b61018761028a36600461168a565b6104b0565b61018761029d36600461168a565b610586565b6101bc6102b036600461168a565b610594565b6101bc6102c3366004611617565b6105a6565b61019b6102d63660046115a8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101bc61031c366004611586565b610765565b60606003805461033090611766565b80601f016020809104026020016040519081016040528092919081815260200182805461035c90611766565b80156103a95780601f1061037e576101008083540402835291602001916103a9565b820191906000526020600020905b81548152906001019060200180831161038c57829003601f168201915b5050505050905090565b6000336103c181858561081c565b5060019392505050565b6103d36109d0565b6103dd8282610a51565b5050565b6000336103ef858285610c0d565b6103fa858585610ce4565b506001949350505050565b600061040f610f53565b905090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906103c1908290869061045b908790611727565b61081c565b6104686109d0565b6104726000611087565b565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600560205260408120545b92915050565b60606004805461033090611766565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103fa828686840361081c565b6000336103c1818585610ce4565b61059c6109d0565b6103dd82826110fe565b83421115610610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610570565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861063f8c6111f1565b60408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006106a782611226565b905060006106b78287878761128f565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461074e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610570565b6107598a8a8a61081c565b50505050505050505050565b61076d6109d0565b73ffffffffffffffffffffffffffffffffffffffff8116610810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610570565b61081981611087565b50565b73ffffffffffffffffffffffffffffffffffffffff83166108be576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff8216610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610570565b73ffffffffffffffffffffffffffffffffffffffff8216610af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610baa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016109c3565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610cde5781811015610cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610570565b610cde848484840361081c565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610d87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff8216610e2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610ee0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610570565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cde565b60003073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016148015610fb957507f000000000000000000000000000000000000000000000000000000000000000046145b15610fe357507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6007805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821661117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610570565b806002600082825461118d9190611727565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526005602052604090208054600181018255905b50919050565b600061049b611233610f53565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006112a0878787876112b7565b915091506112ad816113a6565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112ee575060009050600361139d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611342573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166113965760006001925092505061139d565b9150600090505b94509492505050565b60008160048111156113ba576113ba6117b4565b14156113c35750565b60018160048111156113d7576113d76117b4565b141561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610570565b6002816004811115611453576114536117b4565b14156114bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610570565b60038160048111156114cf576114cf6117b4565b1415610819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610570565b803573ffffffffffffffffffffffffffffffffffffffff8116811461158157600080fd5b919050565b60006020828403121561159857600080fd5b6115a18261155d565b9392505050565b600080604083850312156115bb57600080fd5b6115c48361155d565b91506115d26020840161155d565b90509250929050565b6000806000606084860312156115f057600080fd5b6115f98461155d565b92506116076020850161155d565b9150604084013590509250925092565b600080600080600080600060e0888a03121561163257600080fd5b61163b8861155d565b96506116496020890161155d565b95506040880135945060608801359350608088013560ff8116811461166d57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561169d57600080fd5b6116a68361155d565b946020939093013593505050565b600060208083528351808285015260005b818110156116e1578581018301518582016040015282016116c5565b818111156116f3576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115611761577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b600181811c9082168061177a57607f821691505b60208210811415611220577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212208cbc1eeb9bda246d6a6990a82c3ebbf85f72b977cb4b3d65538b5b15864cd7df64736f6c63430008060033a26469706673582212206c145522ea36d08f469c37c89c8fab43bf55018ee259b51b360000949abf253c64736f6c63430008060033",
    "sourceMap": "604:17438:35:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2613:359;;;;;;:::i;:::-;;:::i;:::-;;;15707:25:168;;;15695:2;15680:18;2613:359:35;;;;;;;;10281:1364;;;;;;:::i;:::-;;:::i;:::-;;16524:1516;;;;;;:::i;:::-;;:::i;976:54::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;5046:42:168;5034:55;;;5016:74;;5004:2;4989:18;976:54:35;4971:125:168;1262:63:35;;;;;;:::i;:::-;;;;;;;;;;;;;;7104:2784;;;;;;:::i;:::-;;:::i;3965:1010::-;;;;;;:::i;:::-;;:::i;425:62:39:-;;;;;1961:335:35;;;;;;:::i;:::-;;:::i;838:44::-;;;;;1391:95;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;12030:1474;;;;;;:::i;:::-;;:::i;1662:54:38:-;;;;;15258:796:35;;;;;;:::i;:::-;;:::i;1102:95::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1568:115;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5392:1263;;;;;;:::i;:::-;;:::i;13900:997::-;;;;;;:::i;:::-;;:::i;2613:359::-;2774:24;;;;2733:15;2774:24;;;:15;:24;;;;;;;;:36;;;;;;;;;2839:21;;;;;;;;2774:36;;2839:21;2874:31;;2870:95;;2939:26;;;;;:17;5034:55:168;;;2939:26:35;;;5016:74:168;2939:17:35;;;;;4989:18:168;;2939:26:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2929:36;;:7;:36;:::i;:::-;2919:46;;2870:95;2754:218;2613:359;;;;:::o;10281:1364::-;10475:7;10496:10;483:2:58;729:10:38;:22;;;;;:206;;-1:-1:-1;771:164:38;;;;;820:10;771:164;;;5401:34:168;771:27:38;5471:15:168;;;5451:18;;;5444:43;5503:18;;;5496:34;;;5546:18;;;5539:34;;;771:13:38;:27;;;;5312:19:168;;771:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;729:286;;;-1:-1:-1;955:60:38;;;;;983:10;955:60;;;5401:34:168;955:27:38;5471:15:168;;;5451:18;;;5444:43;1005:1:38;5503:18:168;;;5496:34;5546:18;;;5539:34;;;955:13:38;:27;;;;5312:19:168;;955:60:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;708:357;;;;;;;10048:2:168;708:357:38;;;10030:21:168;10087:2;10067:18;;;10060:30;10126:26;10106:18;;;10099:54;10170:18;;708:357:38;;;;;;;;;10620:17:35::1;10640:21:::0;;;::::1;::::0;;;;;;;::::1;;10735:32:::0;10714:108:::1;;;::::0;::::1;::::0;;13920:2:168;10714:108:35::1;::::0;::::1;13902:21:168::0;13959:2;13939:18;;;13932:30;13998:31;13978:18;;;13971:59;14047:18;;10714:108:35::1;13892:179:168::0;10714:108:35::1;10922:27;::::0;;;;:18:::1;5034:55:168::0;;;10922:27:35::1;::::0;::::1;5016:74:168::0;10893:26:35::1;::::0;10922:18;;::::1;::::0;::::1;::::0;4989::168;;10922:27:35::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10893:56;;11053:7;11031:18;:29;;11010:114;;;::::0;::::1;::::0;;10401:2:168;11010:114:35::1;::::0;::::1;10383:21:168::0;10440:2;10420:18;;;10413:30;10479:34;10459:18;;;10452:62;10550:8;10530:18;;;10523:36;10576:19;;11010:114:35::1;10373:228:168::0;11010:114:35::1;11186:33;::::0;;;;:15:::1;6251:55:168::0;;;11186:33:35::1;::::0;::::1;6233:74:168::0;6323:18;;;6316:34;;;11186:15:35;::::1;::::0;::::1;::::0;6206:18:168;;11186:33:35::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;11341:24:35::1;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;:58:::1;::::0;-1:-1:-1;11392:7:35;;11341:58:::1;:::i;:::-;11290:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;:109;;;;11522:19:::1;:31:::0;;;;:53:::1;::::0;11568:7;;11522:53:::1;:::i;:::-;11476:31;::::0;;;:19:::1;:31;::::0;;;;;;;;:99;;;;11591:47;;15917:25:168;;;11627:10:35::1;15958:18:168::0;;;15951:83;;;;11496:10:35;;11591:47:::1;::::0;::::1;::::0;::::1;::::0;15890:18:168;11591:47:35::1;;;;;;;;10551:1094;;10281:1364:::0;;;;;;:::o;16524:1516::-;16749:7;16770:10;564:2:58;729:10:38;:22;;;;;:206;;-1:-1:-1;771:164:38;;;;;820:10;771:164;;;5401:34:168;771:27:38;5471:15:168;;;5451:18;;;5444:43;5503:18;;;5496:34;;;5546:18;;;5539:34;;;771:13:38;:27;;;;5312:19:168;;771:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;729:286;;;-1:-1:-1;955:60:38;;;;;983:10;955:60;;;5401:34:168;955:27:38;5471:15:168;;;5451:18;;;5444:43;1005:1:38;5503:18:168;;;5496:34;5546:18;;;5539:34;;;955:13:38;:27;;;;5312:19:168;;955:60:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;708:357;;;;;;;10048:2:168;708:357:38;;;10030:21:168;10087:2;10067:18;;;10060:30;10126:26;10106:18;;;10099:54;10170:18;;708:357:38;10020:174:168;708:357:38;16906:24:35::1;::::0;::::1;16885:106;;;::::0;::::1;::::0;;9644:2:168;16885:106:35::1;::::0;::::1;9626:21:168::0;9683:2;9663:18;;;9656:30;9722:34;9702:18;;;9695:62;9793:5;9773:18;;;9766:33;9816:19;;16885:106:35::1;9616:225:168::0;16885:106:35::1;17069:10;17058:21;;:7;:21;;;;17050:65;;;::::0;::::1;::::0;;15045:2:168;17050:65:35::1;::::0;::::1;15027:21:168::0;15084:2;15064:18;;;15057:30;15123:33;15103:18;;;15096:61;15174:18;;17050:65:35::1;15017:181:168::0;17050:65:35::1;17192:1;17182:7;:11;17174:52;;;::::0;::::1;::::0;;8580:2:168;17174:52:35::1;::::0;::::1;8562:21:168::0;8619:2;8599:18;;;8592:30;8658;8638:18;;;8631:58;8706:18;;17174:52:35::1;8552:178:168::0;17174:52:35::1;17390:24;::::0;::::1;17306:30;17390:24:::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;17339:24;;;:15:::1;:24:::0;;;;;:36;;;;;;;;;17306:30;;17339:87:::1;::::0;::::1;:::i;:::-;17306:120;;17538:22;17527:7;:33;;17506:121;;;::::0;::::1;::::0;;13101:2:168;17506:121:35::1;::::0;::::1;13083:21:168::0;13140:2;13120:18;;;13113:30;13179:34;13159:18;;;13152:62;13250:11;13230:18;;;13223:39;13279:19;;17506:121:35::1;13073:231:168::0;17506:121:35::1;17726:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;:58:::1;::::0;17777:7;;17726:58:::1;:::i;:::-;17675:24;::::0;;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;:109;;;;17894:27;;::::1;::::0;;;;;;;:39;;;;;;;;:61:::1;::::0;17948:7;;17894:61:::1;:::i;:::-;17840:27;::::0;;::::1;;::::0;;;:15:::1;:27;::::0;;;;;;;:39;;;;;;;;;:115;;;;17971:62;;15917:25:168;;;18022:10:35::1;15958:18:168::0;;;15951:83;;;;17840:27:35;;:39;;17971:62;::::1;::::0;::::1;::::0;15890:18:168;17971:62:35::1;;;;;;;16828:1212;16524:1516:::0;;;;;;;:::o;7104:2784::-;245:40:39;;;;;;;;15707:25:168;;;7265:10:35;;290::39;;237:63;245:17;:28;;;;15680:18:168;;245:40:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;237:63;;;216:139;;;;;;;15405:2:168;216:139:39;;;15387:21:168;15444:2;15424:18;;;15417:30;15483:31;15463:18;;;15456:59;15532:18;;216:139:39;15377:179:168;216:139:39;7346:17:35::1;7366:21:::0;;;::::1;::::0;;;;;;;;::::1;7531:24:::0;;::::1;::::0;;;:15:::1;:24:::0;;;;;:36;;;;;;;;;7480:24;;;7366:21;7480:24;;;;;:36;;;;;;;;;;7366:21;::::1;::::0;7346:17;7480:87:::1;::::0;::::1;:::i;:::-;7447:120:::0;-1:-1:-1;7641:26:35::1;7670:32;::::0;::::1;::::0;:90:::1;;7733:27;::::0;;;;:18:::1;5034:55:168::0;;;7733:27:35::1;::::0;::::1;5016:74:168::0;7733:18:35;::::1;::::0;::::1;::::0;4989::168;;7733:27:35::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7670:90;;;7717:1;7670:90;7641:119;;7910:18;7900:7;:28;:80;;;;;7958:22;7948:7;:32;7900:80;7899:211;;;;8013:18;8002:7;:29;;:107;;;;-1:-1:-1::0;8081:28:35::1;8091:18:::0;8081:7;:28:::1;:::i;:::-;8055:22;:54;;8002:107;7899:344;;;;8142:22;8131:7;:33;;:111;;;;-1:-1:-1::0;8210:32:35::1;8220:22:::0;8210:7;:32:::1;:::i;:::-;8188:18;:54;;8131:111;7878:430;;;::::0;::::1;::::0;;12334:2:168;7878:430:35::1;::::0;::::1;12316:21:168::0;12373:2;12353:18;;;12346:30;12412:34;12392:18;;;12385:62;12483:9;12463:18;;;12456:37;12510:19;;7878:430:35::1;12306:229:168::0;7878:430:35::1;8363:32;8462:23:::0;8458:572:::1;;-1:-1:-1::0;8528:1:35::1;8458:572;;;8634:15;8630:400;;;8714:7;8692:18;:29;;:92;;8766:18;8692:92;;;8740:7;8692:92;8665:119;;8630:400;;;8941:7;8915:22;:33;;:104;;8987:32;8997:22:::0;8987:7;:32:::1;:::i;:::-;8915:104;;;8967:1;8915:104;8888:131;;8630:400;9091:30;9124:34;9134:24:::0;9124:7;:34:::1;:::i;:::-;9091:67:::0;-1:-1:-1;9204:28:35;;9200:96:::1;;9246:50;::::0;;;;:15:::1;6251:55:168::0;;;9246:50:35::1;::::0;::::1;6233:74:168::0;6323:18;;;6316:34;;;9246:15:35;::::1;::::0;::::1;::::0;6206:18:168;;9246:50:35::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;9200:96;9310:26:::0;;9306:389:::1;;9471:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;:77:::1;::::0;9526:22;;9471:77:::1;:::i;:::-;9416:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;:132;;;;9612:19:::1;:31:::0;;;;:72:::1;::::0;9662:22;;9612:72:::1;:::i;:::-;9562:31;::::0;;;:19:::1;:31;::::0;;;;:122;9306:389:::1;9710:171;::::0;;16735:25:168;;;16791:2;16776:18;;16769:34;;;16846:14;;16839:22;16819:18;;;16812:50;9861:10:35::1;16893:2:168::0;16878:18;;16871:83;9710:171:35;;9751:10;;9710:171:::1;::::0;::::1;::::0;::::1;::::0;;;;16722:3:168;9710:171:35;;::::1;7277:2611;;;;;7104:2784:::0;;;;;:::o;3965:1010::-;4151:28;;;;;;;;15707:25:168;;;4151:8:35;:16;;;;;15680:18:168;;4151:28:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4193:10;446:1:58;288:10:38;:22;;;;;:206;;-1:-1:-1;330:164:38;;;;;379:10;330:164;;;5401:34:168;330:27:38;5471:15:168;;;5451:18;;;5444:43;5503:18;;;5496:34;;;5546:18;;;5539:34;;;330:13:38;:27;;;;5312:19:168;;330:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;267:277;;;;;;;10048:2:168;267:277:38;;;10030:21:168;10087:2;10067:18;;;10060:30;10126:26;10106:18;;;10099:54;10170:18;;267:277:38;10020:174:168;267:277:38;4300:23:35;4291:68:::1;;;::::0;::::1;::::0;;12742:2:168;4291:68:35::1;::::0;::::1;12724:21:168::0;12781:2;12761:18;;;12754:30;12820:32;12800:18;;;12793:60;12870:18;;4291:68:35::1;12714:180:168::0;4291:68:35::1;4427:25:::0;4405:106:::1;;;::::0;::::1;::::0;;14278:2:168;4405:106:35::1;::::0;::::1;14260:21:168::0;;;14297:18;;;14290:30;14356:34;14336:18;;;14329:62;14408:18;;4405:106:35::1;14250:182:168::0;4405:106:35::1;4633:1;4591:21:::0;;;::::1;::::0;;;;;;;:45:::1;:21;:45:::0;4570:126:::1;;;::::0;::::1;::::0;;11216:2:168;4570:126:35::1;::::0;::::1;11198:21:168::0;11255:2;11235:18;;;11228:30;11294:34;11274:18;;;11267:62;11365:4;11345:18;;;11338:32;11387:19;;4570:126:35::1;11188:224:168::0;4570:126:35::1;4892:5;;4899:7;;4880:27;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;4856:9:35::1;:21:::0;;;::::1;::::0;;;;;;;;:51;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;4923:45;4856:21;;4923:45:::1;::::0;::::1;::::0;4941:5;;;;4948:7;;;;4957:10:::1;::::0;4923:45:::1;:::i;:::-;;;;;;;;3965:1010:::0;;;;;;;;:::o;1961:335::-;2068:14;2107:31;;;:19;:31;;;;;;;;;2168:21;;;;;;;;;;2203:32;;2199:90;;2267:8;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2258:31;;:6;:31;:::i;:::-;2249:40;;2199:90;2088:208;1961:335;;;:::o;12030:1474::-;12226:7;12247:10;523:2:58;729:10:38;:22;;;;;:206;;-1:-1:-1;771:164:38;;;;;820:10;771:164;;;5401:34:168;771:27:38;5471:15:168;;;5451:18;;;5444:43;5503:18;;;5496:34;;;5546:18;;;5539:34;;;771:13:38;:27;;;;5312:19:168;;771:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;729:286;;;-1:-1:-1;955:60:38;;;;;983:10;955:60;;;5401:34:168;955:27:38;5471:15:168;;;5451:18;;;5444:43;1005:1:38;5503:18:168;;;5496:34;5546:18;;;5539:34;;;955:13:38;:27;;;;5312:19:168;;955:60:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;708:357;;;;;;;10048:2:168;708:357:38;;;10030:21:168;10087:2;10067:18;;;10060:30;10126:26;10106:18;;;10099:54;10170:18;;708:357:38;10020:174:168;708:357:38;12373:17:35::1;12393:21:::0;;;::::1;::::0;;;;;;;::::1;;12488:32:::0;12467:110:::1;;;::::0;::::1;::::0;;11974:2:168;12467:110:35::1;::::0;::::1;11956:21:168::0;12013:2;11993:18;;;11986:30;12052:33;12032:18;;;12025:61;12103:18;;12467:110:35::1;11946:181:168::0;12467:110:35::1;12734:24;::::0;::::1;12650:30;12734:24:::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;12683:24;;;:15:::1;:24:::0;;;;;:36;;;;;;;;;12650:30;;12683:87:::1;::::0;::::1;:::i;:::-;12650:120;;12896:7;12870:22;:33;;12849:120;;;::::0;::::1;::::0;;13511:2:168;12849:120:35::1;::::0;::::1;13493:21:168::0;13550:2;13530:18;;;13523:30;13589:34;13569:18;;;13562:62;13660:10;13640:18;;;13633:38;13688:19;;12849:120:35::1;13483:230:168::0;12849:120:35::1;13098:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;:58:::1;::::0;13149:7;;13098:58:::1;:::i;:::-;13047:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;:109;;;;13286:19:::1;:31:::0;;;;:53:::1;::::0;13332:7;;13286:53:::1;:::i;:::-;13240:31;::::0;;;:19:::1;:31;::::0;;;;;;:99;;;;13400:32;;;;:14:::1;6251:55:168::0;;;13400:32:35::1;::::0;::::1;6233:74:168::0;6323:18;;;6316:34;;;13400:14:35;::::1;::::0;::::1;::::0;6206:18:168;;13400:32:35::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;13448:49:35::1;::::0;;15917:25:168;;;13486:10:35::1;15973:2:168::0;15958:18;;15951:83;13465:10:35;;-1:-1:-1;13448:49:35::1;::::0;::::1;::::0;-1:-1:-1;13448:49:35::1;::::0;15890:18:168;13448:49:35::1;15872:168:168::0;15258:796:35;15446:1;15436:7;:11;15428:50;;;;;;;11619:2:168;15428:50:35;;;11601:21:168;11658:2;11638:18;;;11631:30;11697:28;11677:18;;;11670:56;11743:18;;15428:50:35;11591:176:168;15428:50:35;15584:10;15568:27;;;;:15;:27;;;;;;;;;:36;;;;;;;;;:48;;;;;;;;;:59;-1:-1:-1;15568:59:35;15547:145;;;;;;;10808:2:168;15547:145:35;;;10790:21:168;10847:2;10827:18;;;10820:30;10886:34;10866:18;;;10859:62;10957:9;10937:18;;;10930:37;10984:19;;15547:145:35;10780:229:168;15547:145:35;15782:24;;;;;;;:15;:24;;;;;;;;:36;;;;;;;;;:58;;15833:7;;15782:58;:::i;:::-;15731:24;;;;;;;:15;:24;;;;;;;;:36;;;;;;;;:109;;;;15929:10;15913:27;;:15;:27;;;;;:36;;;;;;;;;:48;;;;;;;;:70;;15976:7;;15913:70;:::i;:::-;15866:10;15850:27;;;;:15;:27;;;;;;;;;:36;;;;;;;;;;;:48;;;;;;;;;:133;;;;15999:48;;15917:25:168;;;15958:18;;;15951:83;;;;15850:48:35;;:36;;15999:48;;15890:18:168;15999:48:35;;;;;;;15258:796;;;:::o;5392:1263::-;245:40:39;;;;;;;;15707:25:168;;;5559:10:35;;290::39;;237:63;245:17;:28;;;;15680:18:168;;245:40:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;237:63;;;216:139;;;;;;;15405:2:168;216:139:39;;;15387:21:168;15444:2;15424:18;;;15417:30;15483:31;15463:18;;;15456:59;15532:18;;216:139:39;15377:179:168;216:139:39;5639:1:35::1;5629:7;:11;5621:49;;;::::0;::::1;::::0;;8937:2:168;5621:49:35::1;::::0;::::1;8919:21:168::0;8976:2;8956:18;;;8949:30;9015:27;8995:18;;;8988:55;9060:18;;5621:49:35::1;8909:175:168::0;5621:49:35::1;5740:17;5760:21:::0;;;::::1;::::0;;;;;;;::::1;;::::0;5910:22;:70;::::1;;;-1:-1:-1::0;5948:32:35::1;::::0;::::1;::::0;::::1;5910:70;5881:99;;5995:21;5991:466;;;6086:32;::::0;;;;:14:::1;6251:55:168::0;;;6086:32:35::1;::::0;::::1;6233:74:168::0;6323:18;;;6316:34;;;6086:14:35;::::1;::::0;::::1;::::0;6206:18:168;;6086:32:35::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5991:466;;;6263:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;:62:::1;::::0;6318:7;;6263:62:::1;:::i;:::-;6208:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;:117;;;;6389:19:::1;:31:::0;;;;:57:::1;::::0;6439:7;;6389:57:::1;:::i;:::-;6339:31;::::0;;;:19:::1;:31;::::0;;;;:107;5991:466:::1;6472:176;::::0;;16264:25:168;;;16332:14;;16325:22;16320:2;16305:18;;16298:50;16391:14;;16384:22;16364:18;;;16357:50;6628:10:35::1;16438:2:168::0;16423:18;;16416:83;6472:176:35;;6512:10;;6472:176:::1;::::0;::::1;::::0;::::1;::::0;;;;16251:3:168;6472:176:35;;::::1;5571:1084;;5392:1263:::0;;;;;:::o;13900:997::-;14093:7;14114:10;601:2:58;729:10:38;:22;;;;;:206;;-1:-1:-1;771:164:38;;;;;820:10;771:164;;;5401:34:168;771:27:38;5471:15:168;;;5451:18;;;5444:43;5503:18;;;5496:34;;;5546:18;;;5539:34;;;771:13:38;:27;;;;5312:19:168;;771:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;729:286;;;-1:-1:-1;955:60:38;;;;;983:10;955:60;;;5401:34:168;955:27:38;5471:15:168;;;5451:18;;;5444:43;1005:1:38;5503:18:168;;;5496:34;5546:18;;;5539:34;;;955:13:38;:27;;;;5312:19:168;;955:60:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;708:357;;;;;;;10048:2:168;708:357:38;;;10030:21:168;10087:2;10067:18;;;10060:30;10126:26;10106:18;;;10099:54;10170:18;;708:357:38;10020:174:168;708:357:38;14238:1:35::1;14228:7;:11;14220:48;;;::::0;::::1;::::0;;9291:2:168;14220:48:35::1;::::0;::::1;9273:21:168::0;9330:2;9310:18;;;9303:30;9369:26;9349:18;;;9342:54;9413:18;;14220:48:35::1;9263:174:168::0;14220:48:35::1;14411:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;14356:24;;;:15:::1;:24:::0;;;;;:36;;;;;;;;;14467:7;;14356:91:::1;::::0;::::1;:::i;:::-;:118;;14335:202;;;::::0;::::1;::::0;;14639:2:168;14335:202:35::1;::::0;::::1;14621:21:168::0;14678:2;14658:18;;;14651:30;14717:34;14697:18;;;14690:62;14788:7;14768:18;;;14761:35;14813:19;;14335:202:35::1;14611:227:168::0;14335:202:35::1;14627:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;;:58:::1;::::0;14678:7;;14627:58:::1;:::i;:::-;14576:24;::::0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;:36;;;;;;;;:109;;;;14774:10:::1;14758:27:::0;;:15:::1;:27:::0;;;;;:36;;;;;;;;;:48;;;;;;;;:70:::1;::::0;14821:7;;14758:70:::1;:::i;:::-;14711:10;14695:27;::::0;;;:15:::1;:27;::::0;;;;;;;::::1;:36:::0;::::1;::::0;;;;;;;;;:48;;;;;;;;;:133;;;;14844:46;;15917:25:168;;;15958:18;;;15951:83;;;;14695:48:35;;:36;;14844:46:::1;::::0;15890:18:168;14844:46:35::1;;;;;;;13900:997:::0;;;;;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:348:168:-;66:8;76:6;130:3;123:4;115:6;111:17;107:27;97:2;;148:1;145;138:12;97:2;-1:-1:-1;171:20:168;;214:18;203:30;;200:2;;;246:1;243;236:12;200:2;283:4;275:6;271:17;259:29;;335:3;328:4;319:6;311;307:19;303:30;300:39;297:2;;;352:1;349;342:12;297:2;87:275;;;;;:::o;367:251::-;437:6;490:2;478:9;469:7;465:23;461:32;458:2;;;506:1;503;496:12;458:2;538:9;532:16;557:31;582:5;557:31;:::i;:::-;607:5;448:170;-1:-1:-1;;;448:170:168:o;623:456::-;700:6;708;716;769:2;757:9;748:7;744:23;740:32;737:2;;;785:1;782;775:12;737:2;824:9;811:23;843:31;868:5;843:31;:::i;:::-;893:5;-1:-1:-1;950:2:168;935:18;;922:32;963:33;922:32;963:33;:::i;:::-;727:352;;1015:7;;-1:-1:-1;;;1069:2:168;1054:18;;;;1041:32;;727:352::o;1084:315::-;1152:6;1160;1213:2;1201:9;1192:7;1188:23;1184:32;1181:2;;;1229:1;1226;1219:12;1181:2;1268:9;1255:23;1287:31;1312:5;1287:31;:::i;:::-;1337:5;1389:2;1374:18;;;;1361:32;;-1:-1:-1;;;1171:228:168:o;1404:383::-;1481:6;1489;1497;1550:2;1538:9;1529:7;1525:23;1521:32;1518:2;;;1566:1;1563;1556:12;1518:2;1605:9;1592:23;1624:31;1649:5;1624:31;:::i;:::-;1674:5;1726:2;1711:18;;1698:32;;-1:-1:-1;1777:2:168;1762:18;;;1749:32;;1508:279;-1:-1:-1;;;1508:279:168:o;1792:525::-;1878:6;1886;1894;1902;1955:3;1943:9;1934:7;1930:23;1926:33;1923:2;;;1972:1;1969;1962:12;1923:2;2011:9;1998:23;2030:31;2055:5;2030:31;:::i;:::-;2080:5;-1:-1:-1;2132:2:168;2117:18;;2104:32;;-1:-1:-1;2183:2:168;2168:18;;2155:32;;-1:-1:-1;2239:2:168;2224:18;;2211:32;2252:33;2211:32;2252:33;:::i;:::-;1913:404;;;;-1:-1:-1;1913:404:168;;-1:-1:-1;;1913:404:168:o;2322:519::-;2405:6;2413;2421;2429;2482:3;2470:9;2461:7;2457:23;2453:33;2450:2;;;2499:1;2496;2489:12;2450:2;2538:9;2525:23;2557:31;2582:5;2557:31;:::i;:::-;2607:5;-1:-1:-1;2659:2:168;2644:18;;2631:32;;-1:-1:-1;2710:2:168;2695:18;;2682:32;;-1:-1:-1;2766:2:168;2751:18;;2738:32;2779:30;2738:32;2779:30;:::i;2846:245::-;2913:6;2966:2;2954:9;2945:7;2941:23;2937:32;2934:2;;;2982:1;2979;2972:12;2934:2;3014:9;3008:16;3033:28;3055:5;3033:28;:::i;3371:180::-;3430:6;3483:2;3471:9;3462:7;3458:23;3454:32;3451:2;;;3499:1;3496;3489:12;3451:2;-1:-1:-1;3522:23:168;;3441:110;-1:-1:-1;3441:110:168:o;3556:184::-;3626:6;3679:2;3667:9;3658:7;3654:23;3650:32;3647:2;;;3695:1;3692;3685:12;3647:2;-1:-1:-1;3718:16:168;;3637:103;-1:-1:-1;3637:103:168:o;3745:789::-;3846:6;3854;3862;3870;3878;3931:2;3919:9;3910:7;3906:23;3902:32;3899:2;;;3947:1;3944;3937:12;3899:2;3983:9;3970:23;3960:33;;4044:2;4033:9;4029:18;4016:32;4067:18;4108:2;4100:6;4097:14;4094:2;;;4124:1;4121;4114:12;4094:2;4163:59;4214:7;4205:6;4194:9;4190:22;4163:59;:::i;:::-;4241:8;;-1:-1:-1;4137:85:168;-1:-1:-1;4329:2:168;4314:18;;4301:32;;-1:-1:-1;4345:16:168;;;4342:2;;;4374:1;4371;4364:12;4342:2;;4413:61;4466:7;4455:8;4444:9;4440:24;4413:61;:::i;:::-;3889:645;;;;-1:-1:-1;3889:645:168;;-1:-1:-1;4493:8:168;;4387:87;3889:645;-1:-1:-1;;;3889:645:168:o;4539:326::-;4628:6;4623:3;4616:19;4680:6;4673:5;4666:4;4661:3;4657:14;4644:43;;4732:1;4725:4;4716:6;4711:3;4707:16;4703:27;4696:38;4598:3;4854:4;4784:66;4779:2;4771:6;4767:15;4763:88;4758:3;4754:98;4750:109;4743:116;;4606:259;;;;:::o;7374:437::-;7591:2;7580:9;7573:21;7554:4;7617:62;7675:2;7664:9;7660:18;7652:6;7644;7617:62;:::i;:::-;7727:9;7719:6;7715:22;7710:2;7699:9;7695:18;7688:50;7755;7798:6;7790;7782;7755:50;:::i;:::-;7747:58;7563:248;-1:-1:-1;;;;;;;7563:248:168:o;7816:557::-;8061:2;8050:9;8043:21;8024:4;8087:62;8145:2;8134:9;8130:18;8122:6;8114;8087:62;:::i;:::-;8197:9;8189:6;8185:22;8180:2;8169:9;8165:18;8158:50;8225;8268:6;8260;8252;8225:50;:::i;:::-;8217:58;;;8323:42;8315:6;8311:55;8306:2;8295:9;8291:18;8284:83;8033:340;;;;;;;;:::o;16965:128::-;17005:3;17036:1;17032:6;17029:1;17026:13;17023:2;;;17042:18;;:::i;:::-;-1:-1:-1;17078:9:168;;17013:80::o;17098:125::-;17138:4;17166:1;17163;17160:8;17157:2;;;17171:18;;:::i;:::-;-1:-1:-1;17208:9:168;;17147:76::o;17228:184::-;17280:77;17277:1;17270:88;17377:4;17374:1;17367:15;17401:4;17398:1;17391:15;17417:154;17503:42;17496:5;17492:54;17485:5;17482:65;17472:2;;17561:1;17558;17551:12;17472:2;17462:109;:::o;17576:118::-;17662:5;17655:13;17648:21;17641:5;17638:32;17628:2;;17684:1;17681;17674:12",
    "linkReferences": {},
    "immutableReferences": {
      "10967": [
        {
          "start": 783,
          "length": 32
        },
        {
          "start": 1362,
          "length": 32
        },
        {
          "start": 1584,
          "length": 32
        },
        {
          "start": 2786,
          "length": 32
        },
        {
          "start": 3008,
          "length": 32
        },
        {
          "start": 5846,
          "length": 32
        },
        {
          "start": 7020,
          "length": 32
        },
        {
          "start": 7242,
          "length": 32
        },
        {
          "start": 9843,
          "length": 32
        },
        {
          "start": 10065,
          "length": 32
        }
      ],
      "11010": [
        {
          "start": 611,
          "length": 32
        },
        {
          "start": 4237,
          "length": 32
        },
        {
          "start": 8875,
          "length": 32
        }
      ],
      "9575": [
        {
          "start": 674,
          "length": 32
        },
        {
          "start": 5575,
          "length": 32
        }
      ]
    }
  },
  "methodIdentifiers": {
    "balanceOf(address,uint256)": "00fdd58e",
    "issue(uint256,string,string)": "6806ec59",
    "lock(address,uint256,uint256)": "e2ab691d",
    "lockedBalanceBy(address,address,uint256)": "b6f7fdb9",
    "lockedBalanceOf(address,uint256)": "8ef4c807",
    "operatorStore()": "ad007d63",
    "print(address,uint256,uint256,bool)": "e0826c89",
    "projects()": "8b79543c",
    "redeem(address,uint256,uint256,bool)": "65e0d731",
    "stake(address,uint256,uint256)": "0c51b88f",
    "stakedBalanceOf(address,uint256)": "b656463b",
    "stakedTotalSupplyOf(uint256)": "5030724e",
    "terminalDirectory()": "6abcf8e3",
    "ticketsOf(uint256)": "465909fc",
    "totalSupplyOf(uint256)": "75b0d9cd",
    "transfer(address,uint256,uint256,address)": "33681fb1",
    "unlock(address,uint256,uint256)": "b5674c68",
    "unstake(address,uint256,uint256)": "a2bc66be"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IProjects\",\"name\":\"_projects\",\"type\":\"address\"},{\"internalType\":\"contract IOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"},{\"internalType\":\"contract ITerminalDirectory\",\"name\":\"_terminalDirectory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Issue\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Lock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"convertedTickets\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"preferUnstakedTickets\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"Print\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stakedTickets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Stake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"name\":\"issue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"lock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lockedBalanceBy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lockedBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_preferUnstakedTickets\",\"type\":\"bool\"}],\"name\":\"print\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_preferUnstaked\",\"type\":\"bool\"}],\"name\":\"redeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stakedBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stakedTotalSupplyOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"terminalDirectory\",\"outputs\":[{\"internalType\":\"contract ITerminalDirectory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ticketsOf\",\"outputs\":[{\"internalType\":\"contract ITickets\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"totalSupplyOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"}],\"name\":\"transfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Tickets can be either represented internally staked, or as unstaked ERC-20s. This contract manages these two representations and the conversion between the two.The total supply of a project's tickets and the balance of each account are calculated in this contract.\",\"kind\":\"dev\",\"methods\":{\"balanceOf(address,uint256)\":{\"params\":{\"_holder\":\"The ticket holder to get a balance for.\",\"_projectId\":\"The project to get the `_hodler`s balance of.\"},\"returns\":{\"balance\":\"The balance.\"}},\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\",\"_projects\":\"A Projects contract which mints ERC-721's that represent project ownership and transfers.\",\"_terminalDirectory\":\"A directory of a project's current Juicebox terminal to receive payments in.\"}},\"issue(uint256,string,string)\":{\"details\":\" Deploys an owner's Ticket ERC-20 token contract.\",\"params\":{\"_name\":\"The ERC-20's name. \\\" Juicebox ticket\\\" will be appended.\",\"_projectId\":\"The ID of the project being issued tickets.\",\"_symbol\":\"The ERC-20's symbol. \\\"j\\\" will be prepended.\"}},\"lock(address,uint256,uint256)\":{\"details\":\"Only a ticket holder or an operator can lock its tickets.\",\"params\":{\"_amount\":\"The amount of tickets to lock.\",\"_holder\":\"The holder to lock tickets from.\",\"_projectId\":\"The ID of the project whos tickets are being locked.\"}},\"print(address,uint256,uint256,bool)\":{\"details\":\"Only a project's current terminal can print its tickets.\",\"params\":{\"_amount\":\"The amount to print.\",\"_holder\":\"The address receiving the new tickets.\",\"_preferUnstakedTickets\":\"Whether ERC20's should be converted automatically if they have been issued.\",\"_projectId\":\"The project to which the tickets belong.\"}},\"redeem(address,uint256,uint256,bool)\":{\"details\":\"Only a project's current terminal can redeem its tickets.\",\"params\":{\"_amount\":\"The amount of tickets being redeemed.\",\"_holder\":\"The address that owns the tickets being redeemed.\",\"_preferUnstaked\":\"If the preference is to redeem tickets that have been converted to ERC-20s.\",\"_projectId\":\"The ID of the project of the tickets being redeemed.\"}},\"stake(address,uint256,uint256)\":{\"details\":\"Only a ticket holder or an operator can stake its tickets.\",\"params\":{\"_amount\":\"The amount of tickets to stake.\",\"_holder\":\"The owner of the tickets to stake.\",\"_projectId\":\"The ID of the project whos tickets are being staked.\"}},\"totalSupplyOf(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project to get the total supply of.\"},\"returns\":{\"supply\":\"The total supply.\"}},\"transfer(address,uint256,uint256,address)\":{\"details\":\"Only a ticket holder or an operator can transfer its tickets.\",\"params\":{\"_amount\":\"The amount of tickets to transfer.\",\"_holder\":\"The holder to transfer tickets from.\",\"_projectId\":\"The ID of the project whos tickets are being transfered.\",\"_recipient\":\"The recipient of the tickets.\"}},\"unlock(address,uint256,uint256)\":{\"details\":\"The address that locked the tickets must be the address that unlocks the tickets.\",\"params\":{\"_amount\":\"The amount of tickets to unlock.\",\"_holder\":\"The holder to unlock tickets from.\",\"_projectId\":\"The ID of the project whos tickets are being unlocked.\"}},\"unstake(address,uint256,uint256)\":{\"details\":\"Only a ticket holder or an operator can unstake its tickets.\",\"params\":{\"_amount\":\"The amount of tickets to unstake.\",\"_holder\":\"The owner of the tickets to unstake.\",\"_projectId\":\"The ID of the project whos tickets are being unstaked.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"balanceOf(address,uint256)\":{\"notice\":\" The total balance of tickets a holder has for a specified project, including staked and unstaked tickets.\"},\"issue(uint256,string,string)\":{\"notice\":\" Issues an owner's ERC-20 Tickets that'll be used when unstaking tickets.\"},\"lock(address,uint256,uint256)\":{\"notice\":\" Lock a project's tickets, preventing them from being redeemed and from converting to ERC20s.\"},\"operatorStore()\":{\"notice\":\"A contract storing operator assignments.\"},\"print(address,uint256,uint256,bool)\":{\"notice\":\" Print new tickets.\"},\"projects()\":{\"notice\":\"The Projects contract which mints ERC-721's that represent project ownership and transfers.\"},\"redeem(address,uint256,uint256,bool)\":{\"notice\":\" Redeems tickets.\"},\"stake(address,uint256,uint256)\":{\"notice\":\" Stakes ERC20 tickets by burning their supply and creating an internal staked version.\"},\"terminalDirectory()\":{\"notice\":\"The direct deposit terminals.\"},\"totalSupplyOf(uint256)\":{\"notice\":\" The total supply of tickets for each project, including staked and unstaked tickets.\"},\"transfer(address,uint256,uint256,address)\":{\"notice\":\" Allows a ticket holder to transfer its tickets to another account, without unstaking to ERC-20s.\"},\"unlock(address,uint256,uint256)\":{\"notice\":\" Unlock a project's tickets.\"},\"unstake(address,uint256,uint256)\":{\"notice\":\" Unstakes internal tickets by creating and distributing ERC20 tickets.\"}},\"notice\":\" Manage Ticket printing, redemption, and account balances.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v1/contracts/TicketBooth.sol\":\"TicketBooth\"},\"evmVersion\":\"berlin\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"remappings\":[\":@chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":@jbx-protocol-v1/=lib/juice-contracts-v1/\",\":@jbx-protocol-v2/=lib/juice-contracts-v2/\",\":@jbx-protocol-v3/=lib/juice-contracts-v3/\",\":@juicebox/=lib/juice-contracts-v2/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/\",\":chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":juice-contracts-v1/=lib/juice-contracts-v1/contracts/\",\":juice-contracts-v2/=lib/juice-contracts-v2/contracts/\",\":juice-contracts-v3/=lib/juice-contracts-v3/contracts/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\",\":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/\",\":prb-math/=lib/juice-contracts-v2/lib/prb-math/\"]},\"sources\":{\"lib/juice-contracts-v1/contracts/TicketBooth.sol\":{\"keccak256\":\"0x307ac45aaaa17c6b6856a1103d873c519ac6043198890db43f3c28a621854612\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b49db5c50150a1401524c613e89256088e2a960cdf8d1e1890848171d392490c\",\"dweb:/ipfs/QmerDswxqMqM5RqtuhKcG81e8EGCvxumX5UuFg1Qr2hD8k\"]},\"lib/juice-contracts-v1/contracts/Tickets.sol\":{\"keccak256\":\"0xe4b002e463f8810f51ab3daa29dbbeb8ef38f0c2cedaffbd70661cf32c3eba8f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb9688a958a3ccbedfda586e6fdd24c7b29a1de32a6fd014727cb5d35ab01051\",\"dweb:/ipfs/QmTDkx2fcoGxo3k6cdEbqTgbsA18WtbcwaayAsySpViRPP\"]},\"lib/juice-contracts-v1/contracts/abstract/Operatable.sol\":{\"keccak256\":\"0x5401b4930a799c898c61bbf3c27331f8f097fa326124ba95d2e119dc49bdd44e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e02afbbb07331870557db2855a200ce981730ad0466fe39cab65d1935746e8da\",\"dweb:/ipfs/QmaKSfeTnEZZzrCmUHBNQsrtet9m6utthEaS9bY3PrztVV\"]},\"lib/juice-contracts-v1/contracts/abstract/TerminalUtility.sol\":{\"keccak256\":\"0x49513e4e47886230f223b0e8623e4e5390eaab9bb032da3b7664bac1adb00809\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba3c51d1c091578a6b48f216debfd52b7054282d008e42e788c14ceb07316534\",\"dweb:/ipfs/Qmeb7Wyd1MdJhthLpntPC3bx67dFPPnJinQWnSVUDV5u2u\"]},\"lib/juice-contracts-v1/contracts/interfaces/IDirectPaymentAddress.sol\":{\"keccak256\":\"0xadcaeb92b5682b85f48c4a8923e82b54bbee28ef31a54e7ec8dea31efe45ee7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://27ec298aa604532de06f56c2c932cc017b9bfc5b196f0781ebb54909dc7bc4a7\",\"dweb:/ipfs/QmT5ut8rzEsoebYAv2fmSDWYYKyNULGGD9KaVU1qCDhxhH\"]},\"lib/juice-contracts-v1/contracts/interfaces/IOperatable.sol\":{\"keccak256\":\"0x10ffe2fb0f91614f11479cc2aac6c62e887fe1b74ad280bea845fab8833e648c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://57f2dee5fce5e3813537023115a7e359d6d0ff987f02dd25c481ca541a958c60\",\"dweb:/ipfs/QmeHAPxTDwMeUKMJM8AVHyV131VZDinAyXq5qQfZT7fDpq\"]},\"lib/juice-contracts-v1/contracts/interfaces/IOperatorStore.sol\":{\"keccak256\":\"0x1fefddcf072d01ffd86b5743d8f1e6ac32b4c5bc0af54b9cf2e00fb79d22d90d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://76d837c380f40598f9a3854924a19cf89daad9bc6856adca304ca5a4b8d90e87\",\"dweb:/ipfs/QmWbb6Si6Fic7uWCfLeP9AstCWocKcQe99bae1QbhmrRb5\"]},\"lib/juice-contracts-v1/contracts/interfaces/IProjects.sol\":{\"keccak256\":\"0xdc9b7c9924ea448c7aaab16d5a56b9b3b09b58406ae34026687337eee7ba4a4e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a6c8ea8188c310082c2ad6205725323b9a47208a52820f51c1b8b0a80009331b\",\"dweb:/ipfs/Qmanm8gvVL6tv2qNm5UC9TLZ49pLAmqHJRT6Q1rXW2s42g\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITerminal.sol\":{\"keccak256\":\"0x45efad59fd33dab1b05c0d59d1f623fbd9fc67373cf7b4da603078369611cd88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://093b1157f9a56dd5d38d9aff46d2e76f380dbf5f6792bd1453c17e3b361cf767\",\"dweb:/ipfs/QmSYJoCBuhjJp3tX1yx4NfdEQTrf9R4kau8UiHErjky88L\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITerminalDirectory.sol\":{\"keccak256\":\"0xee026727319ec7f26119fe026c2d5eb3b6769e7bd00f7b39c543b130617cb8bf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7e8e337cb7dc8501afd37fc5a285e930aeec4fe4d36efcc39382eb3cb50212d0\",\"dweb:/ipfs/QmZqD4AbrAwz7kyDeDGGnqLHHD1W7U5SHSngiDRPTbKqzn\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITerminalUtility.sol\":{\"keccak256\":\"0xd35ed0beda0fbb1ca01611ba720587db23b2c839d2998df001f2f58813a8387f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1013c29595becd1843975bfe3bbc42f32e38b9f0d5d8fa5a858b5f055a885824\",\"dweb:/ipfs/QmYb5ZoWovCAvGQXD4o6pL7DAtVT3GPWcHAFghauxWndu6\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITicketBooth.sol\":{\"keccak256\":\"0x78a66e7e017b1eaefc51f78cacaee9358236bce7c95e2c6a7c14a81ceee2387b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6636b8e9b3159779831a8fd3898005d0fa4a8bdfa43718d7436382e48e97e962\",\"dweb:/ipfs/QmUn8qc7JrAppkzcENm5pPZpB896QSPAKsvRSLQzoXH4Db\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITickets.sol\":{\"keccak256\":\"0x7887f7dd3e898200cc35d41bb7e39458df297758bbfc17142a5cc8e299f9ecc3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bae7e3c5d69ab7c2cbea1b1c20b5e14e0c65d7d6ebf20992f0148d1c70a04980\",\"dweb:/ipfs/QmRyD1Vh3VL88SWis1MSWpShJdKfoVXEeGYBVyLBzQ7HvN\"]},\"lib/juice-contracts-v1/contracts/libraries/Operations.sol\":{\"keccak256\":\"0xa1a020b014d0cf765fb61dc46f9ee91384fa8c68d93b131a90b9182baab6b1d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://25e2dd96f2f676108c968e91892c7ef1346355a8ee3483577149a986469e3eec\",\"dweb:/ipfs/QmNoFZ2EUyLfLPzWHNzguYzSX7YF36Z2k24oVgPF2DxuQ1\"]},\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2\",\"dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://15f52f51413a9de1ff191e2f6367c62178e1df7806d7880fe857a98b0b66253d\",\"dweb:/ipfs/QmaQG1fwfgUt5E9nu2cccFiV47B2V78MM1tCy1qB7n4MsH\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol\":{\"keccak256\":\"0xf84f1c4f09ba032cbcd0c2fa13517e94b1c1350837a0c47a51e7cde92704e0b5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dbc0cf8f8fda53daa8ed06bec221ac47449d6d85d14bc22c2b2ce4c49bd19fde\",\"dweb:/ipfs/QmRHYgHcWJq3gmLcy7BQijDahwv6wrzbkpThLxjDEDR8XR\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x35e258421ae206f3db37281cea70871b4c3553914734aa76139a41af60ac1abb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2ef94b6bc4ee356db612a1849c615f7dd4b15542d6c8584c86bb9243a7913cf0\",\"dweb:/ipfs/QmaxFj5NFpAjjitZtHPNS9PPtCuBATaRz9ktDDRCQCQ83y\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-ERC20Permit.sol\":{\"keccak256\":\"0x07dcf8dae8331643dbfcb4fbb8f9fb8d06a680419f928704ac3cd0a6dc156960\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://73f6f1f84dc3a4f2907d19c2958cf9751dde16da6cc5acc462768fd8d9f1ffdd\",\"dweb:/ipfs/QmWpg8t2T18k2vM1gRhXV5JGqFDo4K813C1Kb5Gt8PHSt4\"]},\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"lib/openzeppelin-contracts/contracts/utils/Counters.sol\":{\"keccak256\":\"0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee\",\"dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu\"]},\"lib/openzeppelin-contracts/contracts/utils/Strings.sol\":{\"keccak256\":\"0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634\",\"dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0xda898fa084aa1ddfdb346e6a40459e00a59d87071cce7c315a46d648dd71d0ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce501a941f4aa1555c04dabb5e07992503bb6a9b32ff8f7cdcefdb4a742210cb\",\"dweb:/ipfs/QmeScPrUpdrGYs9BytV3Z5ZWJcBXtuAgCW4BLHua4xFUxx\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x948d8b2d18f38141ec78c5229d770d950ebc781ed3f44cc9e3ccbb9fded5846a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7311ac950ed2d81f3ccf1784a926efbfc82a86dcb5c98d41eb3792c0cac63a2f\",\"dweb:/ipfs/QmRRwCUHewkPmehx8QRYENFoWyLNx8UEZGULxWYUeSZdTS\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xba1ae0497d71bf30f3710c38aba13a5b68c31d81ff04dd73e5dd55a05a9c903d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d77f4aee3f6534fe2dbc6583385fc123340f8ccb9bf3c8c04555e538a3d9a4b5\",\"dweb:/ipfs/QmVtP4Fz9tB2DFvMHJaSFbLxnEHE1NKDA92fviV7jDkEnL\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "contract IProjects",
              "name": "_projects",
              "type": "address"
            },
            {
              "internalType": "contract IOperatorStore",
              "name": "_operatorStore",
              "type": "address"
            },
            {
              "internalType": "contract ITerminalDirectory",
              "name": "_terminalDirectory",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "constructor"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "string",
              "name": "name",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "string",
              "name": "symbol",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Issue",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Lock",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "bool",
              "name": "convertedTickets",
              "type": "bool",
              "indexed": false
            },
            {
              "internalType": "bool",
              "name": "preferUnstakedTickets",
              "type": "bool",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "controller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Print",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "uint256",
              "name": "stakedTickets",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "controller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Redeem",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Stake",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "recipient",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Transfer",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Unlock",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "holder",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "Unstake",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "balanceOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "balance",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "_name",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "_symbol",
              "type": "string"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "issue"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "lock"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "lockedBalanceBy",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "lockedBalanceOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "operatorStore",
          "outputs": [
            {
              "internalType": "contract IOperatorStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "_preferUnstakedTickets",
              "type": "bool"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "print"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "projects",
          "outputs": [
            {
              "internalType": "contract IProjects",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "_preferUnstaked",
              "type": "bool"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "redeem"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "stake"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "stakedBalanceOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "stakedTotalSupplyOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "terminalDirectory",
          "outputs": [
            {
              "internalType": "contract ITerminalDirectory",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "ticketsOf",
          "outputs": [
            {
              "internalType": "contract ITickets",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "totalSupplyOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "supply",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_recipient",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "transfer"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "unlock"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "unstake"
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "balanceOf(address,uint256)": {
            "params": {
              "_holder": "The ticket holder to get a balance for.",
              "_projectId": "The project to get the `_hodler`s balance of."
            },
            "returns": {
              "balance": "The balance."
            }
          },
          "constructor": {
            "params": {
              "_operatorStore": "A contract storing operator assignments.",
              "_projects": "A Projects contract which mints ERC-721's that represent project ownership and transfers.",
              "_terminalDirectory": "A directory of a project's current Juicebox terminal to receive payments in."
            }
          },
          "issue(uint256,string,string)": {
            "details": " Deploys an owner's Ticket ERC-20 token contract.",
            "params": {
              "_name": "The ERC-20's name. \" Juicebox ticket\" will be appended.",
              "_projectId": "The ID of the project being issued tickets.",
              "_symbol": "The ERC-20's symbol. \"j\" will be prepended."
            }
          },
          "lock(address,uint256,uint256)": {
            "details": "Only a ticket holder or an operator can lock its tickets.",
            "params": {
              "_amount": "The amount of tickets to lock.",
              "_holder": "The holder to lock tickets from.",
              "_projectId": "The ID of the project whos tickets are being locked."
            }
          },
          "print(address,uint256,uint256,bool)": {
            "details": "Only a project's current terminal can print its tickets.",
            "params": {
              "_amount": "The amount to print.",
              "_holder": "The address receiving the new tickets.",
              "_preferUnstakedTickets": "Whether ERC20's should be converted automatically if they have been issued.",
              "_projectId": "The project to which the tickets belong."
            }
          },
          "redeem(address,uint256,uint256,bool)": {
            "details": "Only a project's current terminal can redeem its tickets.",
            "params": {
              "_amount": "The amount of tickets being redeemed.",
              "_holder": "The address that owns the tickets being redeemed.",
              "_preferUnstaked": "If the preference is to redeem tickets that have been converted to ERC-20s.",
              "_projectId": "The ID of the project of the tickets being redeemed."
            }
          },
          "stake(address,uint256,uint256)": {
            "details": "Only a ticket holder or an operator can stake its tickets.",
            "params": {
              "_amount": "The amount of tickets to stake.",
              "_holder": "The owner of the tickets to stake.",
              "_projectId": "The ID of the project whos tickets are being staked."
            }
          },
          "totalSupplyOf(uint256)": {
            "params": {
              "_projectId": "The ID of the project to get the total supply of."
            },
            "returns": {
              "supply": "The total supply."
            }
          },
          "transfer(address,uint256,uint256,address)": {
            "details": "Only a ticket holder or an operator can transfer its tickets.",
            "params": {
              "_amount": "The amount of tickets to transfer.",
              "_holder": "The holder to transfer tickets from.",
              "_projectId": "The ID of the project whos tickets are being transfered.",
              "_recipient": "The recipient of the tickets."
            }
          },
          "unlock(address,uint256,uint256)": {
            "details": "The address that locked the tickets must be the address that unlocks the tickets.",
            "params": {
              "_amount": "The amount of tickets to unlock.",
              "_holder": "The holder to unlock tickets from.",
              "_projectId": "The ID of the project whos tickets are being unlocked."
            }
          },
          "unstake(address,uint256,uint256)": {
            "details": "Only a ticket holder or an operator can unstake its tickets.",
            "params": {
              "_amount": "The amount of tickets to unstake.",
              "_holder": "The owner of the tickets to unstake.",
              "_projectId": "The ID of the project whos tickets are being unstaked."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "balanceOf(address,uint256)": {
            "notice": " The total balance of tickets a holder has for a specified project, including staked and unstaked tickets."
          },
          "issue(uint256,string,string)": {
            "notice": " Issues an owner's ERC-20 Tickets that'll be used when unstaking tickets."
          },
          "lock(address,uint256,uint256)": {
            "notice": " Lock a project's tickets, preventing them from being redeemed and from converting to ERC20s."
          },
          "operatorStore()": {
            "notice": "A contract storing operator assignments."
          },
          "print(address,uint256,uint256,bool)": {
            "notice": " Print new tickets."
          },
          "projects()": {
            "notice": "The Projects contract which mints ERC-721's that represent project ownership and transfers."
          },
          "redeem(address,uint256,uint256,bool)": {
            "notice": " Redeems tickets."
          },
          "stake(address,uint256,uint256)": {
            "notice": " Stakes ERC20 tickets by burning their supply and creating an internal staked version."
          },
          "terminalDirectory()": {
            "notice": "The direct deposit terminals."
          },
          "totalSupplyOf(uint256)": {
            "notice": " The total supply of tickets for each project, including staked and unstaked tickets."
          },
          "transfer(address,uint256,uint256,address)": {
            "notice": " Allows a ticket holder to transfer its tickets to another account, without unstaking to ERC-20s."
          },
          "unlock(address,uint256,uint256)": {
            "notice": " Unlock a project's tickets."
          },
          "unstake(address,uint256,uint256)": {
            "notice": " Unstakes internal tickets by creating and distributing ERC20 tickets."
          }
        },
        "version": 1
      }
    },
    "settings": {
      "remappings": [
        ":@chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":@jbx-protocol-v1/=lib/juice-contracts-v1/",
        ":@jbx-protocol-v2/=lib/juice-contracts-v2/",
        ":@jbx-protocol-v3/=lib/juice-contracts-v3/",
        ":@juicebox/=lib/juice-contracts-v2/contracts/",
        ":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
        ":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/",
        ":chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":ds-test/=lib/forge-std/lib/ds-test/src/",
        ":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
        ":forge-std/=lib/forge-std/src/",
        ":juice-contracts-v1/=lib/juice-contracts-v1/contracts/",
        ":juice-contracts-v2/=lib/juice-contracts-v2/contracts/",
        ":juice-contracts-v3/=lib/juice-contracts-v3/contracts/",
        ":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
        ":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/",
        ":prb-math/=lib/juice-contracts-v2/lib/prb-math/"
      ],
      "optimizer": {
        "enabled": true,
        "runs": 10000000
      },
      "metadata": {
        "bytecodeHash": "ipfs"
      },
      "compilationTarget": {
        "lib/juice-contracts-v1/contracts/TicketBooth.sol": "TicketBooth"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v1/contracts/TicketBooth.sol": {
        "keccak256": "0x307ac45aaaa17c6b6856a1103d873c519ac6043198890db43f3c28a621854612",
        "urls": [
          "bzz-raw://b49db5c50150a1401524c613e89256088e2a960cdf8d1e1890848171d392490c",
          "dweb:/ipfs/QmerDswxqMqM5RqtuhKcG81e8EGCvxumX5UuFg1Qr2hD8k"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/Tickets.sol": {
        "keccak256": "0xe4b002e463f8810f51ab3daa29dbbeb8ef38f0c2cedaffbd70661cf32c3eba8f",
        "urls": [
          "bzz-raw://fb9688a958a3ccbedfda586e6fdd24c7b29a1de32a6fd014727cb5d35ab01051",
          "dweb:/ipfs/QmTDkx2fcoGxo3k6cdEbqTgbsA18WtbcwaayAsySpViRPP"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/abstract/Operatable.sol": {
        "keccak256": "0x5401b4930a799c898c61bbf3c27331f8f097fa326124ba95d2e119dc49bdd44e",
        "urls": [
          "bzz-raw://e02afbbb07331870557db2855a200ce981730ad0466fe39cab65d1935746e8da",
          "dweb:/ipfs/QmaKSfeTnEZZzrCmUHBNQsrtet9m6utthEaS9bY3PrztVV"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/abstract/TerminalUtility.sol": {
        "keccak256": "0x49513e4e47886230f223b0e8623e4e5390eaab9bb032da3b7664bac1adb00809",
        "urls": [
          "bzz-raw://ba3c51d1c091578a6b48f216debfd52b7054282d008e42e788c14ceb07316534",
          "dweb:/ipfs/Qmeb7Wyd1MdJhthLpntPC3bx67dFPPnJinQWnSVUDV5u2u"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IDirectPaymentAddress.sol": {
        "keccak256": "0xadcaeb92b5682b85f48c4a8923e82b54bbee28ef31a54e7ec8dea31efe45ee7e",
        "urls": [
          "bzz-raw://27ec298aa604532de06f56c2c932cc017b9bfc5b196f0781ebb54909dc7bc4a7",
          "dweb:/ipfs/QmT5ut8rzEsoebYAv2fmSDWYYKyNULGGD9KaVU1qCDhxhH"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IOperatable.sol": {
        "keccak256": "0x10ffe2fb0f91614f11479cc2aac6c62e887fe1b74ad280bea845fab8833e648c",
        "urls": [
          "bzz-raw://57f2dee5fce5e3813537023115a7e359d6d0ff987f02dd25c481ca541a958c60",
          "dweb:/ipfs/QmeHAPxTDwMeUKMJM8AVHyV131VZDinAyXq5qQfZT7fDpq"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IOperatorStore.sol": {
        "keccak256": "0x1fefddcf072d01ffd86b5743d8f1e6ac32b4c5bc0af54b9cf2e00fb79d22d90d",
        "urls": [
          "bzz-raw://76d837c380f40598f9a3854924a19cf89daad9bc6856adca304ca5a4b8d90e87",
          "dweb:/ipfs/QmWbb6Si6Fic7uWCfLeP9AstCWocKcQe99bae1QbhmrRb5"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IProjects.sol": {
        "keccak256": "0xdc9b7c9924ea448c7aaab16d5a56b9b3b09b58406ae34026687337eee7ba4a4e",
        "urls": [
          "bzz-raw://a6c8ea8188c310082c2ad6205725323b9a47208a52820f51c1b8b0a80009331b",
          "dweb:/ipfs/Qmanm8gvVL6tv2qNm5UC9TLZ49pLAmqHJRT6Q1rXW2s42g"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITerminal.sol": {
        "keccak256": "0x45efad59fd33dab1b05c0d59d1f623fbd9fc67373cf7b4da603078369611cd88",
        "urls": [
          "bzz-raw://093b1157f9a56dd5d38d9aff46d2e76f380dbf5f6792bd1453c17e3b361cf767",
          "dweb:/ipfs/QmSYJoCBuhjJp3tX1yx4NfdEQTrf9R4kau8UiHErjky88L"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITerminalDirectory.sol": {
        "keccak256": "0xee026727319ec7f26119fe026c2d5eb3b6769e7bd00f7b39c543b130617cb8bf",
        "urls": [
          "bzz-raw://7e8e337cb7dc8501afd37fc5a285e930aeec4fe4d36efcc39382eb3cb50212d0",
          "dweb:/ipfs/QmZqD4AbrAwz7kyDeDGGnqLHHD1W7U5SHSngiDRPTbKqzn"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITerminalUtility.sol": {
        "keccak256": "0xd35ed0beda0fbb1ca01611ba720587db23b2c839d2998df001f2f58813a8387f",
        "urls": [
          "bzz-raw://1013c29595becd1843975bfe3bbc42f32e38b9f0d5d8fa5a858b5f055a885824",
          "dweb:/ipfs/QmYb5ZoWovCAvGQXD4o6pL7DAtVT3GPWcHAFghauxWndu6"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITicketBooth.sol": {
        "keccak256": "0x78a66e7e017b1eaefc51f78cacaee9358236bce7c95e2c6a7c14a81ceee2387b",
        "urls": [
          "bzz-raw://6636b8e9b3159779831a8fd3898005d0fa4a8bdfa43718d7436382e48e97e962",
          "dweb:/ipfs/QmUn8qc7JrAppkzcENm5pPZpB896QSPAKsvRSLQzoXH4Db"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITickets.sol": {
        "keccak256": "0x7887f7dd3e898200cc35d41bb7e39458df297758bbfc17142a5cc8e299f9ecc3",
        "urls": [
          "bzz-raw://bae7e3c5d69ab7c2cbea1b1c20b5e14e0c65d7d6ebf20992f0148d1c70a04980",
          "dweb:/ipfs/QmRyD1Vh3VL88SWis1MSWpShJdKfoVXEeGYBVyLBzQ7HvN"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/libraries/Operations.sol": {
        "keccak256": "0xa1a020b014d0cf765fb61dc46f9ee91384fa8c68d93b131a90b9182baab6b1d1",
        "urls": [
          "bzz-raw://25e2dd96f2f676108c968e91892c7ef1346355a8ee3483577149a986469e3eec",
          "dweb:/ipfs/QmNoFZ2EUyLfLPzWHNzguYzSX7YF36Z2k24oVgPF2DxuQ1"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/access/Ownable.sol": {
        "keccak256": "0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",
        "urls": [
          "bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2",
          "dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol": {
        "keccak256": "0x4ffc0547c02ad22925310c585c0f166f8759e2648a09e9b489100c42f15dd98d",
        "urls": [
          "bzz-raw://15f52f51413a9de1ff191e2f6367c62178e1df7806d7880fe857a98b0b66253d",
          "dweb:/ipfs/QmaQG1fwfgUt5E9nu2cccFiV47B2V78MM1tCy1qB7n4MsH"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol": {
        "keccak256": "0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",
        "urls": [
          "bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34",
          "dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol": {
        "keccak256": "0xf84f1c4f09ba032cbcd0c2fa13517e94b1c1350837a0c47a51e7cde92704e0b5",
        "urls": [
          "bzz-raw://dbc0cf8f8fda53daa8ed06bec221ac47449d6d85d14bc22c2b2ce4c49bd19fde",
          "dweb:/ipfs/QmRHYgHcWJq3gmLcy7BQijDahwv6wrzbkpThLxjDEDR8XR"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
        "keccak256": "0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",
        "urls": [
          "bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd",
          "dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol": {
        "keccak256": "0x35e258421ae206f3db37281cea70871b4c3553914734aa76139a41af60ac1abb",
        "urls": [
          "bzz-raw://2ef94b6bc4ee356db612a1849c615f7dd4b15542d6c8584c86bb9243a7913cf0",
          "dweb:/ipfs/QmaxFj5NFpAjjitZtHPNS9PPtCuBATaRz9ktDDRCQCQ83y"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-ERC20Permit.sol": {
        "keccak256": "0x07dcf8dae8331643dbfcb4fbb8f9fb8d06a680419f928704ac3cd0a6dc156960",
        "urls": [
          "bzz-raw://73f6f1f84dc3a4f2907d19c2958cf9751dde16da6cc5acc462768fd8d9f1ffdd",
          "dweb:/ipfs/QmWpg8t2T18k2vM1gRhXV5JGqFDo4K813C1Kb5Gt8PHSt4"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol": {
        "keccak256": "0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68",
        "urls": [
          "bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56",
          "dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/Context.sol": {
        "keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",
        "urls": [
          "bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92",
          "dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/Counters.sol": {
        "keccak256": "0xf0018c2440fbe238dd3a8732fa8e17a0f9dce84d31451dc8a32f6d62b349c9f1",
        "urls": [
          "bzz-raw://59e1c62884d55b70f3ae5432b44bb3166ad71ae3acd19c57ab6ddc3c87c325ee",
          "dweb:/ipfs/QmezuXg5GK5oeA4F91EZhozBFekhq5TD966bHPH18cCqhu"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/Strings.sol": {
        "keccak256": "0xa4d1d62251f8574deb032a35fc948386a9b4de74b812d4f545a1ac120486b48a",
        "urls": [
          "bzz-raw://8c969013129ba9e651a20735ef659fef6d8a1139ea3607bd4b26ddea2d645634",
          "dweb:/ipfs/QmVhVa6LGuzAcB8qgDtVHRkucn4ihj5UZr8xBLcJkP6ucb"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol": {
        "keccak256": "0xda898fa084aa1ddfdb346e6a40459e00a59d87071cce7c315a46d648dd71d0ba",
        "urls": [
          "bzz-raw://ce501a941f4aa1555c04dabb5e07992503bb6a9b32ff8f7cdcefdb4a742210cb",
          "dweb:/ipfs/QmeScPrUpdrGYs9BytV3Z5ZWJcBXtuAgCW4BLHua4xFUxx"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol": {
        "keccak256": "0x948d8b2d18f38141ec78c5229d770d950ebc781ed3f44cc9e3ccbb9fded5846a",
        "urls": [
          "bzz-raw://7311ac950ed2d81f3ccf1784a926efbfc82a86dcb5c98d41eb3792c0cac63a2f",
          "dweb:/ipfs/QmRRwCUHewkPmehx8QRYENFoWyLNx8UEZGULxWYUeSZdTS"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol": {
        "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
        "urls": [
          "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
          "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/math/Math.sol": {
        "keccak256": "0xba1ae0497d71bf30f3710c38aba13a5b68c31d81ff04dd73e5dd55a05a9c903d",
        "urls": [
          "bzz-raw://d77f4aee3f6534fe2dbc6583385fc123340f8ccb9bf3c8c04555e538a3d9a4b5",
          "dweb:/ipfs/QmVtP4Fz9tB2DFvMHJaSFbLxnEHE1NKDA92fviV7jDkEnL"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v1/contracts/TicketBooth.sol",
    "id": 10516,
    "exportedSymbols": {
      "Context": [
        38890
      ],
      "Counters": [
        38964
      ],
      "ECDSA": [
        62861
      ],
      "EIP712": [
        39118
      ],
      "ERC20": [
        37496
      ],
      "ERC20Permit": [
        39290
      ],
      "IDirectPaymentAddress": [
        36101
      ],
      "IERC165": [
        38868
      ],
      "IERC20": [
        37690
      ],
      "IERC20Metadata": [
        62425
      ],
      "IERC20Permit": [
        62897
      ],
      "IERC721": [
        37612
      ],
      "IOperatable": [
        11358
      ],
      "IOperatorStore": [
        36269
      ],
      "IProjects": [
        36554
      ],
      "ITerminal": [
        36604
      ],
      "ITerminalDirectory": [
        36192
      ],
      "ITerminalUtility": [
        11414
      ],
      "ITicketBooth": [
        36909
      ],
      "ITickets": [
        35614
      ],
      "Math": [
        40331
      ],
      "Operatable": [
        10980
      ],
      "Operations": [
        12243
      ],
      "Ownable": [
        36382
      ],
      "Strings": [
        39465
      ],
      "TerminalUtility": [
        11023
      ],
      "TicketBooth": [
        10515
      ],
      "Tickets": [
        10577
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:18011:35",
    "nodes": [
      {
        "id": 9558,
        "nodeType": "PragmaDirective",
        "src": "32:22:35",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 9559,
        "nodeType": "ImportDirective",
        "src": "56:39:35",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/interfaces/ITicketBooth.sol",
        "file": "./interfaces/ITicketBooth.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 10516,
        "sourceUnit": 36910,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 9560,
        "nodeType": "ImportDirective",
        "src": "96:35:35",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/abstract/Operatable.sol",
        "file": "./abstract/Operatable.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 10516,
        "sourceUnit": 10981,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 9561,
        "nodeType": "ImportDirective",
        "src": "132:40:35",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/abstract/TerminalUtility.sol",
        "file": "./abstract/TerminalUtility.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 10516,
        "sourceUnit": 11024,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 9562,
        "nodeType": "ImportDirective",
        "src": "174:36:35",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/libraries/Operations.sol",
        "file": "./libraries/Operations.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 10516,
        "sourceUnit": 12244,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 9563,
        "nodeType": "ImportDirective",
        "src": "212:23:35",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/Tickets.sol",
        "file": "./Tickets.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 10516,
        "sourceUnit": 10578,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 10515,
        "nodeType": "ContractDefinition",
        "src": "604:17438:35",
        "nodes": [
          {
            "id": 9575,
            "nodeType": "VariableDeclaration",
            "src": "838:44:35",
            "nodes": [],
            "baseFunctions": [
              36778
            ],
            "constant": false,
            "documentation": {
              "id": 9571,
              "nodeType": "StructuredDocumentation",
              "src": "730:103:35",
              "text": "@notice The Projects contract which mints ERC-721's that represent project ownership and transfers."
            },
            "functionSelector": "8b79543c",
            "mutability": "immutable",
            "name": "projects",
            "nameLocation": "874:8:35",
            "overrides": {
              "id": 9574,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "865:8:35"
            },
            "scope": 10515,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IProjects_$36554",
              "typeString": "contract IProjects"
            },
            "typeName": {
              "id": 9573,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 9572,
                "name": "IProjects",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 36554,
                "src": "838:9:35"
              },
              "referencedDeclaration": 36554,
              "src": "838:9:35",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IProjects_$36554",
                "typeString": "contract IProjects"
              }
            },
            "visibility": "public"
          },
          {
            "id": 9581,
            "nodeType": "VariableDeclaration",
            "src": "976:54:35",
            "nodes": [],
            "baseFunctions": [
              36772
            ],
            "constant": false,
            "functionSelector": "465909fc",
            "mutability": "mutable",
            "name": "ticketsOf",
            "nameLocation": "1021:9:35",
            "overrides": {
              "id": 9580,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1012:8:35"
            },
            "scope": 10515,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
              "typeString": "mapping(uint256 => contract ITickets)"
            },
            "typeName": {
              "id": 9579,
              "keyType": {
                "id": 9576,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "984:7:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "976:28:35",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                "typeString": "mapping(uint256 => contract ITickets)"
              },
              "valueType": {
                "id": 9578,
                "nodeType": "UserDefinedTypeName",
                "pathNode": {
                  "id": 9577,
                  "name": "ITickets",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 35614,
                  "src": "995:8:35"
                },
                "referencedDeclaration": 35614,
                "src": "995:8:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_ITickets_$35614",
                  "typeString": "contract ITickets"
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 9588,
            "nodeType": "VariableDeclaration",
            "src": "1102:95:35",
            "nodes": [],
            "baseFunctions": [
              36807
            ],
            "constant": false,
            "functionSelector": "b656463b",
            "mutability": "mutable",
            "name": "stakedBalanceOf",
            "nameLocation": "1182:15:35",
            "overrides": {
              "id": 9587,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1173:8:35"
            },
            "scope": 10515,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
              "typeString": "mapping(address => mapping(uint256 => uint256))"
            },
            "typeName": {
              "id": 9586,
              "keyType": {
                "id": 9582,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1110:7:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1102:47:35",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                "typeString": "mapping(address => mapping(uint256 => uint256))"
              },
              "valueType": {
                "id": 9585,
                "keyType": {
                  "id": 9583,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1129:7:35",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "1121:27:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                  "typeString": "mapping(uint256 => uint256)"
                },
                "valueType": {
                  "id": 9584,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1140:7:35",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 9593,
            "nodeType": "VariableDeclaration",
            "src": "1262:63:35",
            "nodes": [],
            "baseFunctions": [
              36814
            ],
            "constant": false,
            "functionSelector": "5030724e",
            "mutability": "mutable",
            "name": "stakedTotalSupplyOf",
            "nameLocation": "1306:19:35",
            "overrides": {
              "id": 9592,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1297:8:35"
            },
            "scope": 10515,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
              "typeString": "mapping(uint256 => uint256)"
            },
            "typeName": {
              "id": 9591,
              "keyType": {
                "id": 9589,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "1270:7:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "1262:27:35",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                "typeString": "mapping(uint256 => uint256)"
              },
              "valueType": {
                "id": 9590,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "1281:7:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 9600,
            "nodeType": "VariableDeclaration",
            "src": "1391:95:35",
            "nodes": [],
            "baseFunctions": [
              36787
            ],
            "constant": false,
            "functionSelector": "8ef4c807",
            "mutability": "mutable",
            "name": "lockedBalanceOf",
            "nameLocation": "1471:15:35",
            "overrides": {
              "id": 9599,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1462:8:35"
            },
            "scope": 10515,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
              "typeString": "mapping(address => mapping(uint256 => uint256))"
            },
            "typeName": {
              "id": 9598,
              "keyType": {
                "id": 9594,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1399:7:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1391:47:35",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                "typeString": "mapping(address => mapping(uint256 => uint256))"
              },
              "valueType": {
                "id": 9597,
                "keyType": {
                  "id": 9595,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1418:7:35",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "1410:27:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                  "typeString": "mapping(uint256 => uint256)"
                },
                "valueType": {
                  "id": 9596,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "1429:7:35",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 9609,
            "nodeType": "VariableDeclaration",
            "src": "1568:115:35",
            "nodes": [],
            "baseFunctions": [
              36798
            ],
            "constant": false,
            "functionSelector": "b6f7fdb9",
            "mutability": "mutable",
            "name": "lockedBalanceBy",
            "nameLocation": "1668:15:35",
            "overrides": {
              "id": 9608,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1659:8:35"
            },
            "scope": 10515,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
              "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
            },
            "typeName": {
              "id": 9607,
              "keyType": {
                "id": 9601,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1576:7:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1568:67:35",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
              },
              "valueType": {
                "id": 9606,
                "keyType": {
                  "id": 9602,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "1595:7:35",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "nodeType": "Mapping",
                "src": "1587:47:35",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                },
                "valueType": {
                  "id": 9605,
                  "keyType": {
                    "id": 9603,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1614:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "Mapping",
                  "src": "1606:27:35",
                  "typeDescriptions": {
                    "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                    "typeString": "mapping(uint256 => uint256)"
                  },
                  "valueType": {
                    "id": 9604,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1625:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 9649,
            "nodeType": "FunctionDefinition",
            "src": "1961:335:35",
            "nodes": [],
            "body": {
              "id": 9648,
              "nodeType": "Block",
              "src": "2088:208:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 9622,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 9618,
                      "name": "supply",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9616,
                      "src": "2098:6:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "baseExpression": {
                        "id": 9619,
                        "name": "stakedTotalSupplyOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9593,
                        "src": "2107:19:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 9621,
                      "indexExpression": {
                        "id": 9620,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9612,
                        "src": "2127:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2107:31:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2098:40:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9623,
                  "nodeType": "ExpressionStatement",
                  "src": "2098:40:35"
                },
                {
                  "assignments": [
                    9626
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9626,
                      "mutability": "mutable",
                      "name": "_tickets",
                      "nameLocation": "2157:8:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 9648,
                      "src": "2148:17:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "typeName": {
                        "id": 9625,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 9624,
                          "name": "ITickets",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35614,
                          "src": "2148:8:35"
                        },
                        "referencedDeclaration": 35614,
                        "src": "2148:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9630,
                  "initialValue": {
                    "baseExpression": {
                      "id": 9627,
                      "name": "ticketsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9581,
                      "src": "2168:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                        "typeString": "mapping(uint256 => contract ITickets)"
                      }
                    },
                    "id": 9629,
                    "indexExpression": {
                      "id": 9628,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9612,
                      "src": "2178:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2168:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2148:41:35"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    },
                    "id": 9638,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 9631,
                      "name": "_tickets",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9626,
                      "src": "2203:8:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "arguments": [
                        {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 9635,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "2232:1:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 9634,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2224:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 9633,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "2224:7:35",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 9636,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2224:10:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 9632,
                        "name": "ITickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 35614,
                        "src": "2215:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                          "typeString": "type(contract ITickets)"
                        }
                      },
                      "id": 9637,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2215:20:35",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      }
                    },
                    "src": "2203:32:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 9647,
                  "nodeType": "IfStatement",
                  "src": "2199:90:35",
                  "trueBody": {
                    "expression": {
                      "id": 9645,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 9639,
                        "name": "supply",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9616,
                        "src": "2249:6:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9644,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 9640,
                          "name": "supply",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9616,
                          "src": "2258:6:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "+",
                        "rightExpression": {
                          "arguments": [],
                          "expression": {
                            "argumentTypes": [],
                            "expression": {
                              "id": 9641,
                              "name": "_tickets",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9626,
                              "src": "2267:8:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ITickets_$35614",
                                "typeString": "contract ITickets"
                              }
                            },
                            "id": 9642,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "totalSupply",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 37639,
                            "src": "2267:20:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
                              "typeString": "function () view external returns (uint256)"
                            }
                          },
                          "id": 9643,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2267:22:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "2258:31:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "2249:40:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 9646,
                    "nodeType": "ExpressionStatement",
                    "src": "2249:40:35"
                  }
                }
              ]
            },
            "baseFunctions": [
              36821
            ],
            "documentation": {
              "id": 9610,
              "nodeType": "StructuredDocumentation",
              "src": "1724:232:35",
              "text": "@notice \nThe total supply of tickets for each project, including staked and unstaked tickets.\n@param _projectId The ID of the project to get the total supply of.\n@return supply The total supply."
            },
            "functionSelector": "75b0d9cd",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "totalSupplyOf",
            "nameLocation": "1970:13:35",
            "overrides": {
              "id": 9614,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2042:8:35"
            },
            "parameters": {
              "id": 9613,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9612,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1992:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9649,
                  "src": "1984:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9611,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1984:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1983:20:35"
            },
            "returnParameters": {
              "id": 9617,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9616,
                  "mutability": "mutable",
                  "name": "supply",
                  "nameLocation": "2076:6:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9649,
                  "src": "2068:14:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9615,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2068:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2067:16:35"
            },
            "scope": 10515,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 9694,
            "nodeType": "FunctionDefinition",
            "src": "2613:359:35",
            "nodes": [],
            "body": {
              "id": 9693,
              "nodeType": "Block",
              "src": "2754:218:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 9666,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 9660,
                      "name": "balance",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9658,
                      "src": "2764:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 9661,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "2774:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 9663,
                        "indexExpression": {
                          "id": 9662,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9652,
                          "src": "2790:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2774:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 9665,
                      "indexExpression": {
                        "id": 9664,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9654,
                        "src": "2799:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "2774:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2764:46:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9667,
                  "nodeType": "ExpressionStatement",
                  "src": "2764:46:35"
                },
                {
                  "assignments": [
                    9670
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9670,
                      "mutability": "mutable",
                      "name": "_ticket",
                      "nameLocation": "2829:7:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 9693,
                      "src": "2820:16:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "typeName": {
                        "id": 9669,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 9668,
                          "name": "ITickets",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35614,
                          "src": "2820:8:35"
                        },
                        "referencedDeclaration": 35614,
                        "src": "2820:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9674,
                  "initialValue": {
                    "baseExpression": {
                      "id": 9671,
                      "name": "ticketsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9581,
                      "src": "2839:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                        "typeString": "mapping(uint256 => contract ITickets)"
                      }
                    },
                    "id": 9673,
                    "indexExpression": {
                      "id": 9672,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9654,
                      "src": "2849:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "2839:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2820:40:35"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    },
                    "id": 9682,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 9675,
                      "name": "_ticket",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9670,
                      "src": "2874:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "arguments": [
                        {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 9679,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "2902:1:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 9678,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "2894:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 9677,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "2894:7:35",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 9680,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2894:10:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 9676,
                        "name": "ITickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 35614,
                        "src": "2885:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                          "typeString": "type(contract ITickets)"
                        }
                      },
                      "id": 9681,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2885:20:35",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      }
                    },
                    "src": "2874:31:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 9692,
                  "nodeType": "IfStatement",
                  "src": "2870:95:35",
                  "trueBody": {
                    "expression": {
                      "id": 9690,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 9683,
                        "name": "balance",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9658,
                        "src": "2919:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": "=",
                      "rightHandSide": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9689,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 9684,
                          "name": "balance",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9658,
                          "src": "2929:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "+",
                        "rightExpression": {
                          "arguments": [
                            {
                              "id": 9687,
                              "name": "_holder",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9652,
                              "src": "2957:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "expression": {
                              "id": 9685,
                              "name": "_ticket",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9670,
                              "src": "2939:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ITickets_$35614",
                                "typeString": "contract ITickets"
                              }
                            },
                            "id": 9686,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "balanceOf",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 37647,
                            "src": "2939:17:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                              "typeString": "function (address) view external returns (uint256)"
                            }
                          },
                          "id": 9688,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2939:26:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "2929:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "2919:46:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 9691,
                    "nodeType": "ExpressionStatement",
                    "src": "2919:46:35"
                  }
                }
              ]
            },
            "baseFunctions": [
              36830
            ],
            "documentation": {
              "id": 9650,
              "nodeType": "StructuredDocumentation",
              "src": "2302:306:35",
              "text": "@notice \nThe total balance of tickets a holder has for a specified project, including staked and unstaked tickets.\n@param _holder The ticket holder to get a balance for.\n@param _projectId The project to get the `_hodler`s balance of.\n@return balance The balance."
            },
            "functionSelector": "00fdd58e",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "balanceOf",
            "nameLocation": "2622:9:35",
            "overrides": {
              "id": 9656,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2707:8:35"
            },
            "parameters": {
              "id": 9655,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9652,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "2640:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9694,
                  "src": "2632:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9651,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2632:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9654,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "2657:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9694,
                  "src": "2649:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9653,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2649:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2631:37:35"
            },
            "returnParameters": {
              "id": 9659,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9658,
                  "mutability": "mutable",
                  "name": "balance",
                  "nameLocation": "2741:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9694,
                  "src": "2733:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9657,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2733:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2732:17:35"
            },
            "scope": 10515,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 9718,
            "nodeType": "FunctionDefinition",
            "src": "3326:233:35",
            "nodes": [],
            "body": {
              "id": 9717,
              "nodeType": "Block",
              "src": "3522:37:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 9715,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 9713,
                      "name": "projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9575,
                      "src": "3532:8:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IProjects_$36554",
                        "typeString": "contract IProjects"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 9714,
                      "name": "_projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9698,
                      "src": "3543:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IProjects_$36554",
                        "typeString": "contract IProjects"
                      }
                    },
                    "src": "3532:20:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IProjects_$36554",
                      "typeString": "contract IProjects"
                    }
                  },
                  "id": 9716,
                  "nodeType": "ExpressionStatement",
                  "src": "3532:20:35"
                }
              ]
            },
            "documentation": {
              "id": 9695,
              "nodeType": "StructuredDocumentation",
              "src": "3019:302:35",
              "text": "@param _projects A Projects contract which mints ERC-721's that represent project ownership and transfers.\n@param _operatorStore A contract storing operator assignments.\n@param _terminalDirectory A directory of a project's current Juicebox terminal to receive payments in."
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 9707,
                    "name": "_operatorStore",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9701,
                    "src": "3470:14:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                      "typeString": "contract IOperatorStore"
                    }
                  }
                ],
                "id": 9708,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 9706,
                  "name": "Operatable",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10980,
                  "src": "3459:10:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "3459:26:35"
              },
              {
                "arguments": [
                  {
                    "id": 9710,
                    "name": "_terminalDirectory",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9704,
                    "src": "3502:18:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                      "typeString": "contract ITerminalDirectory"
                    }
                  }
                ],
                "id": 9711,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 9709,
                  "name": "TerminalUtility",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 11023,
                  "src": "3486:15:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "3486:35:35"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 9705,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9698,
                  "mutability": "mutable",
                  "name": "_projects",
                  "nameLocation": "3357:9:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9718,
                  "src": "3347:19:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IProjects_$36554",
                    "typeString": "contract IProjects"
                  },
                  "typeName": {
                    "id": 9697,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 9696,
                      "name": "IProjects",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36554,
                      "src": "3347:9:35"
                    },
                    "referencedDeclaration": 36554,
                    "src": "3347:9:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IProjects_$36554",
                      "typeString": "contract IProjects"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9701,
                  "mutability": "mutable",
                  "name": "_operatorStore",
                  "nameLocation": "3391:14:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9718,
                  "src": "3376:29:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                    "typeString": "contract IOperatorStore"
                  },
                  "typeName": {
                    "id": 9700,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 9699,
                      "name": "IOperatorStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36269,
                      "src": "3376:14:35"
                    },
                    "referencedDeclaration": 36269,
                    "src": "3376:14:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                      "typeString": "contract IOperatorStore"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9704,
                  "mutability": "mutable",
                  "name": "_terminalDirectory",
                  "nameLocation": "3434:18:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9718,
                  "src": "3415:37:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                    "typeString": "contract ITerminalDirectory"
                  },
                  "typeName": {
                    "id": 9703,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 9702,
                      "name": "ITerminalDirectory",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36192,
                      "src": "3415:18:35"
                    },
                    "referencedDeclaration": 36192,
                    "src": "3415:18:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                      "typeString": "contract ITerminalDirectory"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3337:121:35"
            },
            "returnParameters": {
              "id": 9712,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3522:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "id": 9796,
            "nodeType": "FunctionDefinition",
            "src": "3965:1010:35",
            "nodes": [],
            "body": {
              "id": 9795,
              "nodeType": "Block",
              "src": "4248:727:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "components": [
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 9745,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "expression": {
                                "arguments": [
                                  {
                                    "id": 9741,
                                    "name": "_name",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9723,
                                    "src": "4306:5:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_string_calldata_ptr",
                                      "typeString": "string calldata"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_string_calldata_ptr",
                                      "typeString": "string calldata"
                                    }
                                  ],
                                  "id": 9740,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "4300:5:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                                    "typeString": "type(bytes storage pointer)"
                                  },
                                  "typeName": {
                                    "id": 9739,
                                    "name": "bytes",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "4300:5:35",
                                    "typeDescriptions": {}
                                  }
                                },
                                "id": 9742,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "4300:12:35",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes_calldata_ptr",
                                  "typeString": "bytes calldata"
                                }
                              },
                              "id": 9743,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "length",
                              "nodeType": "MemberAccess",
                              "src": "4300:19:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": ">",
                            "rightExpression": {
                              "hexValue": "30",
                              "id": 9744,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4322:1:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "src": "4300:23:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          }
                        ],
                        "id": 9746,
                        "isConstant": false,
                        "isInlineArray": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "4299:25:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a69737375653a20454d5054595f4e414d45",
                        "id": 9747,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4326:32:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_8e7f2d7db19a756126eba55834bef8ee68bdcbb23b36369ba771cf247e7bbd68",
                          "typeString": "literal_string \"TicketBooth::issue: EMPTY_NAME\""
                        },
                        "value": "TicketBooth::issue: EMPTY_NAME"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_8e7f2d7db19a756126eba55834bef8ee68bdcbb23b36369ba771cf247e7bbd68",
                          "typeString": "literal_string \"TicketBooth::issue: EMPTY_NAME\""
                        }
                      ],
                      "id": 9738,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "4291:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9748,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4291:68:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9749,
                  "nodeType": "ExpressionStatement",
                  "src": "4291:68:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "components": [
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 9757,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "expression": {
                                "arguments": [
                                  {
                                    "id": 9753,
                                    "name": "_symbol",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9725,
                                    "src": "4433:7:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_string_calldata_ptr",
                                      "typeString": "string calldata"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_string_calldata_ptr",
                                      "typeString": "string calldata"
                                    }
                                  ],
                                  "id": 9752,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "4427:5:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_bytes_storage_ptr_$",
                                    "typeString": "type(bytes storage pointer)"
                                  },
                                  "typeName": {
                                    "id": 9751,
                                    "name": "bytes",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "4427:5:35",
                                    "typeDescriptions": {}
                                  }
                                },
                                "id": 9754,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "4427:14:35",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bytes_calldata_ptr",
                                  "typeString": "bytes calldata"
                                }
                              },
                              "id": 9755,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "length",
                              "nodeType": "MemberAccess",
                              "src": "4427:21:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": ">",
                            "rightExpression": {
                              "hexValue": "30",
                              "id": 9756,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4451:1:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "src": "4427:25:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          }
                        ],
                        "id": 9758,
                        "isConstant": false,
                        "isInlineArray": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "TupleExpression",
                        "src": "4426:27:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a69737375653a20454d5054595f53594d424f4c",
                        "id": 9759,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4467:34:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_da05e406956c81e8312796171b4153878d1d7c8b8bf41aecdcdbe3656927910f",
                          "typeString": "literal_string \"TicketBooth::issue: EMPTY_SYMBOL\""
                        },
                        "value": "TicketBooth::issue: EMPTY_SYMBOL"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_da05e406956c81e8312796171b4153878d1d7c8b8bf41aecdcdbe3656927910f",
                          "typeString": "literal_string \"TicketBooth::issue: EMPTY_SYMBOL\""
                        }
                      ],
                      "id": 9750,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "4405:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9760,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4405:106:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9761,
                  "nodeType": "ExpressionStatement",
                  "src": "4405:106:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        },
                        "id": 9772,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "baseExpression": {
                            "id": 9763,
                            "name": "ticketsOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9581,
                            "src": "4591:9:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                              "typeString": "mapping(uint256 => contract ITickets)"
                            }
                          },
                          "id": 9765,
                          "indexExpression": {
                            "id": 9764,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9721,
                            "src": "4601:10:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "4591:21:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 9769,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "4633:1:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  }
                                ],
                                "id": 9768,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "4625:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 9767,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "4625:7:35",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 9770,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "4625:10:35",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 9766,
                            "name": "ITickets",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35614,
                            "src": "4616:8:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                              "typeString": "type(contract ITickets)"
                            }
                          },
                          "id": 9771,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4616:20:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "src": "4591:45:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a69737375653a20414c52454144595f495353554544",
                        "id": 9773,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4650:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_52255f64625ec8ece05d8c29c771276cd4952af152812c4d0f559b1bd3f9916e",
                          "typeString": "literal_string \"TicketBooth::issue: ALREADY_ISSUED\""
                        },
                        "value": "TicketBooth::issue: ALREADY_ISSUED"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_52255f64625ec8ece05d8c29c771276cd4952af152812c4d0f559b1bd3f9916e",
                          "typeString": "literal_string \"TicketBooth::issue: ALREADY_ISSUED\""
                        }
                      ],
                      "id": 9762,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "4570:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9774,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4570:126:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9775,
                  "nodeType": "ExpressionStatement",
                  "src": "4570:126:35"
                },
                {
                  "expression": {
                    "id": 9785,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 9776,
                        "name": "ticketsOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9581,
                        "src": "4856:9:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                          "typeString": "mapping(uint256 => contract ITickets)"
                        }
                      },
                      "id": 9778,
                      "indexExpression": {
                        "id": 9777,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9721,
                        "src": "4866:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "4856:21:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 9782,
                          "name": "_name",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9723,
                          "src": "4892:5:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_string_calldata_ptr",
                            "typeString": "string calldata"
                          }
                        },
                        {
                          "id": 9783,
                          "name": "_symbol",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9725,
                          "src": "4899:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_string_calldata_ptr",
                            "typeString": "string calldata"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_string_calldata_ptr",
                            "typeString": "string calldata"
                          },
                          {
                            "typeIdentifier": "t_string_calldata_ptr",
                            "typeString": "string calldata"
                          }
                        ],
                        "id": 9781,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "NewExpression",
                        "src": "4880:11:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_creation_nonpayable$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_contract$_Tickets_$10577_$",
                          "typeString": "function (string memory,string memory) returns (contract Tickets)"
                        },
                        "typeName": {
                          "id": 9780,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 9779,
                            "name": "Tickets",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 10577,
                            "src": "4884:7:35"
                          },
                          "referencedDeclaration": 10577,
                          "src": "4884:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_Tickets_$10577",
                            "typeString": "contract Tickets"
                          }
                        }
                      },
                      "id": 9784,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "4880:27:35",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Tickets_$10577",
                        "typeString": "contract Tickets"
                      }
                    },
                    "src": "4856:51:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "id": 9786,
                  "nodeType": "ExpressionStatement",
                  "src": "4856:51:35"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 9788,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9721,
                        "src": "4929:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 9789,
                        "name": "_name",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9723,
                        "src": "4941:5:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      },
                      {
                        "id": 9790,
                        "name": "_symbol",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9725,
                        "src": "4948:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      },
                      {
                        "expression": {
                          "id": 9791,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "4957:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 9792,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "4957:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 9787,
                      "name": "Issue",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36684,
                      "src": "4923:5:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,string memory,string memory,address)"
                      }
                    },
                    "id": 9793,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4923:45:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9794,
                  "nodeType": "EmitStatement",
                  "src": "4918:50:35"
                }
              ]
            },
            "baseFunctions": [
              36839
            ],
            "documentation": {
              "id": 9719,
              "nodeType": "StructuredDocumentation",
              "src": "3565:395:35",
              "text": "@notice \nIssues an owner's ERC-20 Tickets that'll be used when unstaking tickets.\n@dev \nDeploys an owner's Ticket ERC-20 token contract.\n@param _projectId The ID of the project being issued tickets.\n@param _name The ERC-20's name. \" Juicebox ticket\" will be appended.\n@param _symbol The ERC-20's symbol. \"j\" will be prepended."
            },
            "functionSelector": "6806ec59",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "arguments": [
                      {
                        "id": 9731,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9721,
                        "src": "4168:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 9729,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9575,
                        "src": "4151:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IProjects_$36554",
                          "typeString": "contract IProjects"
                        }
                      },
                      "id": 9730,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "4151:16:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 9732,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4151:28:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 9733,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9721,
                    "src": "4193:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 9734,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "4217:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 9735,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "Issue",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12218,
                    "src": "4217:16:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 9736,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 9728,
                  "name": "requirePermission",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10892,
                  "src": "4120:17:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "4120:123:35"
              }
            ],
            "name": "issue",
            "nameLocation": "3974:5:35",
            "overrides": {
              "id": 9727,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "4103:8:35"
            },
            "parameters": {
              "id": 9726,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9721,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "3997:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9796,
                  "src": "3989:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9720,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3989:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9723,
                  "mutability": "mutable",
                  "name": "_name",
                  "nameLocation": "4033:5:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9796,
                  "src": "4017:21:35",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 9722,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4017:6:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9725,
                  "mutability": "mutable",
                  "name": "_symbol",
                  "nameLocation": "4064:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9796,
                  "src": "4048:23:35",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 9724,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "4048:6:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3979:98:35"
            },
            "returnParameters": {
              "id": 9737,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4248:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 9885,
            "nodeType": "FunctionDefinition",
            "src": "5392:1263:35",
            "nodes": [],
            "body": {
              "id": 9884,
              "nodeType": "Block",
              "src": "5571:1084:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9815,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 9813,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9803,
                          "src": "5629:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 9814,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "5639:1:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "5629:11:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7072696e743a204e4f5f4f50",
                        "id": 9816,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "5642:27:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_10bb0aea8cc3dce3429476de046ca5837119a72a2dd7f5080c733a897b9532bd",
                          "typeString": "literal_string \"TicketBooth::print: NO_OP\""
                        },
                        "value": "TicketBooth::print: NO_OP"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_10bb0aea8cc3dce3429476de046ca5837119a72a2dd7f5080c733a897b9532bd",
                          "typeString": "literal_string \"TicketBooth::print: NO_OP\""
                        }
                      ],
                      "id": 9812,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "5621:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9817,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5621:49:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9818,
                  "nodeType": "ExpressionStatement",
                  "src": "5621:49:35"
                },
                {
                  "assignments": [
                    9821
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9821,
                      "mutability": "mutable",
                      "name": "_tickets",
                      "nameLocation": "5749:8:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 9884,
                      "src": "5740:17:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "typeName": {
                        "id": 9820,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 9819,
                          "name": "ITickets",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35614,
                          "src": "5740:8:35"
                        },
                        "referencedDeclaration": 35614,
                        "src": "5740:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9825,
                  "initialValue": {
                    "baseExpression": {
                      "id": 9822,
                      "name": "ticketsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9581,
                      "src": "5760:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                        "typeString": "mapping(uint256 => contract ITickets)"
                      }
                    },
                    "id": 9824,
                    "indexExpression": {
                      "id": 9823,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9801,
                      "src": "5770:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "5760:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5740:41:35"
                },
                {
                  "assignments": [
                    9827
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9827,
                      "mutability": "mutable",
                      "name": "_shouldUnstakeTickets",
                      "nameLocation": "5886:21:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 9884,
                      "src": "5881:26:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "typeName": {
                        "id": 9826,
                        "name": "bool",
                        "nodeType": "ElementaryTypeName",
                        "src": "5881:4:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9838,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 9837,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 9828,
                      "name": "_preferUnstakedTickets",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9805,
                      "src": "5910:22:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "&&",
                    "rightExpression": {
                      "commonType": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "id": 9836,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 9829,
                        "name": "_tickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9821,
                        "src": "5948:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "!=",
                      "rightExpression": {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "hexValue": "30",
                                "id": 9833,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "5977:1:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                }
                              ],
                              "id": 9832,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "5969:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_address_$",
                                "typeString": "type(address)"
                              },
                              "typeName": {
                                "id": 9831,
                                "name": "address",
                                "nodeType": "ElementaryTypeName",
                                "src": "5969:7:35",
                                "typeDescriptions": {}
                              }
                            },
                            "id": 9834,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "5969:10:35",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 9830,
                          "name": "ITickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 35614,
                          "src": "5960:8:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                            "typeString": "type(contract ITickets)"
                          }
                        },
                        "id": 9835,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "5960:20:35",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "src": "5948:32:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "5910:70:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5881:99:35"
                },
                {
                  "condition": {
                    "id": 9839,
                    "name": "_shouldUnstakeTickets",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9827,
                    "src": "5995:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 9872,
                    "nodeType": "Block",
                    "src": "6135:322:35",
                    "statements": [
                      {
                        "expression": {
                          "id": 9860,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "baseExpression": {
                              "baseExpression": {
                                "id": 9848,
                                "name": "stakedBalanceOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9588,
                                "src": "6208:15:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                                }
                              },
                              "id": 9851,
                              "indexExpression": {
                                "id": 9849,
                                "name": "_holder",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9799,
                                "src": "6224:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6208:24:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 9852,
                            "indexExpression": {
                              "id": 9850,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9801,
                              "src": "6233:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "6208:36:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 9859,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "baseExpression": {
                                "baseExpression": {
                                  "id": 9853,
                                  "name": "stakedBalanceOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9588,
                                  "src": "6263:15:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                    "typeString": "mapping(address => mapping(uint256 => uint256))"
                                  }
                                },
                                "id": 9855,
                                "indexExpression": {
                                  "id": 9854,
                                  "name": "_holder",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9799,
                                  "src": "6279:7:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "6263:24:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                  "typeString": "mapping(uint256 => uint256)"
                                }
                              },
                              "id": 9857,
                              "indexExpression": {
                                "id": 9856,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9801,
                                "src": "6288:10:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6263:36:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "id": 9858,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9803,
                              "src": "6318:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "6263:62:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "6208:117:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 9861,
                        "nodeType": "ExpressionStatement",
                        "src": "6208:117:35"
                      },
                      {
                        "expression": {
                          "id": 9870,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "baseExpression": {
                              "id": 9862,
                              "name": "stakedTotalSupplyOf",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9593,
                              "src": "6339:19:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 9864,
                            "indexExpression": {
                              "id": 9863,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9801,
                              "src": "6359:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "6339:31:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 9869,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "baseExpression": {
                                "id": 9865,
                                "name": "stakedTotalSupplyOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9593,
                                "src": "6389:19:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                  "typeString": "mapping(uint256 => uint256)"
                                }
                              },
                              "id": 9867,
                              "indexExpression": {
                                "id": 9866,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9801,
                                "src": "6409:10:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "6389:31:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "id": 9868,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9803,
                              "src": "6439:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "6389:57:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "6339:107:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 9871,
                        "nodeType": "ExpressionStatement",
                        "src": "6339:107:35"
                      }
                    ]
                  },
                  "id": 9873,
                  "nodeType": "IfStatement",
                  "src": "5991:466:35",
                  "trueBody": {
                    "id": 9847,
                    "nodeType": "Block",
                    "src": "6018:111:35",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "id": 9843,
                              "name": "_holder",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9799,
                              "src": "6101:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "id": 9844,
                              "name": "_amount",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9803,
                              "src": "6110:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 9840,
                              "name": "_tickets",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9821,
                              "src": "6086:8:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_ITickets_$35614",
                                "typeString": "contract ITickets"
                              }
                            },
                            "id": 9842,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "print",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 35606,
                            "src": "6086:14:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",
                              "typeString": "function (address,uint256) external"
                            }
                          },
                          "id": 9845,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6086:32:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 9846,
                        "nodeType": "ExpressionStatement",
                        "src": "6086:32:35"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 9875,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9799,
                        "src": "6491:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 9876,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9801,
                        "src": "6512:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 9877,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9803,
                        "src": "6536:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 9878,
                        "name": "_shouldUnstakeTickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9827,
                        "src": "6557:21:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "id": 9879,
                        "name": "_preferUnstakedTickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9805,
                        "src": "6592:22:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "expression": {
                          "id": 9880,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "6628:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 9881,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "6628:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 9874,
                      "name": "Print",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36698,
                      "src": "6472:5:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_bool_$_t_bool_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,uint256,bool,bool,address)"
                      }
                    },
                    "id": 9882,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6472:176:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9883,
                  "nodeType": "EmitStatement",
                  "src": "6467:181:35"
                }
              ]
            },
            "baseFunctions": [
              36850
            ],
            "documentation": {
              "id": 9797,
              "nodeType": "StructuredDocumentation",
              "src": "4981:406:35",
              "text": "@notice \nPrint new tickets.\n@dev\nOnly a project's current terminal can print its tickets.\n@param _holder The address receiving the new tickets.\n@param _projectId The project to which the tickets belong.\n@param _amount The amount to print.\n@param _preferUnstakedTickets Whether ERC20's should be converted automatically if they have been issued."
            },
            "functionSelector": "e0826c89",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 9809,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9801,
                    "src": "5559:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 9810,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 9808,
                  "name": "onlyTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 11005,
                  "src": "5546:12:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "5546:24:35"
              }
            ],
            "name": "print",
            "nameLocation": "5401:5:35",
            "overrides": {
              "id": 9807,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5537:8:35"
            },
            "parameters": {
              "id": 9806,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9799,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "5424:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9885,
                  "src": "5416:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9798,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5416:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9801,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "5449:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9885,
                  "src": "5441:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9800,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5441:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9803,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "5477:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9885,
                  "src": "5469:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9802,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5469:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9805,
                  "mutability": "mutable",
                  "name": "_preferUnstakedTickets",
                  "nameLocation": "5499:22:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 9885,
                  "src": "5494:27:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9804,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "5494:4:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5406:121:35"
            },
            "returnParameters": {
              "id": 9811,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "5571:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 10066,
            "nodeType": "FunctionDefinition",
            "src": "7104:2784:35",
            "nodes": [],
            "body": {
              "id": 10065,
              "nodeType": "Block",
              "src": "7277:2611:35",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    9903
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9903,
                      "mutability": "mutable",
                      "name": "_tickets",
                      "nameLocation": "7355:8:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10065,
                      "src": "7346:17:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "typeName": {
                        "id": 9902,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 9901,
                          "name": "ITickets",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35614,
                          "src": "7346:8:35"
                        },
                        "referencedDeclaration": 35614,
                        "src": "7346:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9907,
                  "initialValue": {
                    "baseExpression": {
                      "id": 9904,
                      "name": "ticketsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9581,
                      "src": "7366:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                        "typeString": "mapping(uint256 => contract ITickets)"
                      }
                    },
                    "id": 9906,
                    "indexExpression": {
                      "id": 9905,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9890,
                      "src": "7376:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "7366:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7346:41:35"
                },
                {
                  "assignments": [
                    9909
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9909,
                      "mutability": "mutable",
                      "name": "_unlockedStakedBalance",
                      "nameLocation": "7455:22:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10065,
                      "src": "7447:30:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9908,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "7447:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9921,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 9920,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 9910,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "7480:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 9912,
                        "indexExpression": {
                          "id": 9911,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9888,
                          "src": "7496:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "7480:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 9914,
                      "indexExpression": {
                        "id": 9913,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9890,
                        "src": "7505:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "7480:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 9915,
                          "name": "lockedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9600,
                          "src": "7531:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 9917,
                        "indexExpression": {
                          "id": 9916,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9888,
                          "src": "7547:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "7531:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 9919,
                      "indexExpression": {
                        "id": 9918,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9890,
                        "src": "7556:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "7531:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "7480:87:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7447:120:35"
                },
                {
                  "assignments": [
                    9923
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9923,
                      "mutability": "mutable",
                      "name": "_unstakedBalanceOf",
                      "nameLocation": "7649:18:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10065,
                      "src": "7641:26:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9922,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "7641:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9938,
                  "initialValue": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "id": 9931,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 9924,
                        "name": "_tickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9903,
                        "src": "7670:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "hexValue": "30",
                                "id": 9928,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "7699:1:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                }
                              ],
                              "id": 9927,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "7691:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_address_$",
                                "typeString": "type(address)"
                              },
                              "typeName": {
                                "id": 9926,
                                "name": "address",
                                "nodeType": "ElementaryTypeName",
                                "src": "7691:7:35",
                                "typeDescriptions": {}
                              }
                            },
                            "id": 9929,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "7691:10:35",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 9925,
                          "name": "ITickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 35614,
                          "src": "7682:8:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                            "typeString": "type(contract ITickets)"
                          }
                        },
                        "id": 9930,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "7682:20:35",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "src": "7670:32:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "arguments": [
                        {
                          "id": 9935,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9888,
                          "src": "7752:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "expression": {
                          "id": 9933,
                          "name": "_tickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9903,
                          "src": "7733:8:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "id": 9934,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "balanceOf",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 37647,
                        "src": "7733:18:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                          "typeString": "function (address) view external returns (uint256)"
                        }
                      },
                      "id": 9936,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "7733:27:35",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 9937,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "7670:90:35",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 9932,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "7717:1:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "7641:119:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "id": 9969,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "commonType": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "id": 9958,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "components": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                "id": 9946,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 9942,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 9940,
                                    "name": "_amount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9892,
                                    "src": "7900:7:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "<",
                                  "rightExpression": {
                                    "id": 9941,
                                    "name": "_unstakedBalanceOf",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9923,
                                    "src": "7910:18:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "7900:28:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "&&",
                                "rightExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 9945,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 9943,
                                    "name": "_amount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9892,
                                    "src": "7948:7:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "<",
                                  "rightExpression": {
                                    "id": 9944,
                                    "name": "_unlockedStakedBalance",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9909,
                                    "src": "7958:22:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "7948:32:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "src": "7900:80:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              }
                            ],
                            "id": 9947,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "TupleExpression",
                            "src": "7899:82:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "||",
                          "rightExpression": {
                            "components": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                "id": 9956,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 9950,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 9948,
                                    "name": "_amount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9892,
                                    "src": "8002:7:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": ">=",
                                  "rightExpression": {
                                    "id": 9949,
                                    "name": "_unstakedBalanceOf",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9923,
                                    "src": "8013:18:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "8002:29:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "&&",
                                "rightExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 9955,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 9951,
                                    "name": "_unlockedStakedBalance",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9909,
                                    "src": "8055:22:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": ">=",
                                  "rightExpression": {
                                    "commonType": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    "id": 9954,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "id": 9952,
                                      "name": "_amount",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 9892,
                                      "src": "8081:7:35",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "-",
                                    "rightExpression": {
                                      "id": 9953,
                                      "name": "_unstakedBalanceOf",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 9923,
                                      "src": "8091:18:35",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "src": "8081:28:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "8055:54:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "src": "8002:107:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              }
                            ],
                            "id": 9957,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "TupleExpression",
                            "src": "8001:109:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "src": "7899:211:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "||",
                        "rightExpression": {
                          "components": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "id": 9967,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 9961,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 9959,
                                  "name": "_amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9892,
                                  "src": "8131:7:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">=",
                                "rightExpression": {
                                  "id": 9960,
                                  "name": "_unlockedStakedBalance",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9909,
                                  "src": "8142:22:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "8131:33:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "&&",
                              "rightExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 9966,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 9962,
                                  "name": "_unstakedBalanceOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9923,
                                  "src": "8188:18:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">=",
                                "rightExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 9965,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 9963,
                                    "name": "_amount",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9892,
                                    "src": "8210:7:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "-",
                                  "rightExpression": {
                                    "id": 9964,
                                    "name": "_unlockedStakedBalance",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9909,
                                    "src": "8220:22:35",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "8210:32:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "8188:54:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "src": "8131:111:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "id": 9968,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "8130:113:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "src": "7899:344:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a72656465656d3a20494e53554646494349454e545f46554e4453",
                        "id": 9970,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "8257:41:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_67578e092f93c9adee466cc7e75fb156ca5d686c0a54c2d03a64842c32e11e7e",
                          "typeString": "literal_string \"TicketBooth::redeem: INSUFFICIENT_FUNDS\""
                        },
                        "value": "TicketBooth::redeem: INSUFFICIENT_FUNDS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_67578e092f93c9adee466cc7e75fb156ca5d686c0a54c2d03a64842c32e11e7e",
                          "typeString": "literal_string \"TicketBooth::redeem: INSUFFICIENT_FUNDS\""
                        }
                      ],
                      "id": 9939,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "7878:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9971,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "7878:430:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9972,
                  "nodeType": "ExpressionStatement",
                  "src": "7878:430:35"
                },
                {
                  "assignments": [
                    9974
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9974,
                      "mutability": "mutable",
                      "name": "_unstakedTicketsToRedeem",
                      "nameLocation": "8371:24:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10065,
                      "src": "8363:32:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9973,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8363:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 9975,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8363:32:35"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 9978,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 9976,
                      "name": "_unstakedBalanceOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9923,
                      "src": "8462:18:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 9977,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8484:1:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8462:23:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "condition": {
                      "id": 9984,
                      "name": "_preferUnstaked",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9894,
                      "src": "8634:15:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseBody": {
                      "id": 10006,
                      "nodeType": "Block",
                      "src": "8874:156:35",
                      "statements": [
                        {
                          "expression": {
                            "id": 10004,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 9995,
                              "name": "_unstakedTicketsToRedeem",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9974,
                              "src": "8888:24:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 9998,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 9996,
                                  "name": "_unlockedStakedBalance",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9909,
                                  "src": "8915:22:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">=",
                                "rightExpression": {
                                  "id": 9997,
                                  "name": "_amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9892,
                                  "src": "8941:7:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "8915:33:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 10002,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 10000,
                                  "name": "_amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9892,
                                  "src": "8987:7:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "-",
                                "rightExpression": {
                                  "id": 10001,
                                  "name": "_unlockedStakedBalance",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9909,
                                  "src": "8997:22:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "8987:32:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 10003,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "Conditional",
                              "src": "8915:104:35",
                              "trueExpression": {
                                "hexValue": "30",
                                "id": 9999,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "8967:1:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "8888:131:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 10005,
                          "nodeType": "ExpressionStatement",
                          "src": "8888:131:35"
                        }
                      ]
                    },
                    "id": 10007,
                    "nodeType": "IfStatement",
                    "src": "8630:400:35",
                    "trueBody": {
                      "id": 9994,
                      "nodeType": "Block",
                      "src": "8651:217:35",
                      "statements": [
                        {
                          "expression": {
                            "id": 9992,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftHandSide": {
                              "id": 9985,
                              "name": "_unstakedTicketsToRedeem",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9974,
                              "src": "8665:24:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "Assignment",
                            "operator": "=",
                            "rightHandSide": {
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 9988,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 9986,
                                  "name": "_unstakedBalanceOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9923,
                                  "src": "8692:18:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">=",
                                "rightExpression": {
                                  "id": 9987,
                                  "name": "_amount",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9892,
                                  "src": "8714:7:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "8692:29:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseExpression": {
                                "id": 9990,
                                "name": "_unstakedBalanceOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9923,
                                "src": "8766:18:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 9991,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "Conditional",
                              "src": "8692:92:35",
                              "trueExpression": {
                                "id": 9989,
                                "name": "_amount",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9892,
                                "src": "8740:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "8665:119:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "id": 9993,
                          "nodeType": "ExpressionStatement",
                          "src": "8665:119:35"
                        }
                      ]
                    }
                  },
                  "id": 10008,
                  "nodeType": "IfStatement",
                  "src": "8458:572:35",
                  "trueBody": {
                    "id": 9983,
                    "nodeType": "Block",
                    "src": "8487:137:35",
                    "statements": [
                      {
                        "expression": {
                          "id": 9981,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 9979,
                            "name": "_unstakedTicketsToRedeem",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9974,
                            "src": "8501:24:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "hexValue": "30",
                            "id": 9980,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "8528:1:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "8501:28:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 9982,
                        "nodeType": "ExpressionStatement",
                        "src": "8501:28:35"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    10010
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10010,
                      "mutability": "mutable",
                      "name": "_stakedTicketsToRedeem",
                      "nameLocation": "9099:22:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10065,
                      "src": "9091:30:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 10009,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9091:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 10014,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10013,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 10011,
                      "name": "_amount",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9892,
                      "src": "9124:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "id": 10012,
                      "name": "_unstakedTicketsToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9974,
                      "src": "9134:24:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "9124:34:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9091:67:35"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10017,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 10015,
                      "name": "_unstakedTicketsToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9974,
                      "src": "9204:24:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 10016,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9231:1:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9204:28:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 10025,
                  "nodeType": "IfStatement",
                  "src": "9200:96:35",
                  "trueBody": {
                    "expression": {
                      "arguments": [
                        {
                          "id": 10021,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9888,
                          "src": "9262:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "id": 10022,
                          "name": "_unstakedTicketsToRedeem",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9974,
                          "src": "9271:24:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 10018,
                          "name": "_tickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9903,
                          "src": "9246:8:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "id": 10020,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "redeem",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 35613,
                        "src": "9246:15:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",
                          "typeString": "function (address,uint256) external"
                        }
                      },
                      "id": 10023,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "9246:50:35",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_tuple$__$",
                        "typeString": "tuple()"
                      }
                    },
                    "id": 10024,
                    "nodeType": "ExpressionStatement",
                    "src": "9246:50:35"
                  }
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10028,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 10026,
                      "name": "_stakedTicketsToRedeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10010,
                      "src": "9310:22:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 10027,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9335:1:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9310:26:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 10054,
                  "nodeType": "IfStatement",
                  "src": "9306:389:35",
                  "trueBody": {
                    "id": 10053,
                    "nodeType": "Block",
                    "src": "9338:357:35",
                    "statements": [
                      {
                        "expression": {
                          "id": 10041,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "baseExpression": {
                              "baseExpression": {
                                "id": 10029,
                                "name": "stakedBalanceOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9588,
                                "src": "9416:15:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                                }
                              },
                              "id": 10032,
                              "indexExpression": {
                                "id": 10030,
                                "name": "_holder",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9888,
                                "src": "9432:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "9416:24:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 10033,
                            "indexExpression": {
                              "id": 10031,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9890,
                              "src": "9441:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "9416:36:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 10040,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "baseExpression": {
                                "baseExpression": {
                                  "id": 10034,
                                  "name": "stakedBalanceOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9588,
                                  "src": "9471:15:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                    "typeString": "mapping(address => mapping(uint256 => uint256))"
                                  }
                                },
                                "id": 10036,
                                "indexExpression": {
                                  "id": 10035,
                                  "name": "_holder",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9888,
                                  "src": "9487:7:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "9471:24:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                  "typeString": "mapping(uint256 => uint256)"
                                }
                              },
                              "id": 10038,
                              "indexExpression": {
                                "id": 10037,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9890,
                                "src": "9496:10:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "9471:36:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "id": 10039,
                              "name": "_stakedTicketsToRedeem",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10010,
                              "src": "9526:22:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "9471:77:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "9416:132:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 10042,
                        "nodeType": "ExpressionStatement",
                        "src": "9416:132:35"
                      },
                      {
                        "expression": {
                          "id": 10051,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "baseExpression": {
                              "id": 10043,
                              "name": "stakedTotalSupplyOf",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9593,
                              "src": "9562:19:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 10045,
                            "indexExpression": {
                              "id": 10044,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9890,
                              "src": "9582:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "9562:31:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 10050,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "baseExpression": {
                                "id": 10046,
                                "name": "stakedTotalSupplyOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9593,
                                "src": "9612:19:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                  "typeString": "mapping(uint256 => uint256)"
                                }
                              },
                              "id": 10048,
                              "indexExpression": {
                                "id": 10047,
                                "name": "_projectId",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9890,
                                "src": "9632:10:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "9612:31:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "id": 10049,
                              "name": "_stakedTicketsToRedeem",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10010,
                              "src": "9662:22:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "9612:72:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "9562:122:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 10052,
                        "nodeType": "ExpressionStatement",
                        "src": "9562:122:35"
                      }
                    ]
                  }
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 10056,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9888,
                        "src": "9730:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10057,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9890,
                        "src": "9751:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10058,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9892,
                        "src": "9775:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10059,
                        "name": "_unlockedStakedBalance",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9909,
                        "src": "9796:22:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10060,
                        "name": "_preferUnstaked",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9894,
                        "src": "9832:15:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "expression": {
                          "id": 10061,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "9861:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10062,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "9861:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10055,
                      "name": "Redeem",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36712,
                      "src": "9710:6:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bool_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,uint256,uint256,bool,address)"
                      }
                    },
                    "id": 10063,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9710:171:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10064,
                  "nodeType": "EmitStatement",
                  "src": "9705:176:35"
                }
              ]
            },
            "baseFunctions": [
              36861
            ],
            "documentation": {
              "id": 9886,
              "nodeType": "StructuredDocumentation",
              "src": "6661:438:35",
              "text": "@notice \nRedeems tickets.\n@dev\nOnly a project's current terminal can redeem its tickets.\n@param _holder The address that owns the tickets being redeemed.\n@param _projectId The ID of the project of the tickets being redeemed.\n@param _amount The amount of tickets being redeemed.\n@param _preferUnstaked If the preference is to redeem tickets that have been converted to ERC-20s."
            },
            "functionSelector": "65e0d731",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 9898,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9890,
                    "src": "7265:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 9899,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 9897,
                  "name": "onlyTerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 11005,
                  "src": "7252:12:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "7252:24:35"
              }
            ],
            "name": "redeem",
            "nameLocation": "7113:6:35",
            "overrides": {
              "id": 9896,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "7243:8:35"
            },
            "parameters": {
              "id": 9895,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9888,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "7137:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10066,
                  "src": "7129:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9887,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "7129:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9890,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "7162:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10066,
                  "src": "7154:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9889,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7154:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9892,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "7190:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10066,
                  "src": "7182:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9891,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7182:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9894,
                  "mutability": "mutable",
                  "name": "_preferUnstaked",
                  "nameLocation": "7212:15:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10066,
                  "src": "7207:20:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 9893,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "7207:4:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7119:114:35"
            },
            "returnParameters": {
              "id": 9900,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "7277:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 10156,
            "nodeType": "FunctionDefinition",
            "src": "10281:1364:35",
            "nodes": [],
            "body": {
              "id": 10155,
              "nodeType": "Block",
              "src": "10551:1094:35",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    10085
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10085,
                      "mutability": "mutable",
                      "name": "_tickets",
                      "nameLocation": "10629:8:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10155,
                      "src": "10620:17:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "typeName": {
                        "id": 10084,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 10083,
                          "name": "ITickets",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35614,
                          "src": "10620:8:35"
                        },
                        "referencedDeclaration": 35614,
                        "src": "10620:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 10089,
                  "initialValue": {
                    "baseExpression": {
                      "id": 10086,
                      "name": "ticketsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9581,
                      "src": "10640:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                        "typeString": "mapping(uint256 => contract ITickets)"
                      }
                    },
                    "id": 10088,
                    "indexExpression": {
                      "id": 10087,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10071,
                      "src": "10650:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "10640:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10620:41:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        },
                        "id": 10098,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10091,
                          "name": "_tickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10085,
                          "src": "10735:8:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 10095,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "10764:1:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  }
                                ],
                                "id": 10094,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "10756:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 10093,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "10756:7:35",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 10096,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "10756:10:35",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 10092,
                            "name": "ITickets",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35614,
                            "src": "10747:8:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                              "typeString": "type(contract ITickets)"
                            }
                          },
                          "id": 10097,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "10747:20:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "src": "10735:32:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7374616b653a204e4f545f464f554e44",
                        "id": 10099,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "10781:31:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_ce5756b23218cb198f96e9bdab548d2453a4104f5c943f2bbdb8f5f18dc3e942",
                          "typeString": "literal_string \"TicketBooth::stake: NOT_FOUND\""
                        },
                        "value": "TicketBooth::stake: NOT_FOUND"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_ce5756b23218cb198f96e9bdab548d2453a4104f5c943f2bbdb8f5f18dc3e942",
                          "typeString": "literal_string \"TicketBooth::stake: NOT_FOUND\""
                        }
                      ],
                      "id": 10090,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "10714:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10100,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10714:108:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10101,
                  "nodeType": "ExpressionStatement",
                  "src": "10714:108:35"
                },
                {
                  "assignments": [
                    10103
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10103,
                      "mutability": "mutable",
                      "name": "_unstakedBalanceOf",
                      "nameLocation": "10901:18:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10155,
                      "src": "10893:26:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 10102,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "10893:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 10108,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 10106,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10069,
                        "src": "10941:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "id": 10104,
                        "name": "_tickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10085,
                        "src": "10922:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "id": 10105,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "balanceOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37647,
                      "src": "10922:18:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$",
                        "typeString": "function (address) view external returns (uint256)"
                      }
                    },
                    "id": 10107,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "10922:27:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10893:56:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10112,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10110,
                          "name": "_unstakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10103,
                          "src": "11031:18:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">=",
                        "rightExpression": {
                          "id": 10111,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10073,
                          "src": "11053:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "11031:29:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7374616b653a20494e53554646494349454e545f46554e4453",
                        "id": 10113,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "11074:40:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_335767e2a2af5e7df156ba6525ab12f3c440a6487bde557e0a4fd050092f01c0",
                          "typeString": "literal_string \"TicketBooth::stake: INSUFFICIENT_FUNDS\""
                        },
                        "value": "TicketBooth::stake: INSUFFICIENT_FUNDS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_335767e2a2af5e7df156ba6525ab12f3c440a6487bde557e0a4fd050092f01c0",
                          "typeString": "literal_string \"TicketBooth::stake: INSUFFICIENT_FUNDS\""
                        }
                      ],
                      "id": 10109,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "11010:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10114,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "11010:114:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10115,
                  "nodeType": "ExpressionStatement",
                  "src": "11010:114:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 10119,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10069,
                        "src": "11202:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10120,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10073,
                        "src": "11211:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 10116,
                        "name": "_tickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10085,
                        "src": "11186:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "id": 10118,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "redeem",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 35613,
                      "src": "11186:15:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",
                        "typeString": "function (address,uint256) external"
                      }
                    },
                    "id": 10121,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "11186:33:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10122,
                  "nodeType": "ExpressionStatement",
                  "src": "11186:33:35"
                },
                {
                  "expression": {
                    "id": 10135,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10123,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "11290:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10126,
                        "indexExpression": {
                          "id": 10124,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10069,
                          "src": "11306:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "11290:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10127,
                      "indexExpression": {
                        "id": 10125,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10071,
                        "src": "11315:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "11290:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10134,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10128,
                            "name": "stakedBalanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9588,
                            "src": "11341:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10130,
                          "indexExpression": {
                            "id": 10129,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10069,
                            "src": "11357:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "11341:24:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10132,
                        "indexExpression": {
                          "id": 10131,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10071,
                          "src": "11366:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "11341:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "id": 10133,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10073,
                        "src": "11392:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "11341:58:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11290:109:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10136,
                  "nodeType": "ExpressionStatement",
                  "src": "11290:109:35"
                },
                {
                  "expression": {
                    "id": 10145,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 10137,
                        "name": "stakedTotalSupplyOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9593,
                        "src": "11476:19:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10139,
                      "indexExpression": {
                        "id": 10138,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10071,
                        "src": "11496:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "11476:31:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10144,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "id": 10140,
                          "name": "stakedTotalSupplyOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9593,
                          "src": "11522:19:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10142,
                        "indexExpression": {
                          "id": 10141,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10071,
                          "src": "11542:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "11522:31:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "id": 10143,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10073,
                        "src": "11568:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "11522:53:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11476:99:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10146,
                  "nodeType": "ExpressionStatement",
                  "src": "11476:99:35"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 10148,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10069,
                        "src": "11597:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10149,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10071,
                        "src": "11606:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10150,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10073,
                        "src": "11618:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 10151,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "11627:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10152,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "11627:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10147,
                      "name": "Stake",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36722,
                      "src": "11591:5:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,uint256,address)"
                      }
                    },
                    "id": 10153,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "11591:47:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10154,
                  "nodeType": "EmitStatement",
                  "src": "11586:52:35"
                }
              ]
            },
            "baseFunctions": [
              36870
            ],
            "documentation": {
              "id": 10067,
              "nodeType": "StructuredDocumentation",
              "src": "9894:382:35",
              "text": "@notice \nStakes ERC20 tickets by burning their supply and creating an internal staked version.\n@dev\nOnly a ticket holder or an operator can stake its tickets.\n@param _holder The owner of the tickets to stake.\n@param _projectId The ID of the project whos tickets are being staked.\n@param _amount The amount of tickets to stake."
            },
            "functionSelector": "0c51b88f",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 10077,
                    "name": "_holder",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10069,
                    "src": "10475:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 10078,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10071,
                    "src": "10496:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 10079,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "10520:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 10080,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "Stake",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12221,
                    "src": "10520:16:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 10081,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 10076,
                  "name": "requirePermissionAllowingWildcardDomain",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10928,
                  "src": "10422:39:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "10422:124:35"
              }
            ],
            "name": "stake",
            "nameLocation": "10290:5:35",
            "overrides": {
              "id": 10075,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "10405:8:35"
            },
            "parameters": {
              "id": 10074,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10069,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "10313:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10156,
                  "src": "10305:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10068,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "10305:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10071,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "10338:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10156,
                  "src": "10330:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10070,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10330:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10073,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "10366:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10156,
                  "src": "10358:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10072,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10358:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10295:84:35"
            },
            "returnParameters": {
              "id": 10082,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "10551:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 10253,
            "nodeType": "FunctionDefinition",
            "src": "12030:1474:35",
            "nodes": [],
            "body": {
              "id": 10252,
              "nodeType": "Block",
              "src": "12304:1200:35",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    10175
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10175,
                      "mutability": "mutable",
                      "name": "_tickets",
                      "nameLocation": "12382:8:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10252,
                      "src": "12373:17:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITickets_$35614",
                        "typeString": "contract ITickets"
                      },
                      "typeName": {
                        "id": 10174,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 10173,
                          "name": "ITickets",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 35614,
                          "src": "12373:8:35"
                        },
                        "referencedDeclaration": 35614,
                        "src": "12373:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 10179,
                  "initialValue": {
                    "baseExpression": {
                      "id": 10176,
                      "name": "ticketsOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9581,
                      "src": "12393:9:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITickets_$35614_$",
                        "typeString": "mapping(uint256 => contract ITickets)"
                      }
                    },
                    "id": 10178,
                    "indexExpression": {
                      "id": 10177,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10161,
                      "src": "12403:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "12393:21:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITickets_$35614",
                      "typeString": "contract ITickets"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "12373:41:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        },
                        "id": 10188,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10181,
                          "name": "_tickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10175,
                          "src": "12488:8:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 10185,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "12517:1:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  }
                                ],
                                "id": 10184,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "12509:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 10183,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "12509:7:35",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 10186,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "12509:10:35",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 10182,
                            "name": "ITickets",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 35614,
                            "src": "12500:8:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ITickets_$35614_$",
                              "typeString": "type(contract ITickets)"
                            }
                          },
                          "id": 10187,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "12500:20:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITickets_$35614",
                            "typeString": "contract ITickets"
                          }
                        },
                        "src": "12488:32:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a756e7374616b653a204e4f545f464f554e44",
                        "id": 10189,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "12534:33:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_5aa975cdacf36d5847ee5baeef53ac1d9624ac39f646a22eff84b503f07875e7",
                          "typeString": "literal_string \"TicketBooth::unstake: NOT_FOUND\""
                        },
                        "value": "TicketBooth::unstake: NOT_FOUND"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_5aa975cdacf36d5847ee5baeef53ac1d9624ac39f646a22eff84b503f07875e7",
                          "typeString": "literal_string \"TicketBooth::unstake: NOT_FOUND\""
                        }
                      ],
                      "id": 10180,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "12467:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10190,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "12467:110:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10191,
                  "nodeType": "ExpressionStatement",
                  "src": "12467:110:35"
                },
                {
                  "assignments": [
                    10193
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10193,
                      "mutability": "mutable",
                      "name": "_unlockedStakedTickets",
                      "nameLocation": "12658:22:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10252,
                      "src": "12650:30:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 10192,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "12650:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 10205,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10204,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10194,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "12683:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10196,
                        "indexExpression": {
                          "id": 10195,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10159,
                          "src": "12699:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "12683:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10198,
                      "indexExpression": {
                        "id": 10197,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10161,
                        "src": "12708:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "12683:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10199,
                          "name": "lockedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9600,
                          "src": "12734:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10201,
                        "indexExpression": {
                          "id": 10200,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10159,
                          "src": "12750:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "12734:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10203,
                      "indexExpression": {
                        "id": 10202,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10161,
                        "src": "12759:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "12734:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "12683:87:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "12650:120:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10209,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10207,
                          "name": "_unlockedStakedTickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10193,
                          "src": "12870:22:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">=",
                        "rightExpression": {
                          "id": 10208,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10163,
                          "src": "12896:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "12870:33:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a756e7374616b653a20494e53554646494349454e545f46554e4453",
                        "id": 10210,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "12917:42:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_ca4c66793cf3063551d5e7f0c46f5eb789f2de3c8ecf8709984965b2be35a75b",
                          "typeString": "literal_string \"TicketBooth::unstake: INSUFFICIENT_FUNDS\""
                        },
                        "value": "TicketBooth::unstake: INSUFFICIENT_FUNDS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_ca4c66793cf3063551d5e7f0c46f5eb789f2de3c8ecf8709984965b2be35a75b",
                          "typeString": "literal_string \"TicketBooth::unstake: INSUFFICIENT_FUNDS\""
                        }
                      ],
                      "id": 10206,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "12849:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10211,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "12849:120:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10212,
                  "nodeType": "ExpressionStatement",
                  "src": "12849:120:35"
                },
                {
                  "expression": {
                    "id": 10225,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10213,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "13047:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10216,
                        "indexExpression": {
                          "id": 10214,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10159,
                          "src": "13063:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "13047:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10217,
                      "indexExpression": {
                        "id": 10215,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10161,
                        "src": "13072:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "13047:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10224,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10218,
                            "name": "stakedBalanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9588,
                            "src": "13098:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10220,
                          "indexExpression": {
                            "id": 10219,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10159,
                            "src": "13114:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "13098:24:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10222,
                        "indexExpression": {
                          "id": 10221,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10161,
                          "src": "13123:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "13098:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 10223,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10163,
                        "src": "13149:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "13098:58:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "13047:109:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10226,
                  "nodeType": "ExpressionStatement",
                  "src": "13047:109:35"
                },
                {
                  "expression": {
                    "id": 10235,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 10227,
                        "name": "stakedTotalSupplyOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9593,
                        "src": "13240:19:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10229,
                      "indexExpression": {
                        "id": 10228,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10161,
                        "src": "13260:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "13240:31:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10234,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "id": 10230,
                          "name": "stakedTotalSupplyOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9593,
                          "src": "13286:19:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10232,
                        "indexExpression": {
                          "id": 10231,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10161,
                          "src": "13306:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "13286:31:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 10233,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10163,
                        "src": "13332:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "13286:53:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "13240:99:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10236,
                  "nodeType": "ExpressionStatement",
                  "src": "13240:99:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 10240,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10159,
                        "src": "13415:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10241,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10163,
                        "src": "13424:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 10237,
                        "name": "_tickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10175,
                        "src": "13400:8:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITickets_$35614",
                          "typeString": "contract ITickets"
                        }
                      },
                      "id": 10239,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "print",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 35606,
                      "src": "13400:14:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",
                        "typeString": "function (address,uint256) external"
                      }
                    },
                    "id": 10242,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "13400:32:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10243,
                  "nodeType": "ExpressionStatement",
                  "src": "13400:32:35"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 10245,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10159,
                        "src": "13456:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10246,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10161,
                        "src": "13465:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10247,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10163,
                        "src": "13477:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 10248,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "13486:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10249,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "13486:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10244,
                      "name": "Unstake",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36732,
                      "src": "13448:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,uint256,address)"
                      }
                    },
                    "id": 10250,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "13448:49:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10251,
                  "nodeType": "EmitStatement",
                  "src": "13443:54:35"
                }
              ]
            },
            "baseFunctions": [
              36879
            ],
            "documentation": {
              "id": 10157,
              "nodeType": "StructuredDocumentation",
              "src": "11651:374:35",
              "text": "@notice \nUnstakes internal tickets by creating and distributing ERC20 tickets.\n@dev\nOnly a ticket holder or an operator can unstake its tickets.\n@param _holder The owner of the tickets to unstake.\n@param _projectId The ID of the project whos tickets are being unstaked.\n@param _amount The amount of tickets to unstake."
            },
            "functionSelector": "a2bc66be",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 10167,
                    "name": "_holder",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10159,
                    "src": "12226:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 10168,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10161,
                    "src": "12247:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 10169,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "12271:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 10170,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "Unstake",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12224,
                    "src": "12271:18:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 10171,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 10166,
                  "name": "requirePermissionAllowingWildcardDomain",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10928,
                  "src": "12173:39:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "12173:126:35"
              }
            ],
            "name": "unstake",
            "nameLocation": "12039:7:35",
            "overrides": {
              "id": 10165,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "12156:8:35"
            },
            "parameters": {
              "id": 10164,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10159,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "12064:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10253,
                  "src": "12056:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10158,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "12056:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10161,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "12089:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10253,
                  "src": "12081:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10160,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12081:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10163,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "12117:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10253,
                  "src": "12109:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10162,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12109:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "12046:84:35"
            },
            "returnParameters": {
              "id": 10172,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "12304:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 10337,
            "nodeType": "FunctionDefinition",
            "src": "13900:997:35",
            "nodes": [],
            "body": {
              "id": 10336,
              "nodeType": "Block",
              "src": "14168:729:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10273,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10271,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10260,
                          "src": "14228:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 10272,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "14238:1:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "14228:11:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a6c6f636b3a204e4f5f4f50",
                        "id": 10274,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14241:26:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_111b684c1131983cb521900d0fa8fc5ee96dbed9dfd1463591c984af1e4319fe",
                          "typeString": "literal_string \"TicketBooth::lock: NO_OP\""
                        },
                        "value": "TicketBooth::lock: NO_OP"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_111b684c1131983cb521900d0fa8fc5ee96dbed9dfd1463591c984af1e4319fe",
                          "typeString": "literal_string \"TicketBooth::lock: NO_OP\""
                        }
                      ],
                      "id": 10270,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "14220:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10275,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14220:48:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10276,
                  "nodeType": "ExpressionStatement",
                  "src": "14220:48:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10290,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 10288,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "baseExpression": {
                              "baseExpression": {
                                "id": 10278,
                                "name": "stakedBalanceOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9588,
                                "src": "14356:15:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                                }
                              },
                              "id": 10280,
                              "indexExpression": {
                                "id": 10279,
                                "name": "_holder",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10256,
                                "src": "14372:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "14356:24:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 10282,
                            "indexExpression": {
                              "id": 10281,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10258,
                              "src": "14381:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "14356:36:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "-",
                          "rightExpression": {
                            "baseExpression": {
                              "baseExpression": {
                                "id": 10283,
                                "name": "lockedBalanceOf",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9600,
                                "src": "14411:15:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                  "typeString": "mapping(address => mapping(uint256 => uint256))"
                                }
                              },
                              "id": 10285,
                              "indexExpression": {
                                "id": 10284,
                                "name": "_holder",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10256,
                                "src": "14427:7:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "14411:24:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                                "typeString": "mapping(uint256 => uint256)"
                              }
                            },
                            "id": 10287,
                            "indexExpression": {
                              "id": 10286,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10258,
                              "src": "14436:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "14411:36:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "14356:91:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">=",
                        "rightExpression": {
                          "id": 10289,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10260,
                          "src": "14467:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "14356:118:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a6c6f636b3a20494e53554646494349454e545f46554e4453",
                        "id": 10291,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14488:39:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_da566605d6d1db7533ebd07230c4135dd9944364faef537b5978527a0a3c3956",
                          "typeString": "literal_string \"TicketBooth::lock: INSUFFICIENT_FUNDS\""
                        },
                        "value": "TicketBooth::lock: INSUFFICIENT_FUNDS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_da566605d6d1db7533ebd07230c4135dd9944364faef537b5978527a0a3c3956",
                          "typeString": "literal_string \"TicketBooth::lock: INSUFFICIENT_FUNDS\""
                        }
                      ],
                      "id": 10277,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "14335:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10292,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14335:202:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10293,
                  "nodeType": "ExpressionStatement",
                  "src": "14335:202:35"
                },
                {
                  "expression": {
                    "id": 10306,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10294,
                          "name": "lockedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9600,
                          "src": "14576:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10297,
                        "indexExpression": {
                          "id": 10295,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10256,
                          "src": "14592:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "14576:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10298,
                      "indexExpression": {
                        "id": 10296,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10258,
                        "src": "14601:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "14576:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10305,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10299,
                            "name": "lockedBalanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9600,
                            "src": "14627:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10301,
                          "indexExpression": {
                            "id": 10300,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10256,
                            "src": "14643:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "14627:24:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10303,
                        "indexExpression": {
                          "id": 10302,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10258,
                          "src": "14652:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "14627:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "id": 10304,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10260,
                        "src": "14678:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "14627:58:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "14576:109:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10307,
                  "nodeType": "ExpressionStatement",
                  "src": "14576:109:35"
                },
                {
                  "expression": {
                    "id": 10326,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10308,
                            "name": "lockedBalanceBy",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9609,
                            "src": "14695:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 10313,
                          "indexExpression": {
                            "expression": {
                              "id": 10309,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "14711:3:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 10310,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "14711:10:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "14695:27:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10314,
                        "indexExpression": {
                          "id": 10311,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10256,
                          "src": "14723:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "14695:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10315,
                      "indexExpression": {
                        "id": 10312,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10258,
                        "src": "14732:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "14695:48:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10325,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "baseExpression": {
                              "id": 10316,
                              "name": "lockedBalanceBy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9609,
                              "src": "14758:15:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                                "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                              }
                            },
                            "id": 10319,
                            "indexExpression": {
                              "expression": {
                                "id": 10317,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "14774:3:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 10318,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "14774:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "14758:27:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10321,
                          "indexExpression": {
                            "id": 10320,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10256,
                            "src": "14786:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "14758:36:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10323,
                        "indexExpression": {
                          "id": 10322,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10258,
                          "src": "14795:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "14758:48:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "id": 10324,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10260,
                        "src": "14821:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "14758:70:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "14695:133:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10327,
                  "nodeType": "ExpressionStatement",
                  "src": "14695:133:35"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 10329,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10256,
                        "src": "14849:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10330,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10258,
                        "src": "14858:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10331,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10260,
                        "src": "14870:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 10332,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "14879:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10333,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "14879:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10328,
                      "name": "Lock",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36742,
                      "src": "14844:4:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,uint256,address)"
                      }
                    },
                    "id": 10334,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14844:46:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10335,
                  "nodeType": "EmitStatement",
                  "src": "14839:51:35"
                }
              ]
            },
            "baseFunctions": [
              36888
            ],
            "documentation": {
              "id": 10254,
              "nodeType": "StructuredDocumentation",
              "src": "13510:385:35",
              "text": "@notice \nLock a project's tickets, preventing them from being redeemed and from converting to ERC20s.\n@dev\nOnly a ticket holder or an operator can lock its tickets.\n@param _holder The holder to lock tickets from.\n@param _projectId The ID of the project whos tickets are being locked.\n@param _amount The amount of tickets to lock."
            },
            "functionSelector": "e2ab691d",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 10264,
                    "name": "_holder",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10256,
                    "src": "14093:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 10265,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10258,
                    "src": "14114:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 10266,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "14138:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 10267,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "Lock",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12230,
                    "src": "14138:15:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 10268,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 10263,
                  "name": "requirePermissionAllowingWildcardDomain",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10928,
                  "src": "14040:39:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "14040:123:35"
              }
            ],
            "name": "lock",
            "nameLocation": "13909:4:35",
            "overrides": {
              "id": 10262,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "14023:8:35"
            },
            "parameters": {
              "id": 10261,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10256,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "13931:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10337,
                  "src": "13923:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10255,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "13923:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10258,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "13956:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10337,
                  "src": "13948:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10257,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13948:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10260,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "13984:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10337,
                  "src": "13976:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10259,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13976:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13913:84:35"
            },
            "returnParameters": {
              "id": 10269,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "14168:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 10412,
            "nodeType": "FunctionDefinition",
            "src": "15258:796:35",
            "nodes": [],
            "body": {
              "id": 10411,
              "nodeType": "Block",
              "src": "15376:678:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10351,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10349,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10344,
                          "src": "15436:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 10350,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "15446:1:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "15436:11:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a756e6c6f636b3a204e4f5f4f50",
                        "id": 10352,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "15449:28:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_599468419404dd7510b283c08d01788efa2ae25962ab231186b235cd343f5e57",
                          "typeString": "literal_string \"TicketBooth::unlock: NO_OP\""
                        },
                        "value": "TicketBooth::unlock: NO_OP"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_599468419404dd7510b283c08d01788efa2ae25962ab231186b235cd343f5e57",
                          "typeString": "literal_string \"TicketBooth::unlock: NO_OP\""
                        }
                      ],
                      "id": 10348,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "15428:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10353,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "15428:50:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10354,
                  "nodeType": "ExpressionStatement",
                  "src": "15428:50:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10365,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "baseExpression": {
                            "baseExpression": {
                              "baseExpression": {
                                "id": 10356,
                                "name": "lockedBalanceBy",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 9609,
                                "src": "15568:15:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                                  "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                                }
                              },
                              "id": 10359,
                              "indexExpression": {
                                "expression": {
                                  "id": 10357,
                                  "name": "msg",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": -15,
                                  "src": "15584:3:35",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_magic_message",
                                    "typeString": "msg"
                                  }
                                },
                                "id": 10358,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "sender",
                                "nodeType": "MemberAccess",
                                "src": "15584:10:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "15568:27:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                                "typeString": "mapping(address => mapping(uint256 => uint256))"
                              }
                            },
                            "id": 10361,
                            "indexExpression": {
                              "id": 10360,
                              "name": "_holder",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10340,
                              "src": "15596:7:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "15568:36:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                              "typeString": "mapping(uint256 => uint256)"
                            }
                          },
                          "id": 10363,
                          "indexExpression": {
                            "id": 10362,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10342,
                            "src": "15605:10:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "15568:48:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">=",
                        "rightExpression": {
                          "id": 10364,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10344,
                          "src": "15620:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "15568:59:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a756e6c6f636b3a20494e53554646494349454e545f46554e4453",
                        "id": 10366,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "15641:41:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_366502ec2a950ede7315df91699bb64dec3c0bba5b9190ed70e9ee07a371bd24",
                          "typeString": "literal_string \"TicketBooth::unlock: INSUFFICIENT_FUNDS\""
                        },
                        "value": "TicketBooth::unlock: INSUFFICIENT_FUNDS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_366502ec2a950ede7315df91699bb64dec3c0bba5b9190ed70e9ee07a371bd24",
                          "typeString": "literal_string \"TicketBooth::unlock: INSUFFICIENT_FUNDS\""
                        }
                      ],
                      "id": 10355,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "15547:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10367,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "15547:145:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10368,
                  "nodeType": "ExpressionStatement",
                  "src": "15547:145:35"
                },
                {
                  "expression": {
                    "id": 10381,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10369,
                          "name": "lockedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9600,
                          "src": "15731:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10372,
                        "indexExpression": {
                          "id": 10370,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10340,
                          "src": "15747:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "15731:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10373,
                      "indexExpression": {
                        "id": 10371,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "15756:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "15731:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10380,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10374,
                            "name": "lockedBalanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9600,
                            "src": "15782:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10376,
                          "indexExpression": {
                            "id": 10375,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10340,
                            "src": "15798:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "15782:24:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10378,
                        "indexExpression": {
                          "id": 10377,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "15807:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "15782:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 10379,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10344,
                        "src": "15833:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "15782:58:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "15731:109:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10382,
                  "nodeType": "ExpressionStatement",
                  "src": "15731:109:35"
                },
                {
                  "expression": {
                    "id": 10401,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10383,
                            "name": "lockedBalanceBy",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9609,
                            "src": "15850:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                              "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                            }
                          },
                          "id": 10388,
                          "indexExpression": {
                            "expression": {
                              "id": 10384,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -15,
                              "src": "15866:3:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 10385,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "src": "15866:10:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "15850:27:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10389,
                        "indexExpression": {
                          "id": 10386,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10340,
                          "src": "15878:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "15850:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10390,
                      "indexExpression": {
                        "id": 10387,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "15887:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "15850:48:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10400,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "baseExpression": {
                              "id": 10391,
                              "name": "lockedBalanceBy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9609,
                              "src": "15913:15:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$",
                                "typeString": "mapping(address => mapping(address => mapping(uint256 => uint256)))"
                              }
                            },
                            "id": 10394,
                            "indexExpression": {
                              "expression": {
                                "id": 10392,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "15929:3:35",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 10393,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "15929:10:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "15913:27:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10396,
                          "indexExpression": {
                            "id": 10395,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10340,
                            "src": "15941:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "15913:36:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10398,
                        "indexExpression": {
                          "id": 10397,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10342,
                          "src": "15950:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "15913:48:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 10399,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10344,
                        "src": "15976:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "15913:70:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "15850:133:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10402,
                  "nodeType": "ExpressionStatement",
                  "src": "15850:133:35"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 10404,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10340,
                        "src": "16006:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10405,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10342,
                        "src": "16015:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10406,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10344,
                        "src": "16027:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 10407,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "16036:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10408,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "16036:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10403,
                      "name": "Unlock",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36752,
                      "src": "15999:6:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,uint256,address)"
                      }
                    },
                    "id": 10409,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "15999:48:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10410,
                  "nodeType": "EmitStatement",
                  "src": "15994:53:35"
                }
              ]
            },
            "baseFunctions": [
              36897
            ],
            "documentation": {
              "id": 10338,
              "nodeType": "StructuredDocumentation",
              "src": "14903:350:35",
              "text": "@notice \nUnlock a project's tickets.\n@dev\nThe address that locked the tickets must be the address that unlocks the tickets.\n@param _holder The holder to unlock tickets from.\n@param _projectId The ID of the project whos tickets are being unlocked.\n@param _amount The amount of tickets to unlock."
            },
            "functionSelector": "b5674c68",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "unlock",
            "nameLocation": "15267:6:35",
            "overrides": {
              "id": 10346,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "15367:8:35"
            },
            "parameters": {
              "id": 10345,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10340,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "15291:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10412,
                  "src": "15283:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10339,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "15283:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10342,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "15316:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10412,
                  "src": "15308:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10341,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15308:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10344,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "15344:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10412,
                  "src": "15336:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10343,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15336:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15273:84:35"
            },
            "returnParameters": {
              "id": 10347,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "15376:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 10514,
            "nodeType": "FunctionDefinition",
            "src": "16524:1516:35",
            "nodes": [],
            "body": {
              "id": 10513,
              "nodeType": "Block",
              "src": "16828:1212:35",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 10437,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10432,
                          "name": "_recipient",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10421,
                          "src": "16906:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "hexValue": "30",
                              "id": 10435,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "16928:1:35",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 10434,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "16920:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": {
                              "id": 10433,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "16920:7:35",
                              "typeDescriptions": {}
                            }
                          },
                          "id": 10436,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "16920:10:35",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "16906:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7472616e736665723a205a45524f5f41444452455353",
                        "id": 10438,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "16944:37:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_1725a2079e17506afeea1bf5a34ec6e65fb2dbf8d176dba3f218694b210a4b72",
                          "typeString": "literal_string \"TicketBooth::transfer: ZERO_ADDRESS\""
                        },
                        "value": "TicketBooth::transfer: ZERO_ADDRESS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_1725a2079e17506afeea1bf5a34ec6e65fb2dbf8d176dba3f218694b210a4b72",
                          "typeString": "literal_string \"TicketBooth::transfer: ZERO_ADDRESS\""
                        }
                      ],
                      "id": 10431,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "16885:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10439,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "16885:106:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10440,
                  "nodeType": "ExpressionStatement",
                  "src": "16885:106:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 10444,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10442,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10415,
                          "src": "17058:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "id": 10443,
                          "name": "_recipient",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10421,
                          "src": "17069:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "17058:21:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7472616e736665723a204944454e54495459",
                        "id": 10445,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "17081:33:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_f540d79b8747056c621c075008ea355f308d235fa2c395ab20977cf8788b94e7",
                          "typeString": "literal_string \"TicketBooth::transfer: IDENTITY\""
                        },
                        "value": "TicketBooth::transfer: IDENTITY"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_f540d79b8747056c621c075008ea355f308d235fa2c395ab20977cf8788b94e7",
                          "typeString": "literal_string \"TicketBooth::transfer: IDENTITY\""
                        }
                      ],
                      "id": 10441,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "17050:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10446,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17050:65:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10447,
                  "nodeType": "ExpressionStatement",
                  "src": "17050:65:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10451,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10449,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10419,
                          "src": "17182:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 10450,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "17192:1:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "17182:11:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7472616e736665723a204e4f5f4f50",
                        "id": 10452,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "17195:30:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_0b257fd98167ae85f3b357e3f6ce1cea6513c384f0d44f73f401fbaf80bca475",
                          "typeString": "literal_string \"TicketBooth::transfer: NO_OP\""
                        },
                        "value": "TicketBooth::transfer: NO_OP"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_0b257fd98167ae85f3b357e3f6ce1cea6513c384f0d44f73f401fbaf80bca475",
                          "typeString": "literal_string \"TicketBooth::transfer: NO_OP\""
                        }
                      ],
                      "id": 10448,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "17174:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10453,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17174:52:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10454,
                  "nodeType": "ExpressionStatement",
                  "src": "17174:52:35"
                },
                {
                  "assignments": [
                    10456
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10456,
                      "mutability": "mutable",
                      "name": "_unlockedStakedTickets",
                      "nameLocation": "17314:22:35",
                      "nodeType": "VariableDeclaration",
                      "scope": 10513,
                      "src": "17306:30:35",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 10455,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "17306:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 10468,
                  "initialValue": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10467,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10457,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "17339:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10459,
                        "indexExpression": {
                          "id": 10458,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10415,
                          "src": "17355:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17339:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10461,
                      "indexExpression": {
                        "id": 10460,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10417,
                        "src": "17364:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "17339:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10462,
                          "name": "lockedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9600,
                          "src": "17390:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10464,
                        "indexExpression": {
                          "id": 10463,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10415,
                          "src": "17406:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17390:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10466,
                      "indexExpression": {
                        "id": 10465,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10417,
                        "src": "17415:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "17390:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "17339:87:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "17306:120:35"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10472,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 10470,
                          "name": "_amount",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10419,
                          "src": "17527:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<=",
                        "rightExpression": {
                          "id": 10471,
                          "name": "_unlockedStakedTickets",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10456,
                          "src": "17538:22:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "17527:33:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5469636b6574426f6f74683a3a7472616e736665723a20494e53554646494349454e545f46554e4453",
                        "id": 10473,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "17574:43:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_c7061498f353888410262711416b9bf5c5086f7ddd472e8778858d05e98f5044",
                          "typeString": "literal_string \"TicketBooth::transfer: INSUFFICIENT_FUNDS\""
                        },
                        "value": "TicketBooth::transfer: INSUFFICIENT_FUNDS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_c7061498f353888410262711416b9bf5c5086f7ddd472e8778858d05e98f5044",
                          "typeString": "literal_string \"TicketBooth::transfer: INSUFFICIENT_FUNDS\""
                        }
                      ],
                      "id": 10469,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "17506:7:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 10474,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17506:121:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10475,
                  "nodeType": "ExpressionStatement",
                  "src": "17506:121:35"
                },
                {
                  "expression": {
                    "id": 10488,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10476,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "17675:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10479,
                        "indexExpression": {
                          "id": 10477,
                          "name": "_holder",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10415,
                          "src": "17691:7:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17675:24:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10480,
                      "indexExpression": {
                        "id": 10478,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10417,
                        "src": "17700:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "17675:36:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10487,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10481,
                            "name": "stakedBalanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9588,
                            "src": "17726:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10483,
                          "indexExpression": {
                            "id": 10482,
                            "name": "_holder",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10415,
                            "src": "17742:7:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "17726:24:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10485,
                        "indexExpression": {
                          "id": 10484,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10417,
                          "src": "17751:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17726:36:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "-",
                      "rightExpression": {
                        "id": 10486,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10419,
                        "src": "17777:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "17726:58:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "17675:109:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10489,
                  "nodeType": "ExpressionStatement",
                  "src": "17675:109:35"
                },
                {
                  "expression": {
                    "id": 10502,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 10490,
                          "name": "stakedBalanceOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9588,
                          "src": "17840:15:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                            "typeString": "mapping(address => mapping(uint256 => uint256))"
                          }
                        },
                        "id": 10493,
                        "indexExpression": {
                          "id": 10491,
                          "name": "_recipient",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10421,
                          "src": "17856:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17840:27:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                          "typeString": "mapping(uint256 => uint256)"
                        }
                      },
                      "id": 10494,
                      "indexExpression": {
                        "id": 10492,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10417,
                        "src": "17868:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "17840:39:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 10501,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "baseExpression": {
                          "baseExpression": {
                            "id": 10495,
                            "name": "stakedBalanceOf",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9588,
                            "src": "17894:15:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$",
                              "typeString": "mapping(address => mapping(uint256 => uint256))"
                            }
                          },
                          "id": 10497,
                          "indexExpression": {
                            "id": 10496,
                            "name": "_recipient",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10421,
                            "src": "17910:10:35",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "17894:27:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$",
                            "typeString": "mapping(uint256 => uint256)"
                          }
                        },
                        "id": 10499,
                        "indexExpression": {
                          "id": 10498,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10417,
                          "src": "17922:10:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "17894:39:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "+",
                      "rightExpression": {
                        "id": 10500,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10419,
                        "src": "17948:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "17894:61:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "17840:115:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10503,
                  "nodeType": "ExpressionStatement",
                  "src": "17840:115:35"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 10505,
                        "name": "_holder",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10415,
                        "src": "17980:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10506,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10417,
                        "src": "17989:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 10507,
                        "name": "_recipient",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10421,
                        "src": "18001:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 10508,
                        "name": "_amount",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10419,
                        "src": "18013:7:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "expression": {
                          "id": 10509,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "18022:3:35",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 10510,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "18022:10:35",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10504,
                      "name": "Transfer",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36764,
                      "src": "17971:8:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_uint256_$_t_address_$returns$__$",
                        "typeString": "function (address,uint256,address,uint256,address)"
                      }
                    },
                    "id": 10511,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "17971:62:35",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10512,
                  "nodeType": "EmitStatement",
                  "src": "17966:67:35"
                }
              ]
            },
            "baseFunctions": [
              36908
            ],
            "documentation": {
              "id": 10413,
              "nodeType": "StructuredDocumentation",
              "src": "16060:459:35",
              "text": "@notice \nAllows a ticket holder to transfer its tickets to another account, without unstaking to ERC-20s.\n@dev\nOnly a ticket holder or an operator can transfer its tickets.\n@param _holder The holder to transfer tickets from.\n@param _projectId The ID of the project whos tickets are being transfered.\n@param _amount The amount of tickets to transfer.\n@param _recipient The recipient of the tickets."
            },
            "functionSelector": "33681fb1",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 10425,
                    "name": "_holder",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10415,
                    "src": "16749:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 10426,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10417,
                    "src": "16770:10:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 10427,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "16794:10:35",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 10428,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "Transfer",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12227,
                    "src": "16794:19:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  }
                ],
                "id": 10429,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 10424,
                  "name": "requirePermissionAllowingWildcardDomain",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10928,
                  "src": "16696:39:35"
                },
                "nodeType": "ModifierInvocation",
                "src": "16696:127:35"
              }
            ],
            "name": "transfer",
            "nameLocation": "16533:8:35",
            "overrides": {
              "id": 10423,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "16679:8:35"
            },
            "parameters": {
              "id": 10422,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10415,
                  "mutability": "mutable",
                  "name": "_holder",
                  "nameLocation": "16559:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10514,
                  "src": "16551:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10414,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16551:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10417,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "16584:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10514,
                  "src": "16576:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10416,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16576:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10419,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "16612:7:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10514,
                  "src": "16604:15:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10418,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "16604:7:35",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10421,
                  "mutability": "mutable",
                  "name": "_recipient",
                  "nameLocation": "16637:10:35",
                  "nodeType": "VariableDeclaration",
                  "scope": 10514,
                  "src": "16629:18:35",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10420,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "16629:7:35",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16541:112:35"
            },
            "returnParameters": {
              "id": 10430,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "16828:0:35"
            },
            "scope": 10515,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 9565,
              "name": "TerminalUtility",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 11023,
              "src": "628:15:35"
            },
            "id": 9566,
            "nodeType": "InheritanceSpecifier",
            "src": "628:15:35"
          },
          {
            "baseName": {
              "id": 9567,
              "name": "Operatable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 10980,
              "src": "645:10:35"
            },
            "id": 9568,
            "nodeType": "InheritanceSpecifier",
            "src": "645:10:35"
          },
          {
            "baseName": {
              "id": 9569,
              "name": "ITicketBooth",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 36909,
              "src": "657:12:35"
            },
            "id": 9570,
            "nodeType": "InheritanceSpecifier",
            "src": "657:12:35"
          }
        ],
        "contractDependencies": [
          10577
        ],
        "contractKind": "contract",
        "documentation": {
          "id": 9564,
          "nodeType": "StructuredDocumentation",
          "src": "237:366:35",
          "text": "@notice \nManage Ticket printing, redemption, and account balances.\n@dev\nTickets can be either represented internally staked, or as unstaked ERC-20s.\nThis contract manages these two representations and the conversion between the two.\n@dev\nThe total supply of a project's tickets and the balance of each account are calculated in this contract."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          10515,
          36909,
          10980,
          11358,
          11023,
          11414
        ],
        "name": "TicketBooth",
        "nameLocation": "613:11:35",
        "scope": 10516,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 35
}