{"action":"created","comment":{"url":"https://api.github.com/repos/AugurProject/augur/pulls/comments/172333307","pull_request_review_id":101322573,"id":172333307,"diff_hunk":"@@ -0,0 +1,28 @@\n+import { augur } from 'services/augurjs'\n+import logError from 'utils/log-error'\n+import noop from 'utils/noop'\n+\n+export const estimateSubmitMarketContribute = (marketId, amount, callback = logError) => (dispatch, getState) => {\n+  const { loginAccount, marketsData } = getState()\n+\n+  const market = marketsData[marketId]","path":"src/modules/reporting/actions/estimate-submit-market-contribute.js","position":8,"original_position":8,"commit_id":"ce95717f5d9578f522e4e6f3683b75702653acde","original_commit_id":"ce95717f5d9578f522e4e6f3683b75702653acde","user":{"login":"justinbarry","id":328965,"avatar_url":"https://avatars1.githubusercontent.com/u/328965?v=4","gravatar_id":"","url":"https://api.github.com/users/justinbarry","html_url":"https://github.com/justinbarry","followers_url":"https://api.github.com/users/justinbarry/followers","following_url":"https://api.github.com/users/justinbarry/following{/other_user}","gists_url":"https://api.github.com/users/justinbarry/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbarry/subscriptions","organizations_url":"https://api.github.com/users/justinbarry/orgs","repos_url":"https://api.github.com/users/justinbarry/repos","events_url":"https://api.github.com/users/justinbarry/events{/privacy}","received_events_url":"https://api.github.com/users/justinbarry/received_events","type":"User","site_admin":false},"body":"Should this make use of a selector? I'm not sure if the answer is yes but might be a worthwhile conversation. \r\n\r\nIt would prevent this action from being directly dependent on the shape of the state.","created_at":"2018-03-05T21:25:13Z","updated_at":"2018-03-05T21:58:28Z","html_url":"https://github.com/AugurProject/augur/pull/1203#discussion_r172333307","pull_request_url":"https://api.github.com/repos/AugurProject/augur/pulls/1203","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AugurProject/augur/pulls/comments/172333307"},"html":{"href":"https://github.com/AugurProject/augur/pull/1203#discussion_r172333307"},"pull_request":{"href":"https://api.github.com/repos/AugurProject/augur/pulls/1203"}}},"pull_request":{"url":"https://api.github.com/repos/AugurProject/augur/pulls/1203","id":172946669,"html_url":"https://github.com/AugurProject/augur/pull/1203","diff_url":"https://github.com/AugurProject/augur/pull/1203.diff","patch_url":"https://github.com/AugurProject/augur/pull/1203.patch","issue_url":"https://api.github.com/repos/AugurProject/augur/issues/1203","number":1203,"state":"open","locked":false,"title":"submit dispute and redirect to reporting dispute page.","user":{"login":"bthaile","id":3970376,"avatar_url":"https://avatars0.githubusercontent.com/u/3970376?v=4","gravatar_id":"","url":"https://api.github.com/users/bthaile","html_url":"https://github.com/bthaile","followers_url":"https://api.github.com/users/bthaile/followers","following_url":"https://api.github.com/users/bthaile/following{/other_user}","gists_url":"https://api.github.com/users/bthaile/gists{/gist_id}","starred_url":"https://api.github.com/users/bthaile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bthaile/subscriptions","organizations_url":"https://api.github.com/users/bthaile/orgs","repos_url":"https://api.github.com/users/bthaile/repos","events_url":"https://api.github.com/users/bthaile/events{/privacy}","received_events_url":"https://api.github.com/users/bthaile/received_events","type":"User","site_admin":false},"body":"[Clubhouse Story](https://app.clubhouse.io/augur/story/6822)\r\n\r\nonly backend call to submit dispute, not wired up. very similar to  submit-initial-report and estimate-submit-initial-report.\r\n\r\n\r\n## Submitter checklist\r\n- [x] Test covering functionality added/fixed in\r\n- Check the linked story includes the following:\r\n  - [ ] Steps to reproduce\r\n  - [ ] Screenshot (If applicable)\r\n\r\n## Reviewer Checklist\r\n- [ ] Test/lint pass \r\n- [ ] Post merge, story marked complete \r\n","created_at":"2018-03-05T18:20:51Z","updated_at":"2018-03-05T21:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ed8e4a168cdc50936a0a74b45ae32f149ef4c99","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AugurProject/augur/pulls/1203/commits","review_comments_url":"https://api.github.com/repos/AugurProject/augur/pulls/1203/comments","review_comment_url":"https://api.github.com/repos/AugurProject/augur/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AugurProject/augur/issues/1203/comments","statuses_url":"https://api.github.com/repos/AugurProject/augur/statuses/ce95717f5d9578f522e4e6f3683b75702653acde","head":{"label":"AugurProject:6822-dispute-redirect","ref":"6822-dispute-redirect","sha":"ce95717f5d9578f522e4e6f3683b75702653acde","user":{"login":"AugurProject","id":9636524,"avatar_url":"https://avatars3.githubusercontent.com/u/9636524?v=4","gravatar_id":"","url":"https://api.github.com/users/AugurProject","html_url":"https://github.com/AugurProject","followers_url":"https://api.github.com/users/AugurProject/followers","following_url":"https://api.github.com/users/AugurProject/following{/other_user}","gists_url":"https://api.github.com/users/AugurProject/gists{/gist_id}","starred_url":"https://api.github.com/users/AugurProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugurProject/subscriptions","organizations_url":"https://api.github.com/users/AugurProject/orgs","repos_url":"https://api.github.com/users/AugurProject/repos","events_url":"https://api.github.com/users/AugurProject/events{/privacy}","received_events_url":"https://api.github.com/users/AugurProject/received_events","type":"Organization","site_admin":false},"repo":{"id":30208175,"name":"augur","full_name":"AugurProject/augur","owner":{"login":"AugurProject","id":9636524,"avatar_url":"https://avatars3.githubusercontent.com/u/9636524?v=4","gravatar_id":"","url":"https://api.github.com/users/AugurProject","html_url":"https://github.com/AugurProject","followers_url":"https://api.github.com/users/AugurProject/followers","following_url":"https://api.github.com/users/AugurProject/following{/other_user}","gists_url":"https://api.github.com/users/AugurProject/gists{/gist_id}","starred_url":"https://api.github.com/users/AugurProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugurProject/subscriptions","organizations_url":"https://api.github.com/users/AugurProject/orgs","repos_url":"https://api.github.com/users/AugurProject/repos","events_url":"https://api.github.com/users/AugurProject/events{/privacy}","received_events_url":"https://api.github.com/users/AugurProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AugurProject/augur","description":"Augur UI","fork":false,"url":"https://api.github.com/repos/AugurProject/augur","forks_url":"https://api.github.com/repos/AugurProject/augur/forks","keys_url":"https://api.github.com/repos/AugurProject/augur/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AugurProject/augur/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AugurProject/augur/teams","hooks_url":"https://api.github.com/repos/AugurProject/augur/hooks","issue_events_url":"https://api.github.com/repos/AugurProject/augur/issues/events{/number}","events_url":"https://api.github.com/repos/AugurProject/augur/events","assignees_url":"https://api.github.com/repos/AugurProject/augur/assignees{/user}","branches_url":"https://api.github.com/repos/AugurProject/augur/branches{/branch}","tags_url":"https://api.github.com/repos/AugurProject/augur/tags","blobs_url":"https://api.github.com/repos/AugurProject/augur/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AugurProject/augur/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AugurProject/augur/git/refs{/sha}","trees_url":"https://api.github.com/repos/AugurProject/augur/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AugurProject/augur/statuses/{sha}","languages_url":"https://api.github.com/repos/AugurProject/augur/languages","stargazers_url":"https://api.github.com/repos/AugurProject/augur/stargazers","contributors_url":"https://api.github.com/repos/AugurProject/augur/contributors","subscribers_url":"https://api.github.com/repos/AugurProject/augur/subscribers","subscription_url":"https://api.github.com/repos/AugurProject/augur/subscription","commits_url":"https://api.github.com/repos/AugurProject/augur/commits{/sha}","git_commits_url":"https://api.github.com/repos/AugurProject/augur/git/commits{/sha}","comments_url":"https://api.github.com/repos/AugurProject/augur/comments{/number}","issue_comment_url":"https://api.github.com/repos/AugurProject/augur/issues/comments{/number}","contents_url":"https://api.github.com/repos/AugurProject/augur/contents/{+path}","compare_url":"https://api.github.com/repos/AugurProject/augur/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AugurProject/augur/merges","archive_url":"https://api.github.com/repos/AugurProject/augur/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AugurProject/augur/downloads","issues_url":"https://api.github.com/repos/AugurProject/augur/issues{/number}","pulls_url":"https://api.github.com/repos/AugurProject/augur/pulls{/number}","milestones_url":"https://api.github.com/repos/AugurProject/augur/milestones{/number}","notifications_url":"https://api.github.com/repos/AugurProject/augur/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AugurProject/augur/labels{/name}","releases_url":"https://api.github.com/repos/AugurProject/augur/releases{/id}","deployments_url":"https://api.github.com/repos/AugurProject/augur/deployments","created_at":"2015-02-02T20:56:19Z","updated_at":"2018-03-04T12:47:17Z","pushed_at":"2018-03-05T20:08:43Z","git_url":"git://github.com/AugurProject/augur.git","ssh_url":"git@github.com:AugurProject/augur.git","clone_url":"https://github.com/AugurProject/augur.git","svn_url":"https://github.com/AugurProject/augur","homepage":"https://dev.augur.net","size":49840,"stargazers_count":328,"watchers_count":328,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":68,"open_issues":5,"watchers":328,"default_branch":"seadragon"}},"base":{"label":"AugurProject:seadragon","ref":"seadragon","sha":"1b593b53a4f19b99689b469fdc4b99d03ab30fe4","user":{"login":"AugurProject","id":9636524,"avatar_url":"https://avatars3.githubusercontent.com/u/9636524?v=4","gravatar_id":"","url":"https://api.github.com/users/AugurProject","html_url":"https://github.com/AugurProject","followers_url":"https://api.github.com/users/AugurProject/followers","following_url":"https://api.github.com/users/AugurProject/following{/other_user}","gists_url":"https://api.github.com/users/AugurProject/gists{/gist_id}","starred_url":"https://api.github.com/users/AugurProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugurProject/subscriptions","organizations_url":"https://api.github.com/users/AugurProject/orgs","repos_url":"https://api.github.com/users/AugurProject/repos","events_url":"https://api.github.com/users/AugurProject/events{/privacy}","received_events_url":"https://api.github.com/users/AugurProject/received_events","type":"Organization","site_admin":false},"repo":{"id":30208175,"name":"augur","full_name":"AugurProject/augur","owner":{"login":"AugurProject","id":9636524,"avatar_url":"https://avatars3.githubusercontent.com/u/9636524?v=4","gravatar_id":"","url":"https://api.github.com/users/AugurProject","html_url":"https://github.com/AugurProject","followers_url":"https://api.github.com/users/AugurProject/followers","following_url":"https://api.github.com/users/AugurProject/following{/other_user}","gists_url":"https://api.github.com/users/AugurProject/gists{/gist_id}","starred_url":"https://api.github.com/users/AugurProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugurProject/subscriptions","organizations_url":"https://api.github.com/users/AugurProject/orgs","repos_url":"https://api.github.com/users/AugurProject/repos","events_url":"https://api.github.com/users/AugurProject/events{/privacy}","received_events_url":"https://api.github.com/users/AugurProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AugurProject/augur","description":"Augur UI","fork":false,"url":"https://api.github.com/repos/AugurProject/augur","forks_url":"https://api.github.com/repos/AugurProject/augur/forks","keys_url":"https://api.github.com/repos/AugurProject/augur/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AugurProject/augur/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AugurProject/augur/teams","hooks_url":"https://api.github.com/repos/AugurProject/augur/hooks","issue_events_url":"https://api.github.com/repos/AugurProject/augur/issues/events{/number}","events_url":"https://api.github.com/repos/AugurProject/augur/events","assignees_url":"https://api.github.com/repos/AugurProject/augur/assignees{/user}","branches_url":"https://api.github.com/repos/AugurProject/augur/branches{/branch}","tags_url":"https://api.github.com/repos/AugurProject/augur/tags","blobs_url":"https://api.github.com/repos/AugurProject/augur/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AugurProject/augur/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AugurProject/augur/git/refs{/sha}","trees_url":"https://api.github.com/repos/AugurProject/augur/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AugurProject/augur/statuses/{sha}","languages_url":"https://api.github.com/repos/AugurProject/augur/languages","stargazers_url":"https://api.github.com/repos/AugurProject/augur/stargazers","contributors_url":"https://api.github.com/repos/AugurProject/augur/contributors","subscribers_url":"https://api.github.com/repos/AugurProject/augur/subscribers","subscription_url":"https://api.github.com/repos/AugurProject/augur/subscription","commits_url":"https://api.github.com/repos/AugurProject/augur/commits{/sha}","git_commits_url":"https://api.github.com/repos/AugurProject/augur/git/commits{/sha}","comments_url":"https://api.github.com/repos/AugurProject/augur/comments{/number}","issue_comment_url":"https://api.github.com/repos/AugurProject/augur/issues/comments{/number}","contents_url":"https://api.github.com/repos/AugurProject/augur/contents/{+path}","compare_url":"https://api.github.com/repos/AugurProject/augur/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AugurProject/augur/merges","archive_url":"https://api.github.com/repos/AugurProject/augur/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AugurProject/augur/downloads","issues_url":"https://api.github.com/repos/AugurProject/augur/issues{/number}","pulls_url":"https://api.github.com/repos/AugurProject/augur/pulls{/number}","milestones_url":"https://api.github.com/repos/AugurProject/augur/milestones{/number}","notifications_url":"https://api.github.com/repos/AugurProject/augur/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AugurProject/augur/labels{/name}","releases_url":"https://api.github.com/repos/AugurProject/augur/releases{/id}","deployments_url":"https://api.github.com/repos/AugurProject/augur/deployments","created_at":"2015-02-02T20:56:19Z","updated_at":"2018-03-04T12:47:17Z","pushed_at":"2018-03-05T20:08:43Z","git_url":"git://github.com/AugurProject/augur.git","ssh_url":"git@github.com:AugurProject/augur.git","clone_url":"https://github.com/AugurProject/augur.git","svn_url":"https://github.com/AugurProject/augur","homepage":"https://dev.augur.net","size":49840,"stargazers_count":328,"watchers_count":328,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":68,"open_issues":5,"watchers":328,"default_branch":"seadragon"}},"_links":{"self":{"href":"https://api.github.com/repos/AugurProject/augur/pulls/1203"},"html":{"href":"https://github.com/AugurProject/augur/pull/1203"},"issue":{"href":"https://api.github.com/repos/AugurProject/augur/issues/1203"},"comments":{"href":"https://api.github.com/repos/AugurProject/augur/issues/1203/comments"},"review_comments":{"href":"https://api.github.com/repos/AugurProject/augur/pulls/1203/comments"},"review_comment":{"href":"https://api.github.com/repos/AugurProject/augur/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AugurProject/augur/pulls/1203/commits"},"statuses":{"href":"https://api.github.com/repos/AugurProject/augur/statuses/ce95717f5d9578f522e4e6f3683b75702653acde"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"justinbarry"}}