{"action":"created","comment":{"url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/comments/206672029","pull_request_review_id":142131098,"id":206672029,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjY3MjAyOQ==","diff_hunk":"@@ -135,11 +135,11 @@ contract BasicCommodity is UnstructuredOwnable, EIP820Implementer, ICommodity {\n   }\n \n   function getTotalSupply() public view returns (uint256) {\n-    return commodities.length - 1;\n+    return commodities.length.sub(1);","path":"contracts/commodity/BasicCommodity.sol","position":26,"original_position":26,"commit_id":"6609da4671fcc8bdebccf9f351a0bd7d0779dd8f","original_commit_id":"a722d1ef284beab6791f11a5d694fe55a441d4dd","user":{"login":"farmanrl","id":17738708,"node_id":"MDQ6VXNlcjE3NzM4NzA4","avatar_url":"https://avatars2.githubusercontent.com/u/17738708?v=4","gravatar_id":"","url":"https://api.github.com/users/farmanrl","html_url":"https://github.com/farmanrl","followers_url":"https://api.github.com/users/farmanrl/followers","following_url":"https://api.github.com/users/farmanrl/following{/other_user}","gists_url":"https://api.github.com/users/farmanrl/gists{/gist_id}","starred_url":"https://api.github.com/users/farmanrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farmanrl/subscriptions","organizations_url":"https://api.github.com/users/farmanrl/orgs","repos_url":"https://api.github.com/users/farmanrl/repos","events_url":"https://api.github.com/users/farmanrl/events{/privacy}","received_events_url":"https://api.github.com/users/farmanrl/received_events","type":"User","site_admin":false},"body":"Sure, I'll push that in another commit","created_at":"2018-07-31T20:27:22Z","updated_at":"2018-07-31T20:27:23Z","html_url":"https://github.com/nori-dot-eco/contracts/pull/64#discussion_r206672029","pull_request_url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/comments/206672029"},"html":{"href":"https://github.com/nori-dot-eco/contracts/pull/64#discussion_r206672029"},"pull_request":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64"}},"in_reply_to_id":206670456},"pull_request":{"url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64","id":205217832,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MjE3ODMy","html_url":"https://github.com/nori-dot-eco/contracts/pull/64","diff_url":"https://github.com/nori-dot-eco/contracts/pull/64.diff","patch_url":"https://github.com/nori-dot-eco/contracts/pull/64.patch","issue_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues/64","number":64,"state":"open","locked":false,"title":"Use safemath for all arithmetic","user":{"login":"farmanrl","id":17738708,"node_id":"MDQ6VXNlcjE3NzM4NzA4","avatar_url":"https://avatars2.githubusercontent.com/u/17738708?v=4","gravatar_id":"","url":"https://api.github.com/users/farmanrl","html_url":"https://github.com/farmanrl","followers_url":"https://api.github.com/users/farmanrl/followers","following_url":"https://api.github.com/users/farmanrl/following{/other_user}","gists_url":"https://api.github.com/users/farmanrl/gists{/gist_id}","starred_url":"https://api.github.com/users/farmanrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farmanrl/subscriptions","organizations_url":"https://api.github.com/users/farmanrl/orgs","repos_url":"https://api.github.com/users/farmanrl/repos","events_url":"https://api.github.com/users/farmanrl/events{/privacy}","received_events_url":"https://api.github.com/users/farmanrl/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-31T19:29:24Z","updated_at":"2018-07-31T20:27:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e9e4b5299330ce7b5549a7f5ff6f06d7f36b24b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64/commits","review_comments_url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64/comments","review_comment_url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues/64/comments","statuses_url":"https://api.github.com/repos/nori-dot-eco/contracts/statuses/6609da4671fcc8bdebccf9f351a0bd7d0779dd8f","head":{"label":"nori-dot-eco:farmanrl-contracts","ref":"farmanrl-contracts","sha":"6609da4671fcc8bdebccf9f351a0bd7d0779dd8f","user":{"login":"nori-dot-eco","id":33469574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDY5NTc0","avatar_url":"https://avatars1.githubusercontent.com/u/33469574?v=4","gravatar_id":"","url":"https://api.github.com/users/nori-dot-eco","html_url":"https://github.com/nori-dot-eco","followers_url":"https://api.github.com/users/nori-dot-eco/followers","following_url":"https://api.github.com/users/nori-dot-eco/following{/other_user}","gists_url":"https://api.github.com/users/nori-dot-eco/gists{/gist_id}","starred_url":"https://api.github.com/users/nori-dot-eco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nori-dot-eco/subscriptions","organizations_url":"https://api.github.com/users/nori-dot-eco/orgs","repos_url":"https://api.github.com/users/nori-dot-eco/repos","events_url":"https://api.github.com/users/nori-dot-eco/events{/privacy}","received_events_url":"https://api.github.com/users/nori-dot-eco/received_events","type":"Organization","site_admin":false},"repo":{"id":138190130,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgxOTAxMzA=","name":"contracts","full_name":"nori-dot-eco/contracts","owner":{"login":"nori-dot-eco","id":33469574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDY5NTc0","avatar_url":"https://avatars1.githubusercontent.com/u/33469574?v=4","gravatar_id":"","url":"https://api.github.com/users/nori-dot-eco","html_url":"https://github.com/nori-dot-eco","followers_url":"https://api.github.com/users/nori-dot-eco/followers","following_url":"https://api.github.com/users/nori-dot-eco/following{/other_user}","gists_url":"https://api.github.com/users/nori-dot-eco/gists{/gist_id}","starred_url":"https://api.github.com/users/nori-dot-eco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nori-dot-eco/subscriptions","organizations_url":"https://api.github.com/users/nori-dot-eco/orgs","repos_url":"https://api.github.com/users/nori-dot-eco/repos","events_url":"https://api.github.com/users/nori-dot-eco/events{/privacy}","received_events_url":"https://api.github.com/users/nori-dot-eco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nori-dot-eco/contracts","description":"The ethereum smart contracts that power nori.com","fork":false,"url":"https://api.github.com/repos/nori-dot-eco/contracts","forks_url":"https://api.github.com/repos/nori-dot-eco/contracts/forks","keys_url":"https://api.github.com/repos/nori-dot-eco/contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nori-dot-eco/contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nori-dot-eco/contracts/teams","hooks_url":"https://api.github.com/repos/nori-dot-eco/contracts/hooks","issue_events_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues/events{/number}","events_url":"https://api.github.com/repos/nori-dot-eco/contracts/events","assignees_url":"https://api.github.com/repos/nori-dot-eco/contracts/assignees{/user}","branches_url":"https://api.github.com/repos/nori-dot-eco/contracts/branches{/branch}","tags_url":"https://api.github.com/repos/nori-dot-eco/contracts/tags","blobs_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nori-dot-eco/contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/nori-dot-eco/contracts/languages","stargazers_url":"https://api.github.com/repos/nori-dot-eco/contracts/stargazers","contributors_url":"https://api.github.com/repos/nori-dot-eco/contracts/contributors","subscribers_url":"https://api.github.com/repos/nori-dot-eco/contracts/subscribers","subscription_url":"https://api.github.com/repos/nori-dot-eco/contracts/subscription","commits_url":"https://api.github.com/repos/nori-dot-eco/contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/nori-dot-eco/contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/nori-dot-eco/contracts/contents/{+path}","compare_url":"https://api.github.com/repos/nori-dot-eco/contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nori-dot-eco/contracts/merges","archive_url":"https://api.github.com/repos/nori-dot-eco/contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nori-dot-eco/contracts/downloads","issues_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues{/number}","pulls_url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/nori-dot-eco/contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/nori-dot-eco/contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nori-dot-eco/contracts/labels{/name}","releases_url":"https://api.github.com/repos/nori-dot-eco/contracts/releases{/id}","deployments_url":"https://api.github.com/repos/nori-dot-eco/contracts/deployments","created_at":"2018-06-21T15:37:55Z","updated_at":"2018-07-25T16:56:28Z","pushed_at":"2018-07-31T20:22:15Z","git_url":"git://github.com/nori-dot-eco/contracts.git","ssh_url":"git@github.com:nori-dot-eco/contracts.git","clone_url":"https://github.com/nori-dot-eco/contracts.git","svn_url":"https://github.com/nori-dot-eco/contracts","homepage":null,"size":412,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"nori-dot-eco:master","ref":"master","sha":"6279a2002deca3cf75735b375a66128cf95e8003","user":{"login":"nori-dot-eco","id":33469574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDY5NTc0","avatar_url":"https://avatars1.githubusercontent.com/u/33469574?v=4","gravatar_id":"","url":"https://api.github.com/users/nori-dot-eco","html_url":"https://github.com/nori-dot-eco","followers_url":"https://api.github.com/users/nori-dot-eco/followers","following_url":"https://api.github.com/users/nori-dot-eco/following{/other_user}","gists_url":"https://api.github.com/users/nori-dot-eco/gists{/gist_id}","starred_url":"https://api.github.com/users/nori-dot-eco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nori-dot-eco/subscriptions","organizations_url":"https://api.github.com/users/nori-dot-eco/orgs","repos_url":"https://api.github.com/users/nori-dot-eco/repos","events_url":"https://api.github.com/users/nori-dot-eco/events{/privacy}","received_events_url":"https://api.github.com/users/nori-dot-eco/received_events","type":"Organization","site_admin":false},"repo":{"id":138190130,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgxOTAxMzA=","name":"contracts","full_name":"nori-dot-eco/contracts","owner":{"login":"nori-dot-eco","id":33469574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDY5NTc0","avatar_url":"https://avatars1.githubusercontent.com/u/33469574?v=4","gravatar_id":"","url":"https://api.github.com/users/nori-dot-eco","html_url":"https://github.com/nori-dot-eco","followers_url":"https://api.github.com/users/nori-dot-eco/followers","following_url":"https://api.github.com/users/nori-dot-eco/following{/other_user}","gists_url":"https://api.github.com/users/nori-dot-eco/gists{/gist_id}","starred_url":"https://api.github.com/users/nori-dot-eco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nori-dot-eco/subscriptions","organizations_url":"https://api.github.com/users/nori-dot-eco/orgs","repos_url":"https://api.github.com/users/nori-dot-eco/repos","events_url":"https://api.github.com/users/nori-dot-eco/events{/privacy}","received_events_url":"https://api.github.com/users/nori-dot-eco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nori-dot-eco/contracts","description":"The ethereum smart contracts that power nori.com","fork":false,"url":"https://api.github.com/repos/nori-dot-eco/contracts","forks_url":"https://api.github.com/repos/nori-dot-eco/contracts/forks","keys_url":"https://api.github.com/repos/nori-dot-eco/contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nori-dot-eco/contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nori-dot-eco/contracts/teams","hooks_url":"https://api.github.com/repos/nori-dot-eco/contracts/hooks","issue_events_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues/events{/number}","events_url":"https://api.github.com/repos/nori-dot-eco/contracts/events","assignees_url":"https://api.github.com/repos/nori-dot-eco/contracts/assignees{/user}","branches_url":"https://api.github.com/repos/nori-dot-eco/contracts/branches{/branch}","tags_url":"https://api.github.com/repos/nori-dot-eco/contracts/tags","blobs_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nori-dot-eco/contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/nori-dot-eco/contracts/languages","stargazers_url":"https://api.github.com/repos/nori-dot-eco/contracts/stargazers","contributors_url":"https://api.github.com/repos/nori-dot-eco/contracts/contributors","subscribers_url":"https://api.github.com/repos/nori-dot-eco/contracts/subscribers","subscription_url":"https://api.github.com/repos/nori-dot-eco/contracts/subscription","commits_url":"https://api.github.com/repos/nori-dot-eco/contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/nori-dot-eco/contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/nori-dot-eco/contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/nori-dot-eco/contracts/contents/{+path}","compare_url":"https://api.github.com/repos/nori-dot-eco/contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nori-dot-eco/contracts/merges","archive_url":"https://api.github.com/repos/nori-dot-eco/contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nori-dot-eco/contracts/downloads","issues_url":"https://api.github.com/repos/nori-dot-eco/contracts/issues{/number}","pulls_url":"https://api.github.com/repos/nori-dot-eco/contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/nori-dot-eco/contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/nori-dot-eco/contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nori-dot-eco/contracts/labels{/name}","releases_url":"https://api.github.com/repos/nori-dot-eco/contracts/releases{/id}","deployments_url":"https://api.github.com/repos/nori-dot-eco/contracts/deployments","created_at":"2018-06-21T15:37:55Z","updated_at":"2018-07-25T16:56:28Z","pushed_at":"2018-07-31T20:22:15Z","git_url":"git://github.com/nori-dot-eco/contracts.git","ssh_url":"git@github.com:nori-dot-eco/contracts.git","clone_url":"https://github.com/nori-dot-eco/contracts.git","svn_url":"https://github.com/nori-dot-eco/contracts","homepage":null,"size":412,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64"},"html":{"href":"https://github.com/nori-dot-eco/contracts/pull/64"},"issue":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/issues/64"},"comments":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/nori-dot-eco/contracts/statuses/6609da4671fcc8bdebccf9f351a0bd7d0779dd8f"}},"author_association":"NONE"}}
{"actor":{"display_login":"farmanrl"}}