{
  "contractName": "Monthly",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "creationBlock",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "creationTimestamp",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getLength",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_timestamp",
          "type": "uint256"
        }
      ],
      "name": "heightOf",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "height",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x60806040524260008190555043600181905550610326806100216000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630ef2674314610072578063176345141461009d578063b3311086146100c8578063be1c766b146100f3578063c23c39d31461011e575b600080fd5b34801561007e57600080fd5b5061008761015f565b6040518082815260200191505060405180910390f35b3480156100a957600080fd5b506100b261016f565b6040518082815260200191505060405180910390f35b3480156100d457600080fd5b506100dd610179565b6040518082815260200191505060405180910390f35b3480156100ff57600080fd5b50610108610182565b6040518082815260200191505060405180910390f35b34801561012a57600080fd5b506101496004803603810190808035906020019092919050505061018b565b6040518082815260200191505060405180910390f35b600061016a4261018b565b905090565b6000600154905090565b60008054905090565b60006001905090565b600073__DateTime______________________________637be341096101af610179565b60006040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018281526020019250505060206040518083038186803b15801561020857600080fd5b505af415801561021c573d6000803e3d6000fd5b505050506040513d602081101561023257600080fd5b810190808051906020019092919050505073__DateTime______________________________637be341098460006040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018281526020019250505060206040518083038186803b1580156102b757600080fd5b505af41580156102cb573d6000803e3d6000fd5b505050506040513d60208110156102e157600080fd5b81019080805190602001909291905050500390509190505600a165627a7a723058205d05e2259d774a0e04082c85d1b05d7230e87af06f0876c75752758f816d633f0029",
  "deployedBytecode": "0x60806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630ef2674314610072578063176345141461009d578063b3311086146100c8578063be1c766b146100f3578063c23c39d31461011e575b600080fd5b34801561007e57600080fd5b5061008761015f565b6040518082815260200191505060405180910390f35b3480156100a957600080fd5b506100b261016f565b6040518082815260200191505060405180910390f35b3480156100d457600080fd5b506100dd610179565b6040518082815260200191505060405180910390f35b3480156100ff57600080fd5b50610108610182565b6040518082815260200191505060405180910390f35b34801561012a57600080fd5b506101496004803603810190808035906020019092919050505061018b565b6040518082815260200191505060405180910390f35b600061016a4261018b565b905090565b6000600154905090565b60008054905090565b60006001905090565b600073__DateTime______________________________637be341096101af610179565b60006040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018281526020019250505060206040518083038186803b15801561020857600080fd5b505af415801561021c573d6000803e3d6000fd5b505050506040513d602081101561023257600080fd5b810190808051906020019092919050505073__DateTime______________________________637be341098460006040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808381526020018281526020019250505060206040518083038186803b1580156102b757600080fd5b505af41580156102cb573d6000803e3d6000fd5b505050506040513d60208110156102e157600080fd5b81019080805190602001909291905050500390509190505600a165627a7a723058205d05e2259d774a0e04082c85d1b05d7230e87af06f0876c75752758f816d633f0029",
  "sourceMap": "103:435:4:-;;;366:15:1;345:18;:36;;;;408:12;391:14;:29;;;;103:435:4;;;;;;",
  "deployedSourceMap": "103:435:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;439:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;439:97:4;;;;;;;;;;;;;;;;;;;;;;;543:94:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;543:94:1;;;;;;;;;;;;;;;;;;;;;;;435:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;435:102:1;;;;;;;;;;;;;;;;;;;;;;;179:75:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;179:75:4;;;;;;;;;;;;;;;;;;;;;;;260:173;;8:9:-1;5:2;;;30:1;27;20:12;5:2;260:173:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;439:97;478:7;504:25;513:15;504:8;:25::i;:::-;497:32;;439:97;:::o;543:94:1:-;589:7;615:14;;608:21;;543:94;:::o;435:102::-;485:7;512:18;;505:25;;435:102;:::o;179:75:4:-;220:7;246:1;239:8;;179:75;:::o;260:173::-;318:7;382:8;:19;402;:17;:19::i;:::-;423:1;382:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;382:43:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;382:43:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;382:43:4;;;;;;;;;;;;;;;;345:8;:19;365:10;377:1;345:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;345:34:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;345:34:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;345:34:4;;;;;;;;;;;;;;;;:80;337:89;;260:173;;;:::o",
  "source": "pragma solidity 0.4.24;\n\nimport \"./DateTime.sol\";\nimport \"../IPeriod.sol\";\nimport \"../Traceable.sol\";\n\ncontract Monthly is IPeriod, Traceable {\n    using DateTime for *;\n    \n    function getLength() public view returns(uint256) {\n        return 1;\n    }\n\n    function heightOf(uint256 _timestamp) public view returns(uint256) {\n        return (DateTime.diffMonths(_timestamp, 0) - DateTime.diffMonths(creationTimestamp(), 0));\n    }\n\n    function height() public view returns (uint256) {\n        return heightOf(block.timestamp);\n    }\n}",
  "sourcePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/calendar/Monthly.sol",
  "ast": {
    "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/calendar/Monthly.sol",
    "exportedSymbols": {
      "Monthly": [
        829
      ]
    },
    "id": 830,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 778,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:4"
      },
      {
        "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/calendar/DateTime.sol",
        "file": "./DateTime.sol",
        "id": 779,
        "nodeType": "ImportDirective",
        "scope": 830,
        "sourceUnit": 777,
        "src": "25:24:4",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/IPeriod.sol",
        "file": "../IPeriod.sol",
        "id": 780,
        "nodeType": "ImportDirective",
        "scope": 830,
        "sourceUnit": 20,
        "src": "50:24:4",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/Traceable.sol",
        "file": "../Traceable.sol",
        "id": 781,
        "nodeType": "ImportDirective",
        "scope": 830,
        "sourceUnit": 59,
        "src": "75:26:4",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 782,
              "name": "IPeriod",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19,
              "src": "123:7:4",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IPeriod_$19",
                "typeString": "contract IPeriod"
              }
            },
            "id": 783,
            "nodeType": "InheritanceSpecifier",
            "src": "123:7:4"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 784,
              "name": "Traceable",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 58,
              "src": "132:9:4",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Traceable_$58",
                "typeString": "contract Traceable"
              }
            },
            "id": 785,
            "nodeType": "InheritanceSpecifier",
            "src": "132:9:4"
          }
        ],
        "contractDependencies": [
          19,
          58
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 829,
        "linearizedBaseContracts": [
          829,
          58,
          19
        ],
        "name": "Monthly",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 787,
            "libraryName": {
              "contractScope": null,
              "id": 786,
              "name": "DateTime",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 776,
              "src": "154:8:4",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DateTime_$776",
                "typeString": "library DateTime"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "148:21:4",
            "typeName": null
          },
          {
            "body": {
              "id": 794,
              "nodeType": "Block",
              "src": "229:25:4",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "31",
                    "id": 792,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "246:1:4",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_1_by_1",
                      "typeString": "int_const 1"
                    },
                    "value": "1"
                  },
                  "functionReturnParameters": 791,
                  "id": 793,
                  "nodeType": "Return",
                  "src": "239:8:4"
                }
              ]
            },
            "documentation": null,
            "id": 795,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getLength",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 788,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "197:2:4"
            },
            "payable": false,
            "returnParameters": {
              "id": 791,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 790,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 795,
                  "src": "220:7:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 789,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "220:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "219:9:4"
            },
            "scope": 829,
            "src": "179:75:4",
            "stateMutability": "view",
            "superFunction": 6,
            "visibility": "public"
          },
          {
            "body": {
              "id": 816,
              "nodeType": "Block",
              "src": "327:106:4",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 813,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 804,
                              "name": "_timestamp",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 797,
                              "src": "365:10:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 805,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "377:1:4",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "id": 802,
                              "name": "DateTime",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 776,
                              "src": "345:8:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_DateTime_$776_$",
                                "typeString": "type(library DateTime)"
                              }
                            },
                            "id": 803,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "diffMonths",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 470,
                            "src": "345:19:4",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_delegatecall_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 806,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "345:34:4",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "-",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "id": 809,
                                "name": "creationTimestamp",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 49,
                                "src": "402:17:4",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
                                  "typeString": "function () view returns (uint256)"
                                }
                              },
                              "id": 810,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "402:19:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 811,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "423:1:4",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "id": 807,
                              "name": "DateTime",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 776,
                              "src": "382:8:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_DateTime_$776_$",
                                "typeString": "type(library DateTime)"
                              }
                            },
                            "id": 808,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "diffMonths",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 470,
                            "src": "382:19:4",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_delegatecall_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 812,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "382:43:4",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "345:80:4",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "id": 814,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "344:82:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 801,
                  "id": 815,
                  "nodeType": "Return",
                  "src": "337:89:4"
                }
              ]
            },
            "documentation": null,
            "id": 817,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "heightOf",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 798,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 797,
                  "name": "_timestamp",
                  "nodeType": "VariableDeclaration",
                  "scope": 817,
                  "src": "278:18:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 796,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "278:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "277:20:4"
            },
            "payable": false,
            "returnParameters": {
              "id": 801,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 800,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 817,
                  "src": "318:7:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 799,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "318:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "317:9:4"
            },
            "scope": 829,
            "src": "260:173:4",
            "stateMutability": "view",
            "superFunction": 13,
            "visibility": "public"
          },
          {
            "body": {
              "id": 827,
              "nodeType": "Block",
              "src": "487:49:4",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 823,
                          "name": "block",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1803,
                          "src": "513:5:4",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_block",
                            "typeString": "block"
                          }
                        },
                        "id": 824,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "timestamp",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "513:15:4",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 822,
                      "name": "heightOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        817
                      ],
                      "referencedDeclaration": 817,
                      "src": "504:8:4",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256) view returns (uint256)"
                      }
                    },
                    "id": 825,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "504:25:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 821,
                  "id": 826,
                  "nodeType": "Return",
                  "src": "497:32:4"
                }
              ]
            },
            "documentation": null,
            "id": 828,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "height",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 818,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "454:2:4"
            },
            "payable": false,
            "returnParameters": {
              "id": 821,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 820,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 828,
                  "src": "478:7:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 819,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "478:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "477:9:4"
            },
            "scope": 829,
            "src": "439:97:4",
            "stateMutability": "view",
            "superFunction": 18,
            "visibility": "public"
          }
        ],
        "scope": 830,
        "src": "103:435:4"
      }
    ],
    "src": "0:538:4"
  },
  "legacyAST": {
    "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/calendar/Monthly.sol",
    "exportedSymbols": {
      "Monthly": [
        829
      ]
    },
    "id": 830,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 778,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:4"
      },
      {
        "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/calendar/DateTime.sol",
        "file": "./DateTime.sol",
        "id": 779,
        "nodeType": "ImportDirective",
        "scope": 830,
        "sourceUnit": 777,
        "src": "25:24:4",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/IPeriod.sol",
        "file": "../IPeriod.sol",
        "id": 780,
        "nodeType": "ImportDirective",
        "scope": 830,
        "sourceUnit": 20,
        "src": "50:24:4",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/Users/carlosbuendia/Documents/Projects/consensys/Frontier/cron/contracts/Traceable.sol",
        "file": "../Traceable.sol",
        "id": 781,
        "nodeType": "ImportDirective",
        "scope": 830,
        "sourceUnit": 59,
        "src": "75:26:4",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 782,
              "name": "IPeriod",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19,
              "src": "123:7:4",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IPeriod_$19",
                "typeString": "contract IPeriod"
              }
            },
            "id": 783,
            "nodeType": "InheritanceSpecifier",
            "src": "123:7:4"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 784,
              "name": "Traceable",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 58,
              "src": "132:9:4",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Traceable_$58",
                "typeString": "contract Traceable"
              }
            },
            "id": 785,
            "nodeType": "InheritanceSpecifier",
            "src": "132:9:4"
          }
        ],
        "contractDependencies": [
          19,
          58
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 829,
        "linearizedBaseContracts": [
          829,
          58,
          19
        ],
        "name": "Monthly",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 787,
            "libraryName": {
              "contractScope": null,
              "id": 786,
              "name": "DateTime",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 776,
              "src": "154:8:4",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DateTime_$776",
                "typeString": "library DateTime"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "148:21:4",
            "typeName": null
          },
          {
            "body": {
              "id": 794,
              "nodeType": "Block",
              "src": "229:25:4",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "31",
                    "id": 792,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "246:1:4",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_1_by_1",
                      "typeString": "int_const 1"
                    },
                    "value": "1"
                  },
                  "functionReturnParameters": 791,
                  "id": 793,
                  "nodeType": "Return",
                  "src": "239:8:4"
                }
              ]
            },
            "documentation": null,
            "id": 795,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getLength",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 788,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "197:2:4"
            },
            "payable": false,
            "returnParameters": {
              "id": 791,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 790,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 795,
                  "src": "220:7:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 789,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "220:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "219:9:4"
            },
            "scope": 829,
            "src": "179:75:4",
            "stateMutability": "view",
            "superFunction": 6,
            "visibility": "public"
          },
          {
            "body": {
              "id": 816,
              "nodeType": "Block",
              "src": "327:106:4",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 813,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 804,
                              "name": "_timestamp",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 797,
                              "src": "365:10:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 805,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "377:1:4",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "id": 802,
                              "name": "DateTime",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 776,
                              "src": "345:8:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_DateTime_$776_$",
                                "typeString": "type(library DateTime)"
                              }
                            },
                            "id": 803,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "diffMonths",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 470,
                            "src": "345:19:4",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_delegatecall_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 806,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "345:34:4",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "-",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "arguments": [],
                              "expression": {
                                "argumentTypes": [],
                                "id": 809,
                                "name": "creationTimestamp",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 49,
                                "src": "402:17:4",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
                                  "typeString": "function () view returns (uint256)"
                                }
                              },
                              "id": 810,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "402:19:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 811,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "423:1:4",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "expression": {
                              "argumentTypes": null,
                              "id": 807,
                              "name": "DateTime",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 776,
                              "src": "382:8:4",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_DateTime_$776_$",
                                "typeString": "type(library DateTime)"
                              }
                            },
                            "id": 808,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "diffMonths",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 470,
                            "src": "382:19:4",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_delegatecall_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 812,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "382:43:4",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "345:80:4",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "id": 814,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "344:82:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 801,
                  "id": 815,
                  "nodeType": "Return",
                  "src": "337:89:4"
                }
              ]
            },
            "documentation": null,
            "id": 817,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "heightOf",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 798,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 797,
                  "name": "_timestamp",
                  "nodeType": "VariableDeclaration",
                  "scope": 817,
                  "src": "278:18:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 796,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "278:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "277:20:4"
            },
            "payable": false,
            "returnParameters": {
              "id": 801,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 800,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 817,
                  "src": "318:7:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 799,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "318:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "317:9:4"
            },
            "scope": 829,
            "src": "260:173:4",
            "stateMutability": "view",
            "superFunction": 13,
            "visibility": "public"
          },
          {
            "body": {
              "id": 827,
              "nodeType": "Block",
              "src": "487:49:4",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 823,
                          "name": "block",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1803,
                          "src": "513:5:4",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_block",
                            "typeString": "block"
                          }
                        },
                        "id": 824,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "timestamp",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "513:15:4",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 822,
                      "name": "heightOf",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        817
                      ],
                      "referencedDeclaration": 817,
                      "src": "504:8:4",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256) view returns (uint256)"
                      }
                    },
                    "id": 825,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "504:25:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 821,
                  "id": 826,
                  "nodeType": "Return",
                  "src": "497:32:4"
                }
              ]
            },
            "documentation": null,
            "id": 828,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "height",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 818,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "454:2:4"
            },
            "payable": false,
            "returnParameters": {
              "id": 821,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 820,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 828,
                  "src": "478:7:4",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 819,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "478:7:4",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "477:9:4"
            },
            "scope": 829,
            "src": "439:97:4",
            "stateMutability": "view",
            "superFunction": 18,
            "visibility": "public"
          }
        ],
        "scope": 830,
        "src": "103:435:4"
      }
    ],
    "src": "0:538:4"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {
    "1542888207401": {
      "events": {},
      "links": {
        "DateTime": "0x10b205508c333e827d0bde296fc3583036ed857b"
      }
    },
    "1542888363339": {
      "events": {},
      "links": {
        "DateTime": "0x73e8fc2c41499773346e1fde71feff325f0ac539"
      }
    }
  },
  "schemaVersion": "2.0.0",
  "updatedAt": "2018-11-28T10:24:51.865Z"
}