{"action":"opened","number":1187,"pull_request":{"url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/1187","id":207640424,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NjQwNDI0","html_url":"https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1187","diff_url":"https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1187.diff","patch_url":"https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1187.patch","issue_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues/1187","number":1187,"state":"open","locked":false,"title":"feat: use require in SafeMath","user":{"login":"sohkai","id":4166642,"node_id":"MDQ6VXNlcjQxNjY2NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4166642?v=4","gravatar_id":"","url":"https://api.github.com/users/sohkai","html_url":"https://github.com/sohkai","followers_url":"https://api.github.com/users/sohkai/followers","following_url":"https://api.github.com/users/sohkai/following{/other_user}","gists_url":"https://api.github.com/users/sohkai/gists{/gist_id}","starred_url":"https://api.github.com/users/sohkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sohkai/subscriptions","organizations_url":"https://api.github.com/users/sohkai/orgs","repos_url":"https://api.github.com/users/sohkai/repos","events_url":"https://api.github.com/users/sohkai/events{/privacy}","received_events_url":"https://api.github.com/users/sohkai/received_events","type":"User","site_admin":false},"body":"Following #1121 and #1120, changes `SafeMath` to use `revert`s instead of `assert`s.\r\n\r\n- [x] 📘 I've reviewed the [OpenZeppelin Contributor Guidelines](../blob/master/CONTRIBUTING.md)\r\n- [x] ✅ I've added tests where applicable to test my new functionality.\r\n- [x] 📖 I've made sure that my contracts are well-documented.\r\n- [x] 🎨 I've run the JS/Solidity linters and fixed any issues (`npm run lint:all:fix`).\r\n","created_at":"2018-08-10T15:05:41Z","updated_at":"2018-08-10T15:05:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/1187/commits","review_comments_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/1187/comments","review_comment_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues/1187/comments","statuses_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/statuses/d1b2036cad58a9955a63100611525fda5983b364","head":{"label":"sohkai:safemath-require","ref":"safemath-require","sha":"d1b2036cad58a9955a63100611525fda5983b364","user":{"login":"sohkai","id":4166642,"node_id":"MDQ6VXNlcjQxNjY2NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4166642?v=4","gravatar_id":"","url":"https://api.github.com/users/sohkai","html_url":"https://github.com/sohkai","followers_url":"https://api.github.com/users/sohkai/followers","following_url":"https://api.github.com/users/sohkai/following{/other_user}","gists_url":"https://api.github.com/users/sohkai/gists{/gist_id}","starred_url":"https://api.github.com/users/sohkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sohkai/subscriptions","organizations_url":"https://api.github.com/users/sohkai/orgs","repos_url":"https://api.github.com/users/sohkai/repos","events_url":"https://api.github.com/users/sohkai/events{/privacy}","received_events_url":"https://api.github.com/users/sohkai/received_events","type":"User","site_admin":false},"repo":{"id":105490881,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU0OTA4ODE=","name":"openzeppelin-solidity","full_name":"sohkai/openzeppelin-solidity","owner":{"login":"sohkai","id":4166642,"node_id":"MDQ6VXNlcjQxNjY2NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4166642?v=4","gravatar_id":"","url":"https://api.github.com/users/sohkai","html_url":"https://github.com/sohkai","followers_url":"https://api.github.com/users/sohkai/followers","following_url":"https://api.github.com/users/sohkai/following{/other_user}","gists_url":"https://api.github.com/users/sohkai/gists{/gist_id}","starred_url":"https://api.github.com/users/sohkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sohkai/subscriptions","organizations_url":"https://api.github.com/users/sohkai/orgs","repos_url":"https://api.github.com/users/sohkai/repos","events_url":"https://api.github.com/users/sohkai/events{/privacy}","received_events_url":"https://api.github.com/users/sohkai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sohkai/openzeppelin-solidity","description":"OpenZeppelin, a framework to build secure smart contracts on Ethereum","fork":true,"url":"https://api.github.com/repos/sohkai/openzeppelin-solidity","forks_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/forks","keys_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/teams","hooks_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/hooks","issue_events_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/issues/events{/number}","events_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/events","assignees_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/assignees{/user}","branches_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/branches{/branch}","tags_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/tags","blobs_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/git/refs{/sha}","trees_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/statuses/{sha}","languages_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/languages","stargazers_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/stargazers","contributors_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/contributors","subscribers_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/subscribers","subscription_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/subscription","commits_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/commits{/sha}","git_commits_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/git/commits{/sha}","comments_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/comments{/number}","issue_comment_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/issues/comments{/number}","contents_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/contents/{+path}","compare_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/merges","archive_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/downloads","issues_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/issues{/number}","pulls_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/pulls{/number}","milestones_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/milestones{/number}","notifications_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/labels{/name}","releases_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/releases{/id}","deployments_url":"https://api.github.com/repos/sohkai/openzeppelin-solidity/deployments","created_at":"2017-10-02T02:25:40Z","updated_at":"2018-08-10T14:47:24Z","pushed_at":"2018-08-10T15:00:05Z","git_url":"git://github.com/sohkai/openzeppelin-solidity.git","ssh_url":"git@github.com:sohkai/openzeppelin-solidity.git","clone_url":"https://github.com/sohkai/openzeppelin-solidity.git","svn_url":"https://github.com/sohkai/openzeppelin-solidity","homepage":"https://openzeppelin.org","size":1951,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenZeppelin:master","ref":"master","sha":"6dab31288e1376dba9c0723fea2af076ae10a7e1","user":{"login":"OpenZeppelin","id":20820676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODIwNjc2","avatar_url":"https://avatars3.githubusercontent.com/u/20820676?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenZeppelin","html_url":"https://github.com/OpenZeppelin","followers_url":"https://api.github.com/users/OpenZeppelin/followers","following_url":"https://api.github.com/users/OpenZeppelin/following{/other_user}","gists_url":"https://api.github.com/users/OpenZeppelin/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenZeppelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenZeppelin/subscriptions","organizations_url":"https://api.github.com/users/OpenZeppelin/orgs","repos_url":"https://api.github.com/users/OpenZeppelin/repos","events_url":"https://api.github.com/users/OpenZeppelin/events{/privacy}","received_events_url":"https://api.github.com/users/OpenZeppelin/received_events","type":"Organization","site_admin":false},"repo":{"id":64700934,"node_id":"MDEwOlJlcG9zaXRvcnk2NDcwMDkzNA==","name":"openzeppelin-solidity","full_name":"OpenZeppelin/openzeppelin-solidity","owner":{"login":"OpenZeppelin","id":20820676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODIwNjc2","avatar_url":"https://avatars3.githubusercontent.com/u/20820676?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenZeppelin","html_url":"https://github.com/OpenZeppelin","followers_url":"https://api.github.com/users/OpenZeppelin/followers","following_url":"https://api.github.com/users/OpenZeppelin/following{/other_user}","gists_url":"https://api.github.com/users/OpenZeppelin/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenZeppelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenZeppelin/subscriptions","organizations_url":"https://api.github.com/users/OpenZeppelin/orgs","repos_url":"https://api.github.com/users/OpenZeppelin/repos","events_url":"https://api.github.com/users/OpenZeppelin/events{/privacy}","received_events_url":"https://api.github.com/users/OpenZeppelin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenZeppelin/openzeppelin-solidity","description":"OpenZeppelin, a framework to build secure smart contracts on Ethereum","fork":false,"url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity","forks_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/forks","keys_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/teams","hooks_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/hooks","issue_events_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues/events{/number}","events_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/events","assignees_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/assignees{/user}","branches_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/branches{/branch}","tags_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/tags","blobs_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/languages","stargazers_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/stargazers","contributors_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/contributors","subscribers_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/subscribers","subscription_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/subscription","commits_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/contents/{+path}","compare_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/merges","archive_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/downloads","issues_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues{/number}","pulls_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/labels{/name}","releases_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/releases{/id}","deployments_url":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/deployments","created_at":"2016-08-01T20:54:54Z","updated_at":"2018-08-10T13:06:04Z","pushed_at":"2018-08-10T14:30:55Z","git_url":"git://github.com/OpenZeppelin/openzeppelin-solidity.git","ssh_url":"git@github.com:OpenZeppelin/openzeppelin-solidity.git","clone_url":"https://github.com/OpenZeppelin/openzeppelin-solidity.git","svn_url":"https://github.com/OpenZeppelin/openzeppelin-solidity","homepage":"https://openzeppelin.org","size":2047,"stargazers_count":5597,"watchers_count":5597,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1863,"mirror_url":null,"archived":false,"open_issues_count":189,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1863,"open_issues":189,"watchers":5597,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/1187"},"html":{"href":"https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1187"},"issue":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues/1187"},"comments":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/issues/1187/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/1187/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/pulls/1187/commits"},"statuses":{"href":"https://api.github.com/repos/OpenZeppelin/openzeppelin-solidity/statuses/d1b2036cad58a9955a63100611525fda5983b364"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":18,"deletions":18,"changed_files":2}}
{"actor":{"display_login":"sohkai"}}