{"action":"created","comment":{"url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/comments/157350639","pull_request_review_id":83983466,"id":157350639,"diff_hunk":"@@ -0,0 +1,200 @@\n+import * as BigNumber from \"bignumber.js\";\n+import * as moment from \"moment\";\n+import { Moment } from \"moment/moment\";\n+import * as React from \"react\";\n+import { Alert, Col, Row } from \"react-bootstrap\";\n+import { connect, Dispatch } from \"react-redux\";\n+import { loadAftermathDetails } from \"../actions/aftermathActions\";\n+import { TokenType } from \"../actions/constants\";\n+import { LoadingIndicator } from \"../components/LoadingIndicator\";\n+import MoneyComponent from \"../components/MoneyComponent\";\n+import { TextCopyable } from \"../components/TextCopyable\";\n+import { selectLoading, selectUnlockDateEth } from \"../reducers/aftermathState\";\n+import { IAppState } from \"../reducers/index\";\n+import { etherLock, etherToken, neumark } from \"../web3/contracts/ContractsRepository\";\n+\n+import { calculateValueAfterPenalty } from \"../web3/utils\";\n+import * as styles from \"./Aftermath.scss\";\n+\n+const GAS_LIMIT = 600000;\n+\n+interface IUnlockEtherContainerProps {\n+  params: { address: string };\n+  loadAftermathDetails: (address: string) => any;\n+  isLoading: boolean;\n+  lockedAmountEth: string;\n+  neumarkBalance: string;\n+  neumarkNeededToUnlockEth: string;\n+  unlockDateEth: Moment;\n+  penaltyFractionEth: string;\n+}\n+\n+class UnlockEtherContainer extends React.Component<IUnlockEtherContainerProps> {\n+  public componentDidMount() {\n+    this.props.loadAftermathDetails(this.props.params.address);\n+  }\n+\n+  public render() {\n+    if (this.props.isLoading) {\n+      return <LoadingIndicator />;\n+    }\n+\n+    return (\n+      <div>\n+        <h1>Unlock your funds</h1>\n+        <p>You can unlock your funds anytime you want.</p>","path":"app/containers/UnlockEtherContainer.tsx","position":45,"original_position":45,"commit_id":"1ac6dc49f05c2fa417f2de897e6f038f9f5fda37","original_commit_id":"1ac6dc49f05c2fa417f2de897e6f038f9f5fda37","user":{"login":"rudolfix","id":17202864,"avatar_url":"https://avatars2.githubusercontent.com/u/17202864?v=4","gravatar_id":"","url":"https://api.github.com/users/rudolfix","html_url":"https://github.com/rudolfix","followers_url":"https://api.github.com/users/rudolfix/followers","following_url":"https://api.github.com/users/rudolfix/following{/other_user}","gists_url":"https://api.github.com/users/rudolfix/gists{/gist_id}","starred_url":"https://api.github.com/users/rudolfix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudolfix/subscriptions","organizations_url":"https://api.github.com/users/rudolfix/orgs","repos_url":"https://api.github.com/users/rudolfix/repos","events_url":"https://api.github.com/users/rudolfix/events{/privacy}","received_events_url":"https://api.github.com/users/rudolfix/received_events","type":"User","site_admin":false},"body":"remove paragraph","created_at":"2017-12-16T20:39:30Z","updated_at":"2017-12-16T21:01:07Z","html_url":"https://github.com/Neufund/commit.neufund.org/pull/354#discussion_r157350639","pull_request_url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/comments/157350639"},"html":{"href":"https://github.com/Neufund/commit.neufund.org/pull/354#discussion_r157350639"},"pull_request":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354"}}},"pull_request":{"url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354","id":158758329,"html_url":"https://github.com/Neufund/commit.neufund.org/pull/354","diff_url":"https://github.com/Neufund/commit.neufund.org/pull/354.diff","patch_url":"https://github.com/Neufund/commit.neufund.org/pull/354.patch","issue_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/354","number":354,"state":"closed","locked":false,"title":"Unlock funds feature","user":{"login":"krzkaczor","id":1814312,"avatar_url":"https://avatars2.githubusercontent.com/u/1814312?v=4","gravatar_id":"","url":"https://api.github.com/users/krzkaczor","html_url":"https://github.com/krzkaczor","followers_url":"https://api.github.com/users/krzkaczor/followers","following_url":"https://api.github.com/users/krzkaczor/following{/other_user}","gists_url":"https://api.github.com/users/krzkaczor/gists{/gist_id}","starred_url":"https://api.github.com/users/krzkaczor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzkaczor/subscriptions","organizations_url":"https://api.github.com/users/krzkaczor/orgs","repos_url":"https://api.github.com/users/krzkaczor/repos","events_url":"https://api.github.com/users/krzkaczor/events{/privacy}","received_events_url":"https://api.github.com/users/krzkaczor/received_events","type":"User","site_admin":false},"body":"![image](https://user-images.githubusercontent.com/1814312/34073940-a129853e-e2a5-11e7-8e30-e36b3947673e.png)\r\n","created_at":"2017-12-16T20:05:37Z","updated_at":"2017-12-16T21:01:07Z","closed_at":"2017-12-16T20:20:37Z","merged_at":"2017-12-16T20:20:37Z","merge_commit_sha":"b23c76648baf8c790a8ffe2c721c2541bf3c876e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"banciur","id":5120930,"avatar_url":"https://avatars0.githubusercontent.com/u/5120930?v=4","gravatar_id":"","url":"https://api.github.com/users/banciur","html_url":"https://github.com/banciur","followers_url":"https://api.github.com/users/banciur/followers","following_url":"https://api.github.com/users/banciur/following{/other_user}","gists_url":"https://api.github.com/users/banciur/gists{/gist_id}","starred_url":"https://api.github.com/users/banciur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banciur/subscriptions","organizations_url":"https://api.github.com/users/banciur/orgs","repos_url":"https://api.github.com/users/banciur/repos","events_url":"https://api.github.com/users/banciur/events{/privacy}","received_events_url":"https://api.github.com/users/banciur/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354/commits","review_comments_url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354/comments","review_comment_url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/354/comments","statuses_url":"https://api.github.com/repos/Neufund/commit.neufund.org/statuses/1ac6dc49f05c2fa417f2de897e6f038f9f5fda37","head":{"label":"Neufund:kk/unlock-funds-feature","ref":"kk/unlock-funds-feature","sha":"1ac6dc49f05c2fa417f2de897e6f038f9f5fda37","user":{"login":"Neufund","id":25393169,"avatar_url":"https://avatars2.githubusercontent.com/u/25393169?v=4","gravatar_id":"","url":"https://api.github.com/users/Neufund","html_url":"https://github.com/Neufund","followers_url":"https://api.github.com/users/Neufund/followers","following_url":"https://api.github.com/users/Neufund/following{/other_user}","gists_url":"https://api.github.com/users/Neufund/gists{/gist_id}","starred_url":"https://api.github.com/users/Neufund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neufund/subscriptions","organizations_url":"https://api.github.com/users/Neufund/orgs","repos_url":"https://api.github.com/users/Neufund/repos","events_url":"https://api.github.com/users/Neufund/events{/privacy}","received_events_url":"https://api.github.com/users/Neufund/received_events","type":"Organization","site_admin":false},"repo":{"id":100007562,"name":"commit.neufund.org","full_name":"Neufund/commit.neufund.org","owner":{"login":"Neufund","id":25393169,"avatar_url":"https://avatars2.githubusercontent.com/u/25393169?v=4","gravatar_id":"","url":"https://api.github.com/users/Neufund","html_url":"https://github.com/Neufund","followers_url":"https://api.github.com/users/Neufund/followers","following_url":"https://api.github.com/users/Neufund/following{/other_user}","gists_url":"https://api.github.com/users/Neufund/gists{/gist_id}","starred_url":"https://api.github.com/users/Neufund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neufund/subscriptions","organizations_url":"https://api.github.com/users/Neufund/orgs","repos_url":"https://api.github.com/users/Neufund/repos","events_url":"https://api.github.com/users/Neufund/events{/privacy}","received_events_url":"https://api.github.com/users/Neufund/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Neufund/commit.neufund.org","description":null,"fork":false,"url":"https://api.github.com/repos/Neufund/commit.neufund.org","forks_url":"https://api.github.com/repos/Neufund/commit.neufund.org/forks","keys_url":"https://api.github.com/repos/Neufund/commit.neufund.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Neufund/commit.neufund.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Neufund/commit.neufund.org/teams","hooks_url":"https://api.github.com/repos/Neufund/commit.neufund.org/hooks","issue_events_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/events{/number}","events_url":"https://api.github.com/repos/Neufund/commit.neufund.org/events","assignees_url":"https://api.github.com/repos/Neufund/commit.neufund.org/assignees{/user}","branches_url":"https://api.github.com/repos/Neufund/commit.neufund.org/branches{/branch}","tags_url":"https://api.github.com/repos/Neufund/commit.neufund.org/tags","blobs_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Neufund/commit.neufund.org/statuses/{sha}","languages_url":"https://api.github.com/repos/Neufund/commit.neufund.org/languages","stargazers_url":"https://api.github.com/repos/Neufund/commit.neufund.org/stargazers","contributors_url":"https://api.github.com/repos/Neufund/commit.neufund.org/contributors","subscribers_url":"https://api.github.com/repos/Neufund/commit.neufund.org/subscribers","subscription_url":"https://api.github.com/repos/Neufund/commit.neufund.org/subscription","commits_url":"https://api.github.com/repos/Neufund/commit.neufund.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/Neufund/commit.neufund.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/Neufund/commit.neufund.org/contents/{+path}","compare_url":"https://api.github.com/repos/Neufund/commit.neufund.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Neufund/commit.neufund.org/merges","archive_url":"https://api.github.com/repos/Neufund/commit.neufund.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Neufund/commit.neufund.org/downloads","issues_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues{/number}","pulls_url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls{/number}","milestones_url":"https://api.github.com/repos/Neufund/commit.neufund.org/milestones{/number}","notifications_url":"https://api.github.com/repos/Neufund/commit.neufund.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Neufund/commit.neufund.org/labels{/name}","releases_url":"https://api.github.com/repos/Neufund/commit.neufund.org/releases{/id}","deployments_url":"https://api.github.com/repos/Neufund/commit.neufund.org/deployments","created_at":"2017-08-11T07:58:24Z","updated_at":"2017-09-14T08:38:46Z","pushed_at":"2017-12-16T20:20:37Z","git_url":"git://github.com/Neufund/commit.neufund.org.git","ssh_url":"git@github.com:Neufund/commit.neufund.org.git","clone_url":"https://github.com/Neufund/commit.neufund.org.git","svn_url":"https://github.com/Neufund/commit.neufund.org","homepage":null,"size":57683,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Neufund:master","ref":"master","sha":"b01bed64aa16ba1018a3ab14d185586c7a9499b9","user":{"login":"Neufund","id":25393169,"avatar_url":"https://avatars2.githubusercontent.com/u/25393169?v=4","gravatar_id":"","url":"https://api.github.com/users/Neufund","html_url":"https://github.com/Neufund","followers_url":"https://api.github.com/users/Neufund/followers","following_url":"https://api.github.com/users/Neufund/following{/other_user}","gists_url":"https://api.github.com/users/Neufund/gists{/gist_id}","starred_url":"https://api.github.com/users/Neufund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neufund/subscriptions","organizations_url":"https://api.github.com/users/Neufund/orgs","repos_url":"https://api.github.com/users/Neufund/repos","events_url":"https://api.github.com/users/Neufund/events{/privacy}","received_events_url":"https://api.github.com/users/Neufund/received_events","type":"Organization","site_admin":false},"repo":{"id":100007562,"name":"commit.neufund.org","full_name":"Neufund/commit.neufund.org","owner":{"login":"Neufund","id":25393169,"avatar_url":"https://avatars2.githubusercontent.com/u/25393169?v=4","gravatar_id":"","url":"https://api.github.com/users/Neufund","html_url":"https://github.com/Neufund","followers_url":"https://api.github.com/users/Neufund/followers","following_url":"https://api.github.com/users/Neufund/following{/other_user}","gists_url":"https://api.github.com/users/Neufund/gists{/gist_id}","starred_url":"https://api.github.com/users/Neufund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neufund/subscriptions","organizations_url":"https://api.github.com/users/Neufund/orgs","repos_url":"https://api.github.com/users/Neufund/repos","events_url":"https://api.github.com/users/Neufund/events{/privacy}","received_events_url":"https://api.github.com/users/Neufund/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Neufund/commit.neufund.org","description":null,"fork":false,"url":"https://api.github.com/repos/Neufund/commit.neufund.org","forks_url":"https://api.github.com/repos/Neufund/commit.neufund.org/forks","keys_url":"https://api.github.com/repos/Neufund/commit.neufund.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Neufund/commit.neufund.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Neufund/commit.neufund.org/teams","hooks_url":"https://api.github.com/repos/Neufund/commit.neufund.org/hooks","issue_events_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/events{/number}","events_url":"https://api.github.com/repos/Neufund/commit.neufund.org/events","assignees_url":"https://api.github.com/repos/Neufund/commit.neufund.org/assignees{/user}","branches_url":"https://api.github.com/repos/Neufund/commit.neufund.org/branches{/branch}","tags_url":"https://api.github.com/repos/Neufund/commit.neufund.org/tags","blobs_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Neufund/commit.neufund.org/statuses/{sha}","languages_url":"https://api.github.com/repos/Neufund/commit.neufund.org/languages","stargazers_url":"https://api.github.com/repos/Neufund/commit.neufund.org/stargazers","contributors_url":"https://api.github.com/repos/Neufund/commit.neufund.org/contributors","subscribers_url":"https://api.github.com/repos/Neufund/commit.neufund.org/subscribers","subscription_url":"https://api.github.com/repos/Neufund/commit.neufund.org/subscription","commits_url":"https://api.github.com/repos/Neufund/commit.neufund.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/Neufund/commit.neufund.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/Neufund/commit.neufund.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/Neufund/commit.neufund.org/contents/{+path}","compare_url":"https://api.github.com/repos/Neufund/commit.neufund.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Neufund/commit.neufund.org/merges","archive_url":"https://api.github.com/repos/Neufund/commit.neufund.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Neufund/commit.neufund.org/downloads","issues_url":"https://api.github.com/repos/Neufund/commit.neufund.org/issues{/number}","pulls_url":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls{/number}","milestones_url":"https://api.github.com/repos/Neufund/commit.neufund.org/milestones{/number}","notifications_url":"https://api.github.com/repos/Neufund/commit.neufund.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Neufund/commit.neufund.org/labels{/name}","releases_url":"https://api.github.com/repos/Neufund/commit.neufund.org/releases{/id}","deployments_url":"https://api.github.com/repos/Neufund/commit.neufund.org/deployments","created_at":"2017-08-11T07:58:24Z","updated_at":"2017-09-14T08:38:46Z","pushed_at":"2017-12-16T20:20:37Z","git_url":"git://github.com/Neufund/commit.neufund.org.git","ssh_url":"git@github.com:Neufund/commit.neufund.org.git","clone_url":"https://github.com/Neufund/commit.neufund.org.git","svn_url":"https://github.com/Neufund/commit.neufund.org","homepage":null,"size":57683,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354"},"html":{"href":"https://github.com/Neufund/commit.neufund.org/pull/354"},"issue":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/354"},"comments":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/issues/354/comments"},"review_comments":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354/comments"},"review_comment":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/pulls/354/commits"},"statuses":{"href":"https://api.github.com/repos/Neufund/commit.neufund.org/statuses/1ac6dc49f05c2fa417f2de897e6f038f9f5fda37"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rudolfix"}}