{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IProjects",
          "name": "_projects",
          "type": "address"
        },
        {
          "internalType": "contract IOperatorStore",
          "name": "_operatorStore",
          "type": "address"
        },
        {
          "internalType": "contract ITerminalDirectory",
          "name": "_terminalDirectory",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "configuration",
          "type": "uint256"
        },
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool"
            },
            {
              "internalType": "uint16",
              "name": "percent",
              "type": "uint16"
            },
            {
              "internalType": "uint48",
              "name": "lockedUntil",
              "type": "uint48"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "contract IModAllocator",
              "name": "allocator",
              "type": "address"
            },
            {
              "internalType": "uint56",
              "name": "projectId",
              "type": "uint56"
            }
          ],
          "indexed": false,
          "internalType": "struct PayoutMod",
          "name": "mods",
          "type": "tuple"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetPayoutMod",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "projectId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "configuration",
          "type": "uint256"
        },
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool"
            },
            {
              "internalType": "uint16",
              "name": "percent",
              "type": "uint16"
            },
            {
              "internalType": "uint48",
              "name": "lockedUntil",
              "type": "uint48"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "indexed": false,
          "internalType": "struct TicketMod",
          "name": "mods",
          "type": "tuple"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "caller",
          "type": "address"
        }
      ],
      "name": "SetTicketMod",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "operatorStore",
      "outputs": [
        {
          "internalType": "contract IOperatorStore",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_configuration",
          "type": "uint256"
        }
      ],
      "name": "payoutModsOf",
      "outputs": [
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool"
            },
            {
              "internalType": "uint16",
              "name": "percent",
              "type": "uint16"
            },
            {
              "internalType": "uint48",
              "name": "lockedUntil",
              "type": "uint48"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "contract IModAllocator",
              "name": "allocator",
              "type": "address"
            },
            {
              "internalType": "uint56",
              "name": "projectId",
              "type": "uint56"
            }
          ],
          "internalType": "struct PayoutMod[]",
          "name": "",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "projects",
      "outputs": [
        {
          "internalType": "contract IProjects",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_configuration",
          "type": "uint256"
        },
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool"
            },
            {
              "internalType": "uint16",
              "name": "percent",
              "type": "uint16"
            },
            {
              "internalType": "uint48",
              "name": "lockedUntil",
              "type": "uint48"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "contract IModAllocator",
              "name": "allocator",
              "type": "address"
            },
            {
              "internalType": "uint56",
              "name": "projectId",
              "type": "uint56"
            }
          ],
          "internalType": "struct PayoutMod[]",
          "name": "_mods",
          "type": "tuple[]"
        }
      ],
      "name": "setPayoutMods",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_configuration",
          "type": "uint256"
        },
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool"
            },
            {
              "internalType": "uint16",
              "name": "percent",
              "type": "uint16"
            },
            {
              "internalType": "uint48",
              "name": "lockedUntil",
              "type": "uint48"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "internalType": "struct TicketMod[]",
          "name": "_mods",
          "type": "tuple[]"
        }
      ],
      "name": "setTicketMods",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "terminalDirectory",
      "outputs": [
        {
          "internalType": "contract ITerminalDirectory",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_configuration",
          "type": "uint256"
        }
      ],
      "name": "ticketModsOf",
      "outputs": [
        {
          "components": [
            {
              "internalType": "bool",
              "name": "preferUnstaked",
              "type": "bool"
            },
            {
              "internalType": "uint16",
              "name": "percent",
              "type": "uint16"
            },
            {
              "internalType": "uint48",
              "name": "lockedUntil",
              "type": "uint48"
            },
            {
              "internalType": "address payable",
              "name": "beneficiary",
              "type": "address"
            }
          ],
          "internalType": "struct TicketMod[]",
          "name": "",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x60e06040523480156200001157600080fd5b50604051620022ab380380620022ab83398101604081905262000034916200005c565b6001600160601b0319606092831b811660805290821b811660a05291901b1660c052620000c9565b6000806000606084860312156200007257600080fd5b83516200007f81620000b0565b60208501519093506200009281620000b0565b6040850151909250620000a581620000b0565b809150509250925092565b6001600160a01b0381168114620000c657600080fd5b50565b60805160601c60a05160601c60c05160601c6121806200012b6000396000818161011c015281816103710152610f8d01526000818160b00152818161044901526110650152600081816101580152818161053b015261115701526121806000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638b79543c1161005b5780638b79543c14610117578063a67e210a1461013e578063ad007d6314610153578063ebe352a41461017a57600080fd5b80634833b512146100825780636abcf8e3146100ab5780637559aaaa146100f7575b600080fd5b610095610090366004611b46565b61018d565b6040516100a29190611e5d565b60405180910390f35b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100a2565b61010a610105366004611b46565b610251565b6040516100a29190611da7565b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b61015161014c366004611b68565b610342565b005b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b610151610188366004611ca3565b610f5e565b60008281526001602090815260408083208484528252808320805482518185028101850190935280835260609492939192909184015b82821015610245576000848152602090819020604080516080810182529185015460ff811615158352610100810461ffff16838501526301000000810465ffffffffffff16918301919091526901000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1660608201528252600190920191016101c3565b50505050905092915050565b6000828152602081815260408083208484528252808320805482518185028101850190935280835260609492939192909184015b828210156102455760008481526020908190206040805160c08101825260028602909201805460ff811615158452610100810461ffff16848601526301000000810465ffffffffffff1692840192909252690100000000000000000090910473ffffffffffffffffffffffffffffffffffffffff9081166060840152600191820154908116608084015274010000000000000000000000000000000000000000900466ffffffffffffff1660a08301529083529092019101610285565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018490527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690636352211e9060240160206040518083038186803b1580156103c857600080fd5b505afa1580156103dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104009190611b05565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018590528490600e9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b15801561048b57600080fd5b505afa15801561049f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c39190611b05565b3373ffffffffffffffffffffffffffffffffffffffff851614806105b557506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff858116602483015260448201859052606482018490527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801561057d57600080fd5b505afa158015610591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b59190611b29565b806105d557503373ffffffffffffffffffffffffffffffffffffffff8216145b610640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a4544000000000000000060448201526064015b60405180910390fd5b60008551116106ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a204e4f5f4f5000006044820152606401610637565b600087815260208181526040808320898452825280832080548251818502810185019093528083529192909190849084015b8282101561079a5760008481526020908190206040805160c08101825260028602909201805460ff811615158452610100810461ffff16848601526301000000810465ffffffffffff1692840192909252690100000000000000000090910473ffffffffffffffffffffffffffffffffffffffff9081166060840152600191820154908116608084015274010000000000000000000000000000000000000000900466ffffffffffffff1660a083015290835290920191016106dd565b50505050905060005b8151811015610a77578181815181106107be576107be6120bc565b60200260200101516040015165ffffffffffff16421015610a65576000805b88518110156109d6578383815181106107f8576107f86120bc565b60200260200101516020015161ffff1689828151811061081a5761081a6120bc565b60200260200101516020015161ffff1614801561089c5750838381518110610844576108446120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16898281518110610878576108786120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16145b801561090d57508383815181106108b5576108b56120bc565b60200260200101516080015173ffffffffffffffffffffffffffffffffffffffff168982815181106108e9576108e96120bc565b60200260200101516080015173ffffffffffffffffffffffffffffffffffffffff16145b80156109645750838381518110610926576109266120bc565b602002602001015160a0015166ffffffffffffff1689828151811061094d5761094d6120bc565b602002602001015160a0015166ffffffffffffff16145b80156109ba575083838151811061097d5761097d6120bc565b60200260200101516040015165ffffffffffff168982815181106109a3576109a36120bc565b60200260200101516040015165ffffffffffff1610155b156109c457600191505b806109ce81612054565b9150506107dd565b5080610a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a20534f4d455f4c4f60448201527f434b4544000000000000000000000000000000000000000000000000000000006064820152608401610637565b505b80610a6f81612054565b9150506107a3565b506000888152602081815260408083208a84529091528120610a98916119fa565b6000805b8751811015610f52576000888281518110610ab957610ab96120bc565b60200260200101516020015161ffff1611610b56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a204241445f4d4f4460448201527f5f50455243454e540000000000000000000000000000000000000000000000006064820152608401610637565b878181518110610b6857610b686120bc565b60200260200101516020015161ffff1682610b83919061203c565b9150612710821115610c17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a204241445f544f5460448201527f414c5f50455243454e54000000000000000000000000000000000000000000006064820152608401610637565b600073ffffffffffffffffffffffffffffffffffffffff16888281518110610c4157610c416120bc565b60200260200101516080015173ffffffffffffffffffffffffffffffffffffffff16141580610cba5750600073ffffffffffffffffffffffffffffffffffffffff16888281518110610c9557610c956120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff1614155b610d46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a205a45524f5f414460448201527f44524553530000000000000000000000000000000000000000000000000000006064820152608401610637565b60008a8152602081815260408083208c845290915290208851899083908110610d7157610d716120bc565b6020908102919091018101518254600180820185556000948552938390208251600290920201805493830151604084015160608501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000009096169315157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff169390931761010061ffff90921691909102177fffffff0000000000000000000000000000000000000000000000000000ffffff16630100000065ffffffffffff909316929092027fffffff0000000000000000000000000000000000000000ffffffffffffffffff1691909117690100000000000000000073ffffffffffffffffffffffffffffffffffffffff9485160217815560808201519301805460a090920151939092167fffffffffff000000000000000000000000000000000000000000000000000000909116177401000000000000000000000000000000000000000066ffffffffffffff90931692909202919091179055875189908b907f11d093e1f86a50d3e49cd68b453d3dc4ea6c3785bf9d407f4ba2fcc44b0acbbd908b9085908110610f2157610f216120bc565b602002602001015133604051610f38929190611ee4565b60405180910390a380610f4a81612054565b915050610a9c565b50505050505050505050565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018490527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690636352211e9060240160206040518083038186803b158015610fe457600080fd5b505afa158015610ff8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101c9190611b05565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018590528490600f9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b1580156110a757600080fd5b505afa1580156110bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110df9190611b05565b3373ffffffffffffffffffffffffffffffffffffffff851614806111d157506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff858116602483015260448201859052606482018490527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801561119957600080fd5b505afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d19190611b29565b806111f157503373ffffffffffffffffffffffffffffffffffffffff8216145b611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a454400000000000000006044820152606401610637565b60008551116112c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a204e4f5f4f5000006044820152606401610637565b6000878152600160209081526040808320898452825280832080548251818502810185019093528083529192909190849084015b82821015611378576000848152602090819020604080516080810182529185015460ff811615158352610100810461ffff16838501526301000000810465ffffffffffff16918301919091526901000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1660608201528252600190920191016112f6565b50505050905060005b815181101561158d5781818151811061139c5761139c6120bc565b60200260200101516040015165ffffffffffff1642101561157b576000805b88518110156114ec578383815181106113d6576113d66120bc565b60200260200101516020015161ffff168982815181106113f8576113f86120bc565b60200260200101516020015161ffff1614801561147a5750838381518110611422576114226120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16898281518110611456576114566120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16145b80156114d05750838381518110611493576114936120bc565b60200260200101516040015165ffffffffffff168982815181106114b9576114b96120bc565b60200260200101516040015165ffffffffffff1610155b156114da57600191505b806114e481612054565b9150506113bb565b5080611579576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a20534f4d455f4c4f60448201527f434b4544000000000000000000000000000000000000000000000000000000006064820152608401610637565b505b8061158581612054565b915050611381565b5060008881526001602090815260408083208a845290915281206115b091611a1e565b6000805b8751811015610f525760008882815181106115d1576115d16120bc565b60200260200101516020015161ffff161161166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a204241445f4d4f4460448201527f5f50455243454e540000000000000000000000000000000000000000000000006064820152608401610637565b878181518110611680576116806120bc565b60200260200101516020015161ffff168261169b919061203c565b915061271082111561172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a204241445f544f5460448201527f414c5f50455243454e54000000000000000000000000000000000000000000006064820152608401610637565b600073ffffffffffffffffffffffffffffffffffffffff16888281518110611759576117596120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff161415611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a205a45524f5f414460448201527f44524553530000000000000000000000000000000000000000000000000000006064820152608401610637565b60008a81526001602090815260408083208c845290915290208851899083908110611836576118366120bc565b60209081029190910181015182546001810184556000938452928290208151930180549282015160408301516060909301517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000009094169415157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff169490941761010061ffff90951694909402939093177fffffff0000000000000000000000000000000000000000000000000000ffffff16630100000065ffffffffffff909216919091027fffffff0000000000000000000000000000000000000000ffffffffffffffffff1617690100000000000000000073ffffffffffffffffffffffffffffffffffffffff90921691909102179055875189908b907fbe6dc180c545b9c03d152e2058d9c71d2c7a2f1b897461cd0a4a161ba011c1c3908b9085908110611982576119826120bc565b602090810291909101810151604080518251151581528284015161ffff16938101939093528082015165ffffffffffff169083015260609081015173ffffffffffffffffffffffffffffffffffffffff169082015233608082015260a00160405180910390a3806119f281612054565b9150506115b4565b5080546000825560020290600052602060002090810190611a1b9190611a3c565b50565b5080546000825590600052602060002090810190611a1b9190611aa1565b5b80821115611a9d5780547fffffff00000000000000000000000000000000000000000000000000000000001681556001810180547fffffffffff000000000000000000000000000000000000000000000000000000169055600201611a3d565b5090565b5b80821115611a9d5780547fffffff0000000000000000000000000000000000000000000000000000000000168155600101611aa2565b803561ffff81168114611aea57600080fd5b919050565b803565ffffffffffff81168114611aea57600080fd5b600060208284031215611b1757600080fd5b8151611b228161211a565b9392505050565b600060208284031215611b3b57600080fd5b8151611b228161213c565b60008060408385031215611b5957600080fd5b50508035926020909101359150565b60008060006060808587031215611b7e57600080fd5b84359350602080860135935060408087013567ffffffffffffffff811115611ba557600080fd5b8701601f81018913611bb657600080fd5b8035611bc9611bc482612018565b611fc9565b8181528481019083860160c0808502860188018e1015611be857600080fd5b600095505b84861015611c905780828f031215611c0457600080fd5b611c0c611f7d565b8235611c178161213c565b8152611c24838a01611ad8565b89820152611c33888401611aef565b8882015289830135611c448161211a565b818b0152608083810135611c578161211a565b9082015260a08381013566ffffffffffffff81168114611c7657600080fd5b908201528452600195909501949287019290810190611bed565b5050809750505050505050509250925092565b600080600060608486031215611cb857600080fd5b83359250602080850135925060408086013567ffffffffffffffff811115611cdf57600080fd5b8601601f81018813611cf057600080fd5b8035611cfe611bc482612018565b8082825285820191508584018b878560071b8701011115611d1e57600080fd5b60009450845b84811015611d9557608080838f031215611d3c578687fd5b611d44611fa6565b8335611d4f8161213c565b8152611d5c848b01611ad8565b8a820152611d6b898501611aef565b898201526060840135611d7d8161211a565b60608201528552938801939190910190600101611d24565b50508096505050505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015611e5157611e3e83855180511515825261ffff602082015116602083015265ffffffffffff6040820151166040830152606081015173ffffffffffffffffffffffffffffffffffffffff8082166060850152806080840151166080850152505066ffffffffffffff60a08201511660a08301525050565b9284019260c09290920191600101611dc3565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e5157611ed183855180511515825261ffff602082015116602083015265ffffffffffff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff60608201511660608301525050565b9284019260809290920191600101611e79565b60e08101611f5a828580511515825261ffff602082015116602083015265ffffffffffff6040820151166040830152606081015173ffffffffffffffffffffffffffffffffffffffff8082166060850152806080840151166080850152505066ffffffffffffff60a08201511660a08301525050565b73ffffffffffffffffffffffffffffffffffffffff831660c08301529392505050565b60405160c0810167ffffffffffffffff81118282101715611fa057611fa06120eb565b60405290565b6040516080810167ffffffffffffffff81118282101715611fa057611fa06120eb565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612010576120106120eb565b604052919050565b600067ffffffffffffffff821115612032576120326120eb565b5060051b60200190565b6000821982111561204f5761204f61208d565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156120865761208661208d565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114611a1b57600080fd5b8015158114611a1b57600080fdfea2646970667358221220a30300c78c4e73ceec9adfcec74aea9b2bcd50f293ef0cbd888e7f285ab9b1a664736f6c63430008060033",
    "sourceMap": "367:8980:29:-:0;;;2238:233;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;1861:30:38;;;;;;;680:38:39;;;;;;;2444:20:29;;;;::::2;::::0;367:8980;;14:638:168;173:6;181;189;242:2;230:9;221:7;217:23;213:32;210:2;;;258:1;255;248:12;210:2;290:9;284:16;309:47;350:5;309:47;:::i;:::-;425:2;410:18;;404:25;375:5;;-1:-1:-1;438:49:168;404:25;438:49;:::i;:::-;558:2;543:18;;537:25;506:7;;-1:-1:-1;571:49:168;537:25;571:49;:::i;:::-;639:7;629:17;;;200:452;;;;;:::o;657:147::-;-1:-1:-1;748:31:168;;738:42;;728:2;;794:1;791;784:12;728:2;718:86;:::o;:::-;367:8980:29;;;;;;;;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638b79543c1161005b5780638b79543c14610117578063a67e210a1461013e578063ad007d6314610153578063ebe352a41461017a57600080fd5b80634833b512146100825780636abcf8e3146100ab5780637559aaaa146100f7575b600080fd5b610095610090366004611b46565b61018d565b6040516100a29190611e5d565b60405180910390f35b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100a2565b61010a610105366004611b46565b610251565b6040516100a29190611da7565b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b61015161014c366004611b68565b610342565b005b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b610151610188366004611ca3565b610f5e565b60008281526001602090815260408083208484528252808320805482518185028101850190935280835260609492939192909184015b82821015610245576000848152602090819020604080516080810182529185015460ff811615158352610100810461ffff16838501526301000000810465ffffffffffff16918301919091526901000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1660608201528252600190920191016101c3565b50505050905092915050565b6000828152602081815260408083208484528252808320805482518185028101850190935280835260609492939192909184015b828210156102455760008481526020908190206040805160c08101825260028602909201805460ff811615158452610100810461ffff16848601526301000000810465ffffffffffff1692840192909252690100000000000000000090910473ffffffffffffffffffffffffffffffffffffffff9081166060840152600191820154908116608084015274010000000000000000000000000000000000000000900466ffffffffffffff1660a08301529083529092019101610285565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018490527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690636352211e9060240160206040518083038186803b1580156103c857600080fd5b505afa1580156103dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104009190611b05565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018590528490600e9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b15801561048b57600080fd5b505afa15801561049f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c39190611b05565b3373ffffffffffffffffffffffffffffffffffffffff851614806105b557506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff858116602483015260448201859052606482018490527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801561057d57600080fd5b505afa158015610591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b59190611b29565b806105d557503373ffffffffffffffffffffffffffffffffffffffff8216145b610640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a4544000000000000000060448201526064015b60405180910390fd5b60008551116106ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a204e4f5f4f5000006044820152606401610637565b600087815260208181526040808320898452825280832080548251818502810185019093528083529192909190849084015b8282101561079a5760008481526020908190206040805160c08101825260028602909201805460ff811615158452610100810461ffff16848601526301000000810465ffffffffffff1692840192909252690100000000000000000090910473ffffffffffffffffffffffffffffffffffffffff9081166060840152600191820154908116608084015274010000000000000000000000000000000000000000900466ffffffffffffff1660a083015290835290920191016106dd565b50505050905060005b8151811015610a77578181815181106107be576107be6120bc565b60200260200101516040015165ffffffffffff16421015610a65576000805b88518110156109d6578383815181106107f8576107f86120bc565b60200260200101516020015161ffff1689828151811061081a5761081a6120bc565b60200260200101516020015161ffff1614801561089c5750838381518110610844576108446120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16898281518110610878576108786120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16145b801561090d57508383815181106108b5576108b56120bc565b60200260200101516080015173ffffffffffffffffffffffffffffffffffffffff168982815181106108e9576108e96120bc565b60200260200101516080015173ffffffffffffffffffffffffffffffffffffffff16145b80156109645750838381518110610926576109266120bc565b602002602001015160a0015166ffffffffffffff1689828151811061094d5761094d6120bc565b602002602001015160a0015166ffffffffffffff16145b80156109ba575083838151811061097d5761097d6120bc565b60200260200101516040015165ffffffffffff168982815181106109a3576109a36120bc565b60200260200101516040015165ffffffffffff1610155b156109c457600191505b806109ce81612054565b9150506107dd565b5080610a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a20534f4d455f4c4f60448201527f434b4544000000000000000000000000000000000000000000000000000000006064820152608401610637565b505b80610a6f81612054565b9150506107a3565b506000888152602081815260408083208a84529091528120610a98916119fa565b6000805b8751811015610f52576000888281518110610ab957610ab96120bc565b60200260200101516020015161ffff1611610b56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a204241445f4d4f4460448201527f5f50455243454e540000000000000000000000000000000000000000000000006064820152608401610637565b878181518110610b6857610b686120bc565b60200260200101516020015161ffff1682610b83919061203c565b9150612710821115610c17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a204241445f544f5460448201527f414c5f50455243454e54000000000000000000000000000000000000000000006064820152608401610637565b600073ffffffffffffffffffffffffffffffffffffffff16888281518110610c4157610c416120bc565b60200260200101516080015173ffffffffffffffffffffffffffffffffffffffff16141580610cba5750600073ffffffffffffffffffffffffffffffffffffffff16888281518110610c9557610c956120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff1614155b610d46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d6f6453746f72653a3a7365745061796f75744d6f64733a205a45524f5f414460448201527f44524553530000000000000000000000000000000000000000000000000000006064820152608401610637565b60008a8152602081815260408083208c845290915290208851899083908110610d7157610d716120bc565b6020908102919091018101518254600180820185556000948552938390208251600290920201805493830151604084015160608501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000009096169315157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff169390931761010061ffff90921691909102177fffffff0000000000000000000000000000000000000000000000000000ffffff16630100000065ffffffffffff909316929092027fffffff0000000000000000000000000000000000000000ffffffffffffffffff1691909117690100000000000000000073ffffffffffffffffffffffffffffffffffffffff9485160217815560808201519301805460a090920151939092167fffffffffff000000000000000000000000000000000000000000000000000000909116177401000000000000000000000000000000000000000066ffffffffffffff90931692909202919091179055875189908b907f11d093e1f86a50d3e49cd68b453d3dc4ea6c3785bf9d407f4ba2fcc44b0acbbd908b9085908110610f2157610f216120bc565b602002602001015133604051610f38929190611ee4565b60405180910390a380610f4a81612054565b915050610a9c565b50505050505050505050565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018490527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690636352211e9060240160206040518083038186803b158015610fe457600080fd5b505afa158015610ff8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101c9190611b05565b6040517f4fe0eced000000000000000000000000000000000000000000000000000000008152600481018590528490600f9073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634fe0eced9060240160206040518083038186803b1580156110a757600080fd5b505afa1580156110bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110df9190611b05565b3373ffffffffffffffffffffffffffffffffffffffff851614806111d157506040517fc161c93f00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff858116602483015260448201859052606482018490527f0000000000000000000000000000000000000000000000000000000000000000169063c161c93f9060840160206040518083038186803b15801561119957600080fd5b505afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d19190611b29565b806111f157503373ffffffffffffffffffffffffffffffffffffffff8216145b611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f706572617461626c653a20554e415554484f52495a454400000000000000006044820152606401610637565b60008551116112c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a204e4f5f4f5000006044820152606401610637565b6000878152600160209081526040808320898452825280832080548251818502810185019093528083529192909190849084015b82821015611378576000848152602090819020604080516080810182529185015460ff811615158352610100810461ffff16838501526301000000810465ffffffffffff16918301919091526901000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1660608201528252600190920191016112f6565b50505050905060005b815181101561158d5781818151811061139c5761139c6120bc565b60200260200101516040015165ffffffffffff1642101561157b576000805b88518110156114ec578383815181106113d6576113d66120bc565b60200260200101516020015161ffff168982815181106113f8576113f86120bc565b60200260200101516020015161ffff1614801561147a5750838381518110611422576114226120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16898281518110611456576114566120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff16145b80156114d05750838381518110611493576114936120bc565b60200260200101516040015165ffffffffffff168982815181106114b9576114b96120bc565b60200260200101516040015165ffffffffffff1610155b156114da57600191505b806114e481612054565b9150506113bb565b5080611579576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a20534f4d455f4c4f60448201527f434b4544000000000000000000000000000000000000000000000000000000006064820152608401610637565b505b8061158581612054565b915050611381565b5060008881526001602090815260408083208a845290915281206115b091611a1e565b6000805b8751811015610f525760008882815181106115d1576115d16120bc565b60200260200101516020015161ffff161161166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a204241445f4d4f4460448201527f5f50455243454e540000000000000000000000000000000000000000000000006064820152608401610637565b878181518110611680576116806120bc565b60200260200101516020015161ffff168261169b919061203c565b915061271082111561172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a204241445f544f5460448201527f414c5f50455243454e54000000000000000000000000000000000000000000006064820152608401610637565b600073ffffffffffffffffffffffffffffffffffffffff16888281518110611759576117596120bc565b60200260200101516060015173ffffffffffffffffffffffffffffffffffffffff161415611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d6f6453746f72653a3a7365745469636b65744d6f64733a205a45524f5f414460448201527f44524553530000000000000000000000000000000000000000000000000000006064820152608401610637565b60008a81526001602090815260408083208c845290915290208851899083908110611836576118366120bc565b60209081029190910181015182546001810184556000938452928290208151930180549282015160408301516060909301517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000009094169415157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff169490941761010061ffff90951694909402939093177fffffff0000000000000000000000000000000000000000000000000000ffffff16630100000065ffffffffffff909216919091027fffffff0000000000000000000000000000000000000000ffffffffffffffffff1617690100000000000000000073ffffffffffffffffffffffffffffffffffffffff90921691909102179055875189908b907fbe6dc180c545b9c03d152e2058d9c71d2c7a2f1b897461cd0a4a161ba011c1c3908b9085908110611982576119826120bc565b602090810291909101810151604080518251151581528284015161ffff16938101939093528082015165ffffffffffff169083015260609081015173ffffffffffffffffffffffffffffffffffffffff169082015233608082015260a00160405180910390a3806119f281612054565b9150506115b4565b5080546000825560020290600052602060002090810190611a1b9190611a3c565b50565b5080546000825590600052602060002090810190611a1b9190611aa1565b5b80821115611a9d5780547fffffff00000000000000000000000000000000000000000000000000000000001681556001810180547fffffffffff000000000000000000000000000000000000000000000000000000169055600201611a3d565b5090565b5b80821115611a9d5780547fffffff0000000000000000000000000000000000000000000000000000000000168155600101611aa2565b803561ffff81168114611aea57600080fd5b919050565b803565ffffffffffff81168114611aea57600080fd5b600060208284031215611b1757600080fd5b8151611b228161211a565b9392505050565b600060208284031215611b3b57600080fd5b8151611b228161213c565b60008060408385031215611b5957600080fd5b50508035926020909101359150565b60008060006060808587031215611b7e57600080fd5b84359350602080860135935060408087013567ffffffffffffffff811115611ba557600080fd5b8701601f81018913611bb657600080fd5b8035611bc9611bc482612018565b611fc9565b8181528481019083860160c0808502860188018e1015611be857600080fd5b600095505b84861015611c905780828f031215611c0457600080fd5b611c0c611f7d565b8235611c178161213c565b8152611c24838a01611ad8565b89820152611c33888401611aef565b8882015289830135611c448161211a565b818b0152608083810135611c578161211a565b9082015260a08381013566ffffffffffffff81168114611c7657600080fd5b908201528452600195909501949287019290810190611bed565b5050809750505050505050509250925092565b600080600060608486031215611cb857600080fd5b83359250602080850135925060408086013567ffffffffffffffff811115611cdf57600080fd5b8601601f81018813611cf057600080fd5b8035611cfe611bc482612018565b8082825285820191508584018b878560071b8701011115611d1e57600080fd5b60009450845b84811015611d9557608080838f031215611d3c578687fd5b611d44611fa6565b8335611d4f8161213c565b8152611d5c848b01611ad8565b8a820152611d6b898501611aef565b898201526060840135611d7d8161211a565b60608201528552938801939190910190600101611d24565b50508096505050505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015611e5157611e3e83855180511515825261ffff602082015116602083015265ffffffffffff6040820151166040830152606081015173ffffffffffffffffffffffffffffffffffffffff8082166060850152806080840151166080850152505066ffffffffffffff60a08201511660a08301525050565b9284019260c09290920191600101611dc3565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e5157611ed183855180511515825261ffff602082015116602083015265ffffffffffff604082015116604083015273ffffffffffffffffffffffffffffffffffffffff60608201511660608301525050565b9284019260809290920191600101611e79565b60e08101611f5a828580511515825261ffff602082015116602083015265ffffffffffff6040820151166040830152606081015173ffffffffffffffffffffffffffffffffffffffff8082166060850152806080840151166080850152505066ffffffffffffff60a08201511660a08301525050565b73ffffffffffffffffffffffffffffffffffffffff831660c08301529392505050565b60405160c0810167ffffffffffffffff81118282101715611fa057611fa06120eb565b60405290565b6040516080810167ffffffffffffffff81118282101715611fa057611fa06120eb565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612010576120106120eb565b604052919050565b600067ffffffffffffffff821115612032576120326120eb565b5060051b60200190565b6000821982111561204f5761204f61208d565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156120865761208661208d565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114611a1b57600080fd5b8015158114611a1b57600080fdfea2646970667358221220a30300c78c4e73ceec9adfcec74aea9b2bcd50f293ef0cbd888e7f285ab9b1a664736f6c63430008060033",
    "sourceMap": "367:8980:29:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1714:219;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;425:62:39;;;;;;;;8104:42:168;8092:55;;;8074:74;;8062:2;8047:18;425:62:39;8029:125:168;1222:219:29;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;872:44::-;;;;;2848:3150;;;;;;:::i;:::-;;:::i;:::-;;1662:54:38;;;;;6375:2970:29;;;;;;:::i;:::-;;:::i;1714:219::-;1885:25;;;;:13;:25;;;;;;;;:41;;;;;;;;1878:48;;;;;;;;;;;;;;;;;1844:18;;1878:48;;1885:41;;1878:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1714:219;;;;:::o;1222:::-;1393:13;:25;;;;;;;;;;;:41;;;;;;;;1386:48;;;;;;;;;;;;;;;;;1352:18;;1386:48;;1393:41;;1386:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2848:3150;3069:28;;;;;;;;13909:25:168;;;3069:8:29;:16;;;;;13882:18:168;;3069:28:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3181:40;;;;;;;;13909:25:168;;;3111:10:29;;647:2:58;;3181:28:29;:17;:28;;;;13882:18:168;;3181:40:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1281:10:38;:22;;;;;:206;;-1:-1:-1;1323:164:38;;;;;1372:10;1323:164;;;6289:34:168;1323:27:38;6359:15:168;;;6339:18;;;6332:43;6391:18;;;6384:34;;;6434:18;;;6427:34;;;1323:13:38;:27;;;;6200:19:168;;1323:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1281:250;;;-1:-1:-1;1507:10:38;:24;;;;1281:250;1260:321;;;;;;;9635:2:168;1260:321:38;;;9617:21:168;9674:2;9654:18;;;9647:30;9713:26;9693:18;;;9686:54;9757:18;;1260:321:38;;;;;;;;;3312:1:29::1;3297:5;:12;:16;3289:59;;;::::0;::::1;::::0;;10803:2:168;3289:59:29::1;::::0;::::1;10785:21:168::0;10842:2;10822:18;;;10815:30;10881:32;10861:18;;;10854:60;10931:18;;3289:59:29::1;10775:180:168::0;3289:59:29::1;3416:31;3450:25:::0;;;::::1;::::0;;;;;;;:63;;;;;;;;3416:97;;;;;;::::1;::::0;;;;;;;;;;;;3450:63;;3416:97;:31;;:97;::::1;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;;;::::0;;::::1;::::0;::::1;;;::::0;;::::1;::::0;;;::::1;;;::::0;;;;;;;;;;::::1;;::::0;;::::1;::::0;;;;;;;::::1;::::0;;;::::1;::::0;;;;;;::::1;;;::::0;;;;;;;;;::::1;::::0;::::1;;;;;;;;;;3586:10;3581:982;3607:12;:19;3602:2;:24;3581:982;;;3670:12;3683:2;3670:16;;;;;;;;:::i;:::-;;;;;;;:28;;;3652:46;;:15;:46;3648:905;;;3718:20;3769:10:::0;3764:635:::1;3790:5;:12;3785:2;:17;3764:635;;;3946:12;3959:2;3946:16;;;;;;;;:::i;:::-;;;;;;;:24;;;3925:45;;:5;3931:2;3925:9;;;;;;;;:::i;:::-;;;;;;;:17;;;:45;;;:126;;;;;4023:12;4036:2;4023:16;;;;;;;;:::i;:::-;;;;;;;:28;;;3998:53;;:5;4004:2;3998:9;;;;;;;;:::i;:::-;;;;;;;:21;;;:53;;;3925:126;:203;;;;;4102:12;4115:2;4102:16;;;;;;;;:::i;:::-;;;;;;;:26;;;4079:49;;:5;4085:2;4079:9;;;;;;;;:::i;:::-;;;;;;;:19;;;:49;;;3925:203;:280;;;;;4179:12;4192:2;4179:16;;;;;;;;:::i;:::-;;;;;;;:26;;;4156:49;;:5;4162:2;4156:9;;;;;;;;:::i;:::-;;;;;;;:19;;;:49;;;3925:280;:410;;;;;4307:12;4320:2;4307:16;;;;;;;;:::i;:::-;;;;;;;:28;;;4282:53;;:5;4288:2;4282:9;;;;;;;;:::i;:::-;;;;;;;:21;;;:53;;;;3925:410;3896:484;;;4376:4;4358:22;;3896:484;3804:4:::0;::::1;::::0;::::1;:::i;:::-;;;;3764:635;;;;4445:15;4416:122;;;::::0;::::1;::::0;;11571:2:168;4416:122:29::1;::::0;::::1;11553:21:168::0;11610:2;11590:18;;;11583:30;11649:34;11629:18;;;11622:62;11720:6;11700:18;;;11693:34;11744:19;;4416:122:29::1;11543:226:168::0;4416:122:29::1;3700:853;3648:905;3628:4:::0;::::1;::::0;::::1;:::i;:::-;;;;3581:982;;;-1:-1:-1::0;4639:13:29::1;:25:::0;;;::::1;::::0;;;;;;;:41;;;;;;;;4632:48:::1;::::0;::::1;:::i;:::-;4771:30;4821:10:::0;4816:1176:::1;4842:5;:12;4837:2;:17;4816:1176;;;4974:1;4954:5;4960:2;4954:9;;;;;;;;:::i;:::-;;;;;;;:17;;;:21;;;4929:120;;;::::0;::::1;::::0;;11162:2:168;4929:120:29::1;::::0;::::1;11144:21:168::0;11201:2;11181:18;;;11174:30;11240:34;11220:18;;;11213:62;11311:10;11291:18;;;11284:38;11339:19;;4929:120:29::1;11134:230:168::0;4929:120:29::1;5156:5;5162:2;5156:9;;;;;;;;:::i;:::-;;;;;;;:17;;;5131:42;;:22;:42;;;;:::i;:::-;5106:67;;5299:5;5273:22;:31;;5248:132;;;::::0;::::1;::::0;;12792:2:168;5248:132:29::1;::::0;::::1;12774:21:168::0;12831:2;12811:18;;;12804:30;12870:34;12850:18;;;12843:62;12941:12;12921:18;;;12914:40;12971:19;;5248:132:29::1;12764:232:168::0;5248:132:29::1;5550:1;5505:48;;:5;5511:2;5505:9;;;;;;;;:::i;:::-;;;;;;;:19;;;:48;;;;:107;;;;5610:1;5577:35;;:5;5583:2;5577:9;;;;;;;;:::i;:::-;;;;;;;:21;;;:35;;;;5505:107;5480:203;;;::::0;::::1;::::0;;9229:2:168;5480:203:29::1;::::0;::::1;9211:21:168::0;9268:2;9248:18;;;9241:30;9307:34;9287:18;;;9280:62;9378:7;9358:18;;;9351:35;9403:19;;5480:203:29::1;9201:227:168::0;5480:203:29::1;5763:13;:25:::0;;;::::1;::::0;;;;;;;:41;;;;;;;;5810:9;;:5;;5816:2;;5810:9;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;5763:57;;::::1;::::0;;::::1;::::0;;-1:-1:-1;5763:57:29;;;;;;;;;::::1;::::0;;::::1;;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;;;;::::1;;::::0;;;;;;::::1;;::::0;;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;;;;::::1;::::0;;::::1;;;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;5930:9;;5898:14;;5870:10;;5840:141:::1;::::0;5930:9;;5936:2;;5930:9;::::1;;;;;:::i;:::-;;;;;;;5957:10;5840:141;;;;;;;:::i;:::-;;;;;;;;4856:4:::0;::::1;::::0;::::1;:::i;:::-;;;;4816:1176;;;;3237:2761;;2848:3150:::0;;;;;;;:::o;6375:2970::-;6596:28;;;;;;;;13909:25:168;;;6596:8:29;:16;;;;;13882:18:168;;6596:28:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6708:40;;;;;;;;13909:25:168;;;6638:10:29;;693:2:58;;6708:28:29;:17;:28;;;;13882:18:168;;6708:40:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1281:10:38;:22;;;;;:206;;-1:-1:-1;1323:164:38;;;;;1372:10;1323:164;;;6289:34:168;1323:27:38;6359:15:168;;;6339:18;;;6332:43;6391:18;;;6384:34;;;6434:18;;;6427:34;;;1323:13:38;:27;;;;6200:19:168;;1323:164:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1281:250;;;-1:-1:-1;1507:10:38;:24;;;;1281:250;1260:321;;;;;;;9635:2:168;1260:321:38;;;9617:21:168;9674:2;9654:18;;;9647:30;9713:26;9693:18;;;9686:54;9757:18;;1260:321:38;9607:174:168;1260:321:38;6839:1:29::1;6824:5;:12;:16;6816:59;;;::::0;::::1;::::0;;8870:2:168;6816:59:29::1;::::0;::::1;8852:21:168::0;8909:2;8889:18;;;8882:30;8948:32;8928:18;;;8921:60;8998:18;;6816:59:29::1;8842:180:168::0;6816:59:29::1;6943:37;6983:25:::0;;;:13:::1;:25;::::0;;;;;;;:63;;;;;;;;6943:103;;;;;;::::1;::::0;;;;;;;;;;;;6983:63;;6943:103;:37;;:103;::::1;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;;;::::0;;::::1;::::0;::::1;;;::::0;;::::1;::::0;;;::::1;;;::::0;;;;;;;;;::::1;;;::::0;;;;;;;;;::::1;::::0;::::1;;;;;;;;;;7119:10;7114:893;7140:18;:25;7135:2;:30;7114:893;;;7209:18;7228:2;7209:22;;;;;;;;:::i;:::-;;;;;;;:34;;;7191:52;;:15;:52;7187:810;;;7263:20;7314:10:::0;7309:534:::1;7335:5;:12;7330:2;:17;7309:534;;;7477:18;7496:2;7477:22;;;;;;;;:::i;:::-;;;;;;;:30;;;7456:51;;:5;7462:2;7456:9;;;;;;;;:::i;:::-;;;;;;;:17;;;:51;;;:162;;;;;7584:18;7603:2;7584:22;;;;;;;;:::i;:::-;;;;;;;:34;;;7535:83;;:5;7541:2;7535:9;;;;;;;;:::i;:::-;;;;;;;:21;;;:83;;;7456:162;:323;;;;;7745:18;7764:2;7745:22;;;;;;;;:::i;:::-;;;;;;;:34;;;7696:83;;:5;7702:2;7696:9;;;;;;;;:::i;:::-;;;;;;;:21;;;:83;;;;7456:323;7427:397;;;7820:4;7802:22;;7427:397;7349:4:::0;::::1;::::0;::::1;:::i;:::-;;;;7309:534;;;;7889:15;7860:122;;;::::0;::::1;::::0;;12387:2:168;7860:122:29::1;::::0;::::1;12369:21:168::0;12426:2;12406:18;;;12399:30;12465:34;12445:18;;;12438:62;12536:6;12516:18;;;12509:34;12560:19;;7860:122:29::1;12359:226:168::0;7860:122:29::1;7245:752;7187:810;7167:4:::0;::::1;::::0;::::1;:::i;:::-;;;;7114:893;;;-1:-1:-1::0;8082:25:29::1;::::0;;;:13:::1;:25;::::0;;;;;;;:41;;;;;;;;8075:48:::1;::::0;::::1;:::i;:::-;8214:30;8264:10:::0;8259:1080:::1;8285:5;:12;8280:2;:17;8259:1080;;;8417:1;8397:5;8403:2;8397:9;;;;;;;;:::i;:::-;;;;;;;:17;;;:21;;;8372:120;;;::::0;::::1;::::0;;10394:2:168;8372:120:29::1;::::0;::::1;10376:21:168::0;10433:2;10413:18;;;10406:30;10472:34;10452:18;;;10445:62;10543:10;10523:18;;;10516:38;10571:19;;8372:120:29::1;10366:230:168::0;8372:120:29::1;8599:5;8605:2;8599:9;;;;;;;;:::i;:::-;;;;;;;:17;;;8574:42;;:22;:42;;;;:::i;:::-;8549:67;;8741:5;8715:22;:31;;8690:132;;;::::0;::::1;::::0;;11976:2:168;8690:132:29::1;::::0;::::1;11958:21:168::0;12015:2;11995:18;;;11988:30;12054:34;12034:18;;;12027:62;12125:12;12105:18;;;12098:40;12155:19;;8690:132:29::1;11948:232:168::0;8690:132:29::1;8957:1;8924:35;;:5;8930:2;8924:9;;;;;;;;:::i;:::-;;;;;;;:21;;;:35;;;;8899:131;;;::::0;::::1;::::0;;9988:2:168;8899:131:29::1;::::0;::::1;9970:21:168::0;10027:2;10007:18;;;10000:30;10066:34;10046:18;;;10039:62;10137:7;10117:18;;;10110:35;10162:19;;8899:131:29::1;9960:227:168::0;8899:131:29::1;9110:25;::::0;;;:13:::1;:25;::::0;;;;;;;:41;;;;;;;;9157:9;;:5;;9163:2;;9157:9;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;9110:57;;::::1;::::0;::::1;::::0;;-1:-1:-1;9110:57:29;;;;;;;;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;9277:9;;9245:14;;9217:10;;9187:141:::1;::::0;9277:9;;9283:2;;9277:9;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;9187:141:::1;::::0;;5720:12:168;;5713:20;5706:28;5694:41;;5777:16;;;5771:23;5796:6;5767:36;5751:14;;;5744:60;;;;5846:16;;;5840:23;5865:14;5836:44;5820:14;;;5813:68;5934:4;5923:16;;;5917:23;5942:42;5913:72;5897:14;;;5890:96;9304:10:29::1;13690:3:168::0;13675:19;;13668:84;13600:3;13585:19;9187:141:29::1;;;;;;;8299:4:::0;::::1;::::0;::::1;:::i;:::-;;;;8259:1080;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;14:159:168;81:20;;141:6;130:18;;120:29;;110:2;;163:1;160;153:12;110:2;62:111;;;:::o;178:167::-;245:20;;305:14;294:26;;284:37;;274:2;;335:1;332;325:12;350:251;420:6;473:2;461:9;452:7;448:23;444:32;441:2;;;489:1;486;479:12;441:2;521:9;515:16;540:31;565:5;540:31;:::i;:::-;590:5;431:170;-1:-1:-1;;;431:170:168:o;606:245::-;673:6;726:2;714:9;705:7;701:23;697:32;694:2;;;742:1;739;732:12;694:2;774:9;768:16;793:28;815:5;793:28;:::i;1131:248::-;1199:6;1207;1260:2;1248:9;1239:7;1235:23;1231:32;1228:2;;;1276:1;1273;1266:12;1228:2;-1:-1:-1;;1299:23:168;;;1369:2;1354:18;;;1341:32;;-1:-1:-1;1218:161:168:o;1384:2017::-;1514:6;1522;1530;1561:2;1604;1592:9;1583:7;1579:23;1575:32;1572:2;;;1620:1;1617;1610:12;1572:2;1656:9;1643:23;1633:33;;1685:2;1734;1723:9;1719:18;1706:32;1696:42;;1757:2;1810;1799:9;1795:18;1782:32;1837:18;1829:6;1826:30;1823:2;;;1869:1;1866;1859:12;1823:2;1892:22;;1945:4;1937:13;;1933:27;-1:-1:-1;1923:2:168;;1974:1;1971;1964:12;1923:2;2010;1997:16;2033:69;2049:52;2098:2;2049:52;:::i;:::-;2033:69;:::i;:::-;2136:15;;;2167:12;;;;2199:11;;;2229:4;2260:11;;;2252:20;;2248:29;;2245:42;-1:-1:-1;2242:2:168;;;2300:1;2297;2290:12;2242:2;2322:1;2313:10;;2332:1039;2346:2;2343:1;2340:9;2332:1039;;;2417:2;2411:3;2402:7;2398:17;2394:26;2391:2;;;2433:1;2430;2423:12;2391:2;2463:22;;:::i;:::-;2526:3;2513:17;2543:30;2565:7;2543:30;:::i;:::-;2586:22;;2644:31;2662:12;;;2644:31;:::i;:::-;2639:2;2632:5;2628:14;2621:55;2712:31;2739:2;2734:3;2730:12;2712:31;:::i;:::-;2707:2;2700:5;2696:14;2689:55;2794:2;2789:3;2785:12;2772:26;2811:33;2836:7;2811:33;:::i;:::-;2864:14;;;2857:31;2911:3;2955:12;;;2942:26;2981:33;2942:26;2981:33;:::i;:::-;3034:14;;;3027:31;3081:3;3125:12;;;3112:26;3186:16;3173:30;;3161:43;;3151:2;;3218:1;3215;3208:12;3151:2;3242:14;;;3235:31;3279:18;;2364:1;2357:9;;;;;3317:12;;;;3349;;;;2332:1039;;;2336:3;;3390:5;3380:15;;;;;;;;;1541:1860;;;;;:::o;3406:1648::-;3536:6;3544;3552;3605:2;3593:9;3584:7;3580:23;3576:32;3573:2;;;3621:1;3618;3611:12;3573:2;3657:9;3644:23;3634:33;;3686:2;3735;3724:9;3720:18;3707:32;3697:42;;3758:2;3811;3800:9;3796:18;3783:32;3838:18;3830:6;3827:30;3824:2;;;3870:1;3867;3860:12;3824:2;3893:22;;3946:4;3938:13;;3934:27;-1:-1:-1;3924:2:168;;3975:1;3972;3965:12;3924:2;4011;3998:16;4034:69;4050:52;4099:2;4050:52;:::i;4034:69::-;4125:3;4149:2;4144:3;4137:15;4177:2;4172:3;4168:12;4161:19;;4208:2;4204;4200:11;4256:7;4251:2;4245;4242:1;4238:10;4234:2;4230:19;4226:28;4223:41;4220:2;;;4277:1;4274;4267:12;4220:2;4299:1;4290:10;;4320:1;4330:694;4346:2;4341:3;4338:11;4330:694;;;4405:4;4448:2;4442:3;4433:7;4429:17;4425:26;4422:2;;;4464:1;4461;4454:12;4422:2;4494:22;;:::i;:::-;4557:3;4544:17;4574:30;4596:7;4574:30;:::i;:::-;4617:22;;4675:31;4693:12;;;4675:31;:::i;:::-;4670:2;4663:5;4659:14;4652:55;4743:31;4770:2;4765:3;4761:12;4743:31;:::i;:::-;4738:2;4731:5;4727:14;4720:55;4825:2;4820:3;4816:12;4803:26;4842:33;4867:7;4842:33;:::i;:::-;4906:2;4895:14;;4888:31;4932:18;;4970:12;;;;5002;;;;;4368:1;4359:11;4330:694;;;4334:3;;5043:5;5033:15;;;;;;;;3563:1491;;;;;:::o;6472:711::-;6699:2;6751:21;;;6821:13;;6724:18;;;6843:22;;;6670:4;;6699:2;6922:15;;;;6896:2;6881:18;;;6670:4;6965:192;6979:6;6976:1;6973:13;6965:192;;;7028:47;7071:3;7062:6;7056:13;5154:5;5148:12;5141:20;5134:28;5129:3;5122:41;5224:6;5216:4;5209:5;5205:16;5199:23;5195:36;5188:4;5183:3;5179:14;5172:60;5293:14;5285:4;5278:5;5274:16;5268:23;5264:44;5257:4;5252:3;5248:14;5241:68;5355:4;5348:5;5344:16;5338:23;5380:42;5472:2;5458:12;5454:21;5447:4;5442:3;5438:14;5431:45;5537:2;5529:4;5522:5;5518:16;5512:23;5508:32;5501:4;5496:3;5492:14;5485:56;;;5602:16;5594:4;5587:5;5583:16;5577:23;5573:46;5566:4;5561:3;5557:14;5550:70;5112:514;;;7028:47;7132:15;;;;7104:4;7095:14;;;;;7001:1;6994:9;6965:192;;;-1:-1:-1;7174:3:168;;6679:504;-1:-1:-1;;;;;;6679:504:168:o;7188:711::-;7415:2;7467:21;;;7537:13;;7440:18;;;7559:22;;;7386:4;;7415:2;7638:15;;;;7612:2;7597:18;;;7386:4;7681:192;7695:6;7692:1;7689:13;7681:192;;;7744:47;7787:3;7778:6;7772:13;5726:5;5720:12;5713:20;5706:28;5701:3;5694:41;5796:6;5788:4;5781:5;5777:16;5771:23;5767:36;5760:4;5755:3;5751:14;5744:60;5865:14;5857:4;5850:5;5846:16;5840:23;5836:44;5829:4;5824:3;5820:14;5813:68;5942:42;5934:4;5927:5;5923:16;5917:23;5913:72;5906:4;5901:3;5897:14;5890:96;5684:308;;;7744:47;7848:15;;;;7820:4;7811:14;;;;;7717:1;7710:9;7681:192;;13001:376;13219:3;13204:19;;13232:46;13208:9;13260:6;5154:5;5148:12;5141:20;5134:28;5129:3;5122:41;5224:6;5216:4;5209:5;5205:16;5199:23;5195:36;5188:4;5183:3;5179:14;5172:60;5293:14;5285:4;5278:5;5274:16;5268:23;5264:44;5257:4;5252:3;5248:14;5241:68;5355:4;5348:5;5344:16;5338:23;5380:42;5472:2;5458:12;5454:21;5447:4;5442:3;5438:14;5431:45;5537:2;5529:4;5522:5;5518:16;5512:23;5508:32;5501:4;5496:3;5492:14;5485:56;;;5602:16;5594:4;5587:5;5583:16;5577:23;5573:46;5566:4;5561:3;5557:14;5550:70;5112:514;;;13232:46;13327:42;13319:6;13315:55;13309:3;13298:9;13294:19;13287:84;13186:191;;;;;:::o;13945:253::-;14017:2;14011:9;14059:4;14047:17;;14094:18;14079:34;;14115:22;;;14076:62;14073:2;;;14141:18;;:::i;:::-;14177:2;14170:22;13991:207;:::o;14203:253::-;14275:2;14269:9;14317:4;14305:17;;14352:18;14337:34;;14373:22;;;14334:62;14331:2;;;14399:18;;:::i;14461:334::-;14532:2;14526:9;14588:2;14578:13;;14593:66;14574:86;14562:99;;14691:18;14676:34;;14712:22;;;14673:62;14670:2;;;14738:18;;:::i;:::-;14774:2;14767:22;14506:289;;-1:-1:-1;14506:289:168:o;14800:192::-;14869:4;14902:18;14894:6;14891:30;14888:2;;;14924:18;;:::i;:::-;-1:-1:-1;14969:1:168;14965:14;14981:4;14961:25;;14878:114::o;14997:128::-;15037:3;15068:1;15064:6;15061:1;15058:13;15055:2;;;15074:18;;:::i;:::-;-1:-1:-1;15110:9:168;;15045:80::o;15130:195::-;15169:3;15200:66;15193:5;15190:77;15187:2;;;15270:18;;:::i;:::-;-1:-1:-1;15317:1:168;15306:13;;15177:148::o;15330:184::-;15382:77;15379:1;15372:88;15479:4;15476:1;15469:15;15503:4;15500:1;15493:15;15519:184;15571:77;15568:1;15561:88;15668:4;15665:1;15658:15;15692:4;15689:1;15682:15;15708:184;15760:77;15757:1;15750:88;15857:4;15854:1;15847:15;15881:4;15878:1;15871:15;15897:154;15983:42;15976:5;15972:54;15965:5;15962:65;15952:2;;16041:1;16038;16031:12;16056:118;16142:5;16135:13;16128:21;16121:5;16118:32;16108:2;;16164:1;16161;16154:12",
    "linkReferences": {},
    "immutableReferences": {
      "10967": [
        {
          "start": 344,
          "length": 32
        },
        {
          "start": 1339,
          "length": 32
        },
        {
          "start": 4439,
          "length": 32
        }
      ],
      "11010": [
        {
          "start": 176,
          "length": 32
        },
        {
          "start": 1097,
          "length": 32
        },
        {
          "start": 4197,
          "length": 32
        }
      ],
      "5493": [
        {
          "start": 284,
          "length": 32
        },
        {
          "start": 881,
          "length": 32
        },
        {
          "start": 3981,
          "length": 32
        }
      ]
    }
  },
  "methodIdentifiers": {
    "operatorStore()": "ad007d63",
    "payoutModsOf(uint256,uint256)": "7559aaaa",
    "projects()": "8b79543c",
    "setPayoutMods(uint256,uint256,(bool,uint16,uint48,address,address,uint56)[])": "a67e210a",
    "setTicketMods(uint256,uint256,(bool,uint16,uint48,address)[])": "ebe352a4",
    "terminalDirectory()": "6abcf8e3",
    "ticketModsOf(uint256,uint256)": "4833b512"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IProjects\",\"name\":\"_projects\",\"type\":\"address\"},{\"internalType\":\"contract IOperatorStore\",\"name\":\"_operatorStore\",\"type\":\"address\"},{\"internalType\":\"contract ITerminalDirectory\",\"name\":\"_terminalDirectory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"contract IModAllocator\",\"name\":\"allocator\",\"type\":\"address\"},{\"internalType\":\"uint56\",\"name\":\"projectId\",\"type\":\"uint56\"}],\"indexed\":false,\"internalType\":\"struct PayoutMod\",\"name\":\"mods\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetPayoutMod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"configuration\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"struct TicketMod\",\"name\":\"mods\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"SetTicketMod\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"operatorStore\",\"outputs\":[{\"internalType\":\"contract IOperatorStore\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_configuration\",\"type\":\"uint256\"}],\"name\":\"payoutModsOf\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"contract IModAllocator\",\"name\":\"allocator\",\"type\":\"address\"},{\"internalType\":\"uint56\",\"name\":\"projectId\",\"type\":\"uint56\"}],\"internalType\":\"struct PayoutMod[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"projects\",\"outputs\":[{\"internalType\":\"contract IProjects\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_configuration\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"contract IModAllocator\",\"name\":\"allocator\",\"type\":\"address\"},{\"internalType\":\"uint56\",\"name\":\"projectId\",\"type\":\"uint56\"}],\"internalType\":\"struct PayoutMod[]\",\"name\":\"_mods\",\"type\":\"tuple[]\"}],\"name\":\"setPayoutMods\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_configuration\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct TicketMod[]\",\"name\":\"_mods\",\"type\":\"tuple[]\"}],\"name\":\"setTicketMods\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"terminalDirectory\",\"outputs\":[{\"internalType\":\"contract ITerminalDirectory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_configuration\",\"type\":\"uint256\"}],\"name\":\"ticketModsOf\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"preferUnstaked\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"percent\",\"type\":\"uint16\"},{\"internalType\":\"uint48\",\"name\":\"lockedUntil\",\"type\":\"uint48\"},{\"internalType\":\"address payable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"internalType\":\"struct TicketMod[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Mods can be used to distribute a percentage of payments or tickets to preconfigured beneficiaries.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"_operatorStore\":\"A contract storing operator assignments.\",\"_projects\":\"The contract storing project information\",\"_terminalDirectory\":\"A directory of a project's current Juicebox terminal to receive payments in.\"}},\"payoutModsOf(uint256,uint256)\":{\"params\":{\"_configuration\":\"The configuration to get mods for.\",\"_projectId\":\"The ID of the project to get mods for.\"},\"returns\":{\"_0\":\"An array of all mods for the project.\"}},\"setPayoutMods(uint256,uint256,(bool,uint16,uint48,address,address,uint56)[])\":{\"details\":\"Only the owner or operator of a project can make this call, or the current terminal of the project.\",\"params\":{\"_configuration\":\"The configuration to set the mods to be active during.\",\"_mods\":\"The payout mods to set.\",\"_projectId\":\"The project to add a mod to.\"}},\"setTicketMods(uint256,uint256,(bool,uint16,uint48,address)[])\":{\"details\":\"Only the owner or operator of a project can make this call, or the current terminal of the project.\",\"params\":{\"_configuration\":\"The configuration to set the mods to be active during.\",\"_mods\":\"The ticket mods to set.\",\"_projectId\":\"The project to add a mod to.\"}},\"ticketModsOf(uint256,uint256)\":{\"params\":{\"_configuration\":\"The configuration to get mods for.\",\"_projectId\":\"The ID of the project to get mods for.\"},\"returns\":{\"_0\":\"An array of all mods for the project.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"operatorStore()\":{\"notice\":\"A contract storing operator assignments.\"},\"payoutModsOf(uint256,uint256)\":{\"notice\":\" Get all payout mods for the specified project ID.\"},\"projects()\":{\"notice\":\"The contract storing project information.\"},\"setPayoutMods(uint256,uint256,(bool,uint16,uint48,address,address,uint56)[])\":{\"notice\":\" Adds a mod to the payout mods list.\"},\"setTicketMods(uint256,uint256,(bool,uint16,uint48,address)[])\":{\"notice\":\" Adds a mod to the ticket mods list.\"},\"terminalDirectory()\":{\"notice\":\"The direct deposit terminals.\"},\"ticketModsOf(uint256,uint256)\":{\"notice\":\" Get all ticket mods for the specified project ID.\"}},\"notice\":\"Stores mods for each project.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v1/contracts/ModStore.sol\":\"ModStore\"},\"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/ModStore.sol\":{\"keccak256\":\"0x962a1cc11f3ddaa64ae644656b9926a1e83bdd7e3c78145f4795570596fb620a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://54bb5e58f06fcd569ca00171c5c7f14b1c5bbb4b5e2d6c092957f8df60d861d7\",\"dweb:/ipfs/QmaYAVPeGYCAKqC4VvNwu1SLavuC1BVmDfwWrEpP3sCopU\"]},\"lib/juice-contracts-v1/contracts/abstract/Operatable.sol\":{\"keccak256\":\"0x5401b4930a799c898c61bbf3c27331f8f097fa326124ba95d2e119dc49bdd44e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e02afbbb07331870557db2855a200ce981730ad0466fe39cab65d1935746e8da\",\"dweb:/ipfs/QmaKSfeTnEZZzrCmUHBNQsrtet9m6utthEaS9bY3PrztVV\"]},\"lib/juice-contracts-v1/contracts/abstract/TerminalUtility.sol\":{\"keccak256\":\"0x49513e4e47886230f223b0e8623e4e5390eaab9bb032da3b7664bac1adb00809\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba3c51d1c091578a6b48f216debfd52b7054282d008e42e788c14ceb07316534\",\"dweb:/ipfs/Qmeb7Wyd1MdJhthLpntPC3bx67dFPPnJinQWnSVUDV5u2u\"]},\"lib/juice-contracts-v1/contracts/interfaces/IDirectPaymentAddress.sol\":{\"keccak256\":\"0xadcaeb92b5682b85f48c4a8923e82b54bbee28ef31a54e7ec8dea31efe45ee7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://27ec298aa604532de06f56c2c932cc017b9bfc5b196f0781ebb54909dc7bc4a7\",\"dweb:/ipfs/QmT5ut8rzEsoebYAv2fmSDWYYKyNULGGD9KaVU1qCDhxhH\"]},\"lib/juice-contracts-v1/contracts/interfaces/IModAllocator.sol\":{\"keccak256\":\"0x7fa3496d09249348a6be4614d282d4da9aa0042fcae1d5c117001df0ac5c10ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://916e1d2173c1d2151ac10be09b4222f5a053e8cef18462d752873226779c808c\",\"dweb:/ipfs/QmZD3CNtE3nDeaqataApxJ28GMajaZ2LbWp5d64pxXbzPb\"]},\"lib/juice-contracts-v1/contracts/interfaces/IModStore.sol\":{\"keccak256\":\"0xd265501b6abeec0bcab11f972c6d36ba47bfda57a53dd85cade4940d3e11132c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c3a00b880a7782e12df17b5006cec50405f3b840db7054a27a1ce07bf4146bc\",\"dweb:/ipfs/QmZi3T8pQwpFPaBfSyFbj2L6MAj1dTSsTigjSo6SWQZmRj\"]},\"lib/juice-contracts-v1/contracts/interfaces/IOperatable.sol\":{\"keccak256\":\"0x10ffe2fb0f91614f11479cc2aac6c62e887fe1b74ad280bea845fab8833e648c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://57f2dee5fce5e3813537023115a7e359d6d0ff987f02dd25c481ca541a958c60\",\"dweb:/ipfs/QmeHAPxTDwMeUKMJM8AVHyV131VZDinAyXq5qQfZT7fDpq\"]},\"lib/juice-contracts-v1/contracts/interfaces/IOperatorStore.sol\":{\"keccak256\":\"0x1fefddcf072d01ffd86b5743d8f1e6ac32b4c5bc0af54b9cf2e00fb79d22d90d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://76d837c380f40598f9a3854924a19cf89daad9bc6856adca304ca5a4b8d90e87\",\"dweb:/ipfs/QmWbb6Si6Fic7uWCfLeP9AstCWocKcQe99bae1QbhmrRb5\"]},\"lib/juice-contracts-v1/contracts/interfaces/IProjects.sol\":{\"keccak256\":\"0xdc9b7c9924ea448c7aaab16d5a56b9b3b09b58406ae34026687337eee7ba4a4e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a6c8ea8188c310082c2ad6205725323b9a47208a52820f51c1b8b0a80009331b\",\"dweb:/ipfs/Qmanm8gvVL6tv2qNm5UC9TLZ49pLAmqHJRT6Q1rXW2s42g\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITerminal.sol\":{\"keccak256\":\"0x45efad59fd33dab1b05c0d59d1f623fbd9fc67373cf7b4da603078369611cd88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://093b1157f9a56dd5d38d9aff46d2e76f380dbf5f6792bd1453c17e3b361cf767\",\"dweb:/ipfs/QmSYJoCBuhjJp3tX1yx4NfdEQTrf9R4kau8UiHErjky88L\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITerminalDirectory.sol\":{\"keccak256\":\"0xee026727319ec7f26119fe026c2d5eb3b6769e7bd00f7b39c543b130617cb8bf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7e8e337cb7dc8501afd37fc5a285e930aeec4fe4d36efcc39382eb3cb50212d0\",\"dweb:/ipfs/QmZqD4AbrAwz7kyDeDGGnqLHHD1W7U5SHSngiDRPTbKqzn\"]},\"lib/juice-contracts-v1/contracts/interfaces/ITerminalUtility.sol\":{\"keccak256\":\"0xd35ed0beda0fbb1ca01611ba720587db23b2c839d2998df001f2f58813a8387f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1013c29595becd1843975bfe3bbc42f32e38b9f0d5d8fa5a858b5f055a885824\",\"dweb:/ipfs/QmYb5ZoWovCAvGQXD4o6pL7DAtVT3GPWcHAFghauxWndu6\"]},\"lib/juice-contracts-v1/contracts/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"
            },
            {
              "internalType": "contract ITerminalDirectory",
              "name": "_terminalDirectory",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "constructor"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "configuration",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "struct PayoutMod",
              "name": "mods",
              "type": "tuple",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferUnstaked",
                  "type": "bool"
                },
                {
                  "internalType": "uint16",
                  "name": "percent",
                  "type": "uint16"
                },
                {
                  "internalType": "uint48",
                  "name": "lockedUntil",
                  "type": "uint48"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "contract IModAllocator",
                  "name": "allocator",
                  "type": "address"
                },
                {
                  "internalType": "uint56",
                  "name": "projectId",
                  "type": "uint56"
                }
              ],
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetPayoutMod",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "uint256",
              "name": "configuration",
              "type": "uint256",
              "indexed": true
            },
            {
              "internalType": "struct TicketMod",
              "name": "mods",
              "type": "tuple",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferUnstaked",
                  "type": "bool"
                },
                {
                  "internalType": "uint16",
                  "name": "percent",
                  "type": "uint16"
                },
                {
                  "internalType": "uint48",
                  "name": "lockedUntil",
                  "type": "uint48"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                }
              ],
              "indexed": false
            },
            {
              "internalType": "address",
              "name": "caller",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "SetTicketMod",
          "anonymous": false
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "operatorStore",
          "outputs": [
            {
              "internalType": "contract IOperatorStore",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_configuration",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "payoutModsOf",
          "outputs": [
            {
              "internalType": "struct PayoutMod[]",
              "name": "",
              "type": "tuple[]",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferUnstaked",
                  "type": "bool"
                },
                {
                  "internalType": "uint16",
                  "name": "percent",
                  "type": "uint16"
                },
                {
                  "internalType": "uint48",
                  "name": "lockedUntil",
                  "type": "uint48"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "contract IModAllocator",
                  "name": "allocator",
                  "type": "address"
                },
                {
                  "internalType": "uint56",
                  "name": "projectId",
                  "type": "uint56"
                }
              ]
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "projects",
          "outputs": [
            {
              "internalType": "contract IProjects",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_configuration",
              "type": "uint256"
            },
            {
              "internalType": "struct PayoutMod[]",
              "name": "_mods",
              "type": "tuple[]",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferUnstaked",
                  "type": "bool"
                },
                {
                  "internalType": "uint16",
                  "name": "percent",
                  "type": "uint16"
                },
                {
                  "internalType": "uint48",
                  "name": "lockedUntil",
                  "type": "uint48"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "contract IModAllocator",
                  "name": "allocator",
                  "type": "address"
                },
                {
                  "internalType": "uint56",
                  "name": "projectId",
                  "type": "uint56"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setPayoutMods"
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_configuration",
              "type": "uint256"
            },
            {
              "internalType": "struct TicketMod[]",
              "name": "_mods",
              "type": "tuple[]",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferUnstaked",
                  "type": "bool"
                },
                {
                  "internalType": "uint16",
                  "name": "percent",
                  "type": "uint16"
                },
                {
                  "internalType": "uint48",
                  "name": "lockedUntil",
                  "type": "uint48"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setTicketMods"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "terminalDirectory",
          "outputs": [
            {
              "internalType": "contract ITerminalDirectory",
              "name": "",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_configuration",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "ticketModsOf",
          "outputs": [
            {
              "internalType": "struct TicketMod[]",
              "name": "",
              "type": "tuple[]",
              "components": [
                {
                  "internalType": "bool",
                  "name": "preferUnstaked",
                  "type": "bool"
                },
                {
                  "internalType": "uint16",
                  "name": "percent",
                  "type": "uint16"
                },
                {
                  "internalType": "uint48",
                  "name": "lockedUntil",
                  "type": "uint48"
                },
                {
                  "internalType": "address payable",
                  "name": "beneficiary",
                  "type": "address"
                }
              ]
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "constructor": {
            "params": {
              "_operatorStore": "A contract storing operator assignments.",
              "_projects": "The contract storing project information",
              "_terminalDirectory": "A directory of a project's current Juicebox terminal to receive payments in."
            }
          },
          "payoutModsOf(uint256,uint256)": {
            "params": {
              "_configuration": "The configuration to get mods for.",
              "_projectId": "The ID of the project to get mods for."
            },
            "returns": {
              "_0": "An array of all mods for the project."
            }
          },
          "setPayoutMods(uint256,uint256,(bool,uint16,uint48,address,address,uint56)[])": {
            "details": "Only the owner or operator of a project can make this call, or the current terminal of the project.",
            "params": {
              "_configuration": "The configuration to set the mods to be active during.",
              "_mods": "The payout mods to set.",
              "_projectId": "The project to add a mod to."
            }
          },
          "setTicketMods(uint256,uint256,(bool,uint16,uint48,address)[])": {
            "details": "Only the owner or operator of a project can make this call, or the current terminal of the project.",
            "params": {
              "_configuration": "The configuration to set the mods to be active during.",
              "_mods": "The ticket mods to set.",
              "_projectId": "The project to add a mod to."
            }
          },
          "ticketModsOf(uint256,uint256)": {
            "params": {
              "_configuration": "The configuration to get mods for.",
              "_projectId": "The ID of the project to get mods for."
            },
            "returns": {
              "_0": "An array of all mods for the project."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "operatorStore()": {
            "notice": "A contract storing operator assignments."
          },
          "payoutModsOf(uint256,uint256)": {
            "notice": " Get all payout mods for the specified project ID."
          },
          "projects()": {
            "notice": "The contract storing project information."
          },
          "setPayoutMods(uint256,uint256,(bool,uint16,uint48,address,address,uint56)[])": {
            "notice": " Adds a mod to the payout mods list."
          },
          "setTicketMods(uint256,uint256,(bool,uint16,uint48,address)[])": {
            "notice": " Adds a mod to the ticket mods list."
          },
          "terminalDirectory()": {
            "notice": "The direct deposit terminals."
          },
          "ticketModsOf(uint256,uint256)": {
            "notice": " Get all ticket mods for the specified project ID."
          }
        },
        "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/ModStore.sol": "ModStore"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v1/contracts/ModStore.sol": {
        "keccak256": "0x962a1cc11f3ddaa64ae644656b9926a1e83bdd7e3c78145f4795570596fb620a",
        "urls": [
          "bzz-raw://54bb5e58f06fcd569ca00171c5c7f14b1c5bbb4b5e2d6c092957f8df60d861d7",
          "dweb:/ipfs/QmaYAVPeGYCAKqC4VvNwu1SLavuC1BVmDfwWrEpP3sCopU"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/abstract/Operatable.sol": {
        "keccak256": "0x5401b4930a799c898c61bbf3c27331f8f097fa326124ba95d2e119dc49bdd44e",
        "urls": [
          "bzz-raw://e02afbbb07331870557db2855a200ce981730ad0466fe39cab65d1935746e8da",
          "dweb:/ipfs/QmaKSfeTnEZZzrCmUHBNQsrtet9m6utthEaS9bY3PrztVV"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/abstract/TerminalUtility.sol": {
        "keccak256": "0x49513e4e47886230f223b0e8623e4e5390eaab9bb032da3b7664bac1adb00809",
        "urls": [
          "bzz-raw://ba3c51d1c091578a6b48f216debfd52b7054282d008e42e788c14ceb07316534",
          "dweb:/ipfs/Qmeb7Wyd1MdJhthLpntPC3bx67dFPPnJinQWnSVUDV5u2u"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IDirectPaymentAddress.sol": {
        "keccak256": "0xadcaeb92b5682b85f48c4a8923e82b54bbee28ef31a54e7ec8dea31efe45ee7e",
        "urls": [
          "bzz-raw://27ec298aa604532de06f56c2c932cc017b9bfc5b196f0781ebb54909dc7bc4a7",
          "dweb:/ipfs/QmT5ut8rzEsoebYAv2fmSDWYYKyNULGGD9KaVU1qCDhxhH"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IModAllocator.sol": {
        "keccak256": "0x7fa3496d09249348a6be4614d282d4da9aa0042fcae1d5c117001df0ac5c10ca",
        "urls": [
          "bzz-raw://916e1d2173c1d2151ac10be09b4222f5a053e8cef18462d752873226779c808c",
          "dweb:/ipfs/QmZD3CNtE3nDeaqataApxJ28GMajaZ2LbWp5d64pxXbzPb"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IModStore.sol": {
        "keccak256": "0xd265501b6abeec0bcab11f972c6d36ba47bfda57a53dd85cade4940d3e11132c",
        "urls": [
          "bzz-raw://7c3a00b880a7782e12df17b5006cec50405f3b840db7054a27a1ce07bf4146bc",
          "dweb:/ipfs/QmZi3T8pQwpFPaBfSyFbj2L6MAj1dTSsTigjSo6SWQZmRj"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IOperatable.sol": {
        "keccak256": "0x10ffe2fb0f91614f11479cc2aac6c62e887fe1b74ad280bea845fab8833e648c",
        "urls": [
          "bzz-raw://57f2dee5fce5e3813537023115a7e359d6d0ff987f02dd25c481ca541a958c60",
          "dweb:/ipfs/QmeHAPxTDwMeUKMJM8AVHyV131VZDinAyXq5qQfZT7fDpq"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IOperatorStore.sol": {
        "keccak256": "0x1fefddcf072d01ffd86b5743d8f1e6ac32b4c5bc0af54b9cf2e00fb79d22d90d",
        "urls": [
          "bzz-raw://76d837c380f40598f9a3854924a19cf89daad9bc6856adca304ca5a4b8d90e87",
          "dweb:/ipfs/QmWbb6Si6Fic7uWCfLeP9AstCWocKcQe99bae1QbhmrRb5"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/IProjects.sol": {
        "keccak256": "0xdc9b7c9924ea448c7aaab16d5a56b9b3b09b58406ae34026687337eee7ba4a4e",
        "urls": [
          "bzz-raw://a6c8ea8188c310082c2ad6205725323b9a47208a52820f51c1b8b0a80009331b",
          "dweb:/ipfs/Qmanm8gvVL6tv2qNm5UC9TLZ49pLAmqHJRT6Q1rXW2s42g"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITerminal.sol": {
        "keccak256": "0x45efad59fd33dab1b05c0d59d1f623fbd9fc67373cf7b4da603078369611cd88",
        "urls": [
          "bzz-raw://093b1157f9a56dd5d38d9aff46d2e76f380dbf5f6792bd1453c17e3b361cf767",
          "dweb:/ipfs/QmSYJoCBuhjJp3tX1yx4NfdEQTrf9R4kau8UiHErjky88L"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITerminalDirectory.sol": {
        "keccak256": "0xee026727319ec7f26119fe026c2d5eb3b6769e7bd00f7b39c543b130617cb8bf",
        "urls": [
          "bzz-raw://7e8e337cb7dc8501afd37fc5a285e930aeec4fe4d36efcc39382eb3cb50212d0",
          "dweb:/ipfs/QmZqD4AbrAwz7kyDeDGGnqLHHD1W7U5SHSngiDRPTbKqzn"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/interfaces/ITerminalUtility.sol": {
        "keccak256": "0xd35ed0beda0fbb1ca01611ba720587db23b2c839d2998df001f2f58813a8387f",
        "urls": [
          "bzz-raw://1013c29595becd1843975bfe3bbc42f32e38b9f0d5d8fa5a858b5f055a885824",
          "dweb:/ipfs/QmYb5ZoWovCAvGQXD4o6pL7DAtVT3GPWcHAFghauxWndu6"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v1/contracts/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/ModStore.sol",
    "id": 6013,
    "exportedSymbols": {
      "IDirectPaymentAddress": [
        36101
      ],
      "IERC165": [
        38868
      ],
      "IERC721": [
        37612
      ],
      "IModAllocator": [
        11247
      ],
      "IModStore": [
        11348
      ],
      "IOperatable": [
        11358
      ],
      "IOperatorStore": [
        36269
      ],
      "IProjects": [
        36554
      ],
      "ITerminal": [
        36604
      ],
      "ITerminalDirectory": [
        36192
      ],
      "ITerminalUtility": [
        11414
      ],
      "ModStore": [
        6012
      ],
      "Operatable": [
        10980
      ],
      "Operations": [
        12243
      ],
      "PayoutMod": [
        11266
      ],
      "TerminalUtility": [
        11023
      ],
      "TicketMod": [
        11275
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:9316:29",
    "nodes": [
      {
        "id": 5461,
        "nodeType": "PragmaDirective",
        "src": "32:22:29",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 5462,
        "nodeType": "ImportDirective",
        "src": "56:36:29",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/interfaces/IModStore.sol",
        "file": "./interfaces/IModStore.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 6013,
        "sourceUnit": 11349,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 5463,
        "nodeType": "ImportDirective",
        "src": "93:35:29",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/abstract/Operatable.sol",
        "file": "./abstract/Operatable.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 6013,
        "sourceUnit": 10981,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 5464,
        "nodeType": "ImportDirective",
        "src": "129:40:29",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/abstract/TerminalUtility.sol",
        "file": "./abstract/TerminalUtility.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 6013,
        "sourceUnit": 11024,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 5465,
        "nodeType": "ImportDirective",
        "src": "171:36:29",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v1/contracts/libraries/Operations.sol",
        "file": "./libraries/Operations.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 6013,
        "sourceUnit": 12244,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 6012,
        "nodeType": "ContractDefinition",
        "src": "367:8980:29",
        "nodes": [
          {
            "id": 5480,
            "nodeType": "VariableDeclaration",
            "src": "539:73:29",
            "nodes": [],
            "constant": false,
            "mutability": "mutable",
            "name": "_payoutModsOf",
            "nameLocation": "599:13:29",
            "scope": 6012,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$_$",
              "typeString": "mapping(uint256 => mapping(uint256 => struct PayoutMod[]))"
            },
            "typeName": {
              "id": 5479,
              "keyType": {
                "id": 5473,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "547:7:29",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "539:51:29",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$_$",
                "typeString": "mapping(uint256 => mapping(uint256 => struct PayoutMod[]))"
              },
              "valueType": {
                "id": 5478,
                "keyType": {
                  "id": 5474,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "566:7:29",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "558:31:29",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$",
                  "typeString": "mapping(uint256 => struct PayoutMod[])"
                },
                "valueType": {
                  "baseType": {
                    "id": 5476,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5475,
                      "name": "PayoutMod",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 11266,
                      "src": "577:9:29"
                    },
                    "referencedDeclaration": 11266,
                    "src": "577:9:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_PayoutMod_$11266_storage_ptr",
                      "typeString": "struct PayoutMod"
                    }
                  },
                  "id": 5477,
                  "nodeType": "ArrayTypeName",
                  "src": "577:11:29",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_ptr",
                    "typeString": "struct PayoutMod[]"
                  }
                }
              }
            },
            "visibility": "private"
          },
          {
            "id": 5488,
            "nodeType": "VariableDeclaration",
            "src": "680:73:29",
            "nodes": [],
            "constant": false,
            "mutability": "mutable",
            "name": "_ticketModsOf",
            "nameLocation": "740:13:29",
            "scope": 6012,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$_$",
              "typeString": "mapping(uint256 => mapping(uint256 => struct TicketMod[]))"
            },
            "typeName": {
              "id": 5487,
              "keyType": {
                "id": 5481,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "688:7:29",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "680:51:29",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$_$",
                "typeString": "mapping(uint256 => mapping(uint256 => struct TicketMod[]))"
              },
              "valueType": {
                "id": 5486,
                "keyType": {
                  "id": 5482,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "707:7:29",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "nodeType": "Mapping",
                "src": "699:31:29",
                "typeDescriptions": {
                  "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$",
                  "typeString": "mapping(uint256 => struct TicketMod[])"
                },
                "valueType": {
                  "baseType": {
                    "id": 5484,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5483,
                      "name": "TicketMod",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 11275,
                      "src": "718:9:29"
                    },
                    "referencedDeclaration": 11275,
                    "src": "718:9:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_TicketMod_$11275_storage_ptr",
                      "typeString": "struct TicketMod"
                    }
                  },
                  "id": 5485,
                  "nodeType": "ArrayTypeName",
                  "src": "718:11:29",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_ptr",
                    "typeString": "struct TicketMod[]"
                  }
                }
              }
            },
            "visibility": "private"
          },
          {
            "id": 5493,
            "nodeType": "VariableDeclaration",
            "src": "872:44:29",
            "nodes": [],
            "baseFunctions": [
              11303
            ],
            "constant": false,
            "documentation": {
              "id": 5489,
              "nodeType": "StructuredDocumentation",
              "src": "814:53:29",
              "text": "@notice The contract storing project information."
            },
            "functionSelector": "8b79543c",
            "mutability": "immutable",
            "name": "projects",
            "nameLocation": "908:8:29",
            "overrides": {
              "id": 5492,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "899:8:29"
            },
            "scope": 6012,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_IProjects_$36554",
              "typeString": "contract IProjects"
            },
            "typeName": {
              "id": 5491,
              "nodeType": "UserDefinedTypeName",
              "pathNode": {
                "id": 5490,
                "name": "IProjects",
                "nodeType": "IdentifierPath",
                "referencedDeclaration": 36554,
                "src": "872:9:29"
              },
              "referencedDeclaration": 36554,
              "src": "872:9:29",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IProjects_$36554",
                "typeString": "contract IProjects"
              }
            },
            "visibility": "public"
          },
          {
            "id": 5513,
            "nodeType": "FunctionDefinition",
            "src": "1222:219:29",
            "nodes": [],
            "body": {
              "id": 5512,
              "nodeType": "Block",
              "src": "1376:65:29",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "baseExpression": {
                      "baseExpression": {
                        "id": 5506,
                        "name": "_payoutModsOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5480,
                        "src": "1393:13:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$_$",
                          "typeString": "mapping(uint256 => mapping(uint256 => struct PayoutMod storage ref[] storage ref))"
                        }
                      },
                      "id": 5508,
                      "indexExpression": {
                        "id": 5507,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5496,
                        "src": "1407:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1393:25:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct PayoutMod storage ref[] storage ref)"
                      }
                    },
                    "id": 5510,
                    "indexExpression": {
                      "id": 5509,
                      "name": "_configuration",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5498,
                      "src": "1419:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1393:41:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage",
                      "typeString": "struct PayoutMod storage ref[] storage ref"
                    }
                  },
                  "functionReturnParameters": 5505,
                  "id": 5511,
                  "nodeType": "Return",
                  "src": "1386:48:29"
                }
              ]
            },
            "baseFunctions": [
              11314
            ],
            "documentation": {
              "id": 5494,
              "nodeType": "StructuredDocumentation",
              "src": "955:262:29",
              "text": "@notice \nGet all payout mods for the specified project ID.\n@param _projectId The ID of the project to get mods for.\n@param _configuration The configuration to get mods for.\n@return An array of all mods for the project."
            },
            "functionSelector": "7559aaaa",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "payoutModsOf",
            "nameLocation": "1231:12:29",
            "overrides": {
              "id": 5500,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1326:8:29"
            },
            "parameters": {
              "id": 5499,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5496,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1252:10:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5513,
                  "src": "1244:18:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5495,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1244:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5498,
                  "mutability": "mutable",
                  "name": "_configuration",
                  "nameLocation": "1272:14:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5513,
                  "src": "1264:22:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5497,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1264:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1243:44:29"
            },
            "returnParameters": {
              "id": 5505,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5504,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 5513,
                  "src": "1352:18:29",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                    "typeString": "struct PayoutMod[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5502,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 5501,
                        "name": "PayoutMod",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 11266,
                        "src": "1352:9:29"
                      },
                      "referencedDeclaration": 11266,
                      "src": "1352:9:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_PayoutMod_$11266_storage_ptr",
                        "typeString": "struct PayoutMod"
                      }
                    },
                    "id": 5503,
                    "nodeType": "ArrayTypeName",
                    "src": "1352:11:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_ptr",
                      "typeString": "struct PayoutMod[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1351:20:29"
            },
            "scope": 6012,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 5533,
            "nodeType": "FunctionDefinition",
            "src": "1714:219:29",
            "nodes": [],
            "body": {
              "id": 5532,
              "nodeType": "Block",
              "src": "1868:65:29",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "baseExpression": {
                      "baseExpression": {
                        "id": 5526,
                        "name": "_ticketModsOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5488,
                        "src": "1885:13:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$_$",
                          "typeString": "mapping(uint256 => mapping(uint256 => struct TicketMod storage ref[] storage ref))"
                        }
                      },
                      "id": 5528,
                      "indexExpression": {
                        "id": 5527,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5516,
                        "src": "1899:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "1885:25:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct TicketMod storage ref[] storage ref)"
                      }
                    },
                    "id": 5530,
                    "indexExpression": {
                      "id": 5529,
                      "name": "_configuration",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5518,
                      "src": "1911:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1885:41:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage",
                      "typeString": "struct TicketMod storage ref[] storage ref"
                    }
                  },
                  "functionReturnParameters": 5525,
                  "id": 5531,
                  "nodeType": "Return",
                  "src": "1878:48:29"
                }
              ]
            },
            "baseFunctions": [
              11325
            ],
            "documentation": {
              "id": 5514,
              "nodeType": "StructuredDocumentation",
              "src": "1447:262:29",
              "text": "@notice \nGet all ticket mods for the specified project ID.\n@param _projectId The ID of the project to get mods for.\n@param _configuration The configuration to get mods for.\n@return An array of all mods for the project."
            },
            "functionSelector": "4833b512",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "ticketModsOf",
            "nameLocation": "1723:12:29",
            "overrides": {
              "id": 5520,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1818:8:29"
            },
            "parameters": {
              "id": 5519,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5516,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1744:10:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5533,
                  "src": "1736:18:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5515,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1736:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5518,
                  "mutability": "mutable",
                  "name": "_configuration",
                  "nameLocation": "1764:14:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5533,
                  "src": "1756:22:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5517,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1756:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1735:44:29"
            },
            "returnParameters": {
              "id": 5525,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5524,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 5533,
                  "src": "1844:18:29",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                    "typeString": "struct TicketMod[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5522,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 5521,
                        "name": "TicketMod",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 11275,
                        "src": "1844:9:29"
                      },
                      "referencedDeclaration": 11275,
                      "src": "1844:9:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_TicketMod_$11275_storage_ptr",
                        "typeString": "struct TicketMod"
                      }
                    },
                    "id": 5523,
                    "nodeType": "ArrayTypeName",
                    "src": "1844:11:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_ptr",
                      "typeString": "struct TicketMod[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1843:20:29"
            },
            "scope": 6012,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 5557,
            "nodeType": "FunctionDefinition",
            "src": "2238:233:29",
            "nodes": [],
            "body": {
              "id": 5556,
              "nodeType": "Block",
              "src": "2434:37:29",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 5554,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 5552,
                      "name": "projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5493,
                      "src": "2444:8:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IProjects_$36554",
                        "typeString": "contract IProjects"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 5553,
                      "name": "_projects",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5537,
                      "src": "2455:9:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_IProjects_$36554",
                        "typeString": "contract IProjects"
                      }
                    },
                    "src": "2444:20:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IProjects_$36554",
                      "typeString": "contract IProjects"
                    }
                  },
                  "id": 5555,
                  "nodeType": "ExpressionStatement",
                  "src": "2444:20:29"
                }
              ]
            },
            "documentation": {
              "id": 5534,
              "nodeType": "StructuredDocumentation",
              "src": "1980:253:29",
              "text": "@param _projects The contract storing project information\n@param _operatorStore A contract storing operator assignments.\n@param _terminalDirectory A directory of a project's current Juicebox terminal to receive payments in."
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [
              {
                "arguments": [
                  {
                    "id": 5546,
                    "name": "_operatorStore",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5540,
                    "src": "2382:14:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                      "typeString": "contract IOperatorStore"
                    }
                  }
                ],
                "id": 5547,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 5545,
                  "name": "Operatable",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10980,
                  "src": "2371:10:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "2371:26:29"
              },
              {
                "arguments": [
                  {
                    "id": 5549,
                    "name": "_terminalDirectory",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5543,
                    "src": "2414:18:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                      "typeString": "contract ITerminalDirectory"
                    }
                  }
                ],
                "id": 5550,
                "kind": "baseConstructorSpecifier",
                "modifierName": {
                  "id": 5548,
                  "name": "TerminalUtility",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 11023,
                  "src": "2398:15:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "2398:35:29"
              }
            ],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 5544,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5537,
                  "mutability": "mutable",
                  "name": "_projects",
                  "nameLocation": "2269:9:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5557,
                  "src": "2259:19:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IProjects_$36554",
                    "typeString": "contract IProjects"
                  },
                  "typeName": {
                    "id": 5536,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5535,
                      "name": "IProjects",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36554,
                      "src": "2259:9:29"
                    },
                    "referencedDeclaration": 36554,
                    "src": "2259:9:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IProjects_$36554",
                      "typeString": "contract IProjects"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5540,
                  "mutability": "mutable",
                  "name": "_operatorStore",
                  "nameLocation": "2303:14:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5557,
                  "src": "2288:29:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                    "typeString": "contract IOperatorStore"
                  },
                  "typeName": {
                    "id": 5539,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5538,
                      "name": "IOperatorStore",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36269,
                      "src": "2288:14:29"
                    },
                    "referencedDeclaration": 36269,
                    "src": "2288:14:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOperatorStore_$36269",
                      "typeString": "contract IOperatorStore"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5543,
                  "mutability": "mutable",
                  "name": "_terminalDirectory",
                  "nameLocation": "2346:18:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5557,
                  "src": "2327:37:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                    "typeString": "contract ITerminalDirectory"
                  },
                  "typeName": {
                    "id": 5542,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 5541,
                      "name": "ITerminalDirectory",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 36192,
                      "src": "2327:18:29"
                    },
                    "referencedDeclaration": 36192,
                    "src": "2327:18:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                      "typeString": "contract ITerminalDirectory"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2249:121:29"
            },
            "returnParameters": {
              "id": 5551,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2434:0:29"
            },
            "scope": 6012,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "public"
          },
          {
            "id": 5800,
            "nodeType": "FunctionDefinition",
            "src": "2848:3150:29",
            "nodes": [],
            "body": {
              "id": 5799,
              "nodeType": "Block",
              "src": "3237:2761:29",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5590,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "expression": {
                            "id": 5587,
                            "name": "_mods",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5566,
                            "src": "3297:5:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                              "typeString": "struct PayoutMod memory[] memory"
                            }
                          },
                          "id": 5588,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "length",
                          "nodeType": "MemberAccess",
                          "src": "3297:12:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 5589,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "3312:1:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "3297:16:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4d6f6453746f72653a3a7365745061796f75744d6f64733a204e4f5f4f50",
                        "id": 5591,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "3315:32:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_49781861e1247e155cd7f296d4d6208cdaf88c045ee483e320cb34c31e5a8521",
                          "typeString": "literal_string \"ModStore::setPayoutMods: NO_OP\""
                        },
                        "value": "ModStore::setPayoutMods: NO_OP"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_49781861e1247e155cd7f296d4d6208cdaf88c045ee483e320cb34c31e5a8521",
                          "typeString": "literal_string \"ModStore::setPayoutMods: NO_OP\""
                        }
                      ],
                      "id": 5586,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "3289:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 5592,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3289:59:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5593,
                  "nodeType": "ExpressionStatement",
                  "src": "3289:59:29"
                },
                {
                  "assignments": [
                    5598
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5598,
                      "mutability": "mutable",
                      "name": "_currentMods",
                      "nameLocation": "3435:12:29",
                      "nodeType": "VariableDeclaration",
                      "scope": 5799,
                      "src": "3416:31:29",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct PayoutMod[]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 5596,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 5595,
                            "name": "PayoutMod",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 11266,
                            "src": "3416:9:29"
                          },
                          "referencedDeclaration": 11266,
                          "src": "3416:9:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_PayoutMod_$11266_storage_ptr",
                            "typeString": "struct PayoutMod"
                          }
                        },
                        "id": 5597,
                        "nodeType": "ArrayTypeName",
                        "src": "3416:11:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_ptr",
                          "typeString": "struct PayoutMod[]"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 5604,
                  "initialValue": {
                    "baseExpression": {
                      "baseExpression": {
                        "id": 5599,
                        "name": "_payoutModsOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5480,
                        "src": "3450:13:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$_$",
                          "typeString": "mapping(uint256 => mapping(uint256 => struct PayoutMod storage ref[] storage ref))"
                        }
                      },
                      "id": 5601,
                      "indexExpression": {
                        "id": 5600,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5560,
                        "src": "3464:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "3450:25:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct PayoutMod storage ref[] storage ref)"
                      }
                    },
                    "id": 5603,
                    "indexExpression": {
                      "id": 5602,
                      "name": "_configuration",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5562,
                      "src": "3489:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "3450:63:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage",
                      "typeString": "struct PayoutMod storage ref[] storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3416:97:29"
                },
                {
                  "body": {
                    "id": 5701,
                    "nodeType": "Block",
                    "src": "3634:929:29",
                    "statements": [
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 5622,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 5616,
                              "name": "block",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -4,
                              "src": "3652:5:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_block",
                                "typeString": "block"
                              }
                            },
                            "id": 5617,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "timestamp",
                            "nodeType": "MemberAccess",
                            "src": "3652:15:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "expression": {
                              "baseExpression": {
                                "id": 5618,
                                "name": "_currentMods",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5598,
                                "src": "3670:12:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                  "typeString": "struct PayoutMod memory[] memory"
                                }
                              },
                              "id": 5620,
                              "indexExpression": {
                                "id": 5619,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5606,
                                "src": "3683:2:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "3670:16:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                "typeString": "struct PayoutMod memory"
                              }
                            },
                            "id": 5621,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "lockedUntil",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 11258,
                            "src": "3670:28:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint48",
                              "typeString": "uint48"
                            }
                          },
                          "src": "3652:46:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 5700,
                        "nodeType": "IfStatement",
                        "src": "3648:905:29",
                        "trueBody": {
                          "id": 5699,
                          "nodeType": "Block",
                          "src": "3700:853:29",
                          "statements": [
                            {
                              "assignments": [
                                5624
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 5624,
                                  "mutability": "mutable",
                                  "name": "_includesLocked",
                                  "nameLocation": "3723:15:29",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 5699,
                                  "src": "3718:20:29",
                                  "stateVariable": false,
                                  "storageLocation": "default",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  },
                                  "typeName": {
                                    "id": 5623,
                                    "name": "bool",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "3718:4:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "visibility": "internal"
                                }
                              ],
                              "id": 5626,
                              "initialValue": {
                                "hexValue": "66616c7365",
                                "id": 5625,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "bool",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "3741:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                "value": "false"
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "3718:28:29"
                            },
                            {
                              "body": {
                                "id": 5692,
                                "nodeType": "Block",
                                "src": "3810:589:29",
                                "statements": [
                                  {
                                    "condition": {
                                      "commonType": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      },
                                      "id": 5686,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "commonType": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        },
                                        "id": 5676,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "commonType": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          },
                                          "id": 5666,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "leftExpression": {
                                            "commonType": {
                                              "typeIdentifier": "t_bool",
                                              "typeString": "bool"
                                            },
                                            "id": 5656,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "commonType": {
                                                "typeIdentifier": "t_uint16",
                                                "typeString": "uint16"
                                              },
                                              "id": 5646,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "leftExpression": {
                                                "expression": {
                                                  "baseExpression": {
                                                    "id": 5638,
                                                    "name": "_mods",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5566,
                                                    "src": "3925:5:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                      "typeString": "struct PayoutMod memory[] memory"
                                                    }
                                                  },
                                                  "id": 5640,
                                                  "indexExpression": {
                                                    "id": 5639,
                                                    "name": "_j",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5628,
                                                    "src": "3931:2:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "isConstant": false,
                                                  "isLValue": true,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "nodeType": "IndexAccess",
                                                  "src": "3925:9:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                    "typeString": "struct PayoutMod memory"
                                                  }
                                                },
                                                "id": 5641,
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberName": "percent",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 11256,
                                                "src": "3925:17:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint16",
                                                  "typeString": "uint16"
                                                }
                                              },
                                              "nodeType": "BinaryOperation",
                                              "operator": "==",
                                              "rightExpression": {
                                                "expression": {
                                                  "baseExpression": {
                                                    "id": 5642,
                                                    "name": "_currentMods",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5598,
                                                    "src": "3946:12:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                      "typeString": "struct PayoutMod memory[] memory"
                                                    }
                                                  },
                                                  "id": 5644,
                                                  "indexExpression": {
                                                    "id": 5643,
                                                    "name": "_i",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5606,
                                                    "src": "3959:2:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "isConstant": false,
                                                  "isLValue": true,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "nodeType": "IndexAccess",
                                                  "src": "3946:16:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                    "typeString": "struct PayoutMod memory"
                                                  }
                                                },
                                                "id": 5645,
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberName": "percent",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 11256,
                                                "src": "3946:24:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint16",
                                                  "typeString": "uint16"
                                                }
                                              },
                                              "src": "3925:45:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bool",
                                                "typeString": "bool"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "&&",
                                            "rightExpression": {
                                              "commonType": {
                                                "typeIdentifier": "t_address_payable",
                                                "typeString": "address payable"
                                              },
                                              "id": 5655,
                                              "isConstant": false,
                                              "isLValue": false,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "leftExpression": {
                                                "expression": {
                                                  "baseExpression": {
                                                    "id": 5647,
                                                    "name": "_mods",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5566,
                                                    "src": "3998:5:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                      "typeString": "struct PayoutMod memory[] memory"
                                                    }
                                                  },
                                                  "id": 5649,
                                                  "indexExpression": {
                                                    "id": 5648,
                                                    "name": "_j",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5628,
                                                    "src": "4004:2:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "isConstant": false,
                                                  "isLValue": true,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "nodeType": "IndexAccess",
                                                  "src": "3998:9:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                    "typeString": "struct PayoutMod memory"
                                                  }
                                                },
                                                "id": 5650,
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberName": "beneficiary",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 11260,
                                                "src": "3998:21:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_address_payable",
                                                  "typeString": "address payable"
                                                }
                                              },
                                              "nodeType": "BinaryOperation",
                                              "operator": "==",
                                              "rightExpression": {
                                                "expression": {
                                                  "baseExpression": {
                                                    "id": 5651,
                                                    "name": "_currentMods",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5598,
                                                    "src": "4023:12:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                      "typeString": "struct PayoutMod memory[] memory"
                                                    }
                                                  },
                                                  "id": 5653,
                                                  "indexExpression": {
                                                    "id": 5652,
                                                    "name": "_i",
                                                    "nodeType": "Identifier",
                                                    "overloadedDeclarations": [],
                                                    "referencedDeclaration": 5606,
                                                    "src": "4036:2:29",
                                                    "typeDescriptions": {
                                                      "typeIdentifier": "t_uint256",
                                                      "typeString": "uint256"
                                                    }
                                                  },
                                                  "isConstant": false,
                                                  "isLValue": true,
                                                  "isPure": false,
                                                  "lValueRequested": false,
                                                  "nodeType": "IndexAccess",
                                                  "src": "4023:16:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                    "typeString": "struct PayoutMod memory"
                                                  }
                                                },
                                                "id": 5654,
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "memberName": "beneficiary",
                                                "nodeType": "MemberAccess",
                                                "referencedDeclaration": 11260,
                                                "src": "4023:28:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_address_payable",
                                                  "typeString": "address payable"
                                                }
                                              },
                                              "src": "3998:53:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_bool",
                                                "typeString": "bool"
                                              }
                                            },
                                            "src": "3925:126:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_bool",
                                              "typeString": "bool"
                                            }
                                          },
                                          "nodeType": "BinaryOperation",
                                          "operator": "&&",
                                          "rightExpression": {
                                            "commonType": {
                                              "typeIdentifier": "t_contract$_IModAllocator_$11247",
                                              "typeString": "contract IModAllocator"
                                            },
                                            "id": 5665,
                                            "isConstant": false,
                                            "isLValue": false,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "leftExpression": {
                                              "expression": {
                                                "baseExpression": {
                                                  "id": 5657,
                                                  "name": "_mods",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 5566,
                                                  "src": "4079:5:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                    "typeString": "struct PayoutMod memory[] memory"
                                                  }
                                                },
                                                "id": 5659,
                                                "indexExpression": {
                                                  "id": 5658,
                                                  "name": "_j",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 5628,
                                                  "src": "4085:2:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "nodeType": "IndexAccess",
                                                "src": "4079:9:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                  "typeString": "struct PayoutMod memory"
                                                }
                                              },
                                              "id": 5660,
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "allocator",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 11263,
                                              "src": "4079:19:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_IModAllocator_$11247",
                                                "typeString": "contract IModAllocator"
                                              }
                                            },
                                            "nodeType": "BinaryOperation",
                                            "operator": "==",
                                            "rightExpression": {
                                              "expression": {
                                                "baseExpression": {
                                                  "id": 5661,
                                                  "name": "_currentMods",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 5598,
                                                  "src": "4102:12:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                    "typeString": "struct PayoutMod memory[] memory"
                                                  }
                                                },
                                                "id": 5663,
                                                "indexExpression": {
                                                  "id": 5662,
                                                  "name": "_i",
                                                  "nodeType": "Identifier",
                                                  "overloadedDeclarations": [],
                                                  "referencedDeclaration": 5606,
                                                  "src": "4115:2:29",
                                                  "typeDescriptions": {
                                                    "typeIdentifier": "t_uint256",
                                                    "typeString": "uint256"
                                                  }
                                                },
                                                "isConstant": false,
                                                "isLValue": true,
                                                "isPure": false,
                                                "lValueRequested": false,
                                                "nodeType": "IndexAccess",
                                                "src": "4102:16:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                  "typeString": "struct PayoutMod memory"
                                                }
                                              },
                                              "id": 5664,
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "memberName": "allocator",
                                              "nodeType": "MemberAccess",
                                              "referencedDeclaration": 11263,
                                              "src": "4102:26:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_contract$_IModAllocator_$11247",
                                                "typeString": "contract IModAllocator"
                                              }
                                            },
                                            "src": "4079:49:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_bool",
                                              "typeString": "bool"
                                            }
                                          },
                                          "src": "3925:203:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "&&",
                                        "rightExpression": {
                                          "commonType": {
                                            "typeIdentifier": "t_uint56",
                                            "typeString": "uint56"
                                          },
                                          "id": 5675,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "leftExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 5667,
                                                "name": "_mods",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5566,
                                                "src": "4156:5:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct PayoutMod memory[] memory"
                                                }
                                              },
                                              "id": 5669,
                                              "indexExpression": {
                                                "id": 5668,
                                                "name": "_j",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5628,
                                                "src": "4162:2:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "4156:9:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                "typeString": "struct PayoutMod memory"
                                              }
                                            },
                                            "id": 5670,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "projectId",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 11265,
                                            "src": "4156:19:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint56",
                                              "typeString": "uint56"
                                            }
                                          },
                                          "nodeType": "BinaryOperation",
                                          "operator": "==",
                                          "rightExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 5671,
                                                "name": "_currentMods",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5598,
                                                "src": "4179:12:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct PayoutMod memory[] memory"
                                                }
                                              },
                                              "id": 5673,
                                              "indexExpression": {
                                                "id": 5672,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5606,
                                                "src": "4192:2:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "4179:16:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                                "typeString": "struct PayoutMod memory"
                                              }
                                            },
                                            "id": 5674,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "projectId",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 11265,
                                            "src": "4179:26:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint56",
                                              "typeString": "uint56"
                                            }
                                          },
                                          "src": "4156:49:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        },
                                        "src": "3925:280:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "&&",
                                      "rightExpression": {
                                        "commonType": {
                                          "typeIdentifier": "t_uint48",
                                          "typeString": "uint48"
                                        },
                                        "id": 5685,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 5677,
                                              "name": "_mods",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5566,
                                              "src": "4282:5:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct PayoutMod memory[] memory"
                                              }
                                            },
                                            "id": 5679,
                                            "indexExpression": {
                                              "id": 5678,
                                              "name": "_j",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5628,
                                              "src": "4288:2:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "4282:9:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                              "typeString": "struct PayoutMod memory"
                                            }
                                          },
                                          "id": 5680,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "lockedUntil",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 11258,
                                          "src": "4282:21:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint48",
                                            "typeString": "uint48"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": ">=",
                                        "rightExpression": {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 5681,
                                              "name": "_currentMods",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5598,
                                              "src": "4307:12:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct PayoutMod memory[] memory"
                                              }
                                            },
                                            "id": 5683,
                                            "indexExpression": {
                                              "id": 5682,
                                              "name": "_i",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5606,
                                              "src": "4320:2:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "4307:16:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                              "typeString": "struct PayoutMod memory"
                                            }
                                          },
                                          "id": 5684,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "lockedUntil",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 11258,
                                          "src": "4307:28:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint48",
                                            "typeString": "uint48"
                                          }
                                        },
                                        "src": "4282:53:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "src": "3925:410:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "id": 5691,
                                    "nodeType": "IfStatement",
                                    "src": "3896:484:29",
                                    "trueBody": {
                                      "expression": {
                                        "id": 5689,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftHandSide": {
                                          "id": 5687,
                                          "name": "_includesLocked",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 5624,
                                          "src": "4358:15:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        },
                                        "nodeType": "Assignment",
                                        "operator": "=",
                                        "rightHandSide": {
                                          "hexValue": "74727565",
                                          "id": 5688,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "bool",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "4376:4:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          },
                                          "value": "true"
                                        },
                                        "src": "4358:22:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "id": 5690,
                                      "nodeType": "ExpressionStatement",
                                      "src": "4358:22:29"
                                    }
                                  }
                                ]
                              },
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 5634,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 5631,
                                  "name": "_j",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5628,
                                  "src": "3785:2:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "<",
                                "rightExpression": {
                                  "expression": {
                                    "id": 5632,
                                    "name": "_mods",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5566,
                                    "src": "3790:5:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                      "typeString": "struct PayoutMod memory[] memory"
                                    }
                                  },
                                  "id": 5633,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "length",
                                  "nodeType": "MemberAccess",
                                  "src": "3790:12:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "3785:17:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "id": 5693,
                              "initializationExpression": {
                                "assignments": [
                                  5628
                                ],
                                "declarations": [
                                  {
                                    "constant": false,
                                    "id": 5628,
                                    "mutability": "mutable",
                                    "name": "_j",
                                    "nameLocation": "3777:2:29",
                                    "nodeType": "VariableDeclaration",
                                    "scope": 5693,
                                    "src": "3769:10:29",
                                    "stateVariable": false,
                                    "storageLocation": "default",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    "typeName": {
                                      "id": 5627,
                                      "name": "uint256",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "3769:7:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "visibility": "internal"
                                  }
                                ],
                                "id": 5630,
                                "initialValue": {
                                  "hexValue": "30",
                                  "id": 5629,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "3782:1:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "nodeType": "VariableDeclarationStatement",
                                "src": "3769:14:29"
                              },
                              "loopExpression": {
                                "expression": {
                                  "id": 5636,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "UnaryOperation",
                                  "operator": "++",
                                  "prefix": false,
                                  "src": "3804:4:29",
                                  "subExpression": {
                                    "id": 5635,
                                    "name": "_j",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5628,
                                    "src": "3804:2:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "id": 5637,
                                "nodeType": "ExpressionStatement",
                                "src": "3804:4:29"
                              },
                              "nodeType": "ForStatement",
                              "src": "3764:635:29"
                            },
                            {
                              "expression": {
                                "arguments": [
                                  {
                                    "id": 5695,
                                    "name": "_includesLocked",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5624,
                                    "src": "4445:15:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  {
                                    "hexValue": "4d6f6453746f72653a3a7365745061796f75744d6f64733a20534f4d455f4c4f434b4544",
                                    "id": 5696,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "string",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "4482:38:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_stringliteral_82ac208ee282c52a8d9aa48e595ef8cf48bbbf5b6451f80f0000ebd77c5eaa8c",
                                      "typeString": "literal_string \"ModStore::setPayoutMods: SOME_LOCKED\""
                                    },
                                    "value": "ModStore::setPayoutMods: SOME_LOCKED"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    {
                                      "typeIdentifier": "t_stringliteral_82ac208ee282c52a8d9aa48e595ef8cf48bbbf5b6451f80f0000ebd77c5eaa8c",
                                      "typeString": "literal_string \"ModStore::setPayoutMods: SOME_LOCKED\""
                                    }
                                  ],
                                  "id": 5694,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    -18,
                                    -18
                                  ],
                                  "referencedDeclaration": -18,
                                  "src": "4416:7:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                                    "typeString": "function (bool,string memory) pure"
                                  }
                                },
                                "id": 5697,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "4416:122:29",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 5698,
                              "nodeType": "ExpressionStatement",
                              "src": "4416:122:29"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 5612,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 5609,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5606,
                      "src": "3602:2:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 5610,
                        "name": "_currentMods",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5598,
                        "src": "3607:12:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                          "typeString": "struct PayoutMod memory[] memory"
                        }
                      },
                      "id": 5611,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "3607:19:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "3602:24:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 5702,
                  "initializationExpression": {
                    "assignments": [
                      5606
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 5606,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "3594:2:29",
                        "nodeType": "VariableDeclaration",
                        "scope": 5702,
                        "src": "3586:10:29",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 5605,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "3586:7:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 5608,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 5607,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3599:1:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "3586:14:29"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 5614,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "3628:4:29",
                      "subExpression": {
                        "id": 5613,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5606,
                        "src": "3628:2:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5615,
                    "nodeType": "ExpressionStatement",
                    "src": "3628:4:29"
                  },
                  "nodeType": "ForStatement",
                  "src": "3581:982:29"
                },
                {
                  "expression": {
                    "id": 5708,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "4632:48:29",
                    "subExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 5703,
                          "name": "_payoutModsOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5480,
                          "src": "4639:13:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => struct PayoutMod storage ref[] storage ref))"
                          }
                        },
                        "id": 5705,
                        "indexExpression": {
                          "id": 5704,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5560,
                          "src": "4653:10:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "4639:25:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$",
                          "typeString": "mapping(uint256 => struct PayoutMod storage ref[] storage ref)"
                        }
                      },
                      "id": 5707,
                      "indexExpression": {
                        "id": 5706,
                        "name": "_configuration",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5562,
                        "src": "4665:14:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "4639:41:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage",
                        "typeString": "struct PayoutMod storage ref[] storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5709,
                  "nodeType": "ExpressionStatement",
                  "src": "4632:48:29"
                },
                {
                  "assignments": [
                    5711
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5711,
                      "mutability": "mutable",
                      "name": "_payoutModPercentTotal",
                      "nameLocation": "4779:22:29",
                      "nodeType": "VariableDeclaration",
                      "scope": 5799,
                      "src": "4771:30:29",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5710,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "4771:7:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 5713,
                  "initialValue": {
                    "hexValue": "30",
                    "id": 5712,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "4804:1:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4771:34:29"
                },
                {
                  "body": {
                    "id": 5797,
                    "nodeType": "Block",
                    "src": "4862:1130:29",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              },
                              "id": 5731,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "baseExpression": {
                                    "id": 5726,
                                    "name": "_mods",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5566,
                                    "src": "4954:5:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                      "typeString": "struct PayoutMod memory[] memory"
                                    }
                                  },
                                  "id": 5728,
                                  "indexExpression": {
                                    "id": 5727,
                                    "name": "_i",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5715,
                                    "src": "4960:2:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "4954:9:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                    "typeString": "struct PayoutMod memory"
                                  }
                                },
                                "id": 5729,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "percent",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 11256,
                                "src": "4954:17:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": ">",
                              "rightExpression": {
                                "hexValue": "30",
                                "id": 5730,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "4974:1:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              },
                              "src": "4954:21:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "4d6f6453746f72653a3a7365745061796f75744d6f64733a204241445f4d4f445f50455243454e54",
                              "id": 5732,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4993:42:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_5840ba3b6b3e91797f8bd4403a02caad40f3266284568576cefc7eb87cc433f7",
                                "typeString": "literal_string \"ModStore::setPayoutMods: BAD_MOD_PERCENT\""
                              },
                              "value": "ModStore::setPayoutMods: BAD_MOD_PERCENT"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_5840ba3b6b3e91797f8bd4403a02caad40f3266284568576cefc7eb87cc433f7",
                                "typeString": "literal_string \"ModStore::setPayoutMods: BAD_MOD_PERCENT\""
                              }
                            ],
                            "id": 5725,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "4929:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 5733,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4929:120:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5734,
                        "nodeType": "ExpressionStatement",
                        "src": "4929:120:29"
                      },
                      {
                        "expression": {
                          "id": 5742,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 5735,
                            "name": "_payoutModPercentTotal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5711,
                            "src": "5106:22:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 5741,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 5736,
                              "name": "_payoutModPercentTotal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5711,
                              "src": "5131:22:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "expression": {
                                "baseExpression": {
                                  "id": 5737,
                                  "name": "_mods",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5566,
                                  "src": "5156:5:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct PayoutMod memory[] memory"
                                  }
                                },
                                "id": 5739,
                                "indexExpression": {
                                  "id": 5738,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5715,
                                  "src": "5162:2:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5156:9:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                  "typeString": "struct PayoutMod memory"
                                }
                              },
                              "id": 5740,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "percent",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 11256,
                              "src": "5156:17:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "src": "5131:42:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "5106:67:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 5743,
                        "nodeType": "ExpressionStatement",
                        "src": "5106:67:29"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 5747,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 5745,
                                "name": "_payoutModPercentTotal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5711,
                                "src": "5273:22:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "<=",
                              "rightExpression": {
                                "hexValue": "3130303030",
                                "id": 5746,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "5299:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_10000_by_1",
                                  "typeString": "int_const 10000"
                                },
                                "value": "10000"
                              },
                              "src": "5273:31:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "4d6f6453746f72653a3a7365745061796f75744d6f64733a204241445f544f54414c5f50455243454e54",
                              "id": 5748,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5322:44:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_f9ac4bb822b0fad80dd8616d94283035500db3abbd5087feea9ca6eddcfe1574",
                                "typeString": "literal_string \"ModStore::setPayoutMods: BAD_TOTAL_PERCENT\""
                              },
                              "value": "ModStore::setPayoutMods: BAD_TOTAL_PERCENT"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_f9ac4bb822b0fad80dd8616d94283035500db3abbd5087feea9ca6eddcfe1574",
                                "typeString": "literal_string \"ModStore::setPayoutMods: BAD_TOTAL_PERCENT\""
                              }
                            ],
                            "id": 5744,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "5248:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 5749,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5248:132:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5750,
                        "nodeType": "ExpressionStatement",
                        "src": "5248:132:29"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "id": 5772,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_contract$_IModAllocator_$11247",
                                  "typeString": "contract IModAllocator"
                                },
                                "id": 5762,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "expression": {
                                    "baseExpression": {
                                      "id": 5752,
                                      "name": "_mods",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5566,
                                      "src": "5505:5:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                        "typeString": "struct PayoutMod memory[] memory"
                                      }
                                    },
                                    "id": 5754,
                                    "indexExpression": {
                                      "id": 5753,
                                      "name": "_i",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5715,
                                      "src": "5511:2:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "5505:9:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                      "typeString": "struct PayoutMod memory"
                                    }
                                  },
                                  "id": 5755,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "allocator",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 11263,
                                  "src": "5505:19:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IModAllocator_$11247",
                                    "typeString": "contract IModAllocator"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "arguments": [
                                    {
                                      "arguments": [
                                        {
                                          "hexValue": "30",
                                          "id": 5759,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "5550:1:29",
                                          "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": 5758,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "lValueRequested": false,
                                        "nodeType": "ElementaryTypeNameExpression",
                                        "src": "5542:7:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_type$_t_address_$",
                                          "typeString": "type(address)"
                                        },
                                        "typeName": {
                                          "id": 5757,
                                          "name": "address",
                                          "nodeType": "ElementaryTypeName",
                                          "src": "5542:7:29",
                                          "typeDescriptions": {}
                                        }
                                      },
                                      "id": 5760,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "typeConversion",
                                      "lValueRequested": false,
                                      "names": [],
                                      "nodeType": "FunctionCall",
                                      "src": "5542:10:29",
                                      "tryCall": false,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_address",
                                        "typeString": "address"
                                      }
                                    ],
                                    "id": 5756,
                                    "name": "IModAllocator",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 11247,
                                    "src": "5528:13:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_contract$_IModAllocator_$11247_$",
                                      "typeString": "type(contract IModAllocator)"
                                    }
                                  },
                                  "id": 5761,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "5528:25:29",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_IModAllocator_$11247",
                                    "typeString": "contract IModAllocator"
                                  }
                                },
                                "src": "5505:48:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "||",
                              "rightExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 5771,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "expression": {
                                    "baseExpression": {
                                      "id": 5763,
                                      "name": "_mods",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5566,
                                      "src": "5577:5:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                        "typeString": "struct PayoutMod memory[] memory"
                                      }
                                    },
                                    "id": 5765,
                                    "indexExpression": {
                                      "id": 5764,
                                      "name": "_i",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 5715,
                                      "src": "5583:2:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "nodeType": "IndexAccess",
                                    "src": "5577:9:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                      "typeString": "struct PayoutMod memory"
                                    }
                                  },
                                  "id": 5766,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "beneficiary",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 11260,
                                  "src": "5577:21:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address_payable",
                                    "typeString": "address payable"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "arguments": [
                                    {
                                      "hexValue": "30",
                                      "id": 5769,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "5610:1:29",
                                      "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": 5768,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "5602:7:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": {
                                      "id": 5767,
                                      "name": "address",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "5602:7:29",
                                      "typeDescriptions": {}
                                    }
                                  },
                                  "id": 5770,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "5602:10:29",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "5577:35:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "src": "5505:107:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "4d6f6453746f72653a3a7365745061796f75744d6f64733a205a45524f5f41444452455353",
                              "id": 5773,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5630:39:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_14486e46610f21525a0e5aef5fae2223cecda7790da0204594ede0d700a87fe7",
                                "typeString": "literal_string \"ModStore::setPayoutMods: ZERO_ADDRESS\""
                              },
                              "value": "ModStore::setPayoutMods: ZERO_ADDRESS"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_14486e46610f21525a0e5aef5fae2223cecda7790da0204594ede0d700a87fe7",
                                "typeString": "literal_string \"ModStore::setPayoutMods: ZERO_ADDRESS\""
                              }
                            ],
                            "id": 5751,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "5480:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 5774,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5480:203:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5775,
                        "nodeType": "ExpressionStatement",
                        "src": "5480:203:29"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "baseExpression": {
                                "id": 5782,
                                "name": "_mods",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5566,
                                "src": "5810:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                  "typeString": "struct PayoutMod memory[] memory"
                                }
                              },
                              "id": 5784,
                              "indexExpression": {
                                "id": 5783,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5715,
                                "src": "5816:2:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "5810:9:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                "typeString": "struct PayoutMod memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                "typeString": "struct PayoutMod memory"
                              }
                            ],
                            "expression": {
                              "baseExpression": {
                                "baseExpression": {
                                  "id": 5776,
                                  "name": "_payoutModsOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5480,
                                  "src": "5763:13:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$_$",
                                    "typeString": "mapping(uint256 => mapping(uint256 => struct PayoutMod storage ref[] storage ref))"
                                  }
                                },
                                "id": 5779,
                                "indexExpression": {
                                  "id": 5777,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5560,
                                  "src": "5777:10:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "5763:25:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_$",
                                  "typeString": "mapping(uint256 => struct PayoutMod storage ref[] storage ref)"
                                }
                              },
                              "id": 5780,
                              "indexExpression": {
                                "id": 5778,
                                "name": "_configuration",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5562,
                                "src": "5789:14:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "5763:41:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage",
                                "typeString": "struct PayoutMod storage ref[] storage ref"
                              }
                            },
                            "id": 5781,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "push",
                            "nodeType": "MemberAccess",
                            "src": "5763:46:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_ptr_$_t_struct$_PayoutMod_$11266_storage_$returns$__$bound_to$_t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_ptr_$",
                              "typeString": "function (struct PayoutMod storage ref[] storage pointer,struct PayoutMod storage ref)"
                            }
                          },
                          "id": 5785,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5763:57:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5786,
                        "nodeType": "ExpressionStatement",
                        "src": "5763:57:29"
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "id": 5788,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5560,
                              "src": "5870:10:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 5789,
                              "name": "_configuration",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5562,
                              "src": "5898:14:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "baseExpression": {
                                "id": 5790,
                                "name": "_mods",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5566,
                                "src": "5930:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                                  "typeString": "struct PayoutMod memory[] memory"
                                }
                              },
                              "id": 5792,
                              "indexExpression": {
                                "id": 5791,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5715,
                                "src": "5936:2:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "5930:9:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                "typeString": "struct PayoutMod memory"
                              }
                            },
                            {
                              "expression": {
                                "id": 5793,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "5957:3:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 5794,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "5957:10:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_struct$_PayoutMod_$11266_memory_ptr",
                                "typeString": "struct PayoutMod memory"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 5787,
                            "name": "SetPayoutMod",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 11286,
                            "src": "5840:12:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_struct$_PayoutMod_$11266_memory_ptr_$_t_address_$returns$__$",
                              "typeString": "function (uint256,uint256,struct PayoutMod memory,address)"
                            }
                          },
                          "id": 5795,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5840:141:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5796,
                        "nodeType": "EmitStatement",
                        "src": "5835:146:29"
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 5721,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 5718,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5715,
                      "src": "4837:2:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 5719,
                        "name": "_mods",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5566,
                        "src": "4842:5:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                          "typeString": "struct PayoutMod memory[] memory"
                        }
                      },
                      "id": 5720,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "4842:12:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "4837:17:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 5798,
                  "initializationExpression": {
                    "assignments": [
                      5715
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 5715,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "4829:2:29",
                        "nodeType": "VariableDeclaration",
                        "scope": 5798,
                        "src": "4821:10:29",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 5714,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "4821:7:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 5717,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 5716,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4834:1:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "4821:14:29"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 5723,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "4856:4:29",
                      "subExpression": {
                        "id": 5722,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5715,
                        "src": "4856:2:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5724,
                    "nodeType": "ExpressionStatement",
                    "src": "4856:4:29"
                  },
                  "nodeType": "ForStatement",
                  "src": "4816:1176:29"
                }
              ]
            },
            "baseFunctions": [
              11336
            ],
            "documentation": {
              "id": 5558,
              "nodeType": "StructuredDocumentation",
              "src": "2477:366:29",
              "text": "@notice \nAdds a mod to the payout mods list.\n@dev\nOnly the owner or operator of a project can make this call, or the current terminal of the project.\n@param _projectId The project to add a mod to.\n@param _configuration The configuration to set the mods to be active during.\n@param _mods The payout mods to set."
            },
            "functionSelector": "a67e210a",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "arguments": [
                      {
                        "id": 5572,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5560,
                        "src": "3086:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 5570,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5493,
                        "src": "3069:8:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IProjects_$36554",
                          "typeString": "contract IProjects"
                        }
                      },
                      "id": 5571,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "3069:16:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 5573,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3069:28:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 5574,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5560,
                    "src": "3111:10:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 5575,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "3135:10:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 5576,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "SetPayoutMods",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12233,
                    "src": "3135:24:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "id": 5581,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5560,
                            "src": "3210:10:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 5579,
                            "name": "terminalDirectory",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 11010,
                            "src": "3181:17:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                              "typeString": "contract ITerminalDirectory"
                            }
                          },
                          "id": 5580,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "terminalOf",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 36146,
                          "src": "3181:28:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_contract$_ITerminal_$36604_$",
                            "typeString": "function (uint256) view external returns (contract ITerminal)"
                          }
                        },
                        "id": 5582,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3181:40:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        }
                      ],
                      "id": 5578,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "3173:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_address_$",
                        "typeString": "type(address)"
                      },
                      "typeName": {
                        "id": 5577,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "3173:7:29",
                        "typeDescriptions": {}
                      }
                    },
                    "id": 5583,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3173:49:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  }
                ],
                "id": 5584,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 5569,
                  "name": "requirePermissionAcceptingAlternateAddress",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10962,
                  "src": "3013:42:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "3013:219:29"
              }
            ],
            "name": "setPayoutMods",
            "nameLocation": "2857:13:29",
            "overrides": {
              "id": 5568,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2996:8:29"
            },
            "parameters": {
              "id": 5567,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5560,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "2888:10:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5800,
                  "src": "2880:18:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5559,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2880:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5562,
                  "mutability": "mutable",
                  "name": "_configuration",
                  "nameLocation": "2916:14:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5800,
                  "src": "2908:22:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5561,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2908:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5566,
                  "mutability": "mutable",
                  "name": "_mods",
                  "nameLocation": "2959:5:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 5800,
                  "src": "2940:24:29",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_memory_ptr_$dyn_memory_ptr",
                    "typeString": "struct PayoutMod[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5564,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 5563,
                        "name": "PayoutMod",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 11266,
                        "src": "2940:9:29"
                      },
                      "referencedDeclaration": 11266,
                      "src": "2940:9:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_PayoutMod_$11266_storage_ptr",
                        "typeString": "struct PayoutMod"
                      }
                    },
                    "id": 5565,
                    "nodeType": "ArrayTypeName",
                    "src": "2940:11:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_PayoutMod_$11266_storage_$dyn_storage_ptr",
                      "typeString": "struct PayoutMod[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2870:100:29"
            },
            "returnParameters": {
              "id": 5585,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3237:0:29"
            },
            "scope": 6012,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 6011,
            "nodeType": "FunctionDefinition",
            "src": "6375:2970:29",
            "nodes": [],
            "body": {
              "id": 6010,
              "nodeType": "Block",
              "src": "6764:2581:29",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 5833,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "expression": {
                            "id": 5830,
                            "name": "_mods",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5809,
                            "src": "6824:5:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                              "typeString": "struct TicketMod memory[] memory"
                            }
                          },
                          "id": 5831,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "length",
                          "nodeType": "MemberAccess",
                          "src": "6824:12:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 5832,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "6839:1:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "6824:16:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "4d6f6453746f72653a3a7365745469636b65744d6f64733a204e4f5f4f50",
                        "id": 5834,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "6842:32:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_049f263cce73ec32104b5e7eae2701da49891e7838a4acd0110115d035e67c18",
                          "typeString": "literal_string \"ModStore::setTicketMods: NO_OP\""
                        },
                        "value": "ModStore::setTicketMods: NO_OP"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_049f263cce73ec32104b5e7eae2701da49891e7838a4acd0110115d035e67c18",
                          "typeString": "literal_string \"ModStore::setTicketMods: NO_OP\""
                        }
                      ],
                      "id": 5829,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "6816:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 5835,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6816:59:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5836,
                  "nodeType": "ExpressionStatement",
                  "src": "6816:59:29"
                },
                {
                  "assignments": [
                    5841
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5841,
                      "mutability": "mutable",
                      "name": "_projectTicketMods",
                      "nameLocation": "6962:18:29",
                      "nodeType": "VariableDeclaration",
                      "scope": 6010,
                      "src": "6943:37:29",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                        "typeString": "struct TicketMod[]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 5839,
                          "nodeType": "UserDefinedTypeName",
                          "pathNode": {
                            "id": 5838,
                            "name": "TicketMod",
                            "nodeType": "IdentifierPath",
                            "referencedDeclaration": 11275,
                            "src": "6943:9:29"
                          },
                          "referencedDeclaration": 11275,
                          "src": "6943:9:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_TicketMod_$11275_storage_ptr",
                            "typeString": "struct TicketMod"
                          }
                        },
                        "id": 5840,
                        "nodeType": "ArrayTypeName",
                        "src": "6943:11:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_ptr",
                          "typeString": "struct TicketMod[]"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 5847,
                  "initialValue": {
                    "baseExpression": {
                      "baseExpression": {
                        "id": 5842,
                        "name": "_ticketModsOf",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5488,
                        "src": "6983:13:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$_$",
                          "typeString": "mapping(uint256 => mapping(uint256 => struct TicketMod storage ref[] storage ref))"
                        }
                      },
                      "id": 5844,
                      "indexExpression": {
                        "id": 5843,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5803,
                        "src": "6997:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "IndexAccess",
                      "src": "6983:25:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$",
                        "typeString": "mapping(uint256 => struct TicketMod storage ref[] storage ref)"
                      }
                    },
                    "id": 5846,
                    "indexExpression": {
                      "id": 5845,
                      "name": "_configuration",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5805,
                      "src": "7022:14:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "6983:63:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage",
                      "typeString": "struct TicketMod storage ref[] storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "6943:103:29"
                },
                {
                  "body": {
                    "id": 5924,
                    "nodeType": "Block",
                    "src": "7173:834:29",
                    "statements": [
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 5865,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 5859,
                              "name": "block",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -4,
                              "src": "7191:5:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_block",
                                "typeString": "block"
                              }
                            },
                            "id": 5860,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "timestamp",
                            "nodeType": "MemberAccess",
                            "src": "7191:15:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "expression": {
                              "baseExpression": {
                                "id": 5861,
                                "name": "_projectTicketMods",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5841,
                                "src": "7209:18:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                  "typeString": "struct TicketMod memory[] memory"
                                }
                              },
                              "id": 5863,
                              "indexExpression": {
                                "id": 5862,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5849,
                                "src": "7228:2:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "7209:22:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                "typeString": "struct TicketMod memory"
                              }
                            },
                            "id": 5864,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "lockedUntil",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 11272,
                            "src": "7209:34:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint48",
                              "typeString": "uint48"
                            }
                          },
                          "src": "7191:52:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 5923,
                        "nodeType": "IfStatement",
                        "src": "7187:810:29",
                        "trueBody": {
                          "id": 5922,
                          "nodeType": "Block",
                          "src": "7245:752:29",
                          "statements": [
                            {
                              "assignments": [
                                5867
                              ],
                              "declarations": [
                                {
                                  "constant": false,
                                  "id": 5867,
                                  "mutability": "mutable",
                                  "name": "_includesLocked",
                                  "nameLocation": "7268:15:29",
                                  "nodeType": "VariableDeclaration",
                                  "scope": 5922,
                                  "src": "7263:20:29",
                                  "stateVariable": false,
                                  "storageLocation": "default",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  },
                                  "typeName": {
                                    "id": 5866,
                                    "name": "bool",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "7263:4:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "visibility": "internal"
                                }
                              ],
                              "id": 5869,
                              "initialValue": {
                                "hexValue": "66616c7365",
                                "id": 5868,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "bool",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "7286:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                },
                                "value": "false"
                              },
                              "nodeType": "VariableDeclarationStatement",
                              "src": "7263:28:29"
                            },
                            {
                              "body": {
                                "id": 5915,
                                "nodeType": "Block",
                                "src": "7355:488:29",
                                "statements": [
                                  {
                                    "condition": {
                                      "commonType": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      },
                                      "id": 5909,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "commonType": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        },
                                        "id": 5899,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "commonType": {
                                            "typeIdentifier": "t_uint16",
                                            "typeString": "uint16"
                                          },
                                          "id": 5889,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "leftExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 5881,
                                                "name": "_mods",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5809,
                                                "src": "7456:5:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct TicketMod memory[] memory"
                                                }
                                              },
                                              "id": 5883,
                                              "indexExpression": {
                                                "id": 5882,
                                                "name": "_j",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5871,
                                                "src": "7462:2:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "7456:9:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                                "typeString": "struct TicketMod memory"
                                              }
                                            },
                                            "id": 5884,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "percent",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 11270,
                                            "src": "7456:17:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint16",
                                              "typeString": "uint16"
                                            }
                                          },
                                          "nodeType": "BinaryOperation",
                                          "operator": "==",
                                          "rightExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 5885,
                                                "name": "_projectTicketMods",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5841,
                                                "src": "7477:18:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct TicketMod memory[] memory"
                                                }
                                              },
                                              "id": 5887,
                                              "indexExpression": {
                                                "id": 5886,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5849,
                                                "src": "7496:2:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "7477:22:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                                "typeString": "struct TicketMod memory"
                                              }
                                            },
                                            "id": 5888,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "percent",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 11270,
                                            "src": "7477:30:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint16",
                                              "typeString": "uint16"
                                            }
                                          },
                                          "src": "7456:51:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "&&",
                                        "rightExpression": {
                                          "commonType": {
                                            "typeIdentifier": "t_address_payable",
                                            "typeString": "address payable"
                                          },
                                          "id": 5898,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "leftExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 5890,
                                                "name": "_mods",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5809,
                                                "src": "7535:5:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct TicketMod memory[] memory"
                                                }
                                              },
                                              "id": 5892,
                                              "indexExpression": {
                                                "id": 5891,
                                                "name": "_j",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5871,
                                                "src": "7541:2:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "7535:9:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                                "typeString": "struct TicketMod memory"
                                              }
                                            },
                                            "id": 5893,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "beneficiary",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 11274,
                                            "src": "7535:21:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address_payable",
                                              "typeString": "address payable"
                                            }
                                          },
                                          "nodeType": "BinaryOperation",
                                          "operator": "==",
                                          "rightExpression": {
                                            "expression": {
                                              "baseExpression": {
                                                "id": 5894,
                                                "name": "_projectTicketMods",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5841,
                                                "src": "7584:18:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                                  "typeString": "struct TicketMod memory[] memory"
                                                }
                                              },
                                              "id": 5896,
                                              "indexExpression": {
                                                "id": 5895,
                                                "name": "_i",
                                                "nodeType": "Identifier",
                                                "overloadedDeclarations": [],
                                                "referencedDeclaration": 5849,
                                                "src": "7603:2:29",
                                                "typeDescriptions": {
                                                  "typeIdentifier": "t_uint256",
                                                  "typeString": "uint256"
                                                }
                                              },
                                              "isConstant": false,
                                              "isLValue": true,
                                              "isPure": false,
                                              "lValueRequested": false,
                                              "nodeType": "IndexAccess",
                                              "src": "7584:22:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                                "typeString": "struct TicketMod memory"
                                              }
                                            },
                                            "id": 5897,
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "memberName": "beneficiary",
                                            "nodeType": "MemberAccess",
                                            "referencedDeclaration": 11274,
                                            "src": "7584:34:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_address_payable",
                                              "typeString": "address payable"
                                            }
                                          },
                                          "src": "7535:83:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        },
                                        "src": "7456:162:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "&&",
                                      "rightExpression": {
                                        "commonType": {
                                          "typeIdentifier": "t_uint48",
                                          "typeString": "uint48"
                                        },
                                        "id": 5908,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 5900,
                                              "name": "_mods",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5809,
                                              "src": "7696:5:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct TicketMod memory[] memory"
                                              }
                                            },
                                            "id": 5902,
                                            "indexExpression": {
                                              "id": 5901,
                                              "name": "_j",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5871,
                                              "src": "7702:2:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "7696:9:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                              "typeString": "struct TicketMod memory"
                                            }
                                          },
                                          "id": 5903,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "lockedUntil",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 11272,
                                          "src": "7696:21:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint48",
                                            "typeString": "uint48"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": ">=",
                                        "rightExpression": {
                                          "expression": {
                                            "baseExpression": {
                                              "id": 5904,
                                              "name": "_projectTicketMods",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5841,
                                              "src": "7745:18:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                                "typeString": "struct TicketMod memory[] memory"
                                              }
                                            },
                                            "id": 5906,
                                            "indexExpression": {
                                              "id": 5905,
                                              "name": "_i",
                                              "nodeType": "Identifier",
                                              "overloadedDeclarations": [],
                                              "referencedDeclaration": 5849,
                                              "src": "7764:2:29",
                                              "typeDescriptions": {
                                                "typeIdentifier": "t_uint256",
                                                "typeString": "uint256"
                                              }
                                            },
                                            "isConstant": false,
                                            "isLValue": true,
                                            "isPure": false,
                                            "lValueRequested": false,
                                            "nodeType": "IndexAccess",
                                            "src": "7745:22:29",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                              "typeString": "struct TicketMod memory"
                                            }
                                          },
                                          "id": 5907,
                                          "isConstant": false,
                                          "isLValue": true,
                                          "isPure": false,
                                          "lValueRequested": false,
                                          "memberName": "lockedUntil",
                                          "nodeType": "MemberAccess",
                                          "referencedDeclaration": 11272,
                                          "src": "7745:34:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint48",
                                            "typeString": "uint48"
                                          }
                                        },
                                        "src": "7696:83:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "src": "7456:323:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      }
                                    },
                                    "id": 5914,
                                    "nodeType": "IfStatement",
                                    "src": "7427:397:29",
                                    "trueBody": {
                                      "expression": {
                                        "id": 5912,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftHandSide": {
                                          "id": 5910,
                                          "name": "_includesLocked",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 5867,
                                          "src": "7802:15:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          }
                                        },
                                        "nodeType": "Assignment",
                                        "operator": "=",
                                        "rightHandSide": {
                                          "hexValue": "74727565",
                                          "id": 5911,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "bool",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "7820:4:29",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_bool",
                                            "typeString": "bool"
                                          },
                                          "value": "true"
                                        },
                                        "src": "7802:22:29",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        }
                                      },
                                      "id": 5913,
                                      "nodeType": "ExpressionStatement",
                                      "src": "7802:22:29"
                                    }
                                  }
                                ]
                              },
                              "condition": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 5877,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "id": 5874,
                                  "name": "_j",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5871,
                                  "src": "7330:2:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "<",
                                "rightExpression": {
                                  "expression": {
                                    "id": 5875,
                                    "name": "_mods",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5809,
                                    "src": "7335:5:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                      "typeString": "struct TicketMod memory[] memory"
                                    }
                                  },
                                  "id": 5876,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "length",
                                  "nodeType": "MemberAccess",
                                  "src": "7335:12:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "7330:17:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "id": 5916,
                              "initializationExpression": {
                                "assignments": [
                                  5871
                                ],
                                "declarations": [
                                  {
                                    "constant": false,
                                    "id": 5871,
                                    "mutability": "mutable",
                                    "name": "_j",
                                    "nameLocation": "7322:2:29",
                                    "nodeType": "VariableDeclaration",
                                    "scope": 5916,
                                    "src": "7314:10:29",
                                    "stateVariable": false,
                                    "storageLocation": "default",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    "typeName": {
                                      "id": 5870,
                                      "name": "uint256",
                                      "nodeType": "ElementaryTypeName",
                                      "src": "7314:7:29",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "visibility": "internal"
                                  }
                                ],
                                "id": 5873,
                                "initialValue": {
                                  "hexValue": "30",
                                  "id": 5872,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "7327:1:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "nodeType": "VariableDeclarationStatement",
                                "src": "7314:14:29"
                              },
                              "loopExpression": {
                                "expression": {
                                  "id": 5879,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "UnaryOperation",
                                  "operator": "++",
                                  "prefix": false,
                                  "src": "7349:4:29",
                                  "subExpression": {
                                    "id": 5878,
                                    "name": "_j",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5871,
                                    "src": "7349:2:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "id": 5880,
                                "nodeType": "ExpressionStatement",
                                "src": "7349:4:29"
                              },
                              "nodeType": "ForStatement",
                              "src": "7309:534:29"
                            },
                            {
                              "expression": {
                                "arguments": [
                                  {
                                    "id": 5918,
                                    "name": "_includesLocked",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5867,
                                    "src": "7889:15:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  {
                                    "hexValue": "4d6f6453746f72653a3a7365745469636b65744d6f64733a20534f4d455f4c4f434b4544",
                                    "id": 5919,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "string",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "7926:38:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_stringliteral_eeb0a6ab616bc62a944d6f93891dbf076a3420eba7a33011c12831dc33c2e627",
                                      "typeString": "literal_string \"ModStore::setTicketMods: SOME_LOCKED\""
                                    },
                                    "value": "ModStore::setTicketMods: SOME_LOCKED"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    {
                                      "typeIdentifier": "t_stringliteral_eeb0a6ab616bc62a944d6f93891dbf076a3420eba7a33011c12831dc33c2e627",
                                      "typeString": "literal_string \"ModStore::setTicketMods: SOME_LOCKED\""
                                    }
                                  ],
                                  "id": 5917,
                                  "name": "require",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [
                                    -18,
                                    -18
                                  ],
                                  "referencedDeclaration": -18,
                                  "src": "7860:7:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                                    "typeString": "function (bool,string memory) pure"
                                  }
                                },
                                "id": 5920,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "7860:122:29",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 5921,
                              "nodeType": "ExpressionStatement",
                              "src": "7860:122:29"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 5855,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 5852,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5849,
                      "src": "7135:2:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 5853,
                        "name": "_projectTicketMods",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5841,
                        "src": "7140:18:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                          "typeString": "struct TicketMod memory[] memory"
                        }
                      },
                      "id": 5854,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "7140:25:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "7135:30:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 5925,
                  "initializationExpression": {
                    "assignments": [
                      5849
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 5849,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "7127:2:29",
                        "nodeType": "VariableDeclaration",
                        "scope": 5925,
                        "src": "7119:10:29",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 5848,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "7119:7:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 5851,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 5850,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "7132:1:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "7119:14:29"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 5857,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "7167:4:29",
                      "subExpression": {
                        "id": 5856,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5849,
                        "src": "7167:2:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5858,
                    "nodeType": "ExpressionStatement",
                    "src": "7167:4:29"
                  },
                  "nodeType": "ForStatement",
                  "src": "7114:893:29"
                },
                {
                  "expression": {
                    "id": 5931,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "delete",
                    "prefix": true,
                    "src": "8075:48:29",
                    "subExpression": {
                      "baseExpression": {
                        "baseExpression": {
                          "id": 5926,
                          "name": "_ticketModsOf",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5488,
                          "src": "8082:13:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$_$",
                            "typeString": "mapping(uint256 => mapping(uint256 => struct TicketMod storage ref[] storage ref))"
                          }
                        },
                        "id": 5928,
                        "indexExpression": {
                          "id": 5927,
                          "name": "_projectId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 5803,
                          "src": "8096:10:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "8082:25:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$",
                          "typeString": "mapping(uint256 => struct TicketMod storage ref[] storage ref)"
                        }
                      },
                      "id": 5930,
                      "indexExpression": {
                        "id": 5929,
                        "name": "_configuration",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5805,
                        "src": "8108:14:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "8082:41:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage",
                        "typeString": "struct TicketMod storage ref[] storage ref"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5932,
                  "nodeType": "ExpressionStatement",
                  "src": "8075:48:29"
                },
                {
                  "assignments": [
                    5934
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 5934,
                      "mutability": "mutable",
                      "name": "_ticketModPercentTotal",
                      "nameLocation": "8222:22:29",
                      "nodeType": "VariableDeclaration",
                      "scope": 6010,
                      "src": "8214:30:29",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 5933,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8214:7:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 5936,
                  "initialValue": {
                    "hexValue": "30",
                    "id": 5935,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "8247:1:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8214:34:29"
                },
                {
                  "body": {
                    "id": 6008,
                    "nodeType": "Block",
                    "src": "8305:1034:29",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              },
                              "id": 5954,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "baseExpression": {
                                    "id": 5949,
                                    "name": "_mods",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5809,
                                    "src": "8397:5:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                      "typeString": "struct TicketMod memory[] memory"
                                    }
                                  },
                                  "id": 5951,
                                  "indexExpression": {
                                    "id": 5950,
                                    "name": "_i",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5938,
                                    "src": "8403:2:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "8397:9:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                    "typeString": "struct TicketMod memory"
                                  }
                                },
                                "id": 5952,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "percent",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 11270,
                                "src": "8397:17:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": ">",
                              "rightExpression": {
                                "hexValue": "30",
                                "id": 5953,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "8417:1:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              },
                              "src": "8397:21:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "4d6f6453746f72653a3a7365745469636b65744d6f64733a204241445f4d4f445f50455243454e54",
                              "id": 5955,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "8436:42:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_485de332ec249e1a5c78f5feabd29c46f4359c1f43eb4fc2764afa588fe29b57",
                                "typeString": "literal_string \"ModStore::setTicketMods: BAD_MOD_PERCENT\""
                              },
                              "value": "ModStore::setTicketMods: BAD_MOD_PERCENT"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_485de332ec249e1a5c78f5feabd29c46f4359c1f43eb4fc2764afa588fe29b57",
                                "typeString": "literal_string \"ModStore::setTicketMods: BAD_MOD_PERCENT\""
                              }
                            ],
                            "id": 5948,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "8372:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 5956,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8372:120:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5957,
                        "nodeType": "ExpressionStatement",
                        "src": "8372:120:29"
                      },
                      {
                        "expression": {
                          "id": 5965,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 5958,
                            "name": "_ticketModPercentTotal",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5934,
                            "src": "8549:22:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 5964,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 5959,
                              "name": "_ticketModPercentTotal",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5934,
                              "src": "8574:22:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "expression": {
                                "baseExpression": {
                                  "id": 5960,
                                  "name": "_mods",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5809,
                                  "src": "8599:5:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                    "typeString": "struct TicketMod memory[] memory"
                                  }
                                },
                                "id": 5962,
                                "indexExpression": {
                                  "id": 5961,
                                  "name": "_i",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5938,
                                  "src": "8605:2:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "8599:9:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                  "typeString": "struct TicketMod memory"
                                }
                              },
                              "id": 5963,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "percent",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 11270,
                              "src": "8599:17:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "src": "8574:42:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "8549:67:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 5966,
                        "nodeType": "ExpressionStatement",
                        "src": "8549:67:29"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 5970,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 5968,
                                "name": "_ticketModPercentTotal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5934,
                                "src": "8715:22:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "<=",
                              "rightExpression": {
                                "hexValue": "3130303030",
                                "id": 5969,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "8741:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_10000_by_1",
                                  "typeString": "int_const 10000"
                                },
                                "value": "10000"
                              },
                              "src": "8715:31:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "4d6f6453746f72653a3a7365745469636b65744d6f64733a204241445f544f54414c5f50455243454e54",
                              "id": 5971,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "8764:44:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_d3a26a4c75ea1d3a1e0a5ab9919115dc827486cc894c45237454917aad502910",
                                "typeString": "literal_string \"ModStore::setTicketMods: BAD_TOTAL_PERCENT\""
                              },
                              "value": "ModStore::setTicketMods: BAD_TOTAL_PERCENT"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_d3a26a4c75ea1d3a1e0a5ab9919115dc827486cc894c45237454917aad502910",
                                "typeString": "literal_string \"ModStore::setTicketMods: BAD_TOTAL_PERCENT\""
                              }
                            ],
                            "id": 5967,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "8690:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 5972,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8690:132:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5973,
                        "nodeType": "ExpressionStatement",
                        "src": "8690:132:29"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              "id": 5983,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "baseExpression": {
                                    "id": 5975,
                                    "name": "_mods",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5809,
                                    "src": "8924:5:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                      "typeString": "struct TicketMod memory[] memory"
                                    }
                                  },
                                  "id": 5977,
                                  "indexExpression": {
                                    "id": 5976,
                                    "name": "_i",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 5938,
                                    "src": "8930:2:29",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "8924:9:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                    "typeString": "struct TicketMod memory"
                                  }
                                },
                                "id": 5978,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "beneficiary",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 11274,
                                "src": "8924:21:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address_payable",
                                  "typeString": "address payable"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "!=",
                              "rightExpression": {
                                "arguments": [
                                  {
                                    "hexValue": "30",
                                    "id": 5981,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "8957:1:29",
                                    "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": 5980,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "nodeType": "ElementaryTypeNameExpression",
                                  "src": "8949:7:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_type$_t_address_$",
                                    "typeString": "type(address)"
                                  },
                                  "typeName": {
                                    "id": 5979,
                                    "name": "address",
                                    "nodeType": "ElementaryTypeName",
                                    "src": "8949:7:29",
                                    "typeDescriptions": {}
                                  }
                                },
                                "id": 5982,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "typeConversion",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "8949:10:29",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "src": "8924:35:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "4d6f6453746f72653a3a7365745469636b65744d6f64733a205a45524f5f41444452455353",
                              "id": 5984,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "8977:39:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_2dedef43150311ce80a163c7cdfd5ac8e21ee834b2200b0ee707c0508626be07",
                                "typeString": "literal_string \"ModStore::setTicketMods: ZERO_ADDRESS\""
                              },
                              "value": "ModStore::setTicketMods: ZERO_ADDRESS"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_2dedef43150311ce80a163c7cdfd5ac8e21ee834b2200b0ee707c0508626be07",
                                "typeString": "literal_string \"ModStore::setTicketMods: ZERO_ADDRESS\""
                              }
                            ],
                            "id": 5974,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "8899:7:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 5985,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "8899:131:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5986,
                        "nodeType": "ExpressionStatement",
                        "src": "8899:131:29"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "baseExpression": {
                                "id": 5993,
                                "name": "_mods",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5809,
                                "src": "9157:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                  "typeString": "struct TicketMod memory[] memory"
                                }
                              },
                              "id": 5995,
                              "indexExpression": {
                                "id": 5994,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5938,
                                "src": "9163:2:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "9157:9:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                "typeString": "struct TicketMod memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                "typeString": "struct TicketMod memory"
                              }
                            ],
                            "expression": {
                              "baseExpression": {
                                "baseExpression": {
                                  "id": 5987,
                                  "name": "_ticketModsOf",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5488,
                                  "src": "9110:13:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$_$",
                                    "typeString": "mapping(uint256 => mapping(uint256 => struct TicketMod storage ref[] storage ref))"
                                  }
                                },
                                "id": 5990,
                                "indexExpression": {
                                  "id": 5988,
                                  "name": "_projectId",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 5803,
                                  "src": "9124:10:29",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "IndexAccess",
                                "src": "9110:25:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_mapping$_t_uint256_$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_$",
                                  "typeString": "mapping(uint256 => struct TicketMod storage ref[] storage ref)"
                                }
                              },
                              "id": 5991,
                              "indexExpression": {
                                "id": 5989,
                                "name": "_configuration",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5805,
                                "src": "9136:14:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "9110:41:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage",
                                "typeString": "struct TicketMod storage ref[] storage ref"
                              }
                            },
                            "id": 5992,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "push",
                            "nodeType": "MemberAccess",
                            "src": "9110:46:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_ptr_$_t_struct$_TicketMod_$11275_storage_$returns$__$bound_to$_t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_ptr_$",
                              "typeString": "function (struct TicketMod storage ref[] storage pointer,struct TicketMod storage ref)"
                            }
                          },
                          "id": 5996,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "9110:57:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 5997,
                        "nodeType": "ExpressionStatement",
                        "src": "9110:57:29"
                      },
                      {
                        "eventCall": {
                          "arguments": [
                            {
                              "id": 5999,
                              "name": "_projectId",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5803,
                              "src": "9217:10:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 6000,
                              "name": "_configuration",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 5805,
                              "src": "9245:14:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "baseExpression": {
                                "id": 6001,
                                "name": "_mods",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5809,
                                "src": "9277:5:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                                  "typeString": "struct TicketMod memory[] memory"
                                }
                              },
                              "id": 6003,
                              "indexExpression": {
                                "id": 6002,
                                "name": "_i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 5938,
                                "src": "9283:2:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "9277:9:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                "typeString": "struct TicketMod memory"
                              }
                            },
                            {
                              "expression": {
                                "id": 6004,
                                "name": "msg",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": -15,
                                "src": "9304:3:29",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_magic_message",
                                  "typeString": "msg"
                                }
                              },
                              "id": 6005,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sender",
                              "nodeType": "MemberAccess",
                              "src": "9304:10:29",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_struct$_TicketMod_$11275_memory_ptr",
                                "typeString": "struct TicketMod memory"
                              },
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 5998,
                            "name": "SetTicketMod",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 11297,
                            "src": "9187:12:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_struct$_TicketMod_$11275_memory_ptr_$_t_address_$returns$__$",
                              "typeString": "function (uint256,uint256,struct TicketMod memory,address)"
                            }
                          },
                          "id": 6006,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "9187:141:29",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 6007,
                        "nodeType": "EmitStatement",
                        "src": "9182:146:29"
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 5944,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 5941,
                      "name": "_i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 5938,
                      "src": "8280:2:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "expression": {
                        "id": 5942,
                        "name": "_mods",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5809,
                        "src": "8285:5:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                          "typeString": "struct TicketMod memory[] memory"
                        }
                      },
                      "id": 5943,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "src": "8285:12:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "8280:17:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 6009,
                  "initializationExpression": {
                    "assignments": [
                      5938
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 5938,
                        "mutability": "mutable",
                        "name": "_i",
                        "nameLocation": "8272:2:29",
                        "nodeType": "VariableDeclaration",
                        "scope": 6009,
                        "src": "8264:10:29",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 5937,
                          "name": "uint256",
                          "nodeType": "ElementaryTypeName",
                          "src": "8264:7:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "visibility": "internal"
                      }
                    ],
                    "id": 5940,
                    "initialValue": {
                      "hexValue": "30",
                      "id": 5939,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8277:1:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "8264:14:29"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 5946,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "8299:4:29",
                      "subExpression": {
                        "id": 5945,
                        "name": "_i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5938,
                        "src": "8299:2:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 5947,
                    "nodeType": "ExpressionStatement",
                    "src": "8299:4:29"
                  },
                  "nodeType": "ForStatement",
                  "src": "8259:1080:29"
                }
              ]
            },
            "baseFunctions": [
              11347
            ],
            "documentation": {
              "id": 5801,
              "nodeType": "StructuredDocumentation",
              "src": "6004:366:29",
              "text": "@notice \nAdds a mod to the ticket mods list.\n@dev\nOnly the owner or operator of a project can make this call, or the current terminal of the project.\n@param _projectId The project to add a mod to.\n@param _configuration The configuration to set the mods to be active during.\n@param _mods The ticket mods to set."
            },
            "functionSelector": "ebe352a4",
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": [
                  {
                    "arguments": [
                      {
                        "id": 5815,
                        "name": "_projectId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5803,
                        "src": "6613:10:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 5813,
                        "name": "projects",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5493,
                        "src": "6596:8:29",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IProjects_$36554",
                          "typeString": "contract IProjects"
                        }
                      },
                      "id": 5814,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "ownerOf",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 37545,
                      "src": "6596:16:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$",
                        "typeString": "function (uint256) view external returns (address)"
                      }
                    },
                    "id": 5816,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6596:28:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  {
                    "id": 5817,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 5803,
                    "src": "6638:10:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "expression": {
                      "id": 5818,
                      "name": "Operations",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 12243,
                      "src": "6662:10:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Operations_$12243_$",
                        "typeString": "type(library Operations)"
                      }
                    },
                    "id": 5819,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "SetTicketMods",
                    "nodeType": "MemberAccess",
                    "referencedDeclaration": 12236,
                    "src": "6662:24:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "arguments": [
                      {
                        "arguments": [
                          {
                            "id": 5824,
                            "name": "_projectId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5803,
                            "src": "6737:10:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 5822,
                            "name": "terminalDirectory",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 11010,
                            "src": "6708:17:29",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_ITerminalDirectory_$36192",
                              "typeString": "contract ITerminalDirectory"
                            }
                          },
                          "id": 5823,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "terminalOf",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 36146,
                          "src": "6708:28:29",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_contract$_ITerminal_$36604_$",
                            "typeString": "function (uint256) view external returns (contract ITerminal)"
                          }
                        },
                        "id": 5825,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "6708:40:29",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_ITerminal_$36604",
                          "typeString": "contract ITerminal"
                        }
                      ],
                      "id": 5821,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "6700:7:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_address_$",
                        "typeString": "type(address)"
                      },
                      "typeName": {
                        "id": 5820,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "6700:7:29",
                        "typeDescriptions": {}
                      }
                    },
                    "id": 5826,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "6700:49:29",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  }
                ],
                "id": 5827,
                "kind": "modifierInvocation",
                "modifierName": {
                  "id": 5812,
                  "name": "requirePermissionAcceptingAlternateAddress",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 10962,
                  "src": "6540:42:29"
                },
                "nodeType": "ModifierInvocation",
                "src": "6540:219:29"
              }
            ],
            "name": "setTicketMods",
            "nameLocation": "6384:13:29",
            "overrides": {
              "id": 5811,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "6523:8:29"
            },
            "parameters": {
              "id": 5810,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5803,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "6415:10:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 6011,
                  "src": "6407:18:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5802,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6407:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5805,
                  "mutability": "mutable",
                  "name": "_configuration",
                  "nameLocation": "6443:14:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 6011,
                  "src": "6435:22:29",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5804,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6435:7:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 5809,
                  "mutability": "mutable",
                  "name": "_mods",
                  "nameLocation": "6486:5:29",
                  "nodeType": "VariableDeclaration",
                  "scope": 6011,
                  "src": "6467:24:29",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_memory_ptr_$dyn_memory_ptr",
                    "typeString": "struct TicketMod[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 5807,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 5806,
                        "name": "TicketMod",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 11275,
                        "src": "6467:9:29"
                      },
                      "referencedDeclaration": 11275,
                      "src": "6467:9:29",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_TicketMod_$11275_storage_ptr",
                        "typeString": "struct TicketMod"
                      }
                    },
                    "id": 5808,
                    "nodeType": "ArrayTypeName",
                    "src": "6467:11:29",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_TicketMod_$11275_storage_$dyn_storage_ptr",
                      "typeString": "struct TicketMod[]"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6397:100:29"
            },
            "returnParameters": {
              "id": 5828,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "6764:0:29"
            },
            "scope": 6012,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 5467,
              "name": "IModStore",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 11348,
              "src": "388:9:29"
            },
            "id": 5468,
            "nodeType": "InheritanceSpecifier",
            "src": "388:9:29"
          },
          {
            "baseName": {
              "id": 5469,
              "name": "Operatable",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 10980,
              "src": "399:10:29"
            },
            "id": 5470,
            "nodeType": "InheritanceSpecifier",
            "src": "399:10:29"
          },
          {
            "baseName": {
              "id": 5471,
              "name": "TerminalUtility",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 11023,
              "src": "411:15:29"
            },
            "id": 5472,
            "nodeType": "InheritanceSpecifier",
            "src": "411:15:29"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 5466,
          "nodeType": "StructuredDocumentation",
          "src": "209:157:29",
          "text": "@notice\nStores mods for each project.\n@dev\nMods can be used to distribute a percentage of payments or tickets to preconfigured beneficiaries."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          6012,
          11023,
          11414,
          10980,
          11358,
          11348
        ],
        "name": "ModStore",
        "nameLocation": "376:8:29",
        "scope": 6013,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 29
}