{"action":"created","comment":{"url":"https://api.github.com/repos/gnosis/pm-js/pulls/comments/239154142","pull_request_review_id":181868491,"id":239154142,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTE1NDE0Mg==","diff_hunk":"@@ -220,9 +222,9 @@ class Gnosis {\n              */\n             (async () => {\n                 if(await utils.promisify(this.web3.version.getNetwork)() == 1) {\n-                    this.etherToken = this.contracts.EtherToken.at('0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2')\n+                    this.etherToken = this.contracts.WETH9.at(weth9MainnetAddress)","path":"src/index.js","position":21,"original_position":21,"commit_id":"6d71d2746c58de0702024224eb741af53e17375c","original_commit_id":"6d71d2746c58de0702024224eb741af53e17375c","user":{"login":"cag","id":298447,"node_id":"MDQ6VXNlcjI5ODQ0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/298447?v=4","gravatar_id":"","url":"https://api.github.com/users/cag","html_url":"https://github.com/cag","followers_url":"https://api.github.com/users/cag/followers","following_url":"https://api.github.com/users/cag/following{/other_user}","gists_url":"https://api.github.com/users/cag/gists{/gist_id}","starred_url":"https://api.github.com/users/cag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cag/subscriptions","organizations_url":"https://api.github.com/users/cag/orgs","repos_url":"https://api.github.com/users/cag/repos","events_url":"https://api.github.com/users/cag/events{/privacy}","received_events_url":"https://api.github.com/users/cag/received_events","type":"User","site_admin":false},"body":"If using canonical-weth package, can skip this check as the correct address is written in the artifact.","created_at":"2018-12-05T17:04:27Z","updated_at":"2018-12-05T17:08:56Z","html_url":"https://github.com/gnosis/pm-js/pull/130#discussion_r239154142","pull_request_url":"https://api.github.com/repos/gnosis/pm-js/pulls/130","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/gnosis/pm-js/pulls/comments/239154142"},"html":{"href":"https://github.com/gnosis/pm-js/pull/130#discussion_r239154142"},"pull_request":{"href":"https://api.github.com/repos/gnosis/pm-js/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/gnosis/pm-js/pulls/130","id":236127851,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MTI3ODUx","html_url":"https://github.com/gnosis/pm-js/pull/130","diff_url":"https://github.com/gnosis/pm-js/pull/130.diff","patch_url":"https://github.com/gnosis/pm-js/pull/130.patch","issue_url":"https://api.github.com/repos/gnosis/pm-js/issues/130","number":130,"state":"open","locked":false,"title":"Feature/dev 100 adapt contracts 2.0","user":{"login":"giacomolicari","id":4820738,"node_id":"MDQ6VXNlcjQ4MjA3Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/4820738?v=4","gravatar_id":"","url":"https://api.github.com/users/giacomolicari","html_url":"https://github.com/giacomolicari","followers_url":"https://api.github.com/users/giacomolicari/followers","following_url":"https://api.github.com/users/giacomolicari/following{/other_user}","gists_url":"https://api.github.com/users/giacomolicari/gists{/gist_id}","starred_url":"https://api.github.com/users/giacomolicari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giacomolicari/subscriptions","organizations_url":"https://api.github.com/users/giacomolicari/orgs","repos_url":"https://api.github.com/users/giacomolicari/repos","events_url":"https://api.github.com/users/giacomolicari/events{/privacy}","received_events_url":"https://api.github.com/users/giacomolicari/received_events","type":"User","site_admin":false},"body":"- Switch pm-contracts to v1.2.0\r\n- Use truffle-nice-tools on network-reset (previously using scripts/inject_network_info)\r\n- Use WETH9 instead of EtherToken","created_at":"2018-12-05T10:50:09Z","updated_at":"2018-12-05T17:08:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"033de4d1a38c93d0762dd37e04d87c73577c304a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gnosis/pm-js/pulls/130/commits","review_comments_url":"https://api.github.com/repos/gnosis/pm-js/pulls/130/comments","review_comment_url":"https://api.github.com/repos/gnosis/pm-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gnosis/pm-js/issues/130/comments","statuses_url":"https://api.github.com/repos/gnosis/pm-js/statuses/6d71d2746c58de0702024224eb741af53e17375c","head":{"label":"giacomolicari:feature/DEV-100-adapt-contracts-2.0","ref":"feature/DEV-100-adapt-contracts-2.0","sha":"6d71d2746c58de0702024224eb741af53e17375c","user":{"login":"giacomolicari","id":4820738,"node_id":"MDQ6VXNlcjQ4MjA3Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/4820738?v=4","gravatar_id":"","url":"https://api.github.com/users/giacomolicari","html_url":"https://github.com/giacomolicari","followers_url":"https://api.github.com/users/giacomolicari/followers","following_url":"https://api.github.com/users/giacomolicari/following{/other_user}","gists_url":"https://api.github.com/users/giacomolicari/gists{/gist_id}","starred_url":"https://api.github.com/users/giacomolicari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giacomolicari/subscriptions","organizations_url":"https://api.github.com/users/giacomolicari/orgs","repos_url":"https://api.github.com/users/giacomolicari/repos","events_url":"https://api.github.com/users/giacomolicari/events{/privacy}","received_events_url":"https://api.github.com/users/giacomolicari/received_events","type":"User","site_admin":false},"repo":{"id":156381028,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYzODEwMjg=","name":"pm-js","full_name":"giacomolicari/pm-js","private":false,"owner":{"login":"giacomolicari","id":4820738,"node_id":"MDQ6VXNlcjQ4MjA3Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/4820738?v=4","gravatar_id":"","url":"https://api.github.com/users/giacomolicari","html_url":"https://github.com/giacomolicari","followers_url":"https://api.github.com/users/giacomolicari/followers","following_url":"https://api.github.com/users/giacomolicari/following{/other_user}","gists_url":"https://api.github.com/users/giacomolicari/gists{/gist_id}","starred_url":"https://api.github.com/users/giacomolicari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giacomolicari/subscriptions","organizations_url":"https://api.github.com/users/giacomolicari/orgs","repos_url":"https://api.github.com/users/giacomolicari/repos","events_url":"https://api.github.com/users/giacomolicari/events{/privacy}","received_events_url":"https://api.github.com/users/giacomolicari/received_events","type":"User","site_admin":false},"html_url":"https://github.com/giacomolicari/pm-js","description":"Gnosis JavaScript Library","fork":true,"url":"https://api.github.com/repos/giacomolicari/pm-js","forks_url":"https://api.github.com/repos/giacomolicari/pm-js/forks","keys_url":"https://api.github.com/repos/giacomolicari/pm-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giacomolicari/pm-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giacomolicari/pm-js/teams","hooks_url":"https://api.github.com/repos/giacomolicari/pm-js/hooks","issue_events_url":"https://api.github.com/repos/giacomolicari/pm-js/issues/events{/number}","events_url":"https://api.github.com/repos/giacomolicari/pm-js/events","assignees_url":"https://api.github.com/repos/giacomolicari/pm-js/assignees{/user}","branches_url":"https://api.github.com/repos/giacomolicari/pm-js/branches{/branch}","tags_url":"https://api.github.com/repos/giacomolicari/pm-js/tags","blobs_url":"https://api.github.com/repos/giacomolicari/pm-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giacomolicari/pm-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giacomolicari/pm-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/giacomolicari/pm-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giacomolicari/pm-js/statuses/{sha}","languages_url":"https://api.github.com/repos/giacomolicari/pm-js/languages","stargazers_url":"https://api.github.com/repos/giacomolicari/pm-js/stargazers","contributors_url":"https://api.github.com/repos/giacomolicari/pm-js/contributors","subscribers_url":"https://api.github.com/repos/giacomolicari/pm-js/subscribers","subscription_url":"https://api.github.com/repos/giacomolicari/pm-js/subscription","commits_url":"https://api.github.com/repos/giacomolicari/pm-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/giacomolicari/pm-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/giacomolicari/pm-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/giacomolicari/pm-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/giacomolicari/pm-js/contents/{+path}","compare_url":"https://api.github.com/repos/giacomolicari/pm-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giacomolicari/pm-js/merges","archive_url":"https://api.github.com/repos/giacomolicari/pm-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giacomolicari/pm-js/downloads","issues_url":"https://api.github.com/repos/giacomolicari/pm-js/issues{/number}","pulls_url":"https://api.github.com/repos/giacomolicari/pm-js/pulls{/number}","milestones_url":"https://api.github.com/repos/giacomolicari/pm-js/milestones{/number}","notifications_url":"https://api.github.com/repos/giacomolicari/pm-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giacomolicari/pm-js/labels{/name}","releases_url":"https://api.github.com/repos/giacomolicari/pm-js/releases{/id}","deployments_url":"https://api.github.com/repos/giacomolicari/pm-js/deployments","created_at":"2018-11-06T12:33:42Z","updated_at":"2018-12-04T14:49:15Z","pushed_at":"2018-12-05T10:48:36Z","git_url":"git://github.com/giacomolicari/pm-js.git","ssh_url":"git@github.com:giacomolicari/pm-js.git","clone_url":"https://github.com/giacomolicari/pm-js.git","svn_url":"https://github.com/giacomolicari/pm-js","homepage":"","size":6758,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"gnosis:master","ref":"master","sha":"6c5f0d741bf21f2f2b13d385442cdf4810e861de","user":{"login":"gnosis","id":24954468,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTU0NDY4","avatar_url":"https://avatars1.githubusercontent.com/u/24954468?v=4","gravatar_id":"","url":"https://api.github.com/users/gnosis","html_url":"https://github.com/gnosis","followers_url":"https://api.github.com/users/gnosis/followers","following_url":"https://api.github.com/users/gnosis/following{/other_user}","gists_url":"https://api.github.com/users/gnosis/gists{/gist_id}","starred_url":"https://api.github.com/users/gnosis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnosis/subscriptions","organizations_url":"https://api.github.com/users/gnosis/orgs","repos_url":"https://api.github.com/users/gnosis/repos","events_url":"https://api.github.com/users/gnosis/events{/privacy}","received_events_url":"https://api.github.com/users/gnosis/received_events","type":"Organization","site_admin":false},"repo":{"id":91806949,"node_id":"MDEwOlJlcG9zaXRvcnk5MTgwNjk0OQ==","name":"pm-js","full_name":"gnosis/pm-js","private":false,"owner":{"login":"gnosis","id":24954468,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTU0NDY4","avatar_url":"https://avatars1.githubusercontent.com/u/24954468?v=4","gravatar_id":"","url":"https://api.github.com/users/gnosis","html_url":"https://github.com/gnosis","followers_url":"https://api.github.com/users/gnosis/followers","following_url":"https://api.github.com/users/gnosis/following{/other_user}","gists_url":"https://api.github.com/users/gnosis/gists{/gist_id}","starred_url":"https://api.github.com/users/gnosis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnosis/subscriptions","organizations_url":"https://api.github.com/users/gnosis/orgs","repos_url":"https://api.github.com/users/gnosis/repos","events_url":"https://api.github.com/users/gnosis/events{/privacy}","received_events_url":"https://api.github.com/users/gnosis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gnosis/pm-js","description":"Gnosis Prediction Markets JavaScript Library","fork":false,"url":"https://api.github.com/repos/gnosis/pm-js","forks_url":"https://api.github.com/repos/gnosis/pm-js/forks","keys_url":"https://api.github.com/repos/gnosis/pm-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnosis/pm-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnosis/pm-js/teams","hooks_url":"https://api.github.com/repos/gnosis/pm-js/hooks","issue_events_url":"https://api.github.com/repos/gnosis/pm-js/issues/events{/number}","events_url":"https://api.github.com/repos/gnosis/pm-js/events","assignees_url":"https://api.github.com/repos/gnosis/pm-js/assignees{/user}","branches_url":"https://api.github.com/repos/gnosis/pm-js/branches{/branch}","tags_url":"https://api.github.com/repos/gnosis/pm-js/tags","blobs_url":"https://api.github.com/repos/gnosis/pm-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnosis/pm-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnosis/pm-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnosis/pm-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnosis/pm-js/statuses/{sha}","languages_url":"https://api.github.com/repos/gnosis/pm-js/languages","stargazers_url":"https://api.github.com/repos/gnosis/pm-js/stargazers","contributors_url":"https://api.github.com/repos/gnosis/pm-js/contributors","subscribers_url":"https://api.github.com/repos/gnosis/pm-js/subscribers","subscription_url":"https://api.github.com/repos/gnosis/pm-js/subscription","commits_url":"https://api.github.com/repos/gnosis/pm-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnosis/pm-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnosis/pm-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnosis/pm-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnosis/pm-js/contents/{+path}","compare_url":"https://api.github.com/repos/gnosis/pm-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnosis/pm-js/merges","archive_url":"https://api.github.com/repos/gnosis/pm-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnosis/pm-js/downloads","issues_url":"https://api.github.com/repos/gnosis/pm-js/issues{/number}","pulls_url":"https://api.github.com/repos/gnosis/pm-js/pulls{/number}","milestones_url":"https://api.github.com/repos/gnosis/pm-js/milestones{/number}","notifications_url":"https://api.github.com/repos/gnosis/pm-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnosis/pm-js/labels{/name}","releases_url":"https://api.github.com/repos/gnosis/pm-js/releases{/id}","deployments_url":"https://api.github.com/repos/gnosis/pm-js/deployments","created_at":"2017-05-19T13:08:51Z","updated_at":"2018-12-04T09:29:18Z","pushed_at":"2018-12-05T10:50:10Z","git_url":"git://github.com/gnosis/pm-js.git","ssh_url":"git@github.com:gnosis/pm-js.git","clone_url":"https://github.com/gnosis/pm-js.git","svn_url":"https://github.com/gnosis/pm-js","homepage":"","size":4023,"stargazers_count":55,"watchers_count":55,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":19,"open_issues":6,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gnosis/pm-js/pulls/130"},"html":{"href":"https://github.com/gnosis/pm-js/pull/130"},"issue":{"href":"https://api.github.com/repos/gnosis/pm-js/issues/130"},"comments":{"href":"https://api.github.com/repos/gnosis/pm-js/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/gnosis/pm-js/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/gnosis/pm-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gnosis/pm-js/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/gnosis/pm-js/statuses/6d71d2746c58de0702024224eb741af53e17375c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"cag"}}