{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IProjects",
          "name": "_projects",
          "type": "address"
        },
        {
          "internalType": "contract IOperatorStore",
          "name": "_operatorStore",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "DeployAddress",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "beneficiary",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "preferUnstakedTickets",
          "type": "bool"
        }
      ],
      "name": "SetPayerPreferences",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "contract ITerminal",
          "name": "terminal",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetTerminal",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "addressesOf",
      "outputs": [
        {
          "internalType": "contract IDirectPaymentAddress[]",
          "name": "",
          "type": "address[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "beneficiaryOf",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        }
      ],
      "name": "deployAddress",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "operatorStore",
      "outputs": [
        {
          "internalType": "contract IOperatorStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "projects",
      "outputs": [
        {
          "internalType": "contract IProjects",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "_preferUnstakedTickets",
          "type": "bool"
        }
      ],
      "name": "setPayerPreferences",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "contract ITerminal",
          "name": "_terminal",
          "type": "address"
        }
      ],
      "name": "setTerminal",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "terminalOf",
      "outputs": [
        {
          "internalType": "contract ITerminal",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "unstakedTicketsPreferenceOf",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x60c060405234801561001057600080fd5b50604051611a3b380380611a3b83398101604081905261002f9161004e565b6001600160601b0319606091821b811660805291901b1660a0526100a0565b6000806040838503121561006157600080fd5b825161006c81610088565b602084015190925061007d81610088565b809150509250929050565b6001600160a01b038116811461009d57600080fd5b50565b60805160601c60a05160601c6119546100e7600039600081816101490152818161049e01528181610556015261083e0152600081816101d8015261063901526119546000f3fe60806040523480156200001157600080fd5b5060043610620000b05760003560e01c80639dcbf9d6116200007f578063ad007d631162000062578063ad007d6314620001d2578063b9e5559514620001fa578063ba7bffd3146200021157600080fd5b80639dcbf9d614620001845780639fc9ea4714620001bb57600080fd5b80634cbcdc2314620000b55780634fe0eced14620000e45780638b79543c14620001435780639725b532146200016b575b600080fd5b620000cc620000c636600462000c40565b6200024a565b604051620000db919062000d4c565b60405180910390f35b6200011d620000f536600462000c40565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000db565b6200011d7f000000000000000000000000000000000000000000000000000000000000000081565b620001826200017c36600462000c82565b620002c3565b005b620001aa6200019536600462000b9b565b60036020526000908152604090205460ff1681565b6040519015158152602001620000db565b62000182620001cc36600462000c5a565b62000446565b6200011d7f000000000000000000000000000000000000000000000000000000000000000081565b620001826200020b36600462000be2565b62000aca565b6200011d6200022236600462000b9b565b60026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60008181526020818152604091829020805483518184028101840190945280845260609392830182828015620002b757602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116200028b575b50505050509050919050565b6000831162000359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f5465726d696e616c4469726563746f72793a3a6465706c6f794164647265737360448201527f3a205a45524f5f50524f4a45435400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080848152602001908152602001600020308484846040516200037d9062000b8d565b6200038c949392919062000da8565b604051809103906000f080158015620003a9573d6000803e3d6000fd5b5081546001810183556000928352602090922090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055604051339084907f625d3e8b3b4cdc244ab1e77733463c3700b7dfa192308bc40ef5d3df6e1a6f7f9062000439908690869062000dea565b60405180910390a3505050565b6000828152600160205260408082205490517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff91821692917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9060240160206040518083038186803b158015620004e157600080fd5b505afa158015620004f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051c919062000bc2565b905073ffffffffffffffffffffffffffffffffffffffff82161580156200059857503373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614806200059857503373ffffffffffffffffffffffffffffffffffffffff8416145b80620005b957503373ffffffffffffffffffffffffffffffffffffffff8316145b806200078157503373ffffffffffffffffffffffffffffffffffffffff82161480620006b757506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff828116602483015260448201869052601060648301527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200067c57600080fd5b505afa15801562000691573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006b7919062000c20565b801562000781575073ffffffffffffffffffffffffffffffffffffffff821615806200078157506040517fb9f1109100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015283169063b9f110919060240160206040518083038186803b1580156200074657600080fd5b505afa1580156200075b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000781919062000c20565b6200080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a2060448201527f554e415554484f52495a45440000000000000000000000000000000000000000606482015260840162000350565b6040517f4f558e79000000000000000000000000000000000000000000000000000000008152600481018590527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690634f558e799060240160206040518083038186803b1580156200089657600080fd5b505afa158015620008ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008d1919062000c20565b6200095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a2060448201527f4e4f545f464f554e440000000000000000000000000000000000000000000000606482015260840162000350565b73ffffffffffffffffffffffffffffffffffffffff831662000a04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a2060448201527f5a45524f5f414444524553530000000000000000000000000000000000000000606482015260840162000350565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a3f5750505050565b60008481526001602090815260409182902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8716908117909155915133815286917f6780b115550b4a9f66ac0fa6f3eed2769911165bc5d87ad966769dbbbfae1dbe910160405180910390a350505050565b33600081815260026020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8816908117909155600383529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168615159081179091558151938452918301919091527f01405a9170fb91f1304461ab04a052c0f33349b97b4df28754a10c681041ff99910160405180910390a25050565b610ae18062000e3e83390190565b60006020828403121562000bae57600080fd5b813562000bbb8162000e08565b9392505050565b60006020828403121562000bd557600080fd5b815162000bbb8162000e08565b6000806040838503121562000bf657600080fd5b823562000c038162000e08565b9150602083013562000c158162000e2e565b809150509250929050565b60006020828403121562000c3357600080fd5b815162000bbb8162000e2e565b60006020828403121562000c5357600080fd5b5035919050565b6000806040838503121562000c6e57600080fd5b82359150602083013562000c158162000e08565b60008060006040848603121562000c9857600080fd5b83359250602084013567ffffffffffffffff8082111562000cb857600080fd5b818601915086601f83011262000ccd57600080fd5b81358181111562000cdd57600080fd5b87602082850101111562000cf057600080fd5b6020830194508093505050509250925092565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6020808252825182820181905260009190848201906040850190845b8181101562000d9c57835173ffffffffffffffffffffffffffffffffffffffff168352928401929184019160010162000d68565b50909695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600062000de060608301848662000d03565b9695505050505050565b60208152600062000e0060208301848662000d03565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811462000e2b57600080fd5b50565b801515811462000e2b57600080fdfe60c06040523480156200001157600080fd5b5060405162000ae138038062000ae1833981016040819052620000349162000110565b6001600160601b0319606084901b1660805260a08290528051620000609060009060208401906200006a565b505050506200026c565b828054620000789062000219565b90600052602060002090601f0160209004810192826200009c5760008555620000e7565b82601f10620000b757805160ff1916838001178555620000e7565b82800160010185558215620000e7579182015b82811115620000e7578251825591602001919060010190620000ca565b50620000f5929150620000f9565b5090565b5b80821115620000f55760008155600101620000fa565b6000806000606084860312156200012657600080fd5b83516001600160a01b03811681146200013e57600080fd5b60208581015160408701519295509350906001600160401b03808211156200016557600080fd5b818701915087601f8301126200017a57600080fd5b8151818111156200018f576200018f62000256565b604051601f8201601f19908116603f01168101908382118183101715620001ba57620001ba62000256565b816040528281528a86848701011115620001d357600080fd5b600093505b82841015620001f75784840186015181850187015292850192620001d8565b82841115620002095760008684830101525b8096505050505050509250925092565b600181811c908216806200022e57607f821691505b602082108114156200025057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a051610823620002be60003960008181610213015281816102e9015281816103800152610410015260008181606e0152818161016f0152818161023c015261047901526108236000f3fe6080604052600436106100385760003560e01c80633fafa127146103fe57806358c3b870146104455780636abcf8e31461046757600080fd5b366103f9576040517fba7bffd30000000000000000000000000000000000000000000000000000000081523360048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063ba7bffd390602401602060405180830381600087803b1580156100c757600080fd5b505af11580156100db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ff919061054e565b9050600073ffffffffffffffffffffffffffffffffffffffff82166101245733610126565b815b6040517f9dcbf9d600000000000000000000000000000000000000000000000000000000815233600482015290915060009073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690639dcbf9d690602401602060405180830381600087803b1580156101b357600080fd5b505af11580156101c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101eb9190610572565b6040517f4fe0eced0000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000060048201529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690634fe0eced9060240160206040518083038186803b15801561029357600080fd5b505afa1580156102a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cb919061054e565b73ffffffffffffffffffffffffffffffffffffffff166302c8986f347f0000000000000000000000000000000000000000000000000000000000000000856000866040518663ffffffff1660e01b815260040161032b949392919061073f565b6020604051808303818588803b15801561034457600080fd5b505af1158015610358573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061037d9190610594565b507f00000000000000000000000000000000000000000000000000000000000000003373ffffffffffffffffffffffffffffffffffffffff167f73c0c8eb2e5343fd4f621dee6cc0dd1f91a240b7a6245465fa884753efd7cab384346000866040516103ec9493929190610684565b60405180910390a3505050005b600080fd5b34801561040a57600080fd5b506104327f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b34801561045157600080fd5b5061045a6104c0565b60405161043c91906106cc565b34801561047357600080fd5b5061049b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161043c565b600080546104cd90610774565b80601f01602080910402602001604051908101604052809291908181526020018280546104f990610774565b80156105465780601f1061051b57610100808354040283529160200191610546565b820191906000526020600020905b81548152906001019060200180831161052957829003601f168201915b505050505081565b60006020828403121561056057600080fd5b815161056b816107c8565b9392505050565b60006020828403121561058457600080fd5b8151801515811461056b57600080fd5b6000602082840312156105a657600080fd5b5051919050565b8054600090600181811c90808316806105c757607f831692505b6020808410821415610602577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b8388526020880182801561061d576001811461064c57610677565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610677565b60008981526020902060005b8781101561067157815484820152908601908401610658565b83019850505b5050505050505092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526080604082015260006106b960808301856105ad565b9050821515606083015295945050505050565b600060208083528351808285015260005b818110156106f9578581018301518582016040015282016106dd565b8181111561070b576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b84815273ffffffffffffffffffffffffffffffffffffffff841660208201526080604082015260006106b960808301856105ad565b600181811c9082168061078857607f821691505b602082108114156107c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b73ffffffffffffffffffffffffffffffffffffffff811681146107ea57600080fd5b5056fea2646970667358221220e85c0157426288b7387b923511dd0a45996106b414927ff457f9d86c5874690664736f6c63430008060033a264697066735822122078a6dcaafdf4f8c44e1e769b919d85886127cc17e1178888c1649ebe3ac4ff6f64736f6c63430008060033",
    "sourceMap": "406:5255:33:-:0;;;2144:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;1861:30:38;;;;;;;2241:20:33;;;;::::1;::::0;406:5255;;14:460:168;136:6;144;197:2;185:9;176:7;172:23;168:32;165:2;;;213:1;210;203:12;165:2;245:9;239:16;264:47;305:5;264:47;:::i;:::-;380:2;365:18;;359:25;330:5;;-1:-1:-1;393:49:168;359:25;393:49;:::i;:::-;461:7;451:17;;;155:319;;;;;:::o;479:147::-;-1:-1:-1;570:31:168;;560:42;;550:2;;616:1;613;606:12;550:2;540:86;:::o;:::-;406:5255:33;;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x60806040523480156200001157600080fd5b5060043610620000b05760003560e01c80639dcbf9d6116200007f578063ad007d631162000062578063ad007d6314620001d2578063b9e5559514620001fa578063ba7bffd3146200021157600080fd5b80639dcbf9d614620001845780639fc9ea4714620001bb57600080fd5b80634cbcdc2314620000b55780634fe0eced14620000e45780638b79543c14620001435780639725b532146200016b575b600080fd5b620000cc620000c636600462000c40565b6200024a565b604051620000db919062000d4c565b60405180910390f35b6200011d620000f536600462000c40565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000db565b6200011d7f000000000000000000000000000000000000000000000000000000000000000081565b620001826200017c36600462000c82565b620002c3565b005b620001aa6200019536600462000b9b565b60036020526000908152604090205460ff1681565b6040519015158152602001620000db565b62000182620001cc36600462000c5a565b62000446565b6200011d7f000000000000000000000000000000000000000000000000000000000000000081565b620001826200020b36600462000be2565b62000aca565b6200011d6200022236600462000b9b565b60026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60008181526020818152604091829020805483518184028101840190945280845260609392830182828015620002b757602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116200028b575b50505050509050919050565b6000831162000359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f5465726d696e616c4469726563746f72793a3a6465706c6f794164647265737360448201527f3a205a45524f5f50524f4a45435400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080848152602001908152602001600020308484846040516200037d9062000b8d565b6200038c949392919062000da8565b604051809103906000f080158015620003a9573d6000803e3d6000fd5b5081546001810183556000928352602090922090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055604051339084907f625d3e8b3b4cdc244ab1e77733463c3700b7dfa192308bc40ef5d3df6e1a6f7f9062000439908690869062000dea565b60405180910390a3505050565b6000828152600160205260408082205490517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff91821692917f00000000000000000000000000000000000000000000000000000000000000001690636352211e9060240160206040518083038186803b158015620004e157600080fd5b505afa158015620004f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051c919062000bc2565b905073ffffffffffffffffffffffffffffffffffffffff82161580156200059857503373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614806200059857503373ffffffffffffffffffffffffffffffffffffffff8416145b80620005b957503373ffffffffffffffffffffffffffffffffffffffff8316145b806200078157503373ffffffffffffffffffffffffffffffffffffffff82161480620006b757506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff828116602483015260448201869052601060648301527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b1580156200067c57600080fd5b505afa15801562000691573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006b7919062000c20565b801562000781575073ffffffffffffffffffffffffffffffffffffffff821615806200078157506040517fb9f1109100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015283169063b9f110919060240160206040518083038186803b1580156200074657600080fd5b505afa1580156200075b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000781919062000c20565b6200080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a2060448201527f554e415554484f52495a45440000000000000000000000000000000000000000606482015260840162000350565b6040517f4f558e79000000000000000000000000000000000000000000000000000000008152600481018590527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690634f558e799060240160206040518083038186803b1580156200089657600080fd5b505afa158015620008ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008d1919062000c20565b6200095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a2060448201527f4e4f545f464f554e440000000000000000000000000000000000000000000000606482015260840162000350565b73ffffffffffffffffffffffffffffffffffffffff831662000a04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a2060448201527f5a45524f5f414444524553530000000000000000000000000000000000000000606482015260840162000350565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a3f5750505050565b60008481526001602090815260409182902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8716908117909155915133815286917f6780b115550b4a9f66ac0fa6f3eed2769911165bc5d87ad966769dbbbfae1dbe910160405180910390a350505050565b33600081815260026020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8816908117909155600383529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168615159081179091558151938452918301919091527f01405a9170fb91f1304461ab04a052c0f33349b97b4df28754a10c681041ff99910160405180910390a25050565b610ae18062000e3e83390190565b60006020828403121562000bae57600080fd5b813562000bbb8162000e08565b9392505050565b60006020828403121562000bd557600080fd5b815162000bbb8162000e08565b6000806040838503121562000bf657600080fd5b823562000c038162000e08565b9150602083013562000c158162000e2e565b809150509250929050565b60006020828403121562000c3357600080fd5b815162000bbb8162000e2e565b60006020828403121562000c5357600080fd5b5035919050565b6000806040838503121562000c6e57600080fd5b82359150602083013562000c158162000e08565b60008060006040848603121562000c9857600080fd5b83359250602084013567ffffffffffffffff8082111562000cb857600080fd5b818601915086601f83011262000ccd57600080fd5b81358181111562000cdd57600080fd5b87602082850101111562000cf057600080fd5b6020830194508093505050509250925092565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6020808252825182820181905260009190848201906040850190845b8181101562000d9c57835173ffffffffffffffffffffffffffffffffffffffff168352928401929184019160010162000d68565b50909695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600062000de060608301848662000d03565b9695505050505050565b60208152600062000e0060208301848662000d03565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811462000e2b57600080fd5b50565b801515811462000e2b57600080fdfe60c06040523480156200001157600080fd5b5060405162000ae138038062000ae1833981016040819052620000349162000110565b6001600160601b0319606084901b1660805260a08290528051620000609060009060208401906200006a565b505050506200026c565b828054620000789062000219565b90600052602060002090601f0160209004810192826200009c5760008555620000e7565b82601f10620000b757805160ff1916838001178555620000e7565b82800160010185558215620000e7579182015b82811115620000e7578251825591602001919060010190620000ca565b50620000f5929150620000f9565b5090565b5b80821115620000f55760008155600101620000fa565b6000806000606084860312156200012657600080fd5b83516001600160a01b03811681146200013e57600080fd5b60208581015160408701519295509350906001600160401b03808211156200016557600080fd5b818701915087601f8301126200017a57600080fd5b8151818111156200018f576200018f62000256565b604051601f8201601f19908116603f01168101908382118183101715620001ba57620001ba62000256565b816040528281528a86848701011115620001d357600080fd5b600093505b82841015620001f75784840186015181850187015292850192620001d8565b82841115620002095760008684830101525b8096505050505050509250925092565b600181811c908216806200022e57607f821691505b602082108114156200025057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a051610823620002be60003960008181610213015281816102e9015281816103800152610410015260008181606e0152818161016f0152818161023c015261047901526108236000f3fe6080604052600436106100385760003560e01c80633fafa127146103fe57806358c3b870146104455780636abcf8e31461046757600080fd5b366103f9576040517fba7bffd30000000000000000000000000000000000000000000000000000000081523360048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063ba7bffd390602401602060405180830381600087803b1580156100c757600080fd5b505af11580156100db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ff919061054e565b9050600073ffffffffffffffffffffffffffffffffffffffff82166101245733610126565b815b6040517f9dcbf9d600000000000000000000000000000000000000000000000000000000815233600482015290915060009073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690639dcbf9d690602401602060405180830381600087803b1580156101b357600080fd5b505af11580156101c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101eb9190610572565b6040517f4fe0eced0000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000060048201529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690634fe0eced9060240160206040518083038186803b15801561029357600080fd5b505afa1580156102a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cb919061054e565b73ffffffffffffffffffffffffffffffffffffffff166302c8986f347f0000000000000000000000000000000000000000000000000000000000000000856000866040518663ffffffff1660e01b815260040161032b949392919061073f565b6020604051808303818588803b15801561034457600080fd5b505af1158015610358573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061037d9190610594565b507f00000000000000000000000000000000000000000000000000000000000000003373ffffffffffffffffffffffffffffffffffffffff167f73c0c8eb2e5343fd4f621dee6cc0dd1f91a240b7a6245465fa884753efd7cab384346000866040516103ec9493929190610684565b60405180910390a3505050005b600080fd5b34801561040a57600080fd5b506104327f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b34801561045157600080fd5b5061045a6104c0565b60405161043c91906106cc565b34801561047357600080fd5b5061049b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161043c565b600080546104cd90610774565b80601f01602080910402602001604051908101604052809291908181526020018280546104f990610774565b80156105465780601f1061051b57610100808354040283529160200191610546565b820191906000526020600020905b81548152906001019060200180831161052957829003601f168201915b505050505081565b60006020828403121561056057600080fd5b815161056b816107c8565b9392505050565b60006020828403121561058457600080fd5b8151801515811461056b57600080fd5b6000602082840312156105a657600080fd5b5051919050565b8054600090600181811c90808316806105c757607f831692505b6020808410821415610602577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b8388526020880182801561061d576001811461064c57610677565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610677565b60008981526020902060005b8781101561067157815484820152908601908401610658565b83019850505b5050505050505092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526080604082015260006106b960808301856105ad565b9050821515606083015295945050505050565b600060208083528351808285015260005b818110156106f9578581018301518582016040015282016106dd565b8181111561070b576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b84815273ffffffffffffffffffffffffffffffffffffffff841660208201526080604082015260006106b960808301856105ad565b600181811c9082168061078857607f821691505b602082108114156107c2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b73ffffffffffffffffffffffffffffffffffffffff811681146107ea57600080fd5b5056fea2646970667358221220e85c0157426288b7387b923511dd0a45996106b414927ff457f9d86c5874690664736f6c63430008060033a264697066735822122078a6dcaafdf4f8c44e1e769b919d85886127cc17e1178888c1649ebe3ac4ff6f64736f6c63430008060033",
    "sourceMap": "406:5255:33:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1740:165;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1018:56;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2855:42:168;2843:55;;;2825:74;;2813:2;2798:18;1018:56:33;2780:125:168;819:44:33;;;;;2553:363;;;;;;:::i;:::-;;:::i;:::-;;1367:68;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4579:14:168;;4572:22;4554:41;;4542:2;4527:18;1367:68:33;4509:92:168;3196:1815:33;;;;;;:::i;:::-;;:::i;1662:54:38:-;;;;;5349:310:33;;;;;;:::i;:::-;;:::i;1185:57::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1740:165;1876:12;:24;;;;;;;;;;;;1869:31;;;;;;;;;;;;;;;;;1829:30;;1869:31;;;1876:24;1869:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1740:165;;;:::o;2553:363::-;2664:1;2651:10;:14;2643:73;;;;;;;6284:2:168;2643:73:33;;;6266:21:168;6323:2;6303:18;;;6296:30;6362:34;6342:18;;;6335:62;6433:16;6413:18;;;6406:44;6467:19;;2643:73:33;;;;;;;;;2775:12;:24;2788:10;2775:24;;;;;;;;;;;2830:4;2836:10;2848:5;;2805:49;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2775:80:33;;;;;;;-1:-1:-1;2775:80:33;;;;;;;;;;;;;;;;;;;;;;;;2867:44;;2900:10;;2881;;2867:44;;;;2893:5;;;;2867:44;:::i;:::-;;;;;;;;2553:363;;;:::o;3196:1815::-;3341:26;3370:22;;;:10;:22;;;;;;;3423:28;;;;;;;;7879:25:168;;;3370:22:33;;;;;3341:26;3423:8;:16;;;;7852:18:168;;3423:28:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3399:52;-1:-1:-1;3926:41:33;;;;:122;;;;-1:-1:-1;3980:10:33;:31;4002:8;3980:31;;;:67;;-1:-1:-1;4015:10:33;:32;;;;3980:67;3925:194;;;-1:-1:-1;4080:10:33;:39;;;;3925:194;:539;;;-1:-1:-1;4152:10:33;:27;;;;;:191;;-1:-1:-1;4193:150:33;;;;;4234:10;4193:150;;;3202:34:168;4193:27:33;3272:15:168;;;3252:18;;;3245:43;3304:18;;;3297:34;;;737:2:58;3347:18:168;;;3340:34;4193:13:33;:27;;;;3113:19:168;;4193:150:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4151:312;;;;-1:-1:-1;4359:41:33;;;;;:103;;-1:-1:-1;4416:46:33;;;;;:35;2843:55:168;;;4416:46:33;;;2825:74:168;4416:35:33;;;;;2798:18:168;;4416:46:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3893:631;;;;;;;7522:2:168;3893:631:33;;;7504:21:168;7561:2;7541:18;;;7534:30;7600:34;7580:18;;;7573:62;7671:14;7651:18;;;7644:42;7703:19;;3893:631:33;7494:234:168;3893:631:33;4570:27;;;;;;;;7879:25:168;;;4570:8:33;:15;;;;;7852:18:168;;4570:27:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4562:81;;;;;;;7112:2:168;4562:81:33;;;7094:21:168;7151:2;7131:18;;;7124:30;7190:34;7170:18;;;7163:62;7261:11;7241:18;;;7234:39;7290:19;;4562:81:33;7084:231:168;4562:81:33;4693:34;;;4685:91;;;;;;;6699:2:168;4685:91:33;;;6681:21:168;6738:2;6718:18;;;6711:30;6777:34;6757:18;;;6750:62;6848:14;6828:18;;;6821:42;6880:19;;4685:91:33;6671:234:168;4685:91:33;4861:9;4841:29;;:16;:29;;;4837:42;;;4872:7;;3196:1815;;:::o;4837:42::-;4914:22;;;;:10;:22;;;;;;;;;:34;;;;;;;;;;;;;4960:46;;4995:10;2825:74:168;;4914:22:33;;4960:46;;2798:18:168;4960:46:33;;;;;;;3276:1735;;3196:1815;;:::o;5349:310::-;5477:10;5463:25;;;;:13;:25;;;;;;;;:40;;;;:25;:40;;;;;;;;5509:27;:39;;;;;;:64;;;;;;;;;;;;;5585:69;;3553:74:168;;;3643:18;;;3636:50;;;;5585:69:33;;3526:18:168;5585:69:33;;;;;;;5349:310;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:247:168:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;142:1;139;132:12;94:2;181:9;168:23;200:31;225:5;200:31;:::i;:::-;250:5;84:177;-1:-1:-1;;;84:177:168:o;266:251::-;336:6;389:2;377:9;368:7;364:23;360:32;357:2;;;405:1;402;395:12;357:2;437:9;431:16;456:31;481:5;456:31;:::i;522:382::-;587:6;595;648:2;636:9;627:7;623:23;619:32;616:2;;;664:1;661;654:12;616:2;703:9;690:23;722:31;747:5;722:31;:::i;:::-;772:5;-1:-1:-1;829:2:168;814:18;;801:32;842:30;801:32;842:30;:::i;:::-;891:7;881:17;;;606:298;;;;;:::o;909:245::-;976:6;1029:2;1017:9;1008:7;1004:23;1000:32;997:2;;;1045:1;1042;1035:12;997:2;1077:9;1071:16;1096:28;1118:5;1096:28;:::i;1159:180::-;1218:6;1271:2;1259:9;1250:7;1246:23;1242:32;1239:2;;;1287:1;1284;1277:12;1239:2;-1:-1:-1;1310:23:168;;1229:110;-1:-1:-1;1229:110:168:o;1344:334::-;1431:6;1439;1492:2;1480:9;1471:7;1467:23;1463:32;1460:2;;;1508:1;1505;1498:12;1460:2;1544:9;1531:23;1521:33;;1604:2;1593:9;1589:18;1576:32;1617:31;1642:5;1617:31;:::i;1683:660::-;1763:6;1771;1779;1832:2;1820:9;1811:7;1807:23;1803:32;1800:2;;;1848:1;1845;1838:12;1800:2;1884:9;1871:23;1861:33;;1945:2;1934:9;1930:18;1917:32;1968:18;2009:2;2001:6;1998:14;1995:2;;;2025:1;2022;2015:12;1995:2;2063:6;2052:9;2048:22;2038:32;;2108:7;2101:4;2097:2;2093:13;2089:27;2079:2;;2130:1;2127;2120:12;2079:2;2170;2157:16;2196:2;2188:6;2185:14;2182:2;;;2212:1;2209;2202:12;2182:2;2257:7;2252:2;2243:6;2239:2;2235:15;2231:24;2228:37;2225:2;;;2278:1;2275;2268:12;2225:2;2309;2305;2301:11;2291:21;;2331:6;2321:16;;;;;1790:553;;;;;:::o;2348:326::-;2437:6;2432:3;2425:19;2489:6;2482:5;2475:4;2470:3;2466:14;2453:43;;2541:1;2534:4;2525:6;2520:3;2516:16;2512:27;2505:38;2407:3;2663:4;2593:66;2588:2;2580:6;2576:15;2572:88;2567:3;2563:98;2559:109;2552:116;;2415:259;;;;:::o;3697:712::-;3899:2;3951:21;;;4021:13;;3924:18;;;4043:22;;;3870:4;;3899:2;4122:15;;;;4096:2;4081:18;;;3870:4;4165:218;4179:6;4176:1;4173:13;4165:218;;;4244:13;;4259:42;4240:62;4228:75;;4358:15;;;;4323:12;;;;4201:1;4194:9;4165:218;;;-1:-1:-1;4400:3:168;;3879:530;-1:-1:-1;;;;;;3879:530:168:o;5361:464::-;5614:42;5606:6;5602:55;5591:9;5584:74;5694:6;5689:2;5678:9;5674:18;5667:34;5737:2;5732;5721:9;5717:18;5710:30;5565:4;5757:62;5815:2;5804:9;5800:18;5792:6;5784;5757:62;:::i;:::-;5749:70;5574:251;-1:-1:-1;;;;;;5574:251:168:o;5830:247::-;5989:2;5978:9;5971:21;5952:4;6009:62;6067:2;6056:9;6052:18;6044:6;6036;6009:62;:::i;:::-;6001:70;5961:116;-1:-1:-1;;;;5961:116:168:o;7915:154::-;8001:42;7994:5;7990:54;7983:5;7980:65;7970:2;;8059:1;8056;8049:12;7970:2;7960:109;:::o;8074:118::-;8160:5;8153:13;8146:21;8139:5;8136:32;8126:2;;8182:1;8179;8172:12",
    "linkReferences": {},
    "immutableReferences": {
      "10967": [
        {
          "start": 472,
          "length": 32
        },
        {
          "start": 1593,
          "length": 32
        }
      ],
      "7021": [
        {
          "start": 329,
          "length": 32
        },
        {
          "start": 1182,
          "length": 32
        },
        {
          "start": 1366,
          "length": 32
        },
        {
          "start": 2110,
          "length": 32
        }
      ]
    }
  },
  "methodIdentifiers": {
    "addressesOf(uint256)": "4cbcdc23",
    "beneficiaryOf(address)": "ba7bffd3",
    "deployAddress(uint256,string)": "9725b532",
    "operatorStore()": "ad007d63",
    "projects()": "8b79543c",
    "setPayerPreferences(address,bool)": "b9e55595",
    "setTerminal(uint256,address)": "9fc9ea47",
    "terminalOf(uint256)": "4fe0eced",
    "unstakedTicketsPreferenceOf(address)": "9dcbf9d6"
  },
  "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\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"DeployAddress\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"preferUnstakedTickets\",\"type\":\"bool\"}],\"name\":\"SetPayerPreferences\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"contract ITerminal\",\"name\":\"terminal\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTerminal\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"addressesOf\",\"outputs\":[{\"internalType\":\"contract IDirectPaymentAddress[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"beneficiaryOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"deployAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_preferUnstakedTickets\",\"type\":\"bool\"}],\"name\":\"setPayerPreferences\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"contract ITerminal\",\"name\":\"_terminal\",\"type\":\"address\"}],\"name\":\"setTerminal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"terminalOf\",\"outputs\":[{\"internalType\":\"contract ITerminal\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"unstakedTicketsPreferenceOf\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"addressesOf(uint256)\":{\"params\":{\"_projectId\":\"The ID of the project to get direct payment addresses for.\"},\"returns\":{\"_0\":\"A list of direct payment addresses for the specified project ID.\"}},\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\",\"_projects\":\"A Projects contract which mints ERC-721's that represent project ownership and transfers.\"}},\"deployAddress(uint256,string)\":{\"params\":{\"_memo\":\"The note to use for payments made through the new direct payment address.\",\"_projectId\":\"The ID of the project to deploy a direct payment address for.\"}},\"setPayerPreferences(address,bool)\":{\"params\":{\"_beneficiary\":\"The beneficiary to set.\",\"_preferUnstakedTickets\":\"The preference to set.\"}},\"setTerminal(uint256,address)\":{\"params\":{\"_projectId\":\"The ID of the project to set a new terminal for.\",\"_terminal\":\"The new terminal to set.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"addressesOf(uint256)\":{\"notice\":\" A list of all direct payment addresses for the specified project ID.\"},\"beneficiaryOf(address)\":{\"notice\":\"For each address, the address that will be used as the beneficiary of direct payments made.\"},\"deployAddress(uint256,string)\":{\"notice\":\" Allows anyone to deploy a new direct payment address for a project.\"},\"operatorStore()\":{\"notice\":\"A contract storing operator assignments.\"},\"projects()\":{\"notice\":\"The Projects contract which mints ERC-721's that represent project ownership and transfers.\"},\"setPayerPreferences(address,bool)\":{\"notice\":\" Allows any address to pre set the beneficiary of their payments to any direct payment address, and to pre set whether to prefer to unstake tickets into ERC20's when making a payment.\"},\"setTerminal(uint256,address)\":{\"notice\":\" Update the juicebox terminal that payments to direct payment addresses will be forwarded for the specified project ID.\"},\"terminalOf(uint256)\":{\"notice\":\"For each project ID, the juicebox terminal that the direct payment addresses are proxies for.\"},\"unstakedTicketsPreferenceOf(address)\":{\"notice\":\"For each address, the preference of whether ticket will be auto claimed as ERC20s when a payment is made.\"}},\"notice\":\"Allows project owners to deploy proxy contracts that can pay them when receiving funds directly.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v1/contracts/TerminalDirectory.sol\":\"TerminalDirectory\"},\"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/DirectPaymentAddress.sol\":{\"keccak256\":\"0x95d34a84120b227a0047f2c2dba09edbd31a2005d553eee317e27dba241a1aab\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://19fd580f29bf8abbea69b3f001c8c812aa802bd8be33139dad3a8112dde49cd7\",\"dweb:/ipfs/Qme2naKBgEYCApkoyUuPJtExVbxUDJFegGriwg3UqdsNqn\"]},\"lib/juice-contracts-v1/contracts/TerminalDirectory.sol\":{\"keccak256\":\"0xc572e9cd1810cd9df32400195f5f7b893b9f071a6dce3bc7f41ef00ed616a6f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://787a6460397f45e8ab7853e351bebc07f37a8f512fe4e4bea9e97ff3cde841aa\",\"dweb:/ipfs/QmZb4DtfP58xHo7nSxNSkGqQCNX7cgWSV4BwB99X3ardhN\"]},\"lib/juice-contracts-v1/contracts/abstract/Operatable.sol\":{\"keccak256\":\"0x5401b4930a799c898c61bbf3c27331f8f097fa326124ba95d2e119dc49bdd44e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e02afbbb07331870557db2855a200ce981730ad0466fe39cab65d1935746e8da\",\"dweb:/ipfs/QmaKSfeTnEZZzrCmUHBNQsrtet9m6utthEaS9bY3PrztVV\"]},\"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/libraries/Operations.sol\":{\"keccak256\":\"0xa1a020b014d0cf765fb61dc46f9ee91384fa8c68d93b131a90b9182baab6b1d1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://25e2dd96f2f676108c968e91892c7ef1346355a8ee3483577149a986469e3eec\",\"dweb:/ipfs/QmNoFZ2EUyLfLPzWHNzguYzSX7YF36Z2k24oVgPF2DxuQ1\"]},\"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"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"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "constructor"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string",
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": true
            }
          ],
          "type": "event",
          "name": "DeployAddress",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "account",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "bool",
              "name": "preferUnstakedTickets",
              "type": "bool",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetPayerPreferences",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "contract ITerminal",
              "name": "terminal",
              "type": "address",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetTerminal",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "addressesOf",
          "outputs": [
            {
              "internalType": "contract IDirectPaymentAddress[]",
              "name": "",
              "type": "address[]"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "beneficiaryOf",
          "outputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "deployAddress"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "operatorStore",
          "outputs": [
            {
              "internalType": "contract IOperatorStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "projects",
          "outputs": [
            {
              "internalType": "contract IProjects",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_beneficiary",
              "type": "address"
            },
            {
              "internalType": "bool",
              "name": "_preferUnstakedTickets",
              "type": "bool"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setPayerPreferences"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "contract ITerminal",
              "name": "_terminal",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setTerminal"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "terminalOf",
          "outputs": [
            {
              "internalType": "contract ITerminal",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "unstakedTicketsPreferenceOf",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "addressesOf(uint256)": {
            "params": {
              "_projectId": "The ID of the project to get direct payment addresses for."
            },
            "returns": {
              "_0": "A list of direct payment addresses for the specified project ID."
            }
          },
          "constructor": {
            "params": {
              "_operatorStore": "A contract storing operator assignments.",
              "_projects": "A Projects contract which mints ERC-721's that represent project ownership and transfers."
            }
          },
          "deployAddress(uint256,string)": {
            "params": {
              "_memo": "The note to use for payments made through the new direct payment address.",
              "_projectId": "The ID of the project to deploy a direct payment address for."
            }
          },
          "setPayerPreferences(address,bool)": {
            "params": {
              "_beneficiary": "The beneficiary to set.",
              "_preferUnstakedTickets": "The preference to set."
            }
          },
          "setTerminal(uint256,address)": {
            "params": {
              "_projectId": "The ID of the project to set a new terminal for.",
              "_terminal": "The new terminal to set."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "addressesOf(uint256)": {
            "notice": " A list of all direct payment addresses for the specified project ID."
          },
          "beneficiaryOf(address)": {
            "notice": "For each address, the address that will be used as the beneficiary of direct payments made."
          },
          "deployAddress(uint256,string)": {
            "notice": " Allows anyone to deploy a new direct payment address for a project."
          },
          "operatorStore()": {
            "notice": "A contract storing operator assignments."
          },
          "projects()": {
            "notice": "The Projects contract which mints ERC-721's that represent project ownership and transfers."
          },
          "setPayerPreferences(address,bool)": {
            "notice": " Allows any address to pre set the beneficiary of their payments to any direct payment address, and to pre set whether to prefer to unstake tickets into ERC20's when making a payment."
          },
          "setTerminal(uint256,address)": {
            "notice": " Update the juicebox terminal that payments to direct payment addresses will be forwarded for the specified project ID."
          },
          "terminalOf(uint256)": {
            "notice": "For each project ID, the juicebox terminal that the direct payment addresses are proxies for."
          },
          "unstakedTicketsPreferenceOf(address)": {
            "notice": "For each address, the preference of whether ticket will be auto claimed as ERC20s when a payment is made."
          }
        },
        "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/TerminalDirectory.sol": "TerminalDirectory"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v1/contracts/DirectPaymentAddress.sol": {
        "keccak256": "0x95d34a84120b227a0047f2c2dba09edbd31a2005d553eee317e27dba241a1aab",
        "urls": [
          "bzz-raw://19fd580f29bf8abbea69b3f001c8c812aa802bd8be33139dad3a8112dde49cd7",
          "dweb:/ipfs/Qme2naKBgEYCApkoyUuPJtExVbxUDJFegGriwg3UqdsNqn"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/TerminalDirectory.sol": {
        "keccak256": "0xc572e9cd1810cd9df32400195f5f7b893b9f071a6dce3bc7f41ef00ed616a6f3",
        "urls": [
          "bzz-raw://787a6460397f45e8ab7853e351bebc07f37a8f512fe4e4bea9e97ff3cde841aa",
          "dweb:/ipfs/QmZb4DtfP58xHo7nSxNSkGqQCNX7cgWSV4BwB99X3ardhN"
        ],
        "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/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/libraries/Operations.sol": {
        "keccak256": "0xa1a020b014d0cf765fb61dc46f9ee91384fa8c68d93b131a90b9182baab6b1d1",
        "urls": [
          "bzz-raw://25e2dd96f2f676108c968e91892c7ef1346355a8ee3483577149a986469e3eec",
          "dweb:/ipfs/QmNoFZ2EUyLfLPzWHNzguYzSX7YF36Z2k24oVgPF2DxuQ1"
        ],
        "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/introspection/IERC165.sol": {
        "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
        "urls": [
          "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
          "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v1/contracts/TerminalDirectory.sol",
    "id": 7277,
    "exportedSymbols": {
      "DirectPaymentAddress": [
        3148
      ],
      "IDirectPaymentAddress": [
        36101
      ],
      "IERC165": [
        38868
      ],
      "IERC721": [
        37612
      ],
      "IOperatable": [
        11358
      ],
      "IOperatorStore": [
        36269
      ],
      "IProjects": [
        36554
      ],
      "ITerminal": [
        36604
      ],
      "ITerminalDirectory": [
        36192
      ],
      "Operatable": [
        10980
      ],
      "Operations": [
        12243
      ],
      "TerminalDirectory": [
        7276
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:5630:33",
    "nodes": [
      {
        "id": 6999,
        "nodeType": "PragmaDirective",
        "src": "32:22:33",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 7000,
        "nodeType": "ImportDirective",
        "src": "56:36:33",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/interfaces/ITerminal.sol",
        "file": "./interfaces/ITerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 7277,
        "sourceUnit": 36605,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 7001,
        "nodeType": "ImportDirective",
        "src": "93:45:33",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/interfaces/ITerminalDirectory.sol",
        "file": "./interfaces/ITerminalDirectory.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 7277,
        "sourceUnit": 36193,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 7002,
        "nodeType": "ImportDirective",
        "src": "139:36:33",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/interfaces/IProjects.sol",
        "file": "./interfaces/IProjects.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 7277,
        "sourceUnit": 36555,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 7003,
        "nodeType": "ImportDirective",
        "src": "177:35:33",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/abstract/Operatable.sol",
        "file": "./abstract/Operatable.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 7277,
        "sourceUnit": 10981,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 7004,
        "nodeType": "ImportDirective",
        "src": "214:36:33",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/libraries/Operations.sol",
        "file": "./libraries/Operations.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 7277,
        "sourceUnit": 12244,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 7005,
        "nodeType": "ImportDirective",
        "src": "252:36:33",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/DirectPaymentAddress.sol",
        "file": "./DirectPaymentAddress.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 7277,
        "sourceUnit": 3149,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 7276,
        "nodeType": "ContractDefinition",
        "src": "406:5255:33",
        "nodes": [
          {
            "id": 7016,
            "nodeType": "VariableDeclaration",
            "src": "592:64:33",
            "nodes": [],
            "constant": false,
            "mutability": "mutable",
            "name": "_addressesOf",
            "nameLocation": "644:12:33",
            "scope": 7276,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_$",
              "typeString": "mapping(uint256 => contract IDirectPaymentAddress[])"
            },
            "typeName": {
              "id": 7015,
              "keyType": {
                "id": 7011,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "600:7:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "592:43:33",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_$",
                "typeString": "mapping(uint256 => contract IDirectPaymentAddress[])"
              },
              "valueType": {
                "baseType": {
                  "id": 7013,
                  "nodeType": "UserDefinedTypeName",
                  "pathNode": {
                    "id": 7012,
                    "name": "IDirectPaymentAddress",
                    "nodeType": "IdentifierPath",
                    "referencedDeclaration": 36101,
                    "src": "611:21:33"
                  },
                  "referencedDeclaration": 36101,
                  "src": "611:21:33",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IDirectPaymentAddress_$36101",
                    "typeString": "contract IDirectPaymentAddress"
                  }
                },
                "id": 7014,
                "nodeType": "ArrayTypeName",
                "src": "611:23:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_ptr",
                  "typeString": "contract IDirectPaymentAddress[]"
                }
              }
            },
            "visibility": "private"
          },
          {
            "id": 7021,
            "nodeType": "VariableDeclaration",
            "src": "819:44:33",
            "nodes": [],
            "baseFunctions": [
              36138
            ],
            "constant": false,
            "documentation": {
              "id": 7017,
              "nodeType": "StructuredDocumentation",
              "src": "713:103:33",
              "text": "@notice The Projects contract which mints ERC-721's that represent project ownership and transfers."
            },
            "functionSelector": "8b79543c",
            "mutability": "immutable",
            "name": "projects",
            "nameLocation": "855:8:33",
            "overrides": {
              "id": 7020,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "846:8:33"
            },
            "scope": 7276,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IProjects_$36554",
              "typeString": "contract IProjects"
            },
            "typeName": {
              "id": 7019,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 7018,
                "name": "IProjects",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 36554,
                "src": "819:9:33"
              },
              "referencedDeclaration": 36554,
              "src": "819:9:33",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IProjects_$36554",
                "typeString": "contract IProjects"
              }
            },
            "visibility": "public"
          },
          {
            "id": 7028,
            "nodeType": "VariableDeclaration",
            "src": "1018:56:33",
            "nodes": [],
            "baseFunctions": [
              36146
            ],
            "constant": false,
            "documentation": {
              "id": 7022,
              "nodeType": "StructuredDocumentation",
              "src": "910:105:33",
              "text": "@notice For each project ID, the juicebox terminal that the direct payment addresses are proxies for."
            },
            "functionSelector": "4fe0eced",
            "mutability": "mutable",
            "name": "terminalOf",
            "nameLocation": "1064:10:33",
            "overrides": {
              "id": 7027,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1055:8:33"
            },
            "scope": 7276,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITerminal_$36604_$",
              "typeString": "mapping(uint256 => contract ITerminal)"
            },
            "typeName": {
              "id": 7026,
              "keyType": {
                "id": 7023,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "1026:7:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "1018:29:33",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITerminal_$36604_$",
                "typeString": "mapping(uint256 => contract ITerminal)"
              },
              "valueType": {
                "id": 7025,
                "nodeType": "UserDefinedTypeName",
                "pathNode": {
                  "id": 7024,
                  "name": "ITerminal",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 36604,
                  "src": "1037:9:33"
                },
                "referencedDeclaration": 36604,
                "src": "1037:9:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_ITerminal_$36604",
                  "typeString": "contract ITerminal"
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 7034,
            "nodeType": "VariableDeclaration",
            "src": "1185:57:33",
            "nodes": [],
            "baseFunctions": [
              36153
            ],
            "constant": false,
            "documentation": {
              "id": 7029,
              "nodeType": "StructuredDocumentation",
              "src": "1079:103:33",
              "text": "@notice For each address, the address that will be used as the beneficiary of direct payments made."
            },
            "functionSelector": "ba7bffd3",
            "mutability": "mutable",
            "name": "beneficiaryOf",
            "nameLocation": "1229:13:33",
            "overrides": {
              "id": 7033,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1220:8:33"
            },
            "scope": 7276,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_address_$",
              "typeString": "mapping(address => address)"
            },
            "typeName": {
              "id": 7032,
              "keyType": {
                "id": 7030,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1193:7:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1185:27:33",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_address_$",
                "typeString": "mapping(address => address)"
              },
              "valueType": {
                "id": 7031,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1204:7:33",
                "stateMutability": "nonpayable",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 7040,
            "nodeType": "VariableDeclaration",
            "src": "1367:68:33",
            "nodes": [],
            "baseFunctions": [
              36160
            ],
            "constant": false,
            "documentation": {
              "id": 7035,
              "nodeType": "StructuredDocumentation",
              "src": "1247:117:33",
              "text": "@notice For each address, the preference of whether ticket will be auto claimed as ERC20s when a payment is made."
            },
            "functionSelector": "9dcbf9d6",
            "mutability": "mutable",
            "name": "unstakedTicketsPreferenceOf",
            "nameLocation": "1408:27:33",
            "overrides": {
              "id": 7039,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1399:8:33"
            },
            "scope": 7276,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
              "typeString": "mapping(address => bool)"
            },
            "typeName": {
              "id": 7038,
              "keyType": {
                "id": 7036,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "1375:7:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "1367:24:33",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                "typeString": "mapping(address => bool)"
              },
              "valueType": {
                "id": 7037,
                "name": "bool",
                "nodeType": "ElementaryTypeName",
                "src": "1386:4:33",
                "typeDescriptions": {
                  "typeIdentifier": "t_bool",
                  "typeString": "bool"
                }
              }
            },
            "visibility": "public"
          },
          {
            "id": 7056,
            "nodeType": "FunctionDefinition",
            "src": "1740:165:33",
            "nodes": [],
            "body": {
              "id": 7055,
              "nodeType": "Block",
              "src": "1863:42:33",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "baseExpression": {
                      "id": 7051,
                      "name": "_addressesOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7016,
                      "src": "1876:12:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_$",
                        "typeString": "mapping(uint256 => contract IDirectPaymentAddress[] storage ref)"
                      }
                    },
                    "id": 7053,
                    "indexExpression": {
                      "id": 7052,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7043,
                      "src": "1889:10:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1876:24:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage",
                      "typeString": "contract IDirectPaymentAddress[] storage ref"
                    }
                  },
                  "functionReturnParameters": 7050,
                  "id": 7054,
                  "nodeType": "Return",
                  "src": "1869:31:33"
                }
              ]
            },
            "baseFunctions": [
              36169
            ],
            "documentation": {
              "id": 7041,
              "nodeType": "StructuredDocumentation",
              "src": "1472:265:33",
              "text": "@notice \nA list of all direct payment addresses for the specified project ID.\n@param _projectId The ID of the project to get direct payment addresses for.\n@return A list of direct payment addresses for the specified project ID."
            },
            "functionSelector": "4cbcdc23",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "addressesOf",
            "nameLocation": "1749:11:33",
            "overrides": {
              "id": 7045,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1807:8:33"
            },
            "parameters": {
              "id": 7044,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7043,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1769:10:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7056,
                  "src": "1761:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7042,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1761:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1760:20:33"
            },
            "returnParameters": {
              "id": 7050,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7049,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 7056,
                  "src": "1829:30:33",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_memory_ptr",
                    "typeString": "contract IDirectPaymentAddress[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 7047,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 7046,
                        "name": "IDirectPaymentAddress",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 36101,
                        "src": "1829:21:33"
                      },
                      "referencedDeclaration": 36101,
                      "src": "1829:21:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IDirectPaymentAddress_$36101",
                        "typeString": "contract IDirectPaymentAddress"
                      }
                    },
                    "id": 7048,
                    "nodeType": "ArrayTypeName",
                    "src": "1829:23:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_ptr",
                      "typeString": "contract IDirectPaymentAddress[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1828:32:33"
            },
            "scope": 7276,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 7074,
            "nodeType": "FunctionDefinition",
            "src": "2144:122:33",
            "nodes": [],
            "body": {
              "id": 7073,
              "nodeType": "Block",
              "src": "2235:31:33",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 7071,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 7069,
                      "name": "projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7021,
                      "src": "2241:8:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IProjects_$36554",
                        "typeString": "contract IProjects"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 7070,
                      "name": "_projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7060,
                      "src": "2252:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IProjects_$36554",
                        "typeString": "contract IProjects"
                      }
                    },
                    "src": "2241:20:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IProjects_$36554",
                      "typeString": "contract IProjects"
                    }
                  },
                  "id": 7072,
                  "nodeType": "ExpressionStatement",
                  "src": "2241:20:33"
                }
              ]
            },
            "documentation": {
              "id": 7057,
              "nodeType": "StructuredDocumentation",
              "src": "1948:193:33",
              "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."
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 7066,
                    "name": "_operatorStore",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 7063,
                    "src": "2219:14:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                      "typeString": "contract IOperatorStore"
                    }
                  }
                ],
                "id": 7067,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 7065,
                  "name": "Operatable",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10980,
                  "src": "2208:10:33"
                },
                "nodeType": "ModifierInvocation",
                "src": "2208:26:33"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 7064,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7060,
                  "mutability": "mutable",
                  "name": "_projects",
                  "nameLocation": "2166:9:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7074,
                  "src": "2156:19:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IProjects_$36554",
                    "typeString": "contract IProjects"
                  },
                  "typeName": {
                    "id": 7059,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 7058,
                      "name": "IProjects",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36554,
                      "src": "2156:9:33"
                    },
                    "referencedDeclaration": 36554,
                    "src": "2156:9:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IProjects_$36554",
                      "typeString": "contract IProjects"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7063,
                  "mutability": "mutable",
                  "name": "_operatorStore",
                  "nameLocation": "2192:14:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7074,
                  "src": "2177:29:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                    "typeString": "contract IOperatorStore"
                  },
                  "typeName": {
                    "id": 7062,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 7061,
                      "name": "IOperatorStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36269,
                      "src": "2177:14:33"
                    },
                    "referencedDeclaration": 36269,
                    "src": "2177:14:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                      "typeString": "contract IOperatorStore"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2155:52:33"
            },
            "returnParameters": {
              "id": 7068,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2235:0:33"
            },
            "scope": 7276,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "id": 7111,
            "nodeType": "FunctionDefinition",
            "src": "2553:363:33",
            "nodes": [],
            "body": {
              "id": 7110,
              "nodeType": "Block",
              "src": "2637:279:33",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 7086,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 7084,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7077,
                          "src": "2651:10:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 7085,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2664:1:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "2651:14:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5465726d696e616c4469726563746f72793a3a6465706c6f79416464726573733a205a45524f5f50524f4a454354",
                        "id": 7087,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2667:48:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_1225f5411dcea9af0717f2b176ccbfafc09b2c1bda11903c01c9cfb78f472a38",
                          "typeString": "literal_string \"TerminalDirectory::deployAddress: ZERO_PROJECT\""
                        },
                        "value": "TerminalDirectory::deployAddress: ZERO_PROJECT"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_1225f5411dcea9af0717f2b176ccbfafc09b2c1bda11903c01c9cfb78f472a38",
                          "typeString": "literal_string \"TerminalDirectory::deployAddress: ZERO_PROJECT\""
                        }
                      ],
                      "id": 7083,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "2643:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 7088,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2643:73:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7089,
                  "nodeType": "ExpressionStatement",
                  "src": "2643:73:33"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "id": 7097,
                            "name": "this",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -28,
                            "src": "2830:4:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_TerminalDirectory_$7276",
                              "typeString": "contract TerminalDirectory"
                            }
                          },
                          {
                            "id": 7098,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7077,
                            "src": "2836:10:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          {
                            "id": 7099,
                            "name": "_memo",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7079,
                            "src": "2848:5:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_string_calldata_ptr",
                              "typeString": "string calldata"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_TerminalDirectory_$7276",
                              "typeString": "contract TerminalDirectory"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            {
                              "typeIdentifier": "t_string_calldata_ptr",
                              "typeString": "string calldata"
                            }
                          ],
                          "id": 7096,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "NewExpression",
                          "src": "2805:24:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_creation_nonpayable$_t_contract$_ITerminalDirectory_$36192_$_t_uint256_$_t_string_memory_ptr_$returns$_t_contract$_DirectPaymentAddress_$3148_$",
                            "typeString": "function (contract ITerminalDirectory,uint256,string memory) returns (contract DirectPaymentAddress)"
                          },
                          "typeName": {
                            "id": 7095,
                            "nodeType": "UserDefinedTypeName",
                            "pathNode": {
                              "id": 7094,
                              "name": "DirectPaymentAddress",
                              "nodeType": "IdentifierPath",
                              "referencedDeclaration": 3148,
                              "src": "2809:20:33"
                            },
                            "referencedDeclaration": 3148,
                            "src": "2809:20:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_DirectPaymentAddress_$3148",
                              "typeString": "contract DirectPaymentAddress"
                            }
                          }
                        },
                        "id": 7100,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2805:49:33",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_DirectPaymentAddress_$3148",
                          "typeString": "contract DirectPaymentAddress"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_DirectPaymentAddress_$3148",
                          "typeString": "contract DirectPaymentAddress"
                        }
                      ],
                      "expression": {
                        "baseExpression": {
                          "id": 7090,
                          "name": "_addressesOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7016,
                          "src": "2775:12:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_$",
                            "typeString": "mapping(uint256 => contract IDirectPaymentAddress[] storage ref)"
                          }
                        },
                        "id": 7092,
                        "indexExpression": {
                          "id": 7091,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7077,
                          "src": "2788:10:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "2775:24:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage",
                          "typeString": "contract IDirectPaymentAddress[] storage ref"
                        }
                      },
                      "id": 7093,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "push",
                      "nodeType": "MemberAccess",
                      "src": "2775:29:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_ptr_$_t_contract$_IDirectPaymentAddress_$36101_$returns$__$bound_to$_t_array$_t_contract$_IDirectPaymentAddress_$36101_$dyn_storage_ptr_$",
                        "typeString": "function (contract IDirectPaymentAddress[] storage pointer,contract IDirectPaymentAddress)"
                      }
                    },
                    "id": 7101,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2775:80:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7102,
                  "nodeType": "ExpressionStatement",
                  "src": "2775:80:33"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 7104,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7077,
                        "src": "2881:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 7105,
                        "name": "_memo",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7079,
                        "src": "2893:5:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        }
                      },
                      {
                        "expression": {
                          "id": 7106,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "2900:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 7107,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "2900:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_string_calldata_ptr",
                          "typeString": "string calldata"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 7103,
                      "name": "DeployAddress",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36115,
                      "src": "2867:13:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_address_$returns$__$",
                        "typeString": "function (uint256,string memory,address)"
                      }
                    },
                    "id": 7108,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2867:44:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7109,
                  "nodeType": "EmitStatement",
                  "src": "2862:49:33"
                }
              ]
            },
            "baseFunctions": [
              36176
            ],
            "documentation": {
              "id": 7075,
              "nodeType": "StructuredDocumentation",
              "src": "2270:280:33",
              "text": "@notice \nAllows anyone to deploy a new direct payment address for a project.\n@param _projectId The ID of the project to deploy a direct payment address for.\n@param _memo The note to use for payments made through the new direct payment address."
            },
            "functionSelector": "9725b532",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "deployAddress",
            "nameLocation": "2562:13:33",
            "overrides": {
              "id": 7081,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2628:8:33"
            },
            "parameters": {
              "id": 7080,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7077,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "2584:10:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7111,
                  "src": "2576:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7076,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2576:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7079,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "2612:5:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7111,
                  "src": "2596:21:33",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 7078,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "2596:6:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2575:43:33"
            },
            "returnParameters": {
              "id": 7082,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2637:0:33"
            },
            "scope": 7276,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 7244,
            "nodeType": "FunctionDefinition",
            "src": "3196:1815:33",
            "nodes": [],
            "body": {
              "id": 7243,
              "nodeType": "Block",
              "src": "3276:1735:33",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    7123
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 7123,
                      "mutability": "mutable",
                      "name": "_currentTerminal",
                      "nameLocation": "3351:16:33",
                      "nodeType": "VariableDeclaration",
                      "scope": 7243,
                      "src": "3341:26:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITerminal_$36604",
                        "typeString": "contract ITerminal"
                      },
                      "typeName": {
                        "id": 7122,
                        "nodeType": "UserDefinedTypeName",
                        "pathNode": {
                          "id": 7121,
                          "name": "ITerminal",
                          "nodeType": "IdentifierPath",
                          "referencedDeclaration": 36604,
                          "src": "3341:9:33"
                        },
                        "referencedDeclaration": 36604,
                        "src": "3341:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 7127,
                  "initialValue": {
                    "baseExpression": {
                      "id": 7124,
                      "name": "terminalOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7028,
                      "src": "3370:10:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITerminal_$36604_$",
                        "typeString": "mapping(uint256 => contract ITerminal)"
                      }
                    },
                    "id": 7126,
                    "indexExpression": {
                      "id": 7125,
                      "name": "_projectId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7114,
                      "src": "3381:10:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "3370:22:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminal_$36604",
                      "typeString": "contract ITerminal"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3341:51:33"
                },
                {
                  "assignments": [
                    7129
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 7129,
                      "mutability": "mutable",
                      "name": "_projectOwner",
                      "nameLocation": "3407:13:33",
                      "nodeType": "VariableDeclaration",
                      "scope": 7243,
                      "src": "3399:21:33",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 7128,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "3399:7:33",
                        "stateMutability": "nonpayable",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 7134,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 7132,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7114,
                        "src": "3440:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 7130,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7021,
                        "src": "3423:8:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IProjects_$36554",
                          "typeString": "contract IProjects"
                        }
                      },
                      "id": 7131,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "3423:16:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 7133,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3423:28:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3399:52:33"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "id": 7201,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "commonType": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "id": 7169,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "components": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                "id": 7160,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_contract$_ITerminal_$36604",
                                    "typeString": "contract ITerminal"
                                  },
                                  "id": 7143,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 7136,
                                    "name": "_currentTerminal",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 7123,
                                    "src": "3926:16:33",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ITerminal_$36604",
                                      "typeString": "contract ITerminal"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "==",
                                  "rightExpression": {
                                    "arguments": [
                                      {
                                        "arguments": [
                                          {
                                            "hexValue": "30",
                                            "id": 7140,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "kind": "number",
                                            "lValueRequested": false,
                                            "nodeType": "Literal",
                                            "src": "3964:1:33",
                                            "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": 7139,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "lValueRequested": false,
                                          "nodeType": "ElementaryTypeNameExpression",
                                          "src": "3956:7:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_address_$",
                                            "typeString": "type(address)"
                                          },
                                          "typeName": {
                                            "id": 7138,
                                            "name": "address",
                                            "nodeType": "ElementaryTypeName",
                                            "src": "3956:7:33",
                                            "typeDescriptions": {}
                                          }
                                        },
                                        "id": 7141,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "3956:10:33",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      ],
                                      "id": 7137,
                                      "name": "ITerminal",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 36604,
                                      "src": "3946:9:33",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_ITerminal_$36604_$",
                                        "typeString": "type(contract ITerminal)"
                                      }
                                    },
                                    "id": 7142,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "typeConversion",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "3946:21:33",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_contract$_ITerminal_$36604",
                                      "typeString": "contract ITerminal"
                                    }
                                  },
                                  "src": "3926:41:33",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "&&",
                                "rightExpression": {
                                  "components": [
                                    {
                                      "commonType": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      },
                                      "id": 7158,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "commonType": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        "id": 7150,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "expression": {
                                            "id": 7144,
                                            "name": "msg",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": -15,
                                            "src": "3980:3:33",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_magic_message",
                                              "typeString": "msg"
                                            }
                                          },
                                          "id": 7145,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "sender",
                                          "nodeType": "MemberAccess",
                                          "src": "3980:10:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "==",
                                        "rightExpression": {
                                          "arguments": [
                                            {
                                              "id": 7148,
                                              "name": "projects",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 7021,
                                              "src": "4002:8:33",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_IProjects_$36554",
                                                "typeString": "contract IProjects"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_contract$_IProjects_$36554",
                                                "typeString": "contract IProjects"
                                              }
                                            ],
                                            "id": 7147,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "lValueRequested": false,
                                            "nodeType": "ElementaryTypeNameExpression",
                                            "src": "3994:7:33",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_type$_t_address_$",
                                              "typeString": "type(address)"
                                            },
                                            "typeName": {
                                              "id": 7146,
                                              "name": "address",
                                              "nodeType": "ElementaryTypeName",
                                              "src": "3994:7:33",
                                              "typeDescriptions": {}
                                            }
                                          },
                                          "id": 7149,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "typeConversion",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "3994:17:33",
                                          "tryCall": false,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "src": "3980:31:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "||",
                                      "rightExpression": {
                                        "commonType": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        },
                                        "id": 7157,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "expression": {
                                            "id": 7151,
                                            "name": "msg",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": -15,
                                            "src": "4015:3:33",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_magic_message",
                                              "typeString": "msg"
                                            }
                                          },
                                          "id": 7152,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "sender",
                                          "nodeType": "MemberAccess",
                                          "src": "4015:10:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "==",
                                        "rightExpression": {
                                          "arguments": [
                                            {
                                              "id": 7155,
                                              "name": "_terminal",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 7117,
                                              "src": "4037:9:33",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_ITerminal_$36604",
                                                "typeString": "contract ITerminal"
                                              }
                                            }
                                          ],
                                          "expression": {
                                            "argumentTypes": [
                                              {
                                                "typeIdentifier": "t_contract$_ITerminal_$36604",
                                                "typeString": "contract ITerminal"
                                              }
                                            ],
                                            "id": 7154,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "lValueRequested": false,
                                            "nodeType": "ElementaryTypeNameExpression",
                                            "src": "4029:7:33",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_type$_t_address_$",
                                              "typeString": "type(address)"
                                            },
                                            "typeName": {
                                              "id": 7153,
                                              "name": "address",
                                              "nodeType": "ElementaryTypeName",
                                              "src": "4029:7:33",
                                              "typeDescriptions": {}
                                            }
                                          },
                                          "id": 7156,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "kind": "typeConversion",
                                          "lValueRequested": false,
                                          "names": [],
                                          "nodeType": "FunctionCall",
                                          "src": "4029:18:33",
                                          "tryCall": false,
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        "src": "4015:32:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "src": "3980:67:33",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    }
                                  ],
                                  "id": 7159,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "3979:69:33",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "src": "3926:122:33",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              }
                            ],
                            "id": 7161,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "TupleExpression",
                            "src": "3925:124:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "||",
                          "rightExpression": {
                            "commonType": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            "id": 7168,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "expression": {
                                "id": 7162,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "4080:3:33",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 7163,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "4080:10:33",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "==",
                            "rightExpression": {
                              "arguments": [
                                {
                                  "id": 7166,
                                  "name": "_currentTerminal",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 7123,
                                  "src": "4102:16:33",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_ITerminal_$36604",
                                    "typeString": "contract ITerminal"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_contract$_ITerminal_$36604",
                                    "typeString": "contract ITerminal"
                                  }
                                ],
                                "id": 7165,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "4094:7:33",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 7164,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "4094:7:33",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 7167,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "4094:25:33",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "src": "4080:39:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "src": "3925:194:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "||",
                        "rightExpression": {
                          "components": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "id": 7199,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "components": [
                                  {
                                    "commonType": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    "id": 7183,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "commonType": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      },
                                      "id": 7173,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "expression": {
                                          "id": 7170,
                                          "name": "msg",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": -15,
                                          "src": "4152:3:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_magic_message",
                                            "typeString": "msg"
                                          }
                                        },
                                        "id": 7171,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "sender",
                                        "nodeType": "MemberAccess",
                                        "src": "4152:10:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "==",
                                      "rightExpression": {
                                        "id": 7172,
                                        "name": "_projectOwner",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 7129,
                                        "src": "4166:13:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_address",
                                          "typeString": "address"
                                        }
                                      },
                                      "src": "4152:27:33",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "||",
                                    "rightExpression": {
                                      "arguments": [
                                        {
                                          "expression": {
                                            "id": 7176,
                                            "name": "msg",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": -15,
                                            "src": "4234:3:33",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_magic_message",
                                              "typeString": "msg"
                                            }
                                          },
                                          "id": 7177,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "sender",
                                          "nodeType": "MemberAccess",
                                          "src": "4234:10:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        {
                                          "id": 7178,
                                          "name": "_projectOwner",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7129,
                                          "src": "4258:13:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          }
                                        },
                                        {
                                          "id": 7179,
                                          "name": "_projectId",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7114,
                                          "src": "4285:10:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        {
                                          "expression": {
                                            "id": 7180,
                                            "name": "Operations",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 12243,
                                            "src": "4309:10:33",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                                              "typeString": "type(library Operations)"
                                            }
                                          },
                                          "id": 7181,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "SetTerminal",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 12239,
                                          "src": "4309:22:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          },
                                          {
                                            "typeIdentifier": "t_address",
                                            "typeString": "address"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          },
                                          {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        ],
                                        "expression": {
                                          "id": 7174,
                                          "name": "operatorStore",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10967,
                                          "src": "4193:13:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                                            "typeString": "contract IOperatorStore"
                                          }
                                        },
                                        "id": 7175,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "hasPermission",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 36231,
                                        "src": "4193:27:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$",
                                          "typeString": "function (address,address,uint256,uint256) view external returns (bool)"
                                        }
                                      },
                                      "id": 7182,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "4193:150:33",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "src": "4152:191:33",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "id": 7184,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "TupleExpression",
                                "src": "4151:193:33",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "&&",
                              "rightExpression": {
                                "components": [
                                  {
                                    "commonType": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    "id": 7197,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "commonType": {
                                        "typeIdentifier": "t_contract$_ITerminal_$36604",
                                        "typeString": "contract ITerminal"
                                      },
                                      "id": 7192,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "id": 7185,
                                        "name": "_currentTerminal",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 7123,
                                        "src": "4359:16:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                                          "typeString": "contract ITerminal"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "==",
                                      "rightExpression": {
                                        "arguments": [
                                          {
                                            "arguments": [
                                              {
                                                "hexValue": "30",
                                                "id": 7189,
                                                "isConstant": false,
                                                "isLValue": false,
                                                "isPure": true,
                                                "kind": "number",
                                                "lValueRequested": false,
                                                "nodeType": "Literal",
                                                "src": "4397:1:33",
                                                "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": 7188,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": true,
                                              "lValueRequested": false,
                                              "nodeType": "ElementaryTypeNameExpression",
                                              "src": "4389:7:33",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_type$_t_address_$",
                                                "typeString": "type(address)"
                                              },
                                              "typeName": {
                                                "id": 7187,
                                                "name": "address",
                                                "nodeType": "ElementaryTypeName",
                                                "src": "4389:7:33",
                                                "typeDescriptions": {}
                                              }
                                            },
                                            "id": 7190,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": true,
                                            "kind": "typeConversion",
                                            "lValueRequested": false,
                                            "names": [],
                                            "nodeType": "FunctionCall",
                                            "src": "4389:10:33",
                                            "tryCall": false,
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_address",
                                              "typeString": "address"
                                            }
                                          ],
                                          "id": 7186,
                                          "name": "ITerminal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 36604,
                                          "src": "4379:9:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_type$_t_contract$_ITerminal_$36604_$",
                                            "typeString": "type(contract ITerminal)"
                                          }
                                        },
                                        "id": 7191,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "typeConversion",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "4379:21:33",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                                          "typeString": "contract ITerminal"
                                        }
                                      },
                                      "src": "4359:41:33",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "||",
                                    "rightExpression": {
                                      "arguments": [
                                        {
                                          "id": 7195,
                                          "name": "_terminal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7117,
                                          "src": "4452:9:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_ITerminal_$36604",
                                            "typeString": "contract ITerminal"
                                          }
                                        }
                                      ],
                                      "expression": {
                                        "argumentTypes": [
                                          {
                                            "typeIdentifier": "t_contract$_ITerminal_$36604",
                                            "typeString": "contract ITerminal"
                                          }
                                        ],
                                        "expression": {
                                          "id": 7193,
                                          "name": "_currentTerminal",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 7123,
                                          "src": "4416:16:33",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_contract$_ITerminal_$36604",
                                            "typeString": "contract ITerminal"
                                          }
                                        },
                                        "id": 7194,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "memberName": "migrationIsAllowed",
                                        "nodeType": "MemberAccess",
                                        "referencedDeclaration": 36571,
                                        "src": "4416:35:33",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_function_external_view$_t_contract$_ITerminal_$36604_$returns$_t_bool_$",
                                          "typeString": "function (contract ITerminal) view external returns (bool)"
                                        }
                                      },
                                      "id": 7196,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "kind": "functionCall",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "4416:46:33",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "src": "4359:103:33",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  }
                                ],
                                "id": 7198,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "TupleExpression",
                                "src": "4358:105:33",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "src": "4151:312:33",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            }
                          ],
                          "id": 7200,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "4150:314:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "src": "3925:539:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a20554e415554484f52495a4544",
                        "id": 7202,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4472:46:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_cae9bf033fbb37d52d080998d5921831d822b5c796a5fda4db7536083986e0a1",
                          "typeString": "literal_string \"TerminalDirectory::setTerminal: UNAUTHORIZED\""
                        },
                        "value": "TerminalDirectory::setTerminal: UNAUTHORIZED"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_cae9bf033fbb37d52d080998d5921831d822b5c796a5fda4db7536083986e0a1",
                          "typeString": "literal_string \"TerminalDirectory::setTerminal: UNAUTHORIZED\""
                        }
                      ],
                      "id": 7135,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "3893:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 7203,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3893:631:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7204,
                  "nodeType": "ExpressionStatement",
                  "src": "3893:631:33"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "id": 7208,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7114,
                            "src": "4586:10:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 7206,
                            "name": "projects",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 7021,
                            "src": "4570:8:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IProjects_$36554",
                              "typeString": "contract IProjects"
                            }
                          },
                          "id": 7207,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "exists",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 36505,
                          "src": "4570:15:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_bool_$",
                            "typeString": "function (uint256) view external returns (bool)"
                          }
                        },
                        "id": 7209,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4570:27:33",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a204e4f545f464f554e44",
                        "id": 7210,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4599:43:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_c44977b2a9812f881dcb386daf4bbaca987b900108433a037a5f6335a8c234b8",
                          "typeString": "literal_string \"TerminalDirectory::setTerminal: NOT_FOUND\""
                        },
                        "value": "TerminalDirectory::setTerminal: NOT_FOUND"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_c44977b2a9812f881dcb386daf4bbaca987b900108433a037a5f6335a8c234b8",
                          "typeString": "literal_string \"TerminalDirectory::setTerminal: NOT_FOUND\""
                        }
                      ],
                      "id": 7205,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "4562:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 7211,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4562:81:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7212,
                  "nodeType": "ExpressionStatement",
                  "src": "4562:81:33"
                },
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        },
                        "id": 7221,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 7214,
                          "name": "_terminal",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 7117,
                          "src": "4693:9:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITerminal_$36604",
                            "typeString": "contract ITerminal"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 7218,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "4724:1:33",
                                  "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": 7217,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "4716:7:33",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_address_$",
                                  "typeString": "type(address)"
                                },
                                "typeName": {
                                  "id": 7216,
                                  "name": "address",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "4716:7:33",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 7219,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "4716:10:33",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 7215,
                            "name": "ITerminal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 36604,
                            "src": "4706:9:33",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_ITerminal_$36604_$",
                              "typeString": "type(contract ITerminal)"
                            }
                          },
                          "id": 7220,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4706:21:33",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_ITerminal_$36604",
                            "typeString": "contract ITerminal"
                          }
                        },
                        "src": "4693:34:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "5465726d696e616c4469726563746f72793a3a7365745465726d696e616c3a205a45524f5f41444452455353",
                        "id": 7222,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "4729:46:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_855647c78d5ba9d40aadaa4b58ebfe5c0b9bfce6805502fc8fc6c1084bf7108f",
                          "typeString": "literal_string \"TerminalDirectory::setTerminal: ZERO_ADDRESS\""
                        },
                        "value": "TerminalDirectory::setTerminal: ZERO_ADDRESS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_855647c78d5ba9d40aadaa4b58ebfe5c0b9bfce6805502fc8fc6c1084bf7108f",
                          "typeString": "literal_string \"TerminalDirectory::setTerminal: ZERO_ADDRESS\""
                        }
                      ],
                      "id": 7213,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "4685:7:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 7223,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4685:91:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7224,
                  "nodeType": "ExpressionStatement",
                  "src": "4685:91:33"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_contract$_ITerminal_$36604",
                      "typeString": "contract ITerminal"
                    },
                    "id": 7227,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 7225,
                      "name": "_currentTerminal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7123,
                      "src": "4841:16:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITerminal_$36604",
                        "typeString": "contract ITerminal"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "id": 7226,
                      "name": "_terminal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7117,
                      "src": "4861:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITerminal_$36604",
                        "typeString": "contract ITerminal"
                      }
                    },
                    "src": "4841:29:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 7229,
                  "nodeType": "IfStatement",
                  "src": "4837:42:33",
                  "trueBody": {
                    "functionReturnParameters": 7120,
                    "id": 7228,
                    "nodeType": "Return",
                    "src": "4872:7:33"
                  }
                },
                {
                  "expression": {
                    "id": 7234,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 7230,
                        "name": "terminalOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7028,
                        "src": "4914:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_contract$_ITerminal_$36604_$",
                          "typeString": "mapping(uint256 => contract ITerminal)"
                        }
                      },
                      "id": 7232,
                      "indexExpression": {
                        "id": 7231,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7114,
                        "src": "4925:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "4914:22:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITerminal_$36604",
                        "typeString": "contract ITerminal"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 7233,
                      "name": "_terminal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7117,
                      "src": "4939:9:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_ITerminal_$36604",
                        "typeString": "contract ITerminal"
                      }
                    },
                    "src": "4914:34:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminal_$36604",
                      "typeString": "contract ITerminal"
                    }
                  },
                  "id": 7235,
                  "nodeType": "ExpressionStatement",
                  "src": "4914:34:33"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "id": 7237,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7114,
                        "src": "4972:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 7238,
                        "name": "_terminal",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7117,
                        "src": "4984:9:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        }
                      },
                      {
                        "expression": {
                          "id": 7239,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "4995:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 7240,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "4995:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 7236,
                      "name": "SetTerminal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36124,
                      "src": "4960:11:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_contract$_ITerminal_$36604_$_t_address_$returns$__$",
                        "typeString": "function (uint256,contract ITerminal,address)"
                      }
                    },
                    "id": 7241,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4960:46:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7242,
                  "nodeType": "EmitStatement",
                  "src": "4955:51:33"
                }
              ]
            },
            "baseFunctions": [
              36184
            ],
            "documentation": {
              "id": 7112,
              "nodeType": "StructuredDocumentation",
              "src": "2920:273:33",
              "text": "@notice \nUpdate the juicebox terminal that payments to direct payment addresses will be forwarded for the specified project ID.\n@param _projectId The ID of the project to set a new terminal for.\n@param _terminal The new terminal to set."
            },
            "functionSelector": "9fc9ea47",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setTerminal",
            "nameLocation": "3205:11:33",
            "overrides": {
              "id": 7119,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "3267:8:33"
            },
            "parameters": {
              "id": 7118,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7114,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "3225:10:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7244,
                  "src": "3217:18:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7113,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3217:7:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7117,
                  "mutability": "mutable",
                  "name": "_terminal",
                  "nameLocation": "3247:9:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7244,
                  "src": "3237:19:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_ITerminal_$36604",
                    "typeString": "contract ITerminal"
                  },
                  "typeName": {
                    "id": 7116,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 7115,
                      "name": "ITerminal",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36604,
                      "src": "3237:9:33"
                    },
                    "referencedDeclaration": 36604,
                    "src": "3237:9:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminal_$36604",
                      "typeString": "contract ITerminal"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3216:41:33"
            },
            "returnParameters": {
              "id": 7120,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3276:0:33"
            },
            "scope": 7276,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 7275,
            "nodeType": "FunctionDefinition",
            "src": "5349:310:33",
            "nodes": [],
            "body": {
              "id": 7274,
              "nodeType": "Block",
              "src": "5457:202:33",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 7258,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 7253,
                        "name": "beneficiaryOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7034,
                        "src": "5463:13:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_address_$",
                          "typeString": "mapping(address => address)"
                        }
                      },
                      "id": 7256,
                      "indexExpression": {
                        "expression": {
                          "id": 7254,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "5477:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 7255,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "5477:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5463:25:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 7257,
                      "name": "_beneficiary",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7247,
                      "src": "5491:12:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "5463:40:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 7259,
                  "nodeType": "ExpressionStatement",
                  "src": "5463:40:33"
                },
                {
                  "expression": {
                    "id": 7265,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "baseExpression": {
                        "id": 7260,
                        "name": "unstakedTicketsPreferenceOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7040,
                        "src": "5509:27:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
                          "typeString": "mapping(address => bool)"
                        }
                      },
                      "id": 7263,
                      "indexExpression": {
                        "expression": {
                          "id": 7261,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "5537:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 7262,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "5537:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "5509:39:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 7264,
                      "name": "_preferUnstakedTickets",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 7249,
                      "src": "5551:22:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "5509:64:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 7266,
                  "nodeType": "ExpressionStatement",
                  "src": "5509:64:33"
                },
                {
                  "eventCall": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 7268,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -15,
                          "src": "5605:3:33",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 7269,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "src": "5605:10:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 7270,
                        "name": "_beneficiary",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7247,
                        "src": "5617:12:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "id": 7271,
                        "name": "_preferUnstakedTickets",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 7249,
                        "src": "5631:22:33",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 7267,
                      "name": "SetPayerPreferences",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 36132,
                      "src": "5585:19:33",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$",
                        "typeString": "function (address,address,bool)"
                      }
                    },
                    "id": 7272,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "5585:69:33",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 7273,
                  "nodeType": "EmitStatement",
                  "src": "5580:74:33"
                }
              ]
            },
            "baseFunctions": [
              36191
            ],
            "documentation": {
              "id": 7245,
              "nodeType": "StructuredDocumentation",
              "src": "5015:331:33",
              "text": "@notice \nAllows any address to pre set the beneficiary of their payments to any direct payment address,\nand to pre set whether to prefer to unstake tickets into ERC20's when making a payment.\n@param _beneficiary The beneficiary to set.\n@param _preferUnstakedTickets The preference to set."
            },
            "functionSelector": "b9e55595",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setPayerPreferences",
            "nameLocation": "5358:19:33",
            "overrides": {
              "id": 7251,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "5446:8:33"
            },
            "parameters": {
              "id": 7250,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7247,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "5386:12:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7275,
                  "src": "5378:20:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7246,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "5378:7:33",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7249,
                  "mutability": "mutable",
                  "name": "_preferUnstakedTickets",
                  "nameLocation": "5405:22:33",
                  "nodeType": "VariableDeclaration",
                  "scope": 7275,
                  "src": "5400:27:33",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7248,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "5400:4:33",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5377:51:33"
            },
            "returnParameters": {
              "id": 7252,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "5457:0:33"
            },
            "scope": 7276,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 7007,
              "name": "ITerminalDirectory",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 36192,
              "src": "436:18:33"
            },
            "id": 7008,
            "nodeType": "InheritanceSpecifier",
            "src": "436:18:33"
          },
          {
            "baseName": {
              "id": 7009,
              "name": "Operatable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 10980,
              "src": "456:10:33"
            },
            "id": 7010,
            "nodeType": "InheritanceSpecifier",
            "src": "456:10:33"
          }
        ],
        "contractDependencies": [
          3148
        ],
        "contractKind": "contract",
        "documentation": {
          "id": 7006,
          "nodeType": "StructuredDocumentation",
          "src": "290:115:33",
          "text": "@notice\nAllows project owners to deploy proxy contracts that can pay them when receiving funds directly."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          7276,
          10980,
          11358,
          36192
        ],
        "name": "TerminalDirectory",
        "nameLocation": "415:17:33",
        "scope": 7277,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 33
}