{
  "contractName": "Repo",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "hasInitialized",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_script",
          "type": "bytes"
        }
      ],
      "name": "getEVMScriptExecutor",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getRecoveryVault",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "token",
          "type": "address"
        }
      ],
      "name": "allowRecoverability",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "appId",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getInitializationBlock",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_token",
          "type": "address"
        }
      ],
      "name": "transferToVault",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_sender",
          "type": "address"
        },
        {
          "name": "_role",
          "type": "bytes32"
        },
        {
          "name": "_params",
          "type": "uint256[]"
        }
      ],
      "name": "canPerform",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getEVMScriptRegistry",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "CREATE_VERSION_ROLE",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "kernel",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "isPetrified",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "versionId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "semanticVersion",
          "type": "uint16[3]"
        }
      ],
      "name": "NewVersion",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "executor",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "script",
          "type": "bytes"
        },
        {
          "indexed": false,
          "name": "input",
          "type": "bytes"
        },
        {
          "indexed": false,
          "name": "returnData",
          "type": "bytes"
        }
      ],
      "name": "ScriptResult",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "vault",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "token",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "RecoverToVault",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_newSemanticVersion",
          "type": "uint16[3]"
        },
        {
          "name": "_contractAddress",
          "type": "address"
        },
        {
          "name": "_contentURI",
          "type": "bytes"
        }
      ],
      "name": "newVersion",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getLatest",
      "outputs": [
        {
          "name": "semanticVersion",
          "type": "uint16[3]"
        },
        {
          "name": "contractAddress",
          "type": "address"
        },
        {
          "name": "contentURI",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_contractAddress",
          "type": "address"
        }
      ],
      "name": "getLatestForContractAddress",
      "outputs": [
        {
          "name": "semanticVersion",
          "type": "uint16[3]"
        },
        {
          "name": "contractAddress",
          "type": "address"
        },
        {
          "name": "contentURI",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_semanticVersion",
          "type": "uint16[3]"
        }
      ],
      "name": "getBySemanticVersion",
      "outputs": [
        {
          "name": "semanticVersion",
          "type": "uint16[3]"
        },
        {
          "name": "contractAddress",
          "type": "address"
        },
        {
          "name": "contentURI",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_versionId",
          "type": "uint256"
        }
      ],
      "name": "getByVersionId",
      "outputs": [
        {
          "name": "semanticVersion",
          "type": "uint16[3]"
        },
        {
          "name": "contractAddress",
          "type": "address"
        },
        {
          "name": "contentURI",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getVersionsCount",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_oldVersion",
          "type": "uint16[3]"
        },
        {
          "name": "_newVersion",
          "type": "uint16[3]"
        }
      ],
      "name": "isValidBump",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    }
  ],
  "bytecode": "0x6080604052620000176401000000006200001d810204565b6200023b565b6200003064010000000062000125810204565b60408051808201909152601881527f494e49545f414c52454144595f494e495449414c495a45440000000000000000602082015290156200010c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620000d0578181015183820152602001620000b6565b50505050905090810190601f168015620000fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506200012360001964010000000062000154810204565b565b60006200014f60008051602062001fba833981519152640100000000620018436200023382021704565b905090565b6200016764010000000062000125810204565b60408051808201909152601881527f494e49545f414c52454144595f494e495449414c495a454400000000000000006020820152901562000206576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252838181518152602001915080519060200190808383600083811015620000d0578181015183820152602001620000b6565b506200023060008051602062001fba8339815191528264010000000062001b3f6200023782021704565b50565b5490565b9055565b611d6f806200024b6000396000f3006080604052600436106101115763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630803fac081146101165780632914b9bd1461013f57806332f0a3b5146101c15780634c3ba268146101d657806373053410146102ed578063737e7d4f1461038a5780637e7db6e1146103a257806380afdea8146103d05780638129fc1c146103f75780638b3dd7491461040c5780639a6fe50c146104215780639d4941d81461044f578063a1658fad1461047d578063a479e508146104f1578063a7bdf16e14610506578063aa61924a1461056f578063c36af46014610584578063c6d48e0d14610599578063d4aae0c4146105ae578063de4796ed146105c3575b600080fd5b34801561012257600080fd5b5061012b6105d8565b604080519115158252519081900360200190f35b34801561014b57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101989436949293602493928401919081908401838280828437509497506106029650505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101cd57600080fd5b5061019861070e565b3480156101e257600080fd5b506040805160608181019092526102199136916004916064919083906003908390839080828437509396506107ad95505050505050565b6040518084606080838360005b8381101561023e578181015183820152602001610226565b505050509050018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156102b0578181015183820152602001610298565b50505050905090810190601f1680156102dd5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b3480156102f957600080fd5b50604080516060818101909252610388913691600491606491908390600390839083908082843750506040805160208781013589018035601f81018390048302840183018552808452979a893573ffffffffffffffffffffffffffffffffffffffff169a9099909894019650919450908101925081908401838280828437509497506107ec9650505050505050565b005b34801561039657600080fd5b50610219600435610cbf565b3480156103ae57600080fd5b5061012b73ffffffffffffffffffffffffffffffffffffffff60043516610ec0565b3480156103dc57600080fd5b506103e5610ec6565b60408051918252519081900360200190f35b34801561040357600080fd5b50610388610ef6565b34801561041857600080fd5b506103e5610faa565b34801561042d57600080fd5b5061021973ffffffffffffffffffffffffffffffffffffffff60043516610fd5565b34801561045b57600080fd5b5061038873ffffffffffffffffffffffffffffffffffffffff6004351661100f565b34801561048957600080fd5b50604080516020600460443581810135838102808601850190965280855261012b95833573ffffffffffffffffffffffffffffffffffffffff169560248035963696956064959394920192918291850190849080828437509497506113319650505050505050565b3480156104fd57600080fd5b506101986114c1565b34801561051257600080fd5b5060408051606081810190925261012b913691600491606491908390600390839083908082843750506040805160608181019092529497969581810195945092506003915083908390808284375093965061158395505050505050565b34801561057b57600080fd5b506103e5611672565b34801561059057600080fd5b50610219611696565b3480156105a557600080fd5b506103e56116bb565b3480156105ba57600080fd5b506101986116e3565b3480156105cf57600080fd5b5061012b61170e565b6000806105e3610faa565b905080158015906105fb5750806105f861173f565b10155b91505b5090565b600061060c6114c1565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610690578181015183820152602001610678565b50505050905090810190601f1680156106bd5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b505050506040513d602081101561070657600080fd5b505192915050565b60006107186116e3565b73ffffffffffffffffffffffffffffffffffffffff166332f0a3b56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561077b57600080fd5b505af115801561078f573d6000803e3d6000fd5b505050506040513d60208110156107a557600080fd5b505190505b90565b6107b5611bc2565b600060606107df600260006107c987611743565b8152602081019190915260400160002054610cbf565b9250925092509193909250565b6000806107f7611bc2565b6040805160008082526020820190925281907f1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d8906108389033908390611331565b60408051808201909152600f81527f4150505f415554485f4641494c454400000000000000000000000000000000006020820152901515610911576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156108d65781810151838201526020016108be565b50505050905090810190601f1680156109035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5087955060016000540394506000851115610a9a57600085815260016020526040808220815160608101928390529095509185916003918390855b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161094c579050509397505050505073ffffffffffffffffffffffffffffffffffffffff861615156109c757600183015473ffffffffffffffffffffffffffffffffffffffff1695505b600183015473ffffffffffffffffffffffffffffffffffffffff878116911614806109fb57508254895161ffff9182169116115b60408051808201909152601481527f5245504f5f494e56414c49445f56455253494f4e0000000000000000000000006020820152901515610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b505b610aa4848a611583565b60408051808201909152601181527f5245504f5f494e56414c49445f42554d500000000000000000000000000000006020820152901515610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b506000805460018082018355604080516060810182528d815273ffffffffffffffffffffffffffffffffffffffff8b166020808301919091528183018d905284865292909252909220825191945090610b9d9082906003611be1565b506020828101516001830180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691909117905560408301518051610c019260028501920190611c73565b509050508160026000610c138c611743565b8152602080820192909252604090810160009081209390935573ffffffffffffffffffffffffffffffffffffffff8916835260038252808320859055518481527e3aea8189d1a0aa3ebdb05219cd4c2a663166706e949e9d6e8aa63718ca43fd9285928d92919082019083906060908190849084905b83811015610ca1578181015183820152602001610c89565b505050509050019250505060405180910390a1505050505050505050565b610cc7611bc2565b6000606060008085118015610cdd575060005485105b60408051808201909152601781527f5245504f5f494e4558495354454e545f56455253494f4e0000000000000000006020820152901515610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b5050600084815260016020819052604080832091820154815160608101928390529293849373ffffffffffffffffffffffffffffffffffffffff9092169260028501929185916003918390855b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411610dc7575050855460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152969950879550935085019150839050828015610eab5780601f10610e8057610100808354040283529160200191610eab565b820191906000526020600020905b815481529060010190602001808311610e8e57829003601f168201915b50505050509050935093509350509193909250565b50600190565b6000610ef17fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b611843565b905090565b610efe610faa565b60408051808201909152601881527f494e49545f414c52454144595f494e495449414c495a4544000000000000000060208201529015610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b50610fa3611847565b6001600055565b6000610ef17febb05b386a8d34882b8711d156f463690983dc47815980fb82aeeff1aa43579e611843565b610fdd611bc2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120546060906107df90610cbf565b600080600061101d84610ec0565b60408051808201909152601281527f5245434f5645525f444953414c4c4f574544000000000000000000000000000060208201529015156110ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b506110c361070e565b92506110ce8361192a565b60408051808201909152601a81527f5245434f5645525f5641554c545f4e4f545f434f4e5452414354000000000000602082015290151561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b5073ffffffffffffffffffffffffffffffffffffffff841615156111d6576040513031925073ffffffffffffffffffffffffffffffffffffffff84169083156108fc029084906000818181858888f193505050501580156111d0573d6000803e3d6000fd5b506112c6565b50826111fe73ffffffffffffffffffffffffffffffffffffffff82163063ffffffff61196416565b915061122773ffffffffffffffffffffffffffffffffffffffff8216848463ffffffff611a9d16565b60408051808201909152601d81527f5245434f5645525f544f4b454e5f5452414e534645525f4641494c454400000060208201529015156112c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b505b8373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f596caf56044b55fb8c4ca640089bbc2b63cae3e978b851f5745cbb7c5b288e02846040518082815260200191505060405180910390a350505050565b60008061133c6105d8565b151561134b57600091506114b9565b6113536116e3565b905073ffffffffffffffffffffffffffffffffffffffff8116151561137b57600091506114b9565b8073ffffffffffffffffffffffffffffffffffffffff1663fdef91068630876113a388611b35565b6040517c010000000000000000000000000000000000000000000000000000000063ffffffff871602815273ffffffffffffffffffffffffffffffffffffffff808616600483019081529085166024830152604482018490526080606483019081528351608484015283519192909160a490910190602085019080838360005b8381101561143b578181015183820152602001611423565b50505050905090810190601f1680156114685780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561148a57600080fd5b505af115801561149e573d6000803e3d6000fd5b505050506040513d60208110156114b457600080fd5b505191505b509392505050565b6000806114cc6116e3565b604080517fbe00bbd80000000000000000000000000000000000000000000000000000000081527fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb60048201527fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd616024820152905173ffffffffffffffffffffffffffffffffffffffff929092169163be00bbd8916044808201926020929091908290030181600087803b1580156106dc57600080fd5b600080805b60038110156116665781156115bf578381600381106115a357fe5b602002015161ffff16156115ba576000925061166a565b61165e565b8481600381106115cb57fe5b602002015161ffff168482600381106115e057fe5b602002015161ffff161461165e578381600381106115fa57fe5b602002015161ffff1685826003811061160f57fe5b602002015161ffff16118061164b575084816003811061162b57fe5b602002015184826003811061163c57fe5b60200201510361ffff16600114155b15611659576000925061166a565b600191505b600101611588565b8192505b505092915050565b7f1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d881565b61169e611bc2565b600060606116b0600160005403610cbf565b925092509250909192565b6000547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6000610ef17f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b611843565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611739610faa565b14905090565b4390565b805160208083015160408085015181517e0100000000000000000000000000000000000000000000000000000000000061ffff9687168102828701529386168402602282015294169091026024840152805160068185030181526026909301908190528251600093928291908401908083835b602083106117f357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016117b6565b5181516020939093036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180199091169216919091179052604051920182900390912095945050505050565b5490565b61184f610faa565b60408051808201909152601881527f494e49545f414c52454144595f494e495449414c495a45440000000000000000602082015290156118eb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b506119246118f761173f565b7febb05b386a8d34882b8711d156f463690983dc47815980fb82aeeff1aa43579e9063ffffffff611b3f16565b565b5490565b60008073ffffffffffffffffffffffffffffffffffffffff83161515611953576000915061195e565b823b90506000811191505b50919050565b6040805173ffffffffffffffffffffffffffffffffffffffff83166024808301919091528251808303909101815260449091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905260009081806119f18684611b43565b60408051808201909152601c81527f534146455f4552435f32305f42414c414e43455f52455645525445440000000060208201529193509150821515611a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b5095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052600090611b2c8582611b74565b95945050505050565b8051602002815290565b9055565b6000806000806040516020818751602089018a5afa92506000831115611b6857805191505b50909590945092505050565b6000806040516020818551602087016000895af16000811115611bb8573d8015611ba55760208114611bae57611bb6565b60019350611bb6565b600183511493505b505b5090949350505050565b6060604051908101604052806003906020820280388339509192915050565b600183019183908215611c675791602002820160005b83821115611c3757835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302611bf7565b8015611c655782816101000a81549061ffff0219169055600201602081600101049283019260010302611c37565b505b506105fe929150611ced565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611cb457805160ff1916838001178555611ce1565b82800160010185558215611ce1579182015b82811115611ce1578251825591602001919060010190611cc6565b506105fe929150611d29565b6107aa91905b808211156105fe5780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000168155600101611cf3565b6107aa91905b808211156105fe5760008155600101611d2f5600a165627a7a723058204b0f88bbfb7dea17df7a192f64cbee210f4561f74a520368d8c1cbcb554c40d20029ebb05b386a8d34882b8711d156f463690983dc47815980fb82aeeff1aa43579e",
  "deployedBytecode": "0x6080604052600436106101115763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630803fac081146101165780632914b9bd1461013f57806332f0a3b5146101c15780634c3ba268146101d657806373053410146102ed578063737e7d4f1461038a5780637e7db6e1146103a257806380afdea8146103d05780638129fc1c146103f75780638b3dd7491461040c5780639a6fe50c146104215780639d4941d81461044f578063a1658fad1461047d578063a479e508146104f1578063a7bdf16e14610506578063aa61924a1461056f578063c36af46014610584578063c6d48e0d14610599578063d4aae0c4146105ae578063de4796ed146105c3575b600080fd5b34801561012257600080fd5b5061012b6105d8565b604080519115158252519081900360200190f35b34801561014b57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101989436949293602493928401919081908401838280828437509497506106029650505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101cd57600080fd5b5061019861070e565b3480156101e257600080fd5b506040805160608181019092526102199136916004916064919083906003908390839080828437509396506107ad95505050505050565b6040518084606080838360005b8381101561023e578181015183820152602001610226565b505050509050018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156102b0578181015183820152602001610298565b50505050905090810190601f1680156102dd5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b3480156102f957600080fd5b50604080516060818101909252610388913691600491606491908390600390839083908082843750506040805160208781013589018035601f81018390048302840183018552808452979a893573ffffffffffffffffffffffffffffffffffffffff169a9099909894019650919450908101925081908401838280828437509497506107ec9650505050505050565b005b34801561039657600080fd5b50610219600435610cbf565b3480156103ae57600080fd5b5061012b73ffffffffffffffffffffffffffffffffffffffff60043516610ec0565b3480156103dc57600080fd5b506103e5610ec6565b60408051918252519081900360200190f35b34801561040357600080fd5b50610388610ef6565b34801561041857600080fd5b506103e5610faa565b34801561042d57600080fd5b5061021973ffffffffffffffffffffffffffffffffffffffff60043516610fd5565b34801561045b57600080fd5b5061038873ffffffffffffffffffffffffffffffffffffffff6004351661100f565b34801561048957600080fd5b50604080516020600460443581810135838102808601850190965280855261012b95833573ffffffffffffffffffffffffffffffffffffffff169560248035963696956064959394920192918291850190849080828437509497506113319650505050505050565b3480156104fd57600080fd5b506101986114c1565b34801561051257600080fd5b5060408051606081810190925261012b913691600491606491908390600390839083908082843750506040805160608181019092529497969581810195945092506003915083908390808284375093965061158395505050505050565b34801561057b57600080fd5b506103e5611672565b34801561059057600080fd5b50610219611696565b3480156105a557600080fd5b506103e56116bb565b3480156105ba57600080fd5b506101986116e3565b3480156105cf57600080fd5b5061012b61170e565b6000806105e3610faa565b905080158015906105fb5750806105f861173f565b10155b91505b5090565b600061060c6114c1565b73ffffffffffffffffffffffffffffffffffffffff166304bf2a7f836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610690578181015183820152602001610678565b50505050905090810190601f1680156106bd5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b505050506040513d602081101561070657600080fd5b505192915050565b60006107186116e3565b73ffffffffffffffffffffffffffffffffffffffff166332f0a3b56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561077b57600080fd5b505af115801561078f573d6000803e3d6000fd5b505050506040513d60208110156107a557600080fd5b505190505b90565b6107b5611bc2565b600060606107df600260006107c987611743565b8152602081019190915260400160002054610cbf565b9250925092509193909250565b6000806107f7611bc2565b6040805160008082526020820190925281907f1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d8906108389033908390611331565b60408051808201909152600f81527f4150505f415554485f4641494c454400000000000000000000000000000000006020820152901515610911576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156108d65781810151838201526020016108be565b50505050905090810190601f1680156109035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5087955060016000540394506000851115610a9a57600085815260016020526040808220815160608101928390529095509185916003918390855b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161094c579050509397505050505073ffffffffffffffffffffffffffffffffffffffff861615156109c757600183015473ffffffffffffffffffffffffffffffffffffffff1695505b600183015473ffffffffffffffffffffffffffffffffffffffff878116911614806109fb57508254895161ffff9182169116115b60408051808201909152601481527f5245504f5f494e56414c49445f56455253494f4e0000000000000000000000006020820152901515610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b505b610aa4848a611583565b60408051808201909152601181527f5245504f5f494e56414c49445f42554d500000000000000000000000000000006020820152901515610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b506000805460018082018355604080516060810182528d815273ffffffffffffffffffffffffffffffffffffffff8b166020808301919091528183018d905284865292909252909220825191945090610b9d9082906003611be1565b506020828101516001830180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691909117905560408301518051610c019260028501920190611c73565b509050508160026000610c138c611743565b8152602080820192909252604090810160009081209390935573ffffffffffffffffffffffffffffffffffffffff8916835260038252808320859055518481527e3aea8189d1a0aa3ebdb05219cd4c2a663166706e949e9d6e8aa63718ca43fd9285928d92919082019083906060908190849084905b83811015610ca1578181015183820152602001610c89565b505050509050019250505060405180910390a1505050505050505050565b610cc7611bc2565b6000606060008085118015610cdd575060005485105b60408051808201909152601781527f5245504f5f494e4558495354454e545f56455253494f4e0000000000000000006020820152901515610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b5050600084815260016020819052604080832091820154815160608101928390529293849373ffffffffffffffffffffffffffffffffffffffff9092169260028501929185916003918390855b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411610dc7575050855460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152969950879550935085019150839050828015610eab5780601f10610e8057610100808354040283529160200191610eab565b820191906000526020600020905b815481529060010190602001808311610e8e57829003601f168201915b50505050509050935093509350509193909250565b50600190565b6000610ef17fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b611843565b905090565b610efe610faa565b60408051808201909152601881527f494e49545f414c52454144595f494e495449414c495a4544000000000000000060208201529015610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b50610fa3611847565b6001600055565b6000610ef17febb05b386a8d34882b8711d156f463690983dc47815980fb82aeeff1aa43579e611843565b610fdd611bc2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120546060906107df90610cbf565b600080600061101d84610ec0565b60408051808201909152601281527f5245434f5645525f444953414c4c4f574544000000000000000000000000000060208201529015156110ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b506110c361070e565b92506110ce8361192a565b60408051808201909152601a81527f5245434f5645525f5641554c545f4e4f545f434f4e5452414354000000000000602082015290151561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b5073ffffffffffffffffffffffffffffffffffffffff841615156111d6576040513031925073ffffffffffffffffffffffffffffffffffffffff84169083156108fc029084906000818181858888f193505050501580156111d0573d6000803e3d6000fd5b506112c6565b50826111fe73ffffffffffffffffffffffffffffffffffffffff82163063ffffffff61196416565b915061122773ffffffffffffffffffffffffffffffffffffffff8216848463ffffffff611a9d16565b60408051808201909152601d81527f5245434f5645525f544f4b454e5f5452414e534645525f4641494c454400000060208201529015156112c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b505b8373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f596caf56044b55fb8c4ca640089bbc2b63cae3e978b851f5745cbb7c5b288e02846040518082815260200191505060405180910390a350505050565b60008061133c6105d8565b151561134b57600091506114b9565b6113536116e3565b905073ffffffffffffffffffffffffffffffffffffffff8116151561137b57600091506114b9565b8073ffffffffffffffffffffffffffffffffffffffff1663fdef91068630876113a388611b35565b6040517c010000000000000000000000000000000000000000000000000000000063ffffffff871602815273ffffffffffffffffffffffffffffffffffffffff808616600483019081529085166024830152604482018490526080606483019081528351608484015283519192909160a490910190602085019080838360005b8381101561143b578181015183820152602001611423565b50505050905090810190601f1680156114685780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561148a57600080fd5b505af115801561149e573d6000803e3d6000fd5b505050506040513d60208110156114b457600080fd5b505191505b509392505050565b6000806114cc6116e3565b604080517fbe00bbd80000000000000000000000000000000000000000000000000000000081527fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb60048201527fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd616024820152905173ffffffffffffffffffffffffffffffffffffffff929092169163be00bbd8916044808201926020929091908290030181600087803b1580156106dc57600080fd5b600080805b60038110156116665781156115bf578381600381106115a357fe5b602002015161ffff16156115ba576000925061166a565b61165e565b8481600381106115cb57fe5b602002015161ffff168482600381106115e057fe5b602002015161ffff161461165e578381600381106115fa57fe5b602002015161ffff1685826003811061160f57fe5b602002015161ffff16118061164b575084816003811061162b57fe5b602002015184826003811061163c57fe5b60200201510361ffff16600114155b15611659576000925061166a565b600191505b600101611588565b8192505b505092915050565b7f1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d881565b61169e611bc2565b600060606116b0600160005403610cbf565b925092509250909192565b6000547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6000610ef17f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b611843565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611739610faa565b14905090565b4390565b805160208083015160408085015181517e0100000000000000000000000000000000000000000000000000000000000061ffff9687168102828701529386168402602282015294169091026024840152805160068185030181526026909301908190528251600093928291908401908083835b602083106117f357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016117b6565b5181516020939093036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180199091169216919091179052604051920182900390912095945050505050565b5490565b61184f610faa565b60408051808201909152601881527f494e49545f414c52454144595f494e495449414c495a45440000000000000000602082015290156118eb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b506119246118f761173f565b7febb05b386a8d34882b8711d156f463690983dc47815980fb82aeeff1aa43579e9063ffffffff611b3f16565b565b5490565b60008073ffffffffffffffffffffffffffffffffffffffff83161515611953576000915061195e565b823b90506000811191505b50919050565b6040805173ffffffffffffffffffffffffffffffffffffffff83166024808301919091528251808303909101815260449091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f70a082310000000000000000000000000000000000000000000000000000000017905260009081806119f18684611b43565b60408051808201909152601c81527f534146455f4552435f32305f42414c414e43455f52455645525445440000000060208201529193509150821515611a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382528381815181526020019150805190602001908083836000838110156108d65781810151838201526020016108be565b5095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052600090611b2c8582611b74565b95945050505050565b8051602002815290565b9055565b6000806000806040516020818751602089018a5afa92506000831115611b6857805191505b50909590945092505050565b6000806040516020818551602087016000895af16000811115611bb8573d8015611ba55760208114611bae57611bb6565b60019350611bb6565b600183511493505b505b5090949350505050565b6060604051908101604052806003906020820280388339509192915050565b600183019183908215611c675791602002820160005b83821115611c3757835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302611bf7565b8015611c655782816101000a81549061ffff0219169055600201602081600101049283019260010302611c37565b505b506105fe929150611ced565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611cb457805160ff1916838001178555611ce1565b82800160010185558215611ce1579182015b82811115611ce1578251825591602001919060010190611cc6565b506105fe929150611d29565b6107aa91905b808211156105fe5780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000168155600101611cf3565b6107aa91905b808211156105fe5760008155600101611d2f5600a165627a7a723058204b0f88bbfb7dea17df7a192f64cbee210f4561f74a520368d8c1cbcb554c40d20029",
  "sourceMap": "136:4920:18:-;;;344:9:24;:7;;;;:9;:::i;:::-;136:4920:18;;590:84:34;615:24:32;:22;;;;:24;:::i;:::-;646:25;;;;;;;;;;;;;;;;;;615:29;607:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;607:65:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;637:30:34;-1:-1:-1;;637:13:34;;;;:30;:::i;:::-;590:84::o;881:137:32:-;936:7;962:49;-1:-1:-1;;;;;;;;;;;962:47:32;;;;;;:49;:::i;:::-;955:56;;881:137;:::o;1751:141::-;615:24;:22;;;;:24;:::i;:::-;646:25;;;;;;;;;;;;;;;;;;615:29;607:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;607:65:32;-1:-1:-1;1824:61:32;-1:-1:-1;;;;;;;;;;;1872:12:32;1824:47;;;;;;:61;:::i;:::-;1751:141;:::o;519:134:39:-;630:15;;620:27::o;1028:119::-;1117:22;;1115:26::o;136:4920:18:-;;;;;;;",
  "deployedSourceMap": "136:4920:18:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1128:208:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1128:208:32;;;;;;;;;;;;;;;;;;;;;;795:179:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;795:179:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;795:179:42;;-1:-1:-1;795:179:42;;-1:-1:-1;;;;;;;795:179:42;;;;;;;;;;;;;;;;;;;;2253:229:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2253:229:23;;;;3509:276:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3509:276:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3509:276:18;;-1:-1:-1;3509:276:18;;-1:-1:-1;;;;;;3509:276:18;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3509:276:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3509:276:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1712:1340;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1712:1340:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1712:1340:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1712:1340:18;;-1:-1:-1;1712:1340:18;;;;-1:-1:-1;1712:1340:18;;;;;;;;;;-1:-1:-1;1712:1340:18;;-1:-1:-1;1712:1340:18;;-1:-1:-1;;;;;;;1712:1340:18;;;3791:375;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3791:375:18;;;;;1659:99:40;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1659:99:40;;;;;;;796:106:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;796:106:22;;;;;;;;;;;;;;;;;;;;1217:99:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1217:99:18;;;;881:137:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;881:137:32;;;;3237:266:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3237:266:18;;;;;;;836:623:40;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;836:623:40;;;;;;;1641:496:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1641:496:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1641:496:23;;-1:-1:-1;1641:496:23;;-1:-1:-1;;;;;;;1641:496:23;980:231:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;980:231:42;;;;4281:600:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4281:600:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4281:600:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;4281:600:18;-1:-1:-1;4281:600:18;;-1:-1:-1;4281:600:18;;;;;;;;-1:-1:-1;4281:600:18;;-1:-1:-1;4281:600:18;;-1:-1:-1;;;;;;4281:600:18;299:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;299:112:18;;;;3058:173;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3058:173:18;;;;4172:103;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4172:103:18;;;;674:116:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;674:116:22;;;;287:117:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;287:117:34;;;;1128:208:32;1175:4;1191:27;1221:24;:22;:24::i;:::-;1191:54;-1:-1:-1;1262:24:32;;;;;:67;;;1310:19;1290:16;:14;:16::i;:::-;:39;;1262:67;1255:74;;1128:208;;;:::o;795:179:42:-;861:18;917:22;:20;:22::i;:::-;:40;;;958:7;917:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;917:49:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;917:49:42;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;917:49:42;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;917:49:42;;795:179;-1:-1:-1;;795:179:42:o;2253:229:23:-;2302:7;2408:8;:6;:8::i;:::-;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2408:27:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2408:27:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2408:27:23;;-1:-1:-1;2253:229:23;;:::o;3509:276:18:-;3612:25;;:::i;:::-;3639:23;3664:16;3703:75;3718:20;:59;3739:37;3759:16;3739:19;:37::i;:::-;3718:59;;;;;;;;;;;;;;3703:14;:75::i;:::-;3696:82;;;;;;3509:276;;;;;:::o;1712:1340::-;1885:23;1937:24;1996:35;;:::i;:::-;1020:16:23;;;2082:27:18;1020:16:23;;;;;;;;;2082:27:18;;345:66;;990:47:23;;1001:10;;345:66:18;;990:10:23;:47::i;:::-;1039:17;;;;;;;;;;;;;;;;;;982:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;982:75:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1911:16:18;1885:42;;1984:1;1964:17;;:21;1937:48;;2065:1;2046:16;:20;2042:565;;;2112:26;;;;:8;:26;;;;;;2152:48;;;;;;;;;2112:26;;-1:-1:-1;2152:48:18;2112:26;;2152:48;;2112:26;;2152:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2152:48:18;;-1:-1:-1;;;;;2219:29:18;;;;2215:113;;;2286:27;;;;;;;-1:-1:-1;2215:113:18;2438:27;;;;:46;;;;:27;;:46;;:105;;-1:-1:-1;2513:30:18;;2488:22;;2513:30;;;;2488:55;;;2438:105;2561:21;;;;;;;;;;;;;;;;;;2413:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;2413:183:18;;2042:565;2625:52;2637:18;2657:19;2625:11;:52::i;:::-;2679:18;;;;;;;;;;;;;;;;;;2617:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;2617:81:18;-1:-1:-1;2729:17:18;:19;;;;;;;;2780:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;2758:19;;;;;;;;;;:80;;2729:19;;-1:-1:-1;2758:19:18;:80;;:19;;:80;;:::i;:::-;-1:-1:-1;2758:80:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;2913:9;2848:20;:62;2869:40;2889:19;2869;:40::i;:::-;2848:62;;;;;;;;;;;;;;;;;;:74;;;;2932:43;;;;;:26;:43;;;;;:55;;;3003:42;;;;;;2978:9;;3025:19;;3003:42;;;;;3025:19;;3003:42;;;;;;3025:19;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3003:42:18;;;;;;;;;;;;;;;;;1712:1340;;;;;;;;;:::o;3791:375::-;3853:25;;:::i;:::-;3880:23;3905:16;4026:23;3954:1;3941:10;:14;:48;;;;;3972:17;;3959:10;:30;3941:48;3991:24;;;;;;;;;;;;;;;;;;3933:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;3933:83:18;-1:-1:-1;;4052:20:18;;;;:8;:20;;;;;;;;4115:23;;;;4082:77;;;;;;;;;4052:20;;;;4115:23;;;;;4140:18;;;;4082:77;4052:20;;4082:77;;4052:20;;4082:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4082:77:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4082:77:18;;-1:-1:-1;4082:77:18;-1:-1:-1;4082:77:18;;;-1:-1:-1;4082:77:18;;-1:-1:-1;4082:77:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3791:375;;;;;;:::o;1659:99:40:-;-1:-1:-1;1747:4:40;;1659:99::o;796:106:22:-;834:7;860:35;601:66;860:33;:35::i;:::-;853:42;;796:106;:::o;1217:99:18:-;615:24:32;:22;:24::i;:::-;646:25;;;;;;;;;;;;;;;;;;615:29;607:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;607:65:32;;1265:13:18;:11;:13::i;:::-;1308:1;1288:17;:21;1217:99::o;881:137:32:-;936:7;962:49;345:66;962:47;:49::i;3237:266:18:-;3345:25;;:::i;:::-;3451:44;;;3372:23;3451:44;;;:26;:44;;;;;;3397:16;;3436:60;;:14;:60::i;836:623:40:-;960:13;1067:15;1224:11;904:27;924:6;904:19;:27::i;:::-;933:16;;;;;;;;;;;;;;;;;;896:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;896:54:40;;976:18;:16;:18::i;:::-;960:34;;1012:17;1023:5;1012:10;:17::i;:::-;1031:24;;;;;;;;;;;;;;;;;;1004:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1004:52:40;-1:-1:-1;1096:13:40;;;;1092:307;;;1170:23;;1143:4;1135:21;;-1:-1:-1;1135:21:40;1170:14;;;:23;;;;;1135:21;;1170:23;;;;1135:21;1170:14;:23;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1170:23:40;1092:307;;;-1:-1:-1;1244:6:40;1275:27;:21;;;1297:4;1275:27;:21;:27;:::i;:::-;1265:37;-1:-1:-1;1324:34:40;:18;;;1343:5;1265:37;1324:34;:18;:34;:::i;:::-;1360:27;;;;;;;;;;;;;;;;;;1316:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1316:72:40;;1092:307;1436:6;1414:38;;1429:5;1414:38;;;1444:7;1414:38;;;;;;;;;;;;;;;;;;836:623;;;;:::o;1641:496:23:-;1733:4;1819:20;1754:16;:14;:16::i;:::-;1753:17;1749:60;;;1793:5;1786:12;;;;1749:60;1842:8;:6;:8::i;:::-;1819:31;-1:-1:-1;1864:35:23;;;;1860:78;;;1922:5;1915:12;;;;1860:78;1955:12;:26;;;1995:7;2024:4;2043:5;2062:58;2112:7;2062:49;:58::i;:::-;1955:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1955:175:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1955:175:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1955:175:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1955:175:23;;-1:-1:-1;1641:496:23;;;;;;;:::o;980:231:42:-;1033:18;1063:20;1086:8;:6;:8::i;:::-;:69;;;;;;1368:66:53;1086:69:42;;;;330:66:44;1086:69:42;;;;;;:15;;;;;;;;:69;;;;;;;;;;;;;;;;:15;:69;;;5:2:-1;;;;30:1;27;20:12;4281:600:18;4369:4;;;4429:420;4440:1;4436;:5;4429:420;;;4461:9;4457:365;;;4494:11;4506:1;4494:14;;;;;;;;;;;:19;;;4490:78;;4544:5;4537:12;;;;4490:78;4457:365;;;4610:11;4622:1;4610:14;;;;;;;;;;;4592:32;;:11;4604:1;4592:14;;;;;;;;;;;:32;;;4588:234;;4665:11;4677:1;4665:14;;;;;;;;;;;4648:31;;:11;4660:1;4648:14;;;;;;;;;;;:31;;;:71;;;-1:-1:-1;4700:11:18;4712:1;4700:14;;;;;;;;;;;4683:11;4695:1;4683:14;;;;;;;;;;;:31;:36;;4718:1;4683:36;;4648:71;4644:130;;;4750:5;4743:12;;;;4644:130;4803:4;4791:16;;4588:234;4835:3;;4429:420;;;4865:9;4858:16;;4281:600;;;;;;;:::o;299:112::-;345:66;299:112;:::o;3058:173::-;3100:25;;:::i;:::-;3127:23;3152:16;3187:37;3222:1;3202:17;;:21;3187:14;:37::i;:::-;3180:44;;;;;;3058:173;;;:::o;4172:103::-;4221:7;4247:17;:21;;4172:103;:::o;674:116:22:-;713:7;747:35;485:66;747:33;:35::i;287:117:34:-;331:4;277:2;354:24;:22;:24::i;:::-;:43;347:50;;287:117;:::o;347:94:37:-;422:12;347:94;:::o;4887:167:18:-;5011:10;;;5023;;;;5035;;;;;4994:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;4994:52:18;;;;;;;;4984:63;;-1:-1:-1;;4994:52:18;;;4984:63;;;;;4994:52;4984:63;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;;254:3;250:22;246:30;;311:9;;295:26;;;340:21;;377:20;;;;365:33;;4984:63:18;;;;;;;;;;;;-1:-1:-1;;;;;4887:167:18:o;379:134:39:-;490:15;;480:27::o;1447:123:32:-;615:24;:22;:24::i;:::-;646:25;;;;;;;;;;;;;;;;;;615:29;607:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;607:65:32;;1498;1546:16;:14;:16::i;:::-;345:66;;1498:65;:47;:65;:::i;:::-;1447:123::o;519:134:39:-;630:15;;620:27::o;426:244:33:-;486:4;;506:21;;;;502:64;;;550:5;543:12;;;;502:64;629:7;617:20;609:28;;662:1;655:4;:8;648:15;;426:244;;;;;:::o;4578:403:36:-;4708:91;;;4744:16;4708:91;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;4708:91:36;;;;;;;;25:18:-1;;61:17;;4708:91:36;182:15:-1;4744:25:36;179:29:-1;160:49;;4656:7:36;;;;4849:39;4744:6;4708:91;4849:12;:39::i;:::-;4915:28;;;;;;;;;;;;;;;;;4810:78;;-1:-1:-1;4810:78:36;-1:-1:-1;4898:46:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4898:46:36;-1:-1:-1;4962:12:36;4578:403;-1:-1:-1;;;;;4578:403:36:o;3100:304::-;3232:101;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;3232:101:36;;;;;;;;25:18:-1;;61:17;;3232:101:36;182:15:-1;3268:17:36;179:29:-1;160:49;;3184:4:36;;3350:47;3372:6;3232:101;3350:21;:47::i;:::-;3343:54;3100:304;-1:-1:-1;;;;;3100:304:36:o;142:539:25:-;559:13;;575:2;559:18;639:26;;559:6;596:79::o;1028:119:39:-;1117:22;;1115:26::o;2148:774:36:-;2255:4;2261:7;2284:12;2306:11;2367:4;2361:11;2741:4;2670:3;2619:9;2613:16;2572:4;2561:9;2557:20;2508:5;2451:3;2423:371;2412:382;;2823:1;2814:7;2811:14;2808:2;;;2857:3;2851:10;2844:17;;2808:2;-1:-1:-1;2902:7:36;;2911:3;;-1:-1:-1;2148:774:36;-1:-1:-1;;;2148:774:36:o;800:1342::-;903:4;923:8;981:4;975:11;1403:4;1332:3;1281:9;1275:16;1234:4;1223:9;1219:20;1169:1;1120:5;1063:3;1041:415;1485:1;1476:7;1473:14;1470:2;;;1587:14;1672:55;;;;1806:4;1801:193;;;;1580:512;;1672:55;1708:1;1701:8;;1672:55;;1801:193;1974:1;1968:3;1962:10;1959:17;1952:24;;1580:512;;1470:2;-1:-1:-1;2132:3:36;;800:1342;-1:-1:-1;;;;800:1342:36:o;136:4920:18:-;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;-1:-1;136:4920:18;;;-1:-1:-1;;136:4920:18:o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;136:4920:18;;;-1:-1:-1;136:4920:18;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;136:4920:18;;;-1:-1:-1;136:4920:18;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
  "source": "pragma solidity 0.4.24;\n\nimport \"../apps/AragonApp.sol\";\n\n\n/* solium-disable function-order */\n// Allow public initialize() to be first\ncontract Repo is AragonApp {\n    /* Hardcoded constants to save gas\n    bytes32 public constant CREATE_VERSION_ROLE = keccak256(\"CREATE_VERSION_ROLE\");\n    */\n    bytes32 public constant CREATE_VERSION_ROLE = 0x1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d8;\n\n    string private constant ERROR_INVALID_BUMP = \"REPO_INVALID_BUMP\";\n    string private constant ERROR_INVALID_VERSION = \"REPO_INVALID_VERSION\";\n    string private constant ERROR_INEXISTENT_VERSION = \"REPO_INEXISTENT_VERSION\";\n\n    struct Version {\n        uint16[3] semanticVersion;\n        address contractAddress;\n        bytes contentURI;\n    }\n\n    uint256 internal versionsNextIndex;\n    mapping (uint256 => Version) internal versions;\n    mapping (bytes32 => uint256) internal versionIdForSemantic;\n    mapping (address => uint256) internal latestVersionIdForContract;\n\n    event NewVersion(uint256 versionId, uint16[3] semanticVersion);\n\n    /**\n    * @dev Initialize can only be called once. It saves the block number in which it was initialized.\n    * @notice Initialize this Repo\n    */\n    function initialize() public onlyInit {\n        initialized();\n        versionsNextIndex = 1;\n    }\n\n    /**\n    * @notice Create new version with contract `_contractAddress` and content `@fromHex(_contentURI)`\n    * @param _newSemanticVersion Semantic version for new repo version\n    * @param _contractAddress address for smart contract logic for version (if set to 0, it uses last versions' contractAddress)\n    * @param _contentURI External URI for fetching new version's content\n    */\n    function newVersion(\n        uint16[3] _newSemanticVersion,\n        address _contractAddress,\n        bytes _contentURI\n    ) public auth(CREATE_VERSION_ROLE)\n    {\n        address contractAddress = _contractAddress;\n        uint256 lastVersionIndex = versionsNextIndex - 1;\n\n        uint16[3] memory lastSematicVersion;\n\n        if (lastVersionIndex > 0) {\n            Version storage lastVersion = versions[lastVersionIndex];\n            lastSematicVersion = lastVersion.semanticVersion;\n\n            if (contractAddress == address(0)) {\n                contractAddress = lastVersion.contractAddress;\n            }\n            // Only allows smart contract change on major version bumps\n            require(\n                lastVersion.contractAddress == contractAddress || _newSemanticVersion[0] > lastVersion.semanticVersion[0],\n                ERROR_INVALID_VERSION\n            );\n        }\n\n        require(isValidBump(lastSematicVersion, _newSemanticVersion), ERROR_INVALID_BUMP);\n\n        uint256 versionId = versionsNextIndex++;\n        versions[versionId] = Version(_newSemanticVersion, contractAddress, _contentURI);\n        versionIdForSemantic[semanticVersionHash(_newSemanticVersion)] = versionId;\n        latestVersionIdForContract[contractAddress] = versionId;\n\n        emit NewVersion(versionId, _newSemanticVersion);\n    }\n\n    function getLatest() public view returns (uint16[3] semanticVersion, address contractAddress, bytes contentURI) {\n        return getByVersionId(versionsNextIndex - 1);\n    }\n\n    function getLatestForContractAddress(address _contractAddress)\n        public\n        view\n        returns (uint16[3] semanticVersion, address contractAddress, bytes contentURI)\n    {\n        return getByVersionId(latestVersionIdForContract[_contractAddress]);\n    }\n\n    function getBySemanticVersion(uint16[3] _semanticVersion)\n        public\n        view\n        returns (uint16[3] semanticVersion, address contractAddress, bytes contentURI)\n    {\n        return getByVersionId(versionIdForSemantic[semanticVersionHash(_semanticVersion)]);\n    }\n\n    function getByVersionId(uint _versionId) public view returns (uint16[3] semanticVersion, address contractAddress, bytes contentURI) {\n        require(_versionId > 0 && _versionId < versionsNextIndex, ERROR_INEXISTENT_VERSION);\n        Version storage version = versions[_versionId];\n        return (version.semanticVersion, version.contractAddress, version.contentURI);\n    }\n\n    function getVersionsCount() public view returns (uint256) {\n        return versionsNextIndex - 1;\n    }\n\n    function isValidBump(uint16[3] _oldVersion, uint16[3] _newVersion) public pure returns (bool) {\n        bool hasBumped;\n        uint i = 0;\n        while (i < 3) {\n            if (hasBumped) {\n                if (_newVersion[i] != 0) {\n                    return false;\n                }\n            } else if (_newVersion[i] != _oldVersion[i]) {\n                if (_oldVersion[i] > _newVersion[i] || _newVersion[i] - _oldVersion[i] != 1) {\n                    return false;\n                }\n                hasBumped = true;\n            }\n            i++;\n        }\n        return hasBumped;\n    }\n\n    function semanticVersionHash(uint16[3] version) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(version[0], version[1], version[2]));\n    }\n}\n",
  "sourcePath": "@aragon/os/contracts/apm/Repo.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/apm/Repo.sol",
    "exportedSymbols": {
      "Repo": [
        10109
      ]
    },
    "id": 10110,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9718,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:18"
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AragonApp.sol",
        "file": "../apps/AragonApp.sol",
        "id": 9719,
        "nodeType": "ImportDirective",
        "scope": 10110,
        "sourceUnit": 10490,
        "src": "25:31:18",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9720,
              "name": "AragonApp",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10489,
              "src": "153:9:18",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AragonApp_$10489",
                "typeString": "contract AragonApp"
              }
            },
            "id": 9721,
            "nodeType": "InheritanceSpecifier",
            "src": "153:9:18"
          }
        ],
        "contractDependencies": [
          9577,
          10365,
          10489,
          10502,
          10662,
          10712,
          10810,
          10838,
          10871,
          10908,
          11200,
          11422,
          11823,
          11850,
          13114
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10109,
        "linearizedBaseContracts": [
          10109,
          10489,
          9577,
          11823,
          13114,
          11850,
          10908,
          11422,
          10838,
          10662,
          10712,
          10502,
          10871,
          10810,
          11200,
          10365
        ],
        "name": "Repo",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 9724,
            "name": "CREATE_VERSION_ROLE",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "299:112:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 9722,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "299:7:18",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307831663536636665636433353935613265366363316137653663623062323064663834636462643932656666326665653535346537306534653435613961376438",
              "id": 9723,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "345:66:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_14175082199951049120475530292950009820264027334869017275878805295387074209752_by_1",
                "typeString": "int_const 1417...(69 digits omitted)...9752"
              },
              "value": "0x1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d8"
            },
            "visibility": "public"
          },
          {
            "constant": true,
            "id": 9727,
            "name": "ERROR_INVALID_BUMP",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "418:64:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 9725,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "418:6:18",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "5245504f5f494e56414c49445f42554d50",
              "id": 9726,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "463:19:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_c0d2c819b356f0b10a55bac630c3c4d815e692fe9311b1cc8ba83e3426876fef",
                "typeString": "literal_string \"REPO_INVALID_BUMP\""
              },
              "value": "REPO_INVALID_BUMP"
            },
            "visibility": "private"
          },
          {
            "constant": true,
            "id": 9730,
            "name": "ERROR_INVALID_VERSION",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "488:70:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 9728,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "488:6:18",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "5245504f5f494e56414c49445f56455253494f4e",
              "id": 9729,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "536:22:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_4cb22c000e9208b6bc05026718966e45afadcffb33436bfbd76270772bf274ce",
                "typeString": "literal_string \"REPO_INVALID_VERSION\""
              },
              "value": "REPO_INVALID_VERSION"
            },
            "visibility": "private"
          },
          {
            "constant": true,
            "id": 9733,
            "name": "ERROR_INEXISTENT_VERSION",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "564:76:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 9731,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "564:6:18",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "5245504f5f494e4558495354454e545f56455253494f4e",
              "id": 9732,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "615:25:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_3852a5fcaceec25ac63b67717534646986c61c9e3305147343a4b721cbdc0f13",
                "typeString": "literal_string \"REPO_INEXISTENT_VERSION\""
              },
              "value": "REPO_INEXISTENT_VERSION"
            },
            "visibility": "private"
          },
          {
            "canonicalName": "Repo.Version",
            "id": 9742,
            "members": [
              {
                "constant": false,
                "id": 9737,
                "name": "semanticVersion",
                "nodeType": "VariableDeclaration",
                "scope": 9742,
                "src": "672:25:18",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                  "typeString": "uint16[3]"
                },
                "typeName": {
                  "baseType": {
                    "id": 9734,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "672:6:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "id": 9736,
                  "length": {
                    "argumentTypes": null,
                    "hexValue": "33",
                    "id": 9735,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "679:1:18",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": null,
                      "typeString": null
                    },
                    "value": "3"
                  },
                  "nodeType": "ArrayTypeName",
                  "src": "672:9:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                    "typeString": "uint16[3]"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9739,
                "name": "contractAddress",
                "nodeType": "VariableDeclaration",
                "scope": 9742,
                "src": "707:23:18",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 9738,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "707:7:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9741,
                "name": "contentURI",
                "nodeType": "VariableDeclaration",
                "scope": 9742,
                "src": "740:16:18",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes_storage_ptr",
                  "typeString": "bytes"
                },
                "typeName": {
                  "id": 9740,
                  "name": "bytes",
                  "nodeType": "ElementaryTypeName",
                  "src": "740:5:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_storage_ptr",
                    "typeString": "bytes"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Version",
            "nodeType": "StructDefinition",
            "scope": 10109,
            "src": "647:116:18",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 9744,
            "name": "versionsNextIndex",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "769:34:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 9743,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "769:7:18",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 9748,
            "name": "versions",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "809:46:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
              "typeString": "mapping(uint256 => struct Repo.Version)"
            },
            "typeName": {
              "id": 9747,
              "keyType": {
                "id": 9745,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "818:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "809:28:18",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                "typeString": "mapping(uint256 => struct Repo.Version)"
              },
              "valueType": {
                "contractScope": null,
                "id": 9746,
                "name": "Version",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 9742,
                "src": "829:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                  "typeString": "struct Repo.Version"
                }
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 9752,
            "name": "versionIdForSemantic",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "861:58:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
              "typeString": "mapping(bytes32 => uint256)"
            },
            "typeName": {
              "id": 9751,
              "keyType": {
                "id": 9749,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "870:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "861:28:18",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
                "typeString": "mapping(bytes32 => uint256)"
              },
              "valueType": {
                "id": 9750,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "881:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 9756,
            "name": "latestVersionIdForContract",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "925:64:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
              "typeString": "mapping(address => uint256)"
            },
            "typeName": {
              "id": 9755,
              "keyType": {
                "id": 9753,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "934:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "925:28:18",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
                "typeString": "mapping(address => uint256)"
              },
              "valueType": {
                "id": 9754,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "945:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9764,
            "name": "NewVersion",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9763,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9758,
                  "indexed": false,
                  "name": "versionId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9764,
                  "src": "1013:17:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9757,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1013:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9762,
                  "indexed": false,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9764,
                  "src": "1032:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9759,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "1032:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9761,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9760,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1039:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "1032:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1012:46:18"
            },
            "src": "996:63:18"
          },
          {
            "body": {
              "id": 9776,
              "nodeType": "Block",
              "src": "1255:61:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 9769,
                      "name": "initialized",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10795,
                      "src": "1265:11:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 9770,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1265:13:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9771,
                  "nodeType": "ExpressionStatement",
                  "src": "1265:13:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9774,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 9772,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "1288:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 9773,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1308:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "1288:21:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9775,
                  "nodeType": "ExpressionStatement",
                  "src": "1288:21:18"
                }
              ]
            },
            "documentation": "@dev Initialize can only be called once. It saves the block number in which it was initialized.\n@notice Initialize this Repo",
            "id": 9777,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": null,
                "id": 9767,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 9766,
                  "name": "onlyInit",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10742,
                  "src": "1246:8:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1246:8:18"
              }
            ],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9765,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1236:2:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9768,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1255:0:18"
            },
            "scope": 10109,
            "src": "1217:99:18",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9894,
              "nodeType": "Block",
              "src": "1875:1177:18",
              "statements": [
                {
                  "assignments": [
                    9792
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9792,
                      "name": "contractAddress",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "1885:23:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 9791,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "1885:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9794,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 9793,
                    "name": "_contractAddress",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9783,
                    "src": "1911:16:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1885:42:18"
                },
                {
                  "assignments": [
                    9796
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9796,
                      "name": "lastVersionIndex",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "1937:24:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9795,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1937:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9800,
                  "initialValue": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 9799,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9797,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "1964:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 9798,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1984:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "1964:21:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1937:48:18"
                },
                {
                  "assignments": [],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9805,
                      "name": "lastSematicVersion",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "1996:35:18",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                        "typeString": "uint16[3]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 9803,
                          "name": "uint16",
                          "nodeType": "ElementaryTypeName",
                          "src": "1996:6:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint16",
                            "typeString": "uint16"
                          }
                        },
                        "id": 9804,
                        "length": {
                          "argumentTypes": null,
                          "hexValue": "33",
                          "id": 9802,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2003:1:18",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": null,
                            "typeString": null
                          },
                          "value": "3"
                        },
                        "nodeType": "ArrayTypeName",
                        "src": "1996:9:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                          "typeString": "uint16[3]"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9806,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1996:35:18"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 9809,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9807,
                      "name": "lastVersionIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9796,
                      "src": "2046:16:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 9808,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2065:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "2046:20:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 9851,
                  "nodeType": "IfStatement",
                  "src": "2042:565:18",
                  "trueBody": {
                    "id": 9850,
                    "nodeType": "Block",
                    "src": "2068:539:18",
                    "statements": [
                      {
                        "assignments": [
                          9811
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 9811,
                            "name": "lastVersion",
                            "nodeType": "VariableDeclaration",
                            "scope": 9895,
                            "src": "2082:27:18",
                            "stateVariable": false,
                            "storageLocation": "storage",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                              "typeString": "struct Repo.Version"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 9810,
                              "name": "Version",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 9742,
                              "src": "2082:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                "typeString": "struct Repo.Version"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 9815,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 9812,
                            "name": "versions",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9748,
                            "src": "2112:8:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                              "typeString": "mapping(uint256 => struct Repo.Version storage ref)"
                            }
                          },
                          "id": 9814,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 9813,
                            "name": "lastVersionIndex",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9796,
                            "src": "2121:16:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "2112:26:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage",
                            "typeString": "struct Repo.Version storage ref"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2082:56:18"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 9819,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 9816,
                            "name": "lastSematicVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9805,
                            "src": "2152:18:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 9817,
                              "name": "lastVersion",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9811,
                              "src": "2173:11:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                "typeString": "struct Repo.Version storage pointer"
                              }
                            },
                            "id": 9818,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "semanticVersion",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9737,
                            "src": "2173:27:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_storage",
                              "typeString": "uint16[3] storage ref"
                            }
                          },
                          "src": "2152:48:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                            "typeString": "uint16[3] memory"
                          }
                        },
                        "id": 9820,
                        "nodeType": "ExpressionStatement",
                        "src": "2152:48:18"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          "id": 9825,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 9821,
                            "name": "contractAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9792,
                            "src": "2219:15:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 9823,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "2246:1:18",
                                "subdenomination": null,
                                "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": 9822,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "2238:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_address_$",
                                "typeString": "type(address)"
                              },
                              "typeName": "address"
                            },
                            "id": 9824,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "2238:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "src": "2219:29:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 9832,
                        "nodeType": "IfStatement",
                        "src": "2215:113:18",
                        "trueBody": {
                          "id": 9831,
                          "nodeType": "Block",
                          "src": "2250:78:18",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "id": 9829,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "argumentTypes": null,
                                  "id": 9826,
                                  "name": "contractAddress",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9792,
                                  "src": "2268:15:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 9827,
                                    "name": "lastVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9811,
                                    "src": "2286:11:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                      "typeString": "struct Repo.Version storage pointer"
                                    }
                                  },
                                  "id": 9828,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "contractAddress",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 9739,
                                  "src": "2286:27:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "2268:45:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "id": 9830,
                              "nodeType": "ExpressionStatement",
                              "src": "2268:45:18"
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "id": 9846,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 9837,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 9834,
                                    "name": "lastVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9811,
                                    "src": "2438:11:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                      "typeString": "struct Repo.Version storage pointer"
                                    }
                                  },
                                  "id": 9835,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "contractAddress",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 9739,
                                  "src": "2438:27:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "==",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "id": 9836,
                                  "name": "contractAddress",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9792,
                                  "src": "2469:15:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "2438:46:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "||",
                              "rightExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                },
                                "id": 9845,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 9838,
                                    "name": "_newSemanticVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9781,
                                    "src": "2488:19:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                      "typeString": "uint16[3] memory"
                                    }
                                  },
                                  "id": 9840,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "30",
                                    "id": 9839,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2508:1:18",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "2488:22:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint16",
                                    "typeString": "uint16"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 9841,
                                      "name": "lastVersion",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 9811,
                                      "src": "2513:11:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                        "typeString": "struct Repo.Version storage pointer"
                                      }
                                    },
                                    "id": 9842,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "semanticVersion",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 9737,
                                    "src": "2513:27:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint16_$3_storage",
                                      "typeString": "uint16[3] storage ref"
                                    }
                                  },
                                  "id": 9844,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "30",
                                    "id": 9843,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2541:1:18",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "2513:30:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint16",
                                    "typeString": "uint16"
                                  }
                                },
                                "src": "2488:55:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "src": "2438:105:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 9847,
                              "name": "ERROR_INVALID_VERSION",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9730,
                              "src": "2561:21:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory",
                                "typeString": "string memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_string_memory",
                                "typeString": "string memory"
                              }
                            ],
                            "id": 9833,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              15156,
                              15157
                            ],
                            "referencedDeclaration": 15157,
                            "src": "2413:7:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 9848,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2413:183:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 9849,
                        "nodeType": "ExpressionStatement",
                        "src": "2413:183:18"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9854,
                            "name": "lastSematicVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9805,
                            "src": "2637:18:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 9855,
                            "name": "_newSemanticVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9781,
                            "src": "2657:19:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            },
                            {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          ],
                          "id": 9853,
                          "name": "isValidBump",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10083,
                          "src": "2625:11:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$3_memory_ptr_$_t_array$_t_uint16_$3_memory_ptr_$returns$_t_bool_$",
                            "typeString": "function (uint16[3] memory,uint16[3] memory) pure returns (bool)"
                          }
                        },
                        "id": 9856,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2625:52:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9857,
                        "name": "ERROR_INVALID_BUMP",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9727,
                        "src": "2679:18:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 9852,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        15156,
                        15157
                      ],
                      "referencedDeclaration": 15157,
                      "src": "2617:7:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9858,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2617:81:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9859,
                  "nodeType": "ExpressionStatement",
                  "src": "2617:81:18"
                },
                {
                  "assignments": [
                    9861
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9861,
                      "name": "versionId",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "2709:17:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9860,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2709:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9864,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 9863,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "++",
                    "prefix": false,
                    "src": "2729:19:18",
                    "subExpression": {
                      "argumentTypes": null,
                      "id": 9862,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "2729:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2709:39:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9873,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9865,
                        "name": "versions",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9748,
                        "src": "2758:8:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                          "typeString": "mapping(uint256 => struct Repo.Version storage ref)"
                        }
                      },
                      "id": 9867,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9866,
                        "name": "versionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9861,
                        "src": "2767:9:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2758:19:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Version_$9742_storage",
                        "typeString": "struct Repo.Version storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 9869,
                          "name": "_newSemanticVersion",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9781,
                          "src": "2788:19:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                            "typeString": "uint16[3] memory"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 9870,
                          "name": "contractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9792,
                          "src": "2809:15:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 9871,
                          "name": "_contentURI",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9785,
                          "src": "2826:11:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                            "typeString": "uint16[3] memory"
                          },
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        ],
                        "id": 9868,
                        "name": "Version",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9742,
                        "src": "2780:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_Version_$9742_storage_ptr_$",
                          "typeString": "type(struct Repo.Version storage pointer)"
                        }
                      },
                      "id": 9872,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2780:58:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Version_$9742_memory",
                        "typeString": "struct Repo.Version memory"
                      }
                    },
                    "src": "2758:80:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Version_$9742_storage",
                      "typeString": "struct Repo.Version storage ref"
                    }
                  },
                  "id": 9874,
                  "nodeType": "ExpressionStatement",
                  "src": "2758:80:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9881,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9875,
                        "name": "versionIdForSemantic",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9752,
                        "src": "2848:20:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
                          "typeString": "mapping(bytes32 => uint256)"
                        }
                      },
                      "id": 9879,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9877,
                            "name": "_newSemanticVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9781,
                            "src": "2889:19:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          ],
                          "id": 9876,
                          "name": "semanticVersionHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10108,
                          "src": "2869:19:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$3_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (uint16[3] memory) pure returns (bytes32)"
                          }
                        },
                        "id": 9878,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2869:40:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2848:62:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 9880,
                      "name": "versionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9861,
                      "src": "2913:9:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2848:74:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9882,
                  "nodeType": "ExpressionStatement",
                  "src": "2848:74:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9887,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9883,
                        "name": "latestVersionIdForContract",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9756,
                        "src": "2932:26:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
                          "typeString": "mapping(address => uint256)"
                        }
                      },
                      "id": 9885,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9884,
                        "name": "contractAddress",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9792,
                        "src": "2959:15:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2932:43:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 9886,
                      "name": "versionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9861,
                      "src": "2978:9:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2932:55:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9888,
                  "nodeType": "ExpressionStatement",
                  "src": "2932:55:18"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 9890,
                        "name": "versionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9861,
                        "src": "3014:9:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9891,
                        "name": "_newSemanticVersion",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9781,
                        "src": "3025:19:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                          "typeString": "uint16[3] memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                          "typeString": "uint16[3] memory"
                        }
                      ],
                      "id": 9889,
                      "name": "NewVersion",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9764,
                      "src": "3003:10:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_array$_t_uint16_$3_memory_ptr_$returns$__$",
                        "typeString": "function (uint256,uint16[3] memory)"
                      }
                    },
                    "id": 9892,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3003:42:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9893,
                  "nodeType": "EmitStatement",
                  "src": "2998:47:18"
                }
              ]
            },
            "documentation": "@notice Create new version with contract `_contractAddress` and content `@fromHex(_contentURI)`\n@param _newSemanticVersion Semantic version for new repo version\n@param _contractAddress address for smart contract logic for version (if set to 0, it uses last versions' contractAddress)\n@param _contentURI External URI for fetching new version's content",
            "id": 9895,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 9788,
                    "name": "CREATE_VERSION_ROLE",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9724,
                    "src": "1850:19:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 9789,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 9787,
                  "name": "auth",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10409,
                  "src": "1845:4:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1845:25:18"
              }
            ],
            "name": "newVersion",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9786,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9781,
                  "name": "_newSemanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9895,
                  "src": "1741:29:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9778,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "1741:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9780,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9779,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1748:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "1741:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9783,
                  "name": "_contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9895,
                  "src": "1780:24:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9782,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1780:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9785,
                  "name": "_contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9895,
                  "src": "1814:17:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9784,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1814:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1731:106:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9790,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1875:0:18"
            },
            "scope": 10109,
            "src": "1712:1340:18",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9912,
              "nodeType": "Block",
              "src": "3170:61:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9909,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 9907,
                          "name": "versionsNextIndex",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9744,
                          "src": "3202:17:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "-",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 9908,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "3222:1:18",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "src": "3202:21:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 9906,
                      "name": "getByVersionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9996,
                      "src": "3187:14:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                        "typeString": "function (uint256) view returns (uint16[3] memory,address,bytes memory)"
                      }
                    },
                    "id": 9910,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3187:37:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                      "typeString": "tuple(uint16[3] memory,address,bytes memory)"
                    }
                  },
                  "functionReturnParameters": 9905,
                  "id": 9911,
                  "nodeType": "Return",
                  "src": "3180:44:18"
                }
              ]
            },
            "documentation": null,
            "id": 9913,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getLatest",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9896,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3076:2:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9905,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9900,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9913,
                  "src": "3100:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9897,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3100:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9899,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9898,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3107:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3100:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9902,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9913,
                  "src": "3127:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9901,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3127:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9904,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9913,
                  "src": "3152:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9903,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3152:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3099:70:18"
            },
            "scope": 10109,
            "src": "3058:173:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9932,
              "nodeType": "Block",
              "src": "3419:84:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9927,
                          "name": "latestVersionIdForContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9756,
                          "src": "3451:26:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
                            "typeString": "mapping(address => uint256)"
                          }
                        },
                        "id": 9929,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 9928,
                          "name": "_contractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9915,
                          "src": "3478:16:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3451:44:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 9926,
                      "name": "getByVersionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9996,
                      "src": "3436:14:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                        "typeString": "function (uint256) view returns (uint16[3] memory,address,bytes memory)"
                      }
                    },
                    "id": 9930,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3436:60:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                      "typeString": "tuple(uint16[3] memory,address,bytes memory)"
                    }
                  },
                  "functionReturnParameters": 9925,
                  "id": 9931,
                  "nodeType": "Return",
                  "src": "3429:67:18"
                }
              ]
            },
            "documentation": null,
            "id": 9933,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getLatestForContractAddress",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9916,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9915,
                  "name": "_contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3274:24:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9914,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3274:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3273:26:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9925,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9920,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3345:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9917,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3345:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9919,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9918,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3352:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3345:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9922,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3372:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9921,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3372:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9924,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3397:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9923,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3397:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3344:70:18"
            },
            "scope": 10109,
            "src": "3237:266:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9956,
              "nodeType": "Block",
              "src": "3686:99:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9949,
                          "name": "versionIdForSemantic",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9752,
                          "src": "3718:20:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
                            "typeString": "mapping(bytes32 => uint256)"
                          }
                        },
                        "id": 9953,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 9951,
                              "name": "_semanticVersion",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9937,
                              "src": "3759:16:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            ],
                            "id": 9950,
                            "name": "semanticVersionHash",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10108,
                            "src": "3739:19:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$3_memory_ptr_$returns$_t_bytes32_$",
                              "typeString": "function (uint16[3] memory) pure returns (bytes32)"
                            }
                          },
                          "id": 9952,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "3739:37:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3718:59:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 9948,
                      "name": "getByVersionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9996,
                      "src": "3703:14:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                        "typeString": "function (uint256) view returns (uint16[3] memory,address,bytes memory)"
                      }
                    },
                    "id": 9954,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3703:75:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                      "typeString": "tuple(uint16[3] memory,address,bytes memory)"
                    }
                  },
                  "functionReturnParameters": 9947,
                  "id": 9955,
                  "nodeType": "Return",
                  "src": "3696:82:18"
                }
              ]
            },
            "documentation": null,
            "id": 9957,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getBySemanticVersion",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9938,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9937,
                  "name": "_semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3539:26:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9934,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3539:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9936,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3546:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3539:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3538:28:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9947,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9942,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3612:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9939,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3612:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9941,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9940,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3619:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3612:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9944,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3639:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9943,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3639:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9946,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3664:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9945,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3664:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3611:70:18"
            },
            "scope": 10109,
            "src": "3509:276:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9995,
              "nodeType": "Block",
              "src": "3923:243:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "id": 9977,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 9973,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 9971,
                            "name": "_versionId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9959,
                            "src": "3941:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 9972,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3954:1:18",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "3941:14:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "&&",
                        "rightExpression": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 9976,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 9974,
                            "name": "_versionId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9959,
                            "src": "3959:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "argumentTypes": null,
                            "id": 9975,
                            "name": "versionsNextIndex",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9744,
                            "src": "3972:17:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "3959:30:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "src": "3941:48:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9978,
                        "name": "ERROR_INEXISTENT_VERSION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9733,
                        "src": "3991:24:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 9970,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        15156,
                        15157
                      ],
                      "referencedDeclaration": 15157,
                      "src": "3933:7:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9979,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3933:83:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9980,
                  "nodeType": "ExpressionStatement",
                  "src": "3933:83:18"
                },
                {
                  "assignments": [
                    9982
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9982,
                      "name": "version",
                      "nodeType": "VariableDeclaration",
                      "scope": 9996,
                      "src": "4026:23:18",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                        "typeString": "struct Repo.Version"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 9981,
                        "name": "Version",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9742,
                        "src": "4026:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                          "typeString": "struct Repo.Version"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9986,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 9983,
                      "name": "versions",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9748,
                      "src": "4052:8:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                        "typeString": "mapping(uint256 => struct Repo.Version storage ref)"
                      }
                    },
                    "id": 9985,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 9984,
                      "name": "_versionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9959,
                      "src": "4061:10:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "4052:20:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Version_$9742_storage",
                      "typeString": "struct Repo.Version storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4026:46:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 9987,
                          "name": "version",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9982,
                          "src": "4090:7:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                            "typeString": "struct Repo.Version storage pointer"
                          }
                        },
                        "id": 9988,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "semanticVersion",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9737,
                        "src": "4090:23:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint16_$3_storage",
                          "typeString": "uint16[3] storage ref"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 9989,
                          "name": "version",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9982,
                          "src": "4115:7:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                            "typeString": "struct Repo.Version storage pointer"
                          }
                        },
                        "id": 9990,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "contractAddress",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9739,
                        "src": "4115:23:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 9991,
                          "name": "version",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9982,
                          "src": "4140:7:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                            "typeString": "struct Repo.Version storage pointer"
                          }
                        },
                        "id": 9992,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "contentURI",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9741,
                        "src": "4140:18:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_storage",
                          "typeString": "bytes storage ref"
                        }
                      }
                    ],
                    "id": 9993,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4089:70:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_storage_$_t_address_$_t_bytes_storage_$",
                      "typeString": "tuple(uint16[3] storage ref,address,bytes storage ref)"
                    }
                  },
                  "functionReturnParameters": 9969,
                  "id": 9994,
                  "nodeType": "Return",
                  "src": "4082:77:18"
                }
              ]
            },
            "documentation": null,
            "id": 9996,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getByVersionId",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9960,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9959,
                  "name": "_versionId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3815:15:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9958,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "3815:4:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3814:17:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9969,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9964,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3853:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9961,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3853:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9963,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9962,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3860:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3853:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9966,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3880:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9965,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3880:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9968,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3905:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9967,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3905:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3852:70:18"
            },
            "scope": 10109,
            "src": "3791:375:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10005,
              "nodeType": "Block",
              "src": "4230:45:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10003,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10001,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "4247:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 10002,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4267:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "4247:21:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10000,
                  "id": 10004,
                  "nodeType": "Return",
                  "src": "4240:28:18"
                }
              ]
            },
            "documentation": null,
            "id": 10006,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getVersionsCount",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9997,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4197:2:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 10000,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9999,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10006,
                  "src": "4221:7:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9998,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4221:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4220:9:18"
            },
            "scope": 10109,
            "src": "4172:103:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10082,
              "nodeType": "Block",
              "src": "4375:506:18",
              "statements": [
                {
                  "assignments": [],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10020,
                      "name": "hasBumped",
                      "nodeType": "VariableDeclaration",
                      "scope": 10083,
                      "src": "4385:14:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "typeName": {
                        "id": 10019,
                        "name": "bool",
                        "nodeType": "ElementaryTypeName",
                        "src": "4385:4:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10021,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4385:14:18"
                },
                {
                  "assignments": [
                    10023
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10023,
                      "name": "i",
                      "nodeType": "VariableDeclaration",
                      "scope": 10083,
                      "src": "4409:6:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 10022,
                        "name": "uint",
                        "nodeType": "ElementaryTypeName",
                        "src": "4409:4:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10025,
                  "initialValue": {
                    "argumentTypes": null,
                    "hexValue": "30",
                    "id": 10024,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "4418:1:18",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4409:10:18"
                },
                {
                  "body": {
                    "id": 10078,
                    "nodeType": "Block",
                    "src": "4443:406:18",
                    "statements": [
                      {
                        "condition": {
                          "argumentTypes": null,
                          "id": 10029,
                          "name": "hasBumped",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10020,
                          "src": "4461:9:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "condition": {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            "id": 10046,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10040,
                                "name": "_newVersion",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10014,
                                "src": "4592:11:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                  "typeString": "uint16[3] memory"
                                }
                              },
                              "id": 10042,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 10041,
                                "name": "i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10023,
                                "src": "4604:1:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "4592:14:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "!=",
                            "rightExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10043,
                                "name": "_oldVersion",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10010,
                                "src": "4610:11:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                  "typeString": "uint16[3] memory"
                                }
                              },
                              "id": 10045,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 10044,
                                "name": "i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10023,
                                "src": "4622:1:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "4610:14:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "src": "4592:32:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseBody": null,
                          "id": 10073,
                          "nodeType": "IfStatement",
                          "src": "4588:234:18",
                          "trueBody": {
                            "id": 10072,
                            "nodeType": "Block",
                            "src": "4626:196:18",
                            "statements": [
                              {
                                "condition": {
                                  "argumentTypes": null,
                                  "commonType": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  },
                                  "id": 10063,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "argumentTypes": null,
                                    "commonType": {
                                      "typeIdentifier": "t_uint16",
                                      "typeString": "uint16"
                                    },
                                    "id": 10053,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "id": 10047,
                                        "name": "_oldVersion",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10010,
                                        "src": "4648:11:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                          "typeString": "uint16[3] memory"
                                        }
                                      },
                                      "id": 10049,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "id": 10048,
                                        "name": "i",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10023,
                                        "src": "4660:1:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "4648:14:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": ">",
                                    "rightExpression": {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "id": 10050,
                                        "name": "_newVersion",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10014,
                                        "src": "4665:11:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                          "typeString": "uint16[3] memory"
                                        }
                                      },
                                      "id": 10052,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "id": 10051,
                                        "name": "i",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10023,
                                        "src": "4677:1:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "4665:14:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      }
                                    },
                                    "src": "4648:31:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "||",
                                  "rightExpression": {
                                    "argumentTypes": null,
                                    "commonType": {
                                      "typeIdentifier": "t_uint16",
                                      "typeString": "uint16"
                                    },
                                    "id": 10062,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      },
                                      "id": 10060,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 10054,
                                          "name": "_newVersion",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10014,
                                          "src": "4683:11:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                            "typeString": "uint16[3] memory"
                                          }
                                        },
                                        "id": 10056,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "id": 10055,
                                          "name": "i",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10023,
                                          "src": "4695:1:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "4683:14:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint16",
                                          "typeString": "uint16"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "-",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 10057,
                                          "name": "_oldVersion",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10010,
                                          "src": "4700:11:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                            "typeString": "uint16[3] memory"
                                          }
                                        },
                                        "id": 10059,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "id": 10058,
                                          "name": "i",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10023,
                                          "src": "4712:1:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "4700:14:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint16",
                                          "typeString": "uint16"
                                        }
                                      },
                                      "src": "4683:31:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "!=",
                                    "rightExpression": {
                                      "argumentTypes": null,
                                      "hexValue": "31",
                                      "id": 10061,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "4718:1:18",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_1_by_1",
                                        "typeString": "int_const 1"
                                      },
                                      "value": "1"
                                    },
                                    "src": "4683:36:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "src": "4648:71:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "falseBody": null,
                                "id": 10067,
                                "nodeType": "IfStatement",
                                "src": "4644:130:18",
                                "trueBody": {
                                  "id": 10066,
                                  "nodeType": "Block",
                                  "src": "4721:53:18",
                                  "statements": [
                                    {
                                      "expression": {
                                        "argumentTypes": null,
                                        "hexValue": "66616c7365",
                                        "id": 10064,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "bool",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "4750:5:18",
                                        "subdenomination": null,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        },
                                        "value": "false"
                                      },
                                      "functionReturnParameters": 10018,
                                      "id": 10065,
                                      "nodeType": "Return",
                                      "src": "4743:12:18"
                                    }
                                  ]
                                }
                              },
                              {
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 10070,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftHandSide": {
                                    "argumentTypes": null,
                                    "id": 10068,
                                    "name": "hasBumped",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10020,
                                    "src": "4791:9:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "nodeType": "Assignment",
                                  "operator": "=",
                                  "rightHandSide": {
                                    "argumentTypes": null,
                                    "hexValue": "74727565",
                                    "id": 10069,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "bool",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "4803:4:18",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    "value": "true"
                                  },
                                  "src": "4791:16:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "id": 10071,
                                "nodeType": "ExpressionStatement",
                                "src": "4791:16:18"
                              }
                            ]
                          }
                        },
                        "id": 10074,
                        "nodeType": "IfStatement",
                        "src": "4457:365:18",
                        "trueBody": {
                          "id": 10039,
                          "nodeType": "Block",
                          "src": "4472:110:18",
                          "statements": [
                            {
                              "condition": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                },
                                "id": 10034,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 10030,
                                    "name": "_newVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10014,
                                    "src": "4494:11:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                      "typeString": "uint16[3] memory"
                                    }
                                  },
                                  "id": 10032,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "id": 10031,
                                    "name": "i",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10023,
                                    "src": "4506:1:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "4494:14:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint16",
                                    "typeString": "uint16"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 10033,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "4512:1:18",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "src": "4494:19:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": null,
                              "id": 10038,
                              "nodeType": "IfStatement",
                              "src": "4490:78:18",
                              "trueBody": {
                                "id": 10037,
                                "nodeType": "Block",
                                "src": "4515:53:18",
                                "statements": [
                                  {
                                    "expression": {
                                      "argumentTypes": null,
                                      "hexValue": "66616c7365",
                                      "id": 10035,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "bool",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "4544:5:18",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      },
                                      "value": "false"
                                    },
                                    "functionReturnParameters": 10018,
                                    "id": 10036,
                                    "nodeType": "Return",
                                    "src": "4537:12:18"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 10076,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "UnaryOperation",
                          "operator": "++",
                          "prefix": false,
                          "src": "4835:3:18",
                          "subExpression": {
                            "argumentTypes": null,
                            "id": 10075,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10023,
                            "src": "4835:1:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 10077,
                        "nodeType": "ExpressionStatement",
                        "src": "4835:3:18"
                      }
                    ]
                  },
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10028,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10026,
                      "name": "i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10023,
                      "src": "4436:1:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10027,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4440:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_3_by_1",
                        "typeString": "int_const 3"
                      },
                      "value": "3"
                    },
                    "src": "4436:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 10079,
                  "nodeType": "WhileStatement",
                  "src": "4429:420:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10080,
                    "name": "hasBumped",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10020,
                    "src": "4865:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10018,
                  "id": 10081,
                  "nodeType": "Return",
                  "src": "4858:16:18"
                }
              ]
            },
            "documentation": null,
            "id": 10083,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "isValidBump",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10015,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10010,
                  "name": "_oldVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 10083,
                  "src": "4302:21:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 10007,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "4302:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 10009,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10008,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4309:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "4302:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10014,
                  "name": "_newVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 10083,
                  "src": "4325:21:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 10011,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "4325:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 10013,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10012,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4332:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "4325:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4301:46:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 10018,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10017,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10083,
                  "src": "4369:4:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10016,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "4369:4:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4368:6:18"
            },
            "scope": 10109,
            "src": "4281:600:18",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10107,
              "nodeType": "Block",
              "src": "4967:87:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 10095,
                              "name": "version",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10087,
                              "src": "5011:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            },
                            "id": 10097,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 10096,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5019:1:18",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "5011:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 10098,
                              "name": "version",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10087,
                              "src": "5023:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            },
                            "id": 10100,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "31",
                              "id": 10099,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5031:1:18",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "5023:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 10101,
                              "name": "version",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10087,
                              "src": "5035:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            },
                            "id": 10103,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "32",
                              "id": 10102,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5043:1:18",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_2_by_1",
                                "typeString": "int_const 2"
                              },
                              "value": "2"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "5035:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 10093,
                            "name": "abi",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15140,
                            "src": "4994:3:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_abi",
                              "typeString": "abi"
                            }
                          },
                          "id": 10094,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "encodePacked",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "4994:16:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                            "typeString": "function () pure returns (bytes memory)"
                          }
                        },
                        "id": 10104,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4994:52:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "id": 10092,
                      "name": "keccak256",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15147,
                      "src": "4984:9:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_sha3_pure$__$returns$_t_bytes32_$",
                        "typeString": "function () pure returns (bytes32)"
                      }
                    },
                    "id": 10105,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4984:63:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10091,
                  "id": 10106,
                  "nodeType": "Return",
                  "src": "4977:70:18"
                }
              ]
            },
            "documentation": null,
            "id": 10108,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "semanticVersionHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10088,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10087,
                  "name": "version",
                  "nodeType": "VariableDeclaration",
                  "scope": 10108,
                  "src": "4916:17:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 10084,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "4916:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 10086,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10085,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4923:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "4916:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4915:19:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 10091,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10090,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10108,
                  "src": "4958:7:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10089,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4958:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4957:9:18"
            },
            "scope": 10109,
            "src": "4887:167:18",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 10110,
        "src": "136:4920:18"
      }
    ],
    "src": "0:5057:18"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/apm/Repo.sol",
    "exportedSymbols": {
      "Repo": [
        10109
      ]
    },
    "id": 10110,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9718,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:18"
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AragonApp.sol",
        "file": "../apps/AragonApp.sol",
        "id": 9719,
        "nodeType": "ImportDirective",
        "scope": 10110,
        "sourceUnit": 10490,
        "src": "25:31:18",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 9720,
              "name": "AragonApp",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10489,
              "src": "153:9:18",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AragonApp_$10489",
                "typeString": "contract AragonApp"
              }
            },
            "id": 9721,
            "nodeType": "InheritanceSpecifier",
            "src": "153:9:18"
          }
        ],
        "contractDependencies": [
          9577,
          10365,
          10489,
          10502,
          10662,
          10712,
          10810,
          10838,
          10871,
          10908,
          11200,
          11422,
          11823,
          11850,
          13114
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10109,
        "linearizedBaseContracts": [
          10109,
          10489,
          9577,
          11823,
          13114,
          11850,
          10908,
          11422,
          10838,
          10662,
          10712,
          10502,
          10871,
          10810,
          11200,
          10365
        ],
        "name": "Repo",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 9724,
            "name": "CREATE_VERSION_ROLE",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "299:112:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 9722,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "299:7:18",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307831663536636665636433353935613265366363316137653663623062323064663834636462643932656666326665653535346537306534653435613961376438",
              "id": 9723,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "345:66:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_14175082199951049120475530292950009820264027334869017275878805295387074209752_by_1",
                "typeString": "int_const 1417...(69 digits omitted)...9752"
              },
              "value": "0x1f56cfecd3595a2e6cc1a7e6cb0b20df84cdbd92eff2fee554e70e4e45a9a7d8"
            },
            "visibility": "public"
          },
          {
            "constant": true,
            "id": 9727,
            "name": "ERROR_INVALID_BUMP",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "418:64:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 9725,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "418:6:18",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "5245504f5f494e56414c49445f42554d50",
              "id": 9726,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "463:19:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_c0d2c819b356f0b10a55bac630c3c4d815e692fe9311b1cc8ba83e3426876fef",
                "typeString": "literal_string \"REPO_INVALID_BUMP\""
              },
              "value": "REPO_INVALID_BUMP"
            },
            "visibility": "private"
          },
          {
            "constant": true,
            "id": 9730,
            "name": "ERROR_INVALID_VERSION",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "488:70:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 9728,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "488:6:18",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "5245504f5f494e56414c49445f56455253494f4e",
              "id": 9729,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "536:22:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_4cb22c000e9208b6bc05026718966e45afadcffb33436bfbd76270772bf274ce",
                "typeString": "literal_string \"REPO_INVALID_VERSION\""
              },
              "value": "REPO_INVALID_VERSION"
            },
            "visibility": "private"
          },
          {
            "constant": true,
            "id": 9733,
            "name": "ERROR_INEXISTENT_VERSION",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "564:76:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 9731,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "564:6:18",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "5245504f5f494e4558495354454e545f56455253494f4e",
              "id": 9732,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "615:25:18",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_3852a5fcaceec25ac63b67717534646986c61c9e3305147343a4b721cbdc0f13",
                "typeString": "literal_string \"REPO_INEXISTENT_VERSION\""
              },
              "value": "REPO_INEXISTENT_VERSION"
            },
            "visibility": "private"
          },
          {
            "canonicalName": "Repo.Version",
            "id": 9742,
            "members": [
              {
                "constant": false,
                "id": 9737,
                "name": "semanticVersion",
                "nodeType": "VariableDeclaration",
                "scope": 9742,
                "src": "672:25:18",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                  "typeString": "uint16[3]"
                },
                "typeName": {
                  "baseType": {
                    "id": 9734,
                    "name": "uint16",
                    "nodeType": "ElementaryTypeName",
                    "src": "672:6:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint16",
                      "typeString": "uint16"
                    }
                  },
                  "id": 9736,
                  "length": {
                    "argumentTypes": null,
                    "hexValue": "33",
                    "id": 9735,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "679:1:18",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": null,
                      "typeString": null
                    },
                    "value": "3"
                  },
                  "nodeType": "ArrayTypeName",
                  "src": "672:9:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                    "typeString": "uint16[3]"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9739,
                "name": "contractAddress",
                "nodeType": "VariableDeclaration",
                "scope": 9742,
                "src": "707:23:18",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 9738,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "707:7:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 9741,
                "name": "contentURI",
                "nodeType": "VariableDeclaration",
                "scope": 9742,
                "src": "740:16:18",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes_storage_ptr",
                  "typeString": "bytes"
                },
                "typeName": {
                  "id": 9740,
                  "name": "bytes",
                  "nodeType": "ElementaryTypeName",
                  "src": "740:5:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_storage_ptr",
                    "typeString": "bytes"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Version",
            "nodeType": "StructDefinition",
            "scope": 10109,
            "src": "647:116:18",
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 9744,
            "name": "versionsNextIndex",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "769:34:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 9743,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "769:7:18",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 9748,
            "name": "versions",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "809:46:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
              "typeString": "mapping(uint256 => struct Repo.Version)"
            },
            "typeName": {
              "id": 9747,
              "keyType": {
                "id": 9745,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "818:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              },
              "nodeType": "Mapping",
              "src": "809:28:18",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                "typeString": "mapping(uint256 => struct Repo.Version)"
              },
              "valueType": {
                "contractScope": null,
                "id": 9746,
                "name": "Version",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 9742,
                "src": "829:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                  "typeString": "struct Repo.Version"
                }
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 9752,
            "name": "versionIdForSemantic",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "861:58:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
              "typeString": "mapping(bytes32 => uint256)"
            },
            "typeName": {
              "id": 9751,
              "keyType": {
                "id": 9749,
                "name": "bytes32",
                "nodeType": "ElementaryTypeName",
                "src": "870:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                }
              },
              "nodeType": "Mapping",
              "src": "861:28:18",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
                "typeString": "mapping(bytes32 => uint256)"
              },
              "valueType": {
                "id": 9750,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "881:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 9756,
            "name": "latestVersionIdForContract",
            "nodeType": "VariableDeclaration",
            "scope": 10109,
            "src": "925:64:18",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
              "typeString": "mapping(address => uint256)"
            },
            "typeName": {
              "id": 9755,
              "keyType": {
                "id": 9753,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "934:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "925:28:18",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
                "typeString": "mapping(address => uint256)"
              },
              "valueType": {
                "id": 9754,
                "name": "uint256",
                "nodeType": "ElementaryTypeName",
                "src": "945:7:18",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                }
              }
            },
            "value": null,
            "visibility": "internal"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 9764,
            "name": "NewVersion",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 9763,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9758,
                  "indexed": false,
                  "name": "versionId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9764,
                  "src": "1013:17:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9757,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1013:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9762,
                  "indexed": false,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9764,
                  "src": "1032:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9759,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "1032:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9761,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9760,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1039:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "1032:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1012:46:18"
            },
            "src": "996:63:18"
          },
          {
            "body": {
              "id": 9776,
              "nodeType": "Block",
              "src": "1255:61:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 9769,
                      "name": "initialized",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10795,
                      "src": "1265:11:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 9770,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1265:13:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9771,
                  "nodeType": "ExpressionStatement",
                  "src": "1265:13:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9774,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 9772,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "1288:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 9773,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1308:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "1288:21:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9775,
                  "nodeType": "ExpressionStatement",
                  "src": "1288:21:18"
                }
              ]
            },
            "documentation": "@dev Initialize can only be called once. It saves the block number in which it was initialized.\n@notice Initialize this Repo",
            "id": 9777,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": null,
                "id": 9767,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 9766,
                  "name": "onlyInit",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10742,
                  "src": "1246:8:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1246:8:18"
              }
            ],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9765,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1236:2:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9768,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1255:0:18"
            },
            "scope": 10109,
            "src": "1217:99:18",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9894,
              "nodeType": "Block",
              "src": "1875:1177:18",
              "statements": [
                {
                  "assignments": [
                    9792
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9792,
                      "name": "contractAddress",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "1885:23:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 9791,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "1885:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9794,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 9793,
                    "name": "_contractAddress",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9783,
                    "src": "1911:16:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1885:42:18"
                },
                {
                  "assignments": [
                    9796
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9796,
                      "name": "lastVersionIndex",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "1937:24:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9795,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1937:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9800,
                  "initialValue": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 9799,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9797,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "1964:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 9798,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1984:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "1964:21:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1937:48:18"
                },
                {
                  "assignments": [],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9805,
                      "name": "lastSematicVersion",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "1996:35:18",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                        "typeString": "uint16[3]"
                      },
                      "typeName": {
                        "baseType": {
                          "id": 9803,
                          "name": "uint16",
                          "nodeType": "ElementaryTypeName",
                          "src": "1996:6:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint16",
                            "typeString": "uint16"
                          }
                        },
                        "id": 9804,
                        "length": {
                          "argumentTypes": null,
                          "hexValue": "33",
                          "id": 9802,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2003:1:18",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": null,
                            "typeString": null
                          },
                          "value": "3"
                        },
                        "nodeType": "ArrayTypeName",
                        "src": "1996:9:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                          "typeString": "uint16[3]"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9806,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1996:35:18"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 9809,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 9807,
                      "name": "lastVersionIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9796,
                      "src": "2046:16:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 9808,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2065:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "2046:20:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 9851,
                  "nodeType": "IfStatement",
                  "src": "2042:565:18",
                  "trueBody": {
                    "id": 9850,
                    "nodeType": "Block",
                    "src": "2068:539:18",
                    "statements": [
                      {
                        "assignments": [
                          9811
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 9811,
                            "name": "lastVersion",
                            "nodeType": "VariableDeclaration",
                            "scope": 9895,
                            "src": "2082:27:18",
                            "stateVariable": false,
                            "storageLocation": "storage",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                              "typeString": "struct Repo.Version"
                            },
                            "typeName": {
                              "contractScope": null,
                              "id": 9810,
                              "name": "Version",
                              "nodeType": "UserDefinedTypeName",
                              "referencedDeclaration": 9742,
                              "src": "2082:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                "typeString": "struct Repo.Version"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 9815,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 9812,
                            "name": "versions",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9748,
                            "src": "2112:8:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                              "typeString": "mapping(uint256 => struct Repo.Version storage ref)"
                            }
                          },
                          "id": 9814,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 9813,
                            "name": "lastVersionIndex",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9796,
                            "src": "2121:16:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "2112:26:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage",
                            "typeString": "struct Repo.Version storage ref"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2082:56:18"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 9819,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "id": 9816,
                            "name": "lastSematicVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9805,
                            "src": "2152:18:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 9817,
                              "name": "lastVersion",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9811,
                              "src": "2173:11:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                "typeString": "struct Repo.Version storage pointer"
                              }
                            },
                            "id": 9818,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "semanticVersion",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 9737,
                            "src": "2173:27:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_storage",
                              "typeString": "uint16[3] storage ref"
                            }
                          },
                          "src": "2152:48:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                            "typeString": "uint16[3] memory"
                          }
                        },
                        "id": 9820,
                        "nodeType": "ExpressionStatement",
                        "src": "2152:48:18"
                      },
                      {
                        "condition": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          "id": 9825,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 9821,
                            "name": "contractAddress",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9792,
                            "src": "2219:15:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "hexValue": "30",
                                "id": 9823,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "2246:1:18",
                                "subdenomination": null,
                                "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": 9822,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "nodeType": "ElementaryTypeNameExpression",
                              "src": "2238:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_address_$",
                                "typeString": "type(address)"
                              },
                              "typeName": "address"
                            },
                            "id": 9824,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "typeConversion",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "2238:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "src": "2219:29:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": null,
                        "id": 9832,
                        "nodeType": "IfStatement",
                        "src": "2215:113:18",
                        "trueBody": {
                          "id": 9831,
                          "nodeType": "Block",
                          "src": "2250:78:18",
                          "statements": [
                            {
                              "expression": {
                                "argumentTypes": null,
                                "id": 9829,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "argumentTypes": null,
                                  "id": 9826,
                                  "name": "contractAddress",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9792,
                                  "src": "2268:15:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 9827,
                                    "name": "lastVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9811,
                                    "src": "2286:11:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                      "typeString": "struct Repo.Version storage pointer"
                                    }
                                  },
                                  "id": 9828,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "contractAddress",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 9739,
                                  "src": "2286:27:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "2268:45:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                }
                              },
                              "id": 9830,
                              "nodeType": "ExpressionStatement",
                              "src": "2268:45:18"
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "id": 9846,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                "id": 9837,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "expression": {
                                    "argumentTypes": null,
                                    "id": 9834,
                                    "name": "lastVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9811,
                                    "src": "2438:11:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                      "typeString": "struct Repo.Version storage pointer"
                                    }
                                  },
                                  "id": 9835,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "contractAddress",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 9739,
                                  "src": "2438:27:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "==",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "id": 9836,
                                  "name": "contractAddress",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 9792,
                                  "src": "2469:15:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                "src": "2438:46:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "||",
                              "rightExpression": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                },
                                "id": 9845,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 9838,
                                    "name": "_newSemanticVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 9781,
                                    "src": "2488:19:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                      "typeString": "uint16[3] memory"
                                    }
                                  },
                                  "id": 9840,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "30",
                                    "id": 9839,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2508:1:18",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "2488:22:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint16",
                                    "typeString": "uint16"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": ">",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "expression": {
                                      "argumentTypes": null,
                                      "id": 9841,
                                      "name": "lastVersion",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 9811,
                                      "src": "2513:11:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                                        "typeString": "struct Repo.Version storage pointer"
                                      }
                                    },
                                    "id": 9842,
                                    "isConstant": false,
                                    "isLValue": true,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "semanticVersion",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 9737,
                                    "src": "2513:27:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint16_$3_storage",
                                      "typeString": "uint16[3] storage ref"
                                    }
                                  },
                                  "id": 9844,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "hexValue": "30",
                                    "id": 9843,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2541:1:18",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_0_by_1",
                                      "typeString": "int_const 0"
                                    },
                                    "value": "0"
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "2513:30:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint16",
                                    "typeString": "uint16"
                                  }
                                },
                                "src": "2488:55:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "src": "2438:105:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 9847,
                              "name": "ERROR_INVALID_VERSION",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9730,
                              "src": "2561:21:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_string_memory",
                                "typeString": "string memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_string_memory",
                                "typeString": "string memory"
                              }
                            ],
                            "id": 9833,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              15156,
                              15157
                            ],
                            "referencedDeclaration": 15157,
                            "src": "2413:7:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 9848,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2413:183:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 9849,
                        "nodeType": "ExpressionStatement",
                        "src": "2413:183:18"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9854,
                            "name": "lastSematicVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9805,
                            "src": "2637:18:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 9855,
                            "name": "_newSemanticVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9781,
                            "src": "2657:19:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            },
                            {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          ],
                          "id": 9853,
                          "name": "isValidBump",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10083,
                          "src": "2625:11:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$3_memory_ptr_$_t_array$_t_uint16_$3_memory_ptr_$returns$_t_bool_$",
                            "typeString": "function (uint16[3] memory,uint16[3] memory) pure returns (bool)"
                          }
                        },
                        "id": 9856,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2625:52:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9857,
                        "name": "ERROR_INVALID_BUMP",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9727,
                        "src": "2679:18:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 9852,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        15156,
                        15157
                      ],
                      "referencedDeclaration": 15157,
                      "src": "2617:7:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9858,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2617:81:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9859,
                  "nodeType": "ExpressionStatement",
                  "src": "2617:81:18"
                },
                {
                  "assignments": [
                    9861
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9861,
                      "name": "versionId",
                      "nodeType": "VariableDeclaration",
                      "scope": 9895,
                      "src": "2709:17:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 9860,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2709:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9864,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 9863,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "UnaryOperation",
                    "operator": "++",
                    "prefix": false,
                    "src": "2729:19:18",
                    "subExpression": {
                      "argumentTypes": null,
                      "id": 9862,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "2729:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2709:39:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9873,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9865,
                        "name": "versions",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9748,
                        "src": "2758:8:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                          "typeString": "mapping(uint256 => struct Repo.Version storage ref)"
                        }
                      },
                      "id": 9867,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9866,
                        "name": "versionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9861,
                        "src": "2767:9:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2758:19:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Version_$9742_storage",
                        "typeString": "struct Repo.Version storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 9869,
                          "name": "_newSemanticVersion",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9781,
                          "src": "2788:19:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                            "typeString": "uint16[3] memory"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 9870,
                          "name": "contractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9792,
                          "src": "2809:15:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 9871,
                          "name": "_contentURI",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9785,
                          "src": "2826:11:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                            "typeString": "uint16[3] memory"
                          },
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          },
                          {
                            "typeIdentifier": "t_bytes_memory_ptr",
                            "typeString": "bytes memory"
                          }
                        ],
                        "id": 9868,
                        "name": "Version",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9742,
                        "src": "2780:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_Version_$9742_storage_ptr_$",
                          "typeString": "type(struct Repo.Version storage pointer)"
                        }
                      },
                      "id": 9872,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2780:58:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Version_$9742_memory",
                        "typeString": "struct Repo.Version memory"
                      }
                    },
                    "src": "2758:80:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Version_$9742_storage",
                      "typeString": "struct Repo.Version storage ref"
                    }
                  },
                  "id": 9874,
                  "nodeType": "ExpressionStatement",
                  "src": "2758:80:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9881,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9875,
                        "name": "versionIdForSemantic",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9752,
                        "src": "2848:20:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
                          "typeString": "mapping(bytes32 => uint256)"
                        }
                      },
                      "id": 9879,
                      "indexExpression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 9877,
                            "name": "_newSemanticVersion",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9781,
                            "src": "2889:19:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                              "typeString": "uint16[3] memory"
                            }
                          ],
                          "id": 9876,
                          "name": "semanticVersionHash",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10108,
                          "src": "2869:19:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$3_memory_ptr_$returns$_t_bytes32_$",
                            "typeString": "function (uint16[3] memory) pure returns (bytes32)"
                          }
                        },
                        "id": 9878,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2869:40:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2848:62:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 9880,
                      "name": "versionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9861,
                      "src": "2913:9:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2848:74:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9882,
                  "nodeType": "ExpressionStatement",
                  "src": "2848:74:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 9887,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 9883,
                        "name": "latestVersionIdForContract",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9756,
                        "src": "2932:26:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
                          "typeString": "mapping(address => uint256)"
                        }
                      },
                      "id": 9885,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 9884,
                        "name": "contractAddress",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9792,
                        "src": "2959:15:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2932:43:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 9886,
                      "name": "versionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9861,
                      "src": "2978:9:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2932:55:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 9888,
                  "nodeType": "ExpressionStatement",
                  "src": "2932:55:18"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 9890,
                        "name": "versionId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9861,
                        "src": "3014:9:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9891,
                        "name": "_newSemanticVersion",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9781,
                        "src": "3025:19:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                          "typeString": "uint16[3] memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                          "typeString": "uint16[3] memory"
                        }
                      ],
                      "id": 9889,
                      "name": "NewVersion",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9764,
                      "src": "3003:10:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_array$_t_uint16_$3_memory_ptr_$returns$__$",
                        "typeString": "function (uint256,uint16[3] memory)"
                      }
                    },
                    "id": 9892,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3003:42:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9893,
                  "nodeType": "EmitStatement",
                  "src": "2998:47:18"
                }
              ]
            },
            "documentation": "@notice Create new version with contract `_contractAddress` and content `@fromHex(_contentURI)`\n@param _newSemanticVersion Semantic version for new repo version\n@param _contractAddress address for smart contract logic for version (if set to 0, it uses last versions' contractAddress)\n@param _contentURI External URI for fetching new version's content",
            "id": 9895,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 9788,
                    "name": "CREATE_VERSION_ROLE",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 9724,
                    "src": "1850:19:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  }
                ],
                "id": 9789,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 9787,
                  "name": "auth",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10409,
                  "src": "1845:4:18",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$_t_bytes32_$",
                    "typeString": "modifier (bytes32)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1845:25:18"
              }
            ],
            "name": "newVersion",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9786,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9781,
                  "name": "_newSemanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9895,
                  "src": "1741:29:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9778,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "1741:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9780,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9779,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1748:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "1741:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9783,
                  "name": "_contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9895,
                  "src": "1780:24:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9782,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1780:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9785,
                  "name": "_contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9895,
                  "src": "1814:17:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9784,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1814:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1731:106:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9790,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1875:0:18"
            },
            "scope": 10109,
            "src": "1712:1340:18",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9912,
              "nodeType": "Block",
              "src": "3170:61:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 9909,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 9907,
                          "name": "versionsNextIndex",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9744,
                          "src": "3202:17:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "-",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 9908,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "3222:1:18",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "src": "3202:21:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 9906,
                      "name": "getByVersionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9996,
                      "src": "3187:14:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                        "typeString": "function (uint256) view returns (uint16[3] memory,address,bytes memory)"
                      }
                    },
                    "id": 9910,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3187:37:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                      "typeString": "tuple(uint16[3] memory,address,bytes memory)"
                    }
                  },
                  "functionReturnParameters": 9905,
                  "id": 9911,
                  "nodeType": "Return",
                  "src": "3180:44:18"
                }
              ]
            },
            "documentation": null,
            "id": 9913,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getLatest",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9896,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3076:2:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9905,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9900,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9913,
                  "src": "3100:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9897,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3100:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9899,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9898,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3107:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3100:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9902,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9913,
                  "src": "3127:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9901,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3127:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9904,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9913,
                  "src": "3152:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9903,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3152:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3099:70:18"
            },
            "scope": 10109,
            "src": "3058:173:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9932,
              "nodeType": "Block",
              "src": "3419:84:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9927,
                          "name": "latestVersionIdForContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9756,
                          "src": "3451:26:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$",
                            "typeString": "mapping(address => uint256)"
                          }
                        },
                        "id": 9929,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 9928,
                          "name": "_contractAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9915,
                          "src": "3478:16:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3451:44:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 9926,
                      "name": "getByVersionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9996,
                      "src": "3436:14:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                        "typeString": "function (uint256) view returns (uint16[3] memory,address,bytes memory)"
                      }
                    },
                    "id": 9930,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3436:60:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                      "typeString": "tuple(uint16[3] memory,address,bytes memory)"
                    }
                  },
                  "functionReturnParameters": 9925,
                  "id": 9931,
                  "nodeType": "Return",
                  "src": "3429:67:18"
                }
              ]
            },
            "documentation": null,
            "id": 9933,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getLatestForContractAddress",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9916,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9915,
                  "name": "_contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3274:24:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9914,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3274:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3273:26:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9925,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9920,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3345:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9917,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3345:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9919,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9918,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3352:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3345:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9922,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3372:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9921,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3372:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9924,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9933,
                  "src": "3397:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9923,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3397:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3344:70:18"
            },
            "scope": 10109,
            "src": "3237:266:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9956,
              "nodeType": "Block",
              "src": "3686:99:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 9949,
                          "name": "versionIdForSemantic",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9752,
                          "src": "3718:20:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$",
                            "typeString": "mapping(bytes32 => uint256)"
                          }
                        },
                        "id": 9953,
                        "indexExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 9951,
                              "name": "_semanticVersion",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 9937,
                              "src": "3759:16:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            ],
                            "id": 9950,
                            "name": "semanticVersionHash",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10108,
                            "src": "3739:19:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$3_memory_ptr_$returns$_t_bytes32_$",
                              "typeString": "function (uint16[3] memory) pure returns (bytes32)"
                            }
                          },
                          "id": 9952,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "3739:37:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "3718:59:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 9948,
                      "name": "getByVersionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9996,
                      "src": "3703:14:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                        "typeString": "function (uint256) view returns (uint16[3] memory,address,bytes memory)"
                      }
                    },
                    "id": 9954,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3703:75:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$",
                      "typeString": "tuple(uint16[3] memory,address,bytes memory)"
                    }
                  },
                  "functionReturnParameters": 9947,
                  "id": 9955,
                  "nodeType": "Return",
                  "src": "3696:82:18"
                }
              ]
            },
            "documentation": null,
            "id": 9957,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getBySemanticVersion",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9938,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9937,
                  "name": "_semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3539:26:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9934,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3539:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9936,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9935,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3546:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3539:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3538:28:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9947,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9942,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3612:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9939,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3612:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9941,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9940,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3619:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3612:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9944,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3639:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9943,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3639:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9946,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9957,
                  "src": "3664:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9945,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3664:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3611:70:18"
            },
            "scope": 10109,
            "src": "3509:276:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 9995,
              "nodeType": "Block",
              "src": "3923:243:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        "id": 9977,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 9973,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 9971,
                            "name": "_versionId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9959,
                            "src": "3941:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "argumentTypes": null,
                            "hexValue": "30",
                            "id": 9972,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "3954:1:18",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "3941:14:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "&&",
                        "rightExpression": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 9976,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "argumentTypes": null,
                            "id": 9974,
                            "name": "_versionId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9959,
                            "src": "3959:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "argumentTypes": null,
                            "id": 9975,
                            "name": "versionsNextIndex",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 9744,
                            "src": "3972:17:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "3959:30:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "src": "3941:48:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 9978,
                        "name": "ERROR_INEXISTENT_VERSION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 9733,
                        "src": "3991:24:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 9970,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        15156,
                        15157
                      ],
                      "referencedDeclaration": 15157,
                      "src": "3933:7:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 9979,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3933:83:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 9980,
                  "nodeType": "ExpressionStatement",
                  "src": "3933:83:18"
                },
                {
                  "assignments": [
                    9982
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 9982,
                      "name": "version",
                      "nodeType": "VariableDeclaration",
                      "scope": 9996,
                      "src": "4026:23:18",
                      "stateVariable": false,
                      "storageLocation": "storage",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                        "typeString": "struct Repo.Version"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 9981,
                        "name": "Version",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 9742,
                        "src": "4026:7:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                          "typeString": "struct Repo.Version"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 9986,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 9983,
                      "name": "versions",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9748,
                      "src": "4052:8:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Version_$9742_storage_$",
                        "typeString": "mapping(uint256 => struct Repo.Version storage ref)"
                      }
                    },
                    "id": 9985,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 9984,
                      "name": "_versionId",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9959,
                      "src": "4061:10:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "4052:20:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Version_$9742_storage",
                      "typeString": "struct Repo.Version storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4026:46:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 9987,
                          "name": "version",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9982,
                          "src": "4090:7:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                            "typeString": "struct Repo.Version storage pointer"
                          }
                        },
                        "id": 9988,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "semanticVersion",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9737,
                        "src": "4090:23:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_uint16_$3_storage",
                          "typeString": "uint16[3] storage ref"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 9989,
                          "name": "version",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9982,
                          "src": "4115:7:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                            "typeString": "struct Repo.Version storage pointer"
                          }
                        },
                        "id": 9990,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "contractAddress",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9739,
                        "src": "4115:23:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 9991,
                          "name": "version",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 9982,
                          "src": "4140:7:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Version_$9742_storage_ptr",
                            "typeString": "struct Repo.Version storage pointer"
                          }
                        },
                        "id": 9992,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "contentURI",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 9741,
                        "src": "4140:18:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_storage",
                          "typeString": "bytes storage ref"
                        }
                      }
                    ],
                    "id": 9993,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "4089:70:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_array$_t_uint16_$3_storage_$_t_address_$_t_bytes_storage_$",
                      "typeString": "tuple(uint16[3] storage ref,address,bytes storage ref)"
                    }
                  },
                  "functionReturnParameters": 9969,
                  "id": 9994,
                  "nodeType": "Return",
                  "src": "4082:77:18"
                }
              ]
            },
            "documentation": null,
            "id": 9996,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getByVersionId",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9960,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9959,
                  "name": "_versionId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3815:15:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9958,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "3815:4:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3814:17:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 9969,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9964,
                  "name": "semanticVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3853:25:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 9961,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "3853:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 9963,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 9962,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3860:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "3853:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9966,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3880:23:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9965,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3880:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 9968,
                  "name": "contentURI",
                  "nodeType": "VariableDeclaration",
                  "scope": 9996,
                  "src": "3905:16:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9967,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3905:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "3852:70:18"
            },
            "scope": 10109,
            "src": "3791:375:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10005,
              "nodeType": "Block",
              "src": "4230:45:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10003,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10001,
                      "name": "versionsNextIndex",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9744,
                      "src": "4247:17:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "-",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31",
                      "id": 10002,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4267:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1_by_1",
                        "typeString": "int_const 1"
                      },
                      "value": "1"
                    },
                    "src": "4247:21:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10000,
                  "id": 10004,
                  "nodeType": "Return",
                  "src": "4240:28:18"
                }
              ]
            },
            "documentation": null,
            "id": 10006,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getVersionsCount",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9997,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4197:2:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 10000,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9999,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10006,
                  "src": "4221:7:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9998,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4221:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4220:9:18"
            },
            "scope": 10109,
            "src": "4172:103:18",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10082,
              "nodeType": "Block",
              "src": "4375:506:18",
              "statements": [
                {
                  "assignments": [],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10020,
                      "name": "hasBumped",
                      "nodeType": "VariableDeclaration",
                      "scope": 10083,
                      "src": "4385:14:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "typeName": {
                        "id": 10019,
                        "name": "bool",
                        "nodeType": "ElementaryTypeName",
                        "src": "4385:4:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10021,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4385:14:18"
                },
                {
                  "assignments": [
                    10023
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 10023,
                      "name": "i",
                      "nodeType": "VariableDeclaration",
                      "scope": 10083,
                      "src": "4409:6:18",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 10022,
                        "name": "uint",
                        "nodeType": "ElementaryTypeName",
                        "src": "4409:4:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 10025,
                  "initialValue": {
                    "argumentTypes": null,
                    "hexValue": "30",
                    "id": 10024,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "4418:1:18",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4409:10:18"
                },
                {
                  "body": {
                    "id": 10078,
                    "nodeType": "Block",
                    "src": "4443:406:18",
                    "statements": [
                      {
                        "condition": {
                          "argumentTypes": null,
                          "id": 10029,
                          "name": "hasBumped",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10020,
                          "src": "4461:9:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "condition": {
                            "argumentTypes": null,
                            "commonType": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            "id": 10046,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10040,
                                "name": "_newVersion",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10014,
                                "src": "4592:11:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                  "typeString": "uint16[3] memory"
                                }
                              },
                              "id": 10042,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 10041,
                                "name": "i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10023,
                                "src": "4604:1:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "4592:14:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "!=",
                            "rightExpression": {
                              "argumentTypes": null,
                              "baseExpression": {
                                "argumentTypes": null,
                                "id": 10043,
                                "name": "_oldVersion",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10010,
                                "src": "4610:11:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                  "typeString": "uint16[3] memory"
                                }
                              },
                              "id": 10045,
                              "indexExpression": {
                                "argumentTypes": null,
                                "id": 10044,
                                "name": "i",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 10023,
                                "src": "4622:1:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "IndexAccess",
                              "src": "4610:14:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint16",
                                "typeString": "uint16"
                              }
                            },
                            "src": "4592:32:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            }
                          },
                          "falseBody": null,
                          "id": 10073,
                          "nodeType": "IfStatement",
                          "src": "4588:234:18",
                          "trueBody": {
                            "id": 10072,
                            "nodeType": "Block",
                            "src": "4626:196:18",
                            "statements": [
                              {
                                "condition": {
                                  "argumentTypes": null,
                                  "commonType": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  },
                                  "id": 10063,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "argumentTypes": null,
                                    "commonType": {
                                      "typeIdentifier": "t_uint16",
                                      "typeString": "uint16"
                                    },
                                    "id": 10053,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "id": 10047,
                                        "name": "_oldVersion",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10010,
                                        "src": "4648:11:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                          "typeString": "uint16[3] memory"
                                        }
                                      },
                                      "id": 10049,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "id": 10048,
                                        "name": "i",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10023,
                                        "src": "4660:1:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "4648:14:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": ">",
                                    "rightExpression": {
                                      "argumentTypes": null,
                                      "baseExpression": {
                                        "argumentTypes": null,
                                        "id": 10050,
                                        "name": "_newVersion",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10014,
                                        "src": "4665:11:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                          "typeString": "uint16[3] memory"
                                        }
                                      },
                                      "id": 10052,
                                      "indexExpression": {
                                        "argumentTypes": null,
                                        "id": 10051,
                                        "name": "i",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 10023,
                                        "src": "4677:1:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "isConstant": false,
                                      "isLValue": true,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "nodeType": "IndexAccess",
                                      "src": "4665:14:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      }
                                    },
                                    "src": "4648:31:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "||",
                                  "rightExpression": {
                                    "argumentTypes": null,
                                    "commonType": {
                                      "typeIdentifier": "t_uint16",
                                      "typeString": "uint16"
                                    },
                                    "id": 10062,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "argumentTypes": null,
                                      "commonType": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      },
                                      "id": 10060,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 10054,
                                          "name": "_newVersion",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10014,
                                          "src": "4683:11:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                            "typeString": "uint16[3] memory"
                                          }
                                        },
                                        "id": 10056,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "id": 10055,
                                          "name": "i",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10023,
                                          "src": "4695:1:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "4683:14:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint16",
                                          "typeString": "uint16"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "-",
                                      "rightExpression": {
                                        "argumentTypes": null,
                                        "baseExpression": {
                                          "argumentTypes": null,
                                          "id": 10057,
                                          "name": "_oldVersion",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10010,
                                          "src": "4700:11:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                            "typeString": "uint16[3] memory"
                                          }
                                        },
                                        "id": 10059,
                                        "indexExpression": {
                                          "argumentTypes": null,
                                          "id": 10058,
                                          "name": "i",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 10023,
                                          "src": "4712:1:18",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "isConstant": false,
                                        "isLValue": true,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "nodeType": "IndexAccess",
                                        "src": "4700:14:18",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint16",
                                          "typeString": "uint16"
                                        }
                                      },
                                      "src": "4683:31:18",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint16",
                                        "typeString": "uint16"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "!=",
                                    "rightExpression": {
                                      "argumentTypes": null,
                                      "hexValue": "31",
                                      "id": 10061,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "4718:1:18",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_1_by_1",
                                        "typeString": "int_const 1"
                                      },
                                      "value": "1"
                                    },
                                    "src": "4683:36:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "src": "4648:71:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "falseBody": null,
                                "id": 10067,
                                "nodeType": "IfStatement",
                                "src": "4644:130:18",
                                "trueBody": {
                                  "id": 10066,
                                  "nodeType": "Block",
                                  "src": "4721:53:18",
                                  "statements": [
                                    {
                                      "expression": {
                                        "argumentTypes": null,
                                        "hexValue": "66616c7365",
                                        "id": 10064,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": true,
                                        "kind": "bool",
                                        "lValueRequested": false,
                                        "nodeType": "Literal",
                                        "src": "4750:5:18",
                                        "subdenomination": null,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_bool",
                                          "typeString": "bool"
                                        },
                                        "value": "false"
                                      },
                                      "functionReturnParameters": 10018,
                                      "id": 10065,
                                      "nodeType": "Return",
                                      "src": "4743:12:18"
                                    }
                                  ]
                                }
                              },
                              {
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 10070,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftHandSide": {
                                    "argumentTypes": null,
                                    "id": 10068,
                                    "name": "hasBumped",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10020,
                                    "src": "4791:9:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    }
                                  },
                                  "nodeType": "Assignment",
                                  "operator": "=",
                                  "rightHandSide": {
                                    "argumentTypes": null,
                                    "hexValue": "74727565",
                                    "id": 10069,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "bool",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "4803:4:18",
                                    "subdenomination": null,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_bool",
                                      "typeString": "bool"
                                    },
                                    "value": "true"
                                  },
                                  "src": "4791:16:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bool",
                                    "typeString": "bool"
                                  }
                                },
                                "id": 10071,
                                "nodeType": "ExpressionStatement",
                                "src": "4791:16:18"
                              }
                            ]
                          }
                        },
                        "id": 10074,
                        "nodeType": "IfStatement",
                        "src": "4457:365:18",
                        "trueBody": {
                          "id": 10039,
                          "nodeType": "Block",
                          "src": "4472:110:18",
                          "statements": [
                            {
                              "condition": {
                                "argumentTypes": null,
                                "commonType": {
                                  "typeIdentifier": "t_uint16",
                                  "typeString": "uint16"
                                },
                                "id": 10034,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "argumentTypes": null,
                                  "baseExpression": {
                                    "argumentTypes": null,
                                    "id": 10030,
                                    "name": "_newVersion",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10014,
                                    "src": "4494:11:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                      "typeString": "uint16[3] memory"
                                    }
                                  },
                                  "id": 10032,
                                  "indexExpression": {
                                    "argumentTypes": null,
                                    "id": 10031,
                                    "name": "i",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 10023,
                                    "src": "4506:1:18",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "IndexAccess",
                                  "src": "4494:14:18",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint16",
                                    "typeString": "uint16"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "!=",
                                "rightExpression": {
                                  "argumentTypes": null,
                                  "hexValue": "30",
                                  "id": 10033,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "4512:1:18",
                                  "subdenomination": null,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                },
                                "src": "4494:19:18",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              },
                              "falseBody": null,
                              "id": 10038,
                              "nodeType": "IfStatement",
                              "src": "4490:78:18",
                              "trueBody": {
                                "id": 10037,
                                "nodeType": "Block",
                                "src": "4515:53:18",
                                "statements": [
                                  {
                                    "expression": {
                                      "argumentTypes": null,
                                      "hexValue": "66616c7365",
                                      "id": 10035,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "bool",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "4544:5:18",
                                      "subdenomination": null,
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_bool",
                                        "typeString": "bool"
                                      },
                                      "value": "false"
                                    },
                                    "functionReturnParameters": 10018,
                                    "id": 10036,
                                    "nodeType": "Return",
                                    "src": "4537:12:18"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 10076,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "UnaryOperation",
                          "operator": "++",
                          "prefix": false,
                          "src": "4835:3:18",
                          "subExpression": {
                            "argumentTypes": null,
                            "id": 10075,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10023,
                            "src": "4835:1:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 10077,
                        "nodeType": "ExpressionStatement",
                        "src": "4835:3:18"
                      }
                    ]
                  },
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 10028,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 10026,
                      "name": "i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10023,
                      "src": "4436:1:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10027,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4440:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_3_by_1",
                        "typeString": "int_const 3"
                      },
                      "value": "3"
                    },
                    "src": "4436:5:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 10079,
                  "nodeType": "WhileStatement",
                  "src": "4429:420:18"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10080,
                    "name": "hasBumped",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10020,
                    "src": "4865:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 10018,
                  "id": 10081,
                  "nodeType": "Return",
                  "src": "4858:16:18"
                }
              ]
            },
            "documentation": null,
            "id": 10083,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "isValidBump",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10015,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10010,
                  "name": "_oldVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 10083,
                  "src": "4302:21:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 10007,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "4302:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 10009,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10008,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4309:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "4302:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10014,
                  "name": "_newVersion",
                  "nodeType": "VariableDeclaration",
                  "scope": 10083,
                  "src": "4325:21:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 10011,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "4325:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 10013,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10012,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4332:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "4325:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4301:46:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 10018,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10017,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10083,
                  "src": "4369:4:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10016,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "4369:4:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4368:6:18"
            },
            "scope": 10109,
            "src": "4281:600:18",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10107,
              "nodeType": "Block",
              "src": "4967:87:18",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 10095,
                              "name": "version",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10087,
                              "src": "5011:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            },
                            "id": 10097,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 10096,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5019:1:18",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "5011:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 10098,
                              "name": "version",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10087,
                              "src": "5023:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            },
                            "id": 10100,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "31",
                              "id": 10099,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5031:1:18",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "5023:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 10101,
                              "name": "version",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10087,
                              "src": "5035:7:18",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                                "typeString": "uint16[3] memory"
                              }
                            },
                            "id": 10103,
                            "indexExpression": {
                              "argumentTypes": null,
                              "hexValue": "32",
                              "id": 10102,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5043:1:18",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_2_by_1",
                                "typeString": "int_const 2"
                              },
                              "value": "2"
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "5035:10:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            },
                            {
                              "typeIdentifier": "t_uint16",
                              "typeString": "uint16"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 10093,
                            "name": "abi",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 15140,
                            "src": "4994:3:18",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_abi",
                              "typeString": "abi"
                            }
                          },
                          "id": 10094,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "encodePacked",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "4994:16:18",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
                            "typeString": "function () pure returns (bytes memory)"
                          }
                        },
                        "id": 10104,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "4994:52:18",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes_memory_ptr",
                          "typeString": "bytes memory"
                        }
                      ],
                      "id": 10092,
                      "name": "keccak256",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 15147,
                      "src": "4984:9:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_sha3_pure$__$returns$_t_bytes32_$",
                        "typeString": "function () pure returns (bytes32)"
                      }
                    },
                    "id": 10105,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "4984:63:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 10091,
                  "id": 10106,
                  "nodeType": "Return",
                  "src": "4977:70:18"
                }
              ]
            },
            "documentation": null,
            "id": 10108,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "semanticVersionHash",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10088,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10087,
                  "name": "version",
                  "nodeType": "VariableDeclaration",
                  "scope": 10108,
                  "src": "4916:17:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint16_$3_memory_ptr",
                    "typeString": "uint16[3]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 10084,
                      "name": "uint16",
                      "nodeType": "ElementaryTypeName",
                      "src": "4916:6:18",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint16",
                        "typeString": "uint16"
                      }
                    },
                    "id": 10086,
                    "length": {
                      "argumentTypes": null,
                      "hexValue": "33",
                      "id": 10085,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4923:1:18",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": null,
                        "typeString": null
                      },
                      "value": "3"
                    },
                    "nodeType": "ArrayTypeName",
                    "src": "4916:9:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint16_$3_storage_ptr",
                      "typeString": "uint16[3]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4915:19:18"
            },
            "payable": false,
            "returnParameters": {
              "id": 10091,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10090,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10108,
                  "src": "4958:7:18",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10089,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4958:7:18",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "4957:9:18"
            },
            "scope": 10109,
            "src": "4887:167:18",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 10110,
        "src": "136:4920:18"
      }
    ],
    "src": "0:5057:18"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2019-09-04T11:02:55.757Z"
}