{"action":"created","comment":{"url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/comments/172295815","pull_request_review_id":101289179,"id":172295815,"diff_hunk":"@@ -0,0 +1,186 @@\n+pragma solidity 0.4.18;\n+\n+\n+import \"../ERC20Interface.sol\";\n+import \"../Withdrawable.sol\";\n+import \"../ConversionRatesInterface.sol\";\n+import \"./WrapperBase.sol\";\n+\n+\n+contract WrapConversionRate is WrapperBase {\n+\n+    ConversionRatesInterface conversionRates;\n+\n+    //add token parameters\n+    ERC20     addTokenToken;\n+    uint      addTokenMinimalResolution; // can be roughly 1 cent\n+    uint      addTokenMaxPerBlockImbalance; // in twei resolution\n+    uint      addTokenMaxTotalImbalance;\n+    uint      addTokenDataIndex;\n+\n+    //set token control info parameters.\n+    ERC20[]     tokenInfoTokenList;\n+    uint[]      tokenInfoPerBlockImbalance; // in twei resolution\n+    uint[]      tokenInfoMaxTotalImbalance;\n+    uint        tokenInfoDataIndex;\n+\n+    //general functions\n+    function WrapConversionRate(ConversionRatesInterface _conversionRates, address _admin) public\n+        WrapperBase(PermissionGroups(address(_conversionRates)), _admin)\n+    {\n+        require (_conversionRates != address(0));\n+        conversionRates = _conversionRates;\n+        addTokenDataIndex = addDataInstance();\n+        tokenInfoDataIndex = addDataInstance();\n+    }\n+\n+    function getWrappedContract() public view returns (ConversionRatesInterface _conversionRates) {\n+        _conversionRates = conversionRates;\n+    }\n+\n+    // add token functions\n+    //////////////////////\n+    function setAddTokenData(ERC20 token, uint minimalRecordResolution, uint maxPerBlockImbalance, uint maxTotalImbalance) public onlyOperator {\n+        require(minimalRecordResolution != 0);\n+        require(maxPerBlockImbalance != 0);\n+        require(maxTotalImbalance != 0);\n+\n+        //update data tracking\n+        setNewData(addTokenDataIndex);\n+\n+        addTokenToken = token;\n+        addTokenMinimalResolution = minimalRecordResolution; // can be roughly 1 cent\n+        addTokenMaxPerBlockImbalance = maxPerBlockImbalance; // in twei resolution\n+        addTokenMaxTotalImbalance = maxTotalImbalance;\n+    }\n+\n+    function signToApproveAddTokenData(uint nonce) public onlyOperator {\n+        if(addSignature(addTokenDataIndex, nonce, msg.sender)) {\n+            // can perform operation.\n+            performAddToken();\n+        }\n+    }\n+\n+    function performAddToken() internal {\n+        conversionRates.addToken(addTokenToken);\n+\n+        //token control info\n+        conversionRates.setTokenControlInfo(\n+            addTokenToken,\n+            addTokenMinimalResolution,\n+            addTokenMaxPerBlockImbalance,\n+            addTokenMaxTotalImbalance\n+        );\n+\n+        //step functions\n+        int[] memory zeroArr = new int[](1);\n+        zeroArr[0] = 0;\n+\n+        conversionRates.setQtyStepFunction(addTokenToken, zeroArr, zeroArr, zeroArr, zeroArr);\n+        conversionRates.setImbalanceStepFunction(addTokenToken, zeroArr, zeroArr, zeroArr, zeroArr);\n+\n+        conversionRates.enableTokenTrade(addTokenToken);\n+    }\n+\n+    function getAddTokenParameters() public view\n+        returns(ERC20 token, uint minimalRecordResolution, uint maxPerBlockImbalance, uint maxTotalImbalance)\n+    {\n+        token = addTokenToken;\n+        minimalRecordResolution = addTokenMinimalResolution;\n+        maxPerBlockImbalance = addTokenMaxPerBlockImbalance; // in twei resolution\n+        maxTotalImbalance = addTokenMaxTotalImbalance;\n+    }\n+\n+    function getAddTokenSignatures() public view returns (address[] signatures) {\n+        uint nonce;\n+        (signatures, nonce) = getDataTrackingParameters(addTokenDataIndex);\n+        return(signatures);\n+    }\n+\n+    function getAddTokenNonce() public view returns (uint nonce) {\n+        address[] memory signatures;\n+        (signatures, nonce) = getDataTrackingParameters(addTokenDataIndex);\n+        return(nonce);\n+    }\n+\n+    //set token control info\n+    ////////////////////////\n+    function setTokenInfoData(ERC20 [] tokens, uint[] maxPerBlockImbalanceValues, uint[] maxTotalImbalanceValues)\n+        public\n+        onlyOperator\n+    {\n+        require(maxPerBlockImbalanceValues.length == tokens.length);\n+        require(maxTotalImbalanceValues.length == tokens.length);\n+\n+        //update data tracking\n+        setNewData(tokenInfoDataIndex);\n+\n+        tokenInfoTokenList = tokens;\n+        tokenInfoPerBlockImbalance = maxPerBlockImbalanceValues;\n+        tokenInfoMaxTotalImbalance = maxTotalImbalanceValues;\n+    }\n+\n+    function signToApproveTokenControlInfo(uint nonce) public onlyOperator {\n+        if(addSignature(tokenInfoDataIndex, nonce, msg.sender)) {\n+            // can perform operation.\n+            performSetTokenControlInfo();\n+        }\n+    }\n+\n+    function performSetTokenControlInfo() internal {\n+        require(tokenInfoTokenList.length == tokenInfoPerBlockImbalance.length);\n+        require(tokenInfoTokenList.length == tokenInfoMaxTotalImbalance.length);\n+\n+        uint minimalRecordResolution;\n+        uint rxMaxPerBlockImbalance;\n+        uint rxMaxTotalImbalance;\n+\n+        for (uint i = 0; i < tokenInfoTokenList.length; i++) {\n+            (minimalRecordResolution, rxMaxPerBlockImbalance, rxMaxTotalImbalance) =\n+                conversionRates.getTokenControlInfo(tokenInfoTokenList[i]);\n+            require(minimalRecordResolution != 0);\n+\n+            conversionRates.setTokenControlInfo(tokenInfoTokenList[i],\n+                                                minimalRecordResolution,\n+                                                tokenInfoPerBlockImbalance[i],\n+                                                tokenInfoMaxTotalImbalance[i]);\n+        }\n+    }\n+\n+    function getControlInfoPerToken (uint index) public view returns(ERC20 token, uint _maxPerBlockImbalance, uint _maxTotalImbalance) {\n+        require (tokenInfoTokenList.length > index);\n+        require (tokenInfoPerBlockImbalance.length > index);\n+        require (tokenInfoMaxTotalImbalance.length > index);\n+\n+        return(tokenInfoTokenList[index], tokenInfoPerBlockImbalance[index], tokenInfoMaxTotalImbalance[index]);\n+    }\n+\n+    function getTokenInfoData() public view returns(ERC20[], uint[], uint[]) {\n+        return(tokenInfoTokenList, tokenInfoPerBlockImbalance, tokenInfoMaxTotalImbalance);\n+    }\n+\n+//    function getTokenInfoTokenList() public view returns(ERC20[] tokens) {","path":"contracts/wrapperContracts/WrapConversionRate.sol","position":null,"original_position":162,"commit_id":"3306e00b5b2be5e88cf35659db9c87d49f58ccb8","original_commit_id":"3529c5b0ed4ce1e62cb4aaea4ec215eafe816c0e","user":{"login":"ilanDoron","id":10189189,"avatar_url":"https://avatars2.githubusercontent.com/u/10189189?v=4","gravatar_id":"","url":"https://api.github.com/users/ilanDoron","html_url":"https://github.com/ilanDoron","followers_url":"https://api.github.com/users/ilanDoron/followers","following_url":"https://api.github.com/users/ilanDoron/following{/other_user}","gists_url":"https://api.github.com/users/ilanDoron/gists{/gist_id}","starred_url":"https://api.github.com/users/ilanDoron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilanDoron/subscriptions","organizations_url":"https://api.github.com/users/ilanDoron/orgs","repos_url":"https://api.github.com/users/ilanDoron/repos","events_url":"https://api.github.com/users/ilanDoron/events{/privacy}","received_events_url":"https://api.github.com/users/ilanDoron/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-03-05T19:12:19Z","updated_at":"2018-03-05T19:12:19Z","html_url":"https://github.com/KyberNetwork/smart-contracts/pull/148#discussion_r172295815","pull_request_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/comments/172295815"},"html":{"href":"https://github.com/KyberNetwork/smart-contracts/pull/148#discussion_r172295815"},"pull_request":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148"}},"in_reply_to_id":172224624},"pull_request":{"url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148","id":172883249,"html_url":"https://github.com/KyberNetwork/smart-contracts/pull/148","diff_url":"https://github.com/KyberNetwork/smart-contracts/pull/148.diff","patch_url":"https://github.com/KyberNetwork/smart-contracts/pull/148.patch","issue_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/148","number":148,"state":"open","locked":false,"title":"Ilan/wrap conversion rate","user":{"login":"ilanDoron","id":10189189,"avatar_url":"https://avatars2.githubusercontent.com/u/10189189?v=4","gravatar_id":"","url":"https://api.github.com/users/ilanDoron","html_url":"https://github.com/ilanDoron","followers_url":"https://api.github.com/users/ilanDoron/followers","following_url":"https://api.github.com/users/ilanDoron/following{/other_user}","gists_url":"https://api.github.com/users/ilanDoron/gists{/gist_id}","starred_url":"https://api.github.com/users/ilanDoron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilanDoron/subscriptions","organizations_url":"https://api.github.com/users/ilanDoron/orgs","repos_url":"https://api.github.com/users/ilanDoron/repos","events_url":"https://api.github.com/users/ilanDoron/events{/privacy}","received_events_url":"https://api.github.com/users/ilanDoron/received_events","type":"User","site_admin":false},"body":"here it is...\r\nnotice I need to change conversion rate interface.","created_at":"2018-03-05T14:32:55Z","updated_at":"2018-03-05T19:12:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fb270aa87fa7f1c53cece0af55daabc9e52c71a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148/commits","review_comments_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148/comments","review_comment_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/148/comments","statuses_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/statuses/3306e00b5b2be5e88cf35659db9c87d49f58ccb8","head":{"label":"KyberNetwork:ilan/wrapConversionRate","ref":"ilan/wrapConversionRate","sha":"3306e00b5b2be5e88cf35659db9c87d49f58ccb8","user":{"login":"KyberNetwork","id":28812853,"avatar_url":"https://avatars0.githubusercontent.com/u/28812853?v=4","gravatar_id":"","url":"https://api.github.com/users/KyberNetwork","html_url":"https://github.com/KyberNetwork","followers_url":"https://api.github.com/users/KyberNetwork/followers","following_url":"https://api.github.com/users/KyberNetwork/following{/other_user}","gists_url":"https://api.github.com/users/KyberNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/KyberNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyberNetwork/subscriptions","organizations_url":"https://api.github.com/users/KyberNetwork/orgs","repos_url":"https://api.github.com/users/KyberNetwork/repos","events_url":"https://api.github.com/users/KyberNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/KyberNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":96011647,"name":"smart-contracts","full_name":"KyberNetwork/smart-contracts","owner":{"login":"KyberNetwork","id":28812853,"avatar_url":"https://avatars0.githubusercontent.com/u/28812853?v=4","gravatar_id":"","url":"https://api.github.com/users/KyberNetwork","html_url":"https://github.com/KyberNetwork","followers_url":"https://api.github.com/users/KyberNetwork/followers","following_url":"https://api.github.com/users/KyberNetwork/following{/other_user}","gists_url":"https://api.github.com/users/KyberNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/KyberNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyberNetwork/subscriptions","organizations_url":"https://api.github.com/users/KyberNetwork/orgs","repos_url":"https://api.github.com/users/KyberNetwork/repos","events_url":"https://api.github.com/users/KyberNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/KyberNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KyberNetwork/smart-contracts","description":null,"fork":false,"url":"https://api.github.com/repos/KyberNetwork/smart-contracts","forks_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/forks","keys_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/teams","hooks_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/hooks","issue_events_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/events{/number}","events_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/events","assignees_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/assignees{/user}","branches_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/branches{/branch}","tags_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/tags","blobs_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/languages","stargazers_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/stargazers","contributors_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/contributors","subscribers_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/subscribers","subscription_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/subscription","commits_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/contents/{+path}","compare_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/merges","archive_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/downloads","issues_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues{/number}","pulls_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/labels{/name}","releases_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/releases{/id}","deployments_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/deployments","created_at":"2017-07-02T08:39:01Z","updated_at":"2018-03-05T11:26:07Z","pushed_at":"2018-03-05T19:11:25Z","git_url":"git://github.com/KyberNetwork/smart-contracts.git","ssh_url":"git@github.com:KyberNetwork/smart-contracts.git","clone_url":"https://github.com/KyberNetwork/smart-contracts.git","svn_url":"https://github.com/KyberNetwork/smart-contracts","homepage":null,"size":891,"stargazers_count":69,"watchers_count":69,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":30,"open_issues":11,"watchers":69,"default_branch":"master"}},"base":{"label":"KyberNetwork:develop","ref":"develop","sha":"d7f611dfc33be451c6819b3b28254582ba8805b4","user":{"login":"KyberNetwork","id":28812853,"avatar_url":"https://avatars0.githubusercontent.com/u/28812853?v=4","gravatar_id":"","url":"https://api.github.com/users/KyberNetwork","html_url":"https://github.com/KyberNetwork","followers_url":"https://api.github.com/users/KyberNetwork/followers","following_url":"https://api.github.com/users/KyberNetwork/following{/other_user}","gists_url":"https://api.github.com/users/KyberNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/KyberNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyberNetwork/subscriptions","organizations_url":"https://api.github.com/users/KyberNetwork/orgs","repos_url":"https://api.github.com/users/KyberNetwork/repos","events_url":"https://api.github.com/users/KyberNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/KyberNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":96011647,"name":"smart-contracts","full_name":"KyberNetwork/smart-contracts","owner":{"login":"KyberNetwork","id":28812853,"avatar_url":"https://avatars0.githubusercontent.com/u/28812853?v=4","gravatar_id":"","url":"https://api.github.com/users/KyberNetwork","html_url":"https://github.com/KyberNetwork","followers_url":"https://api.github.com/users/KyberNetwork/followers","following_url":"https://api.github.com/users/KyberNetwork/following{/other_user}","gists_url":"https://api.github.com/users/KyberNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/KyberNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyberNetwork/subscriptions","organizations_url":"https://api.github.com/users/KyberNetwork/orgs","repos_url":"https://api.github.com/users/KyberNetwork/repos","events_url":"https://api.github.com/users/KyberNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/KyberNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KyberNetwork/smart-contracts","description":null,"fork":false,"url":"https://api.github.com/repos/KyberNetwork/smart-contracts","forks_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/forks","keys_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/teams","hooks_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/hooks","issue_events_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/events{/number}","events_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/events","assignees_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/assignees{/user}","branches_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/branches{/branch}","tags_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/tags","blobs_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/languages","stargazers_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/stargazers","contributors_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/contributors","subscribers_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/subscribers","subscription_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/subscription","commits_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/contents/{+path}","compare_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/merges","archive_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/downloads","issues_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues{/number}","pulls_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/labels{/name}","releases_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/releases{/id}","deployments_url":"https://api.github.com/repos/KyberNetwork/smart-contracts/deployments","created_at":"2017-07-02T08:39:01Z","updated_at":"2018-03-05T11:26:07Z","pushed_at":"2018-03-05T19:11:25Z","git_url":"git://github.com/KyberNetwork/smart-contracts.git","ssh_url":"git@github.com:KyberNetwork/smart-contracts.git","clone_url":"https://github.com/KyberNetwork/smart-contracts.git","svn_url":"https://github.com/KyberNetwork/smart-contracts","homepage":null,"size":891,"stargazers_count":69,"watchers_count":69,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":30,"open_issues":11,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148"},"html":{"href":"https://github.com/KyberNetwork/smart-contracts/pull/148"},"issue":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/148"},"comments":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/KyberNetwork/smart-contracts/statuses/3306e00b5b2be5e88cf35659db9c87d49f58ccb8"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ilanDoron"}}