{"action":"created","comment":{"url":"https://api.github.com/repos/nos/client/pulls/comments/199358931","pull_request_review_id":133463124,"id":199358931,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTM1ODkzMQ==","diff_hunk":"@@ -134,6 +151,10 @@ export default class AccountTxPanel extends React.Component {\n     this.props.setReceiver(event.target.value);\n   };\n \n+  getAssets = (balances) => {","path":"src/renderer/account/components/SendPanel/SendPanel.js","position":90,"original_position":90,"commit_id":"911d92d2544fed6ed6590662099ebecb41493188","original_commit_id":"911d92d2544fed6ed6590662099ebecb41493188","user":{"login":"mhuggins","id":169093,"node_id":"MDQ6VXNlcjE2OTA5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/169093?v=4","gravatar_id":"","url":"https://api.github.com/users/mhuggins","html_url":"https://github.com/mhuggins","followers_url":"https://api.github.com/users/mhuggins/followers","following_url":"https://api.github.com/users/mhuggins/following{/other_user}","gists_url":"https://api.github.com/users/mhuggins/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuggins/subscriptions","organizations_url":"https://api.github.com/users/mhuggins/orgs","repos_url":"https://api.github.com/users/mhuggins/repos","events_url":"https://api.github.com/users/mhuggins/events{/privacy}","received_events_url":"https://api.github.com/users/mhuggins/received_events","type":"User","site_admin":false},"body":"Since this argument is always `this.props.balances`, I would suggest not passing an arg, and just accessing via `this.props` directly from this function.  i.e.:\r\n\r\n```js\r\ngetAssets = () => {\r\n  return mapValues(keyBy(values(this.props.balances), 'scriptHash'), 'symbol');\r\n}\r\n```","created_at":"2018-07-01T19:35:51Z","updated_at":"2018-07-01T19:57:21Z","html_url":"https://github.com/nos/client/pull/289#discussion_r199358931","pull_request_url":"https://api.github.com/repos/nos/client/pulls/289","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/nos/client/pulls/comments/199358931"},"html":{"href":"https://github.com/nos/client/pull/289#discussion_r199358931"},"pull_request":{"href":"https://api.github.com/repos/nos/client/pulls/289"}}},"pull_request":{"url":"https://api.github.com/repos/nos/client/pulls/289","id":198486991,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDg2OTkx","html_url":"https://github.com/nos/client/pull/289","diff_url":"https://github.com/nos/client/pull/289.diff","patch_url":"https://github.com/nos/client/pull/289.patch","issue_url":"https://api.github.com/repos/nos/client/issues/289","number":289,"state":"open","locked":false,"title":"feat(nep5transfer): ability to transfer NEP-5 tokens","user":{"login":"trueinsider","id":662644,"node_id":"MDQ6VXNlcjY2MjY0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/662644?v=4","gravatar_id":"","url":"https://api.github.com/users/trueinsider","html_url":"https://github.com/trueinsider","followers_url":"https://api.github.com/users/trueinsider/followers","following_url":"https://api.github.com/users/trueinsider/following{/other_user}","gists_url":"https://api.github.com/users/trueinsider/gists{/gist_id}","starred_url":"https://api.github.com/users/trueinsider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueinsider/subscriptions","organizations_url":"https://api.github.com/users/trueinsider/orgs","repos_url":"https://api.github.com/users/trueinsider/repos","events_url":"https://api.github.com/users/trueinsider/events{/privacy}","received_events_url":"https://api.github.com/users/trueinsider/received_events","type":"User","site_admin":false},"body":"## Description\r\nAdd ability to transfer NEP-5 tokens from Account page\r\n\r\n## Motivation and Context\r\nThis is a basic wallet function requested in #12\r\n\r\n## How Has This Been Tested?\r\nTested in client, tokens transferred: https://neotracker.io/tx/d79d2d8cc78b2a87060cc94ecd0beb91011a9cd4f5a554a8929ea2298152ab8e\r\n\r\n## Types of changes\r\n- [ ] Chore (tests, refactors, and fixes)\r\n- [x] New feature (adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)\r\n\r\n## Checklist:\r\n- [x] I have read the **[CONTRIBUTING](./CONTRIBUTING.md)** guidelines and confirm that my code follows the code style of this project.\r\n- [ ] Tests for the changes have been added (for bug fixes / features)\r\n- [ ] Docs have been added / updated (for bug fixes / features)\r\n\r\n## Closing issues\r\ncloses #12\r\n","created_at":"2018-06-30T17:43:42Z","updated_at":"2018-07-01T19:57:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3dbdb116e4f7f76407c93082c78fef2c09df260c","assignee":{"login":"mhuggins","id":169093,"node_id":"MDQ6VXNlcjE2OTA5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/169093?v=4","gravatar_id":"","url":"https://api.github.com/users/mhuggins","html_url":"https://github.com/mhuggins","followers_url":"https://api.github.com/users/mhuggins/followers","following_url":"https://api.github.com/users/mhuggins/following{/other_user}","gists_url":"https://api.github.com/users/mhuggins/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuggins/subscriptions","organizations_url":"https://api.github.com/users/mhuggins/orgs","repos_url":"https://api.github.com/users/mhuggins/repos","events_url":"https://api.github.com/users/mhuggins/events{/privacy}","received_events_url":"https://api.github.com/users/mhuggins/received_events","type":"User","site_admin":false},"assignees":[{"login":"mhuggins","id":169093,"node_id":"MDQ6VXNlcjE2OTA5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/169093?v=4","gravatar_id":"","url":"https://api.github.com/users/mhuggins","html_url":"https://github.com/mhuggins","followers_url":"https://api.github.com/users/mhuggins/followers","following_url":"https://api.github.com/users/mhuggins/following{/other_user}","gists_url":"https://api.github.com/users/mhuggins/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuggins/subscriptions","organizations_url":"https://api.github.com/users/mhuggins/orgs","repos_url":"https://api.github.com/users/mhuggins/repos","events_url":"https://api.github.com/users/mhuggins/events{/privacy}","received_events_url":"https://api.github.com/users/mhuggins/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":934113422,"node_id":"MDU6TGFiZWw5MzQxMTM0MjI=","url":"https://api.github.com/repos/nos/client/labels/PR:%20needs%20review","name":"PR: needs review","color":"1d76db","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nos/client/pulls/289/commits","review_comments_url":"https://api.github.com/repos/nos/client/pulls/289/comments","review_comment_url":"https://api.github.com/repos/nos/client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nos/client/issues/289/comments","statuses_url":"https://api.github.com/repos/nos/client/statuses/911d92d2544fed6ed6590662099ebecb41493188","head":{"label":"trueinsider:feat/nep5transfer","ref":"feat/nep5transfer","sha":"911d92d2544fed6ed6590662099ebecb41493188","user":{"login":"trueinsider","id":662644,"node_id":"MDQ6VXNlcjY2MjY0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/662644?v=4","gravatar_id":"","url":"https://api.github.com/users/trueinsider","html_url":"https://github.com/trueinsider","followers_url":"https://api.github.com/users/trueinsider/followers","following_url":"https://api.github.com/users/trueinsider/following{/other_user}","gists_url":"https://api.github.com/users/trueinsider/gists{/gist_id}","starred_url":"https://api.github.com/users/trueinsider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueinsider/subscriptions","organizations_url":"https://api.github.com/users/trueinsider/orgs","repos_url":"https://api.github.com/users/trueinsider/repos","events_url":"https://api.github.com/users/trueinsider/events{/privacy}","received_events_url":"https://api.github.com/users/trueinsider/received_events","type":"User","site_admin":false},"repo":{"id":137631982,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc2MzE5ODI=","name":"client","full_name":"trueinsider/client","owner":{"login":"trueinsider","id":662644,"node_id":"MDQ6VXNlcjY2MjY0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/662644?v=4","gravatar_id":"","url":"https://api.github.com/users/trueinsider","html_url":"https://github.com/trueinsider","followers_url":"https://api.github.com/users/trueinsider/followers","following_url":"https://api.github.com/users/trueinsider/following{/other_user}","gists_url":"https://api.github.com/users/trueinsider/gists{/gist_id}","starred_url":"https://api.github.com/users/trueinsider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueinsider/subscriptions","organizations_url":"https://api.github.com/users/trueinsider/orgs","repos_url":"https://api.github.com/users/trueinsider/repos","events_url":"https://api.github.com/users/trueinsider/events{/privacy}","received_events_url":"https://api.github.com/users/trueinsider/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trueinsider/client","description":"The nOS Client","fork":true,"url":"https://api.github.com/repos/trueinsider/client","forks_url":"https://api.github.com/repos/trueinsider/client/forks","keys_url":"https://api.github.com/repos/trueinsider/client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trueinsider/client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trueinsider/client/teams","hooks_url":"https://api.github.com/repos/trueinsider/client/hooks","issue_events_url":"https://api.github.com/repos/trueinsider/client/issues/events{/number}","events_url":"https://api.github.com/repos/trueinsider/client/events","assignees_url":"https://api.github.com/repos/trueinsider/client/assignees{/user}","branches_url":"https://api.github.com/repos/trueinsider/client/branches{/branch}","tags_url":"https://api.github.com/repos/trueinsider/client/tags","blobs_url":"https://api.github.com/repos/trueinsider/client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trueinsider/client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trueinsider/client/git/refs{/sha}","trees_url":"https://api.github.com/repos/trueinsider/client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trueinsider/client/statuses/{sha}","languages_url":"https://api.github.com/repos/trueinsider/client/languages","stargazers_url":"https://api.github.com/repos/trueinsider/client/stargazers","contributors_url":"https://api.github.com/repos/trueinsider/client/contributors","subscribers_url":"https://api.github.com/repos/trueinsider/client/subscribers","subscription_url":"https://api.github.com/repos/trueinsider/client/subscription","commits_url":"https://api.github.com/repos/trueinsider/client/commits{/sha}","git_commits_url":"https://api.github.com/repos/trueinsider/client/git/commits{/sha}","comments_url":"https://api.github.com/repos/trueinsider/client/comments{/number}","issue_comment_url":"https://api.github.com/repos/trueinsider/client/issues/comments{/number}","contents_url":"https://api.github.com/repos/trueinsider/client/contents/{+path}","compare_url":"https://api.github.com/repos/trueinsider/client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trueinsider/client/merges","archive_url":"https://api.github.com/repos/trueinsider/client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trueinsider/client/downloads","issues_url":"https://api.github.com/repos/trueinsider/client/issues{/number}","pulls_url":"https://api.github.com/repos/trueinsider/client/pulls{/number}","milestones_url":"https://api.github.com/repos/trueinsider/client/milestones{/number}","notifications_url":"https://api.github.com/repos/trueinsider/client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trueinsider/client/labels{/name}","releases_url":"https://api.github.com/repos/trueinsider/client/releases{/id}","deployments_url":"https://api.github.com/repos/trueinsider/client/deployments","created_at":"2018-06-17T05:45:48Z","updated_at":"2018-06-28T22:41:01Z","pushed_at":"2018-07-01T19:30:25Z","git_url":"git://github.com/trueinsider/client.git","ssh_url":"git@github.com:trueinsider/client.git","clone_url":"https://github.com/trueinsider/client.git","svn_url":"https://github.com/trueinsider/client","homepage":"https://nos.io","size":2601,"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":1,"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":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"nos:develop","ref":"develop","sha":"eb66db812512d6a545bdf246a50e77301f1f7235","user":{"login":"nos","id":36414779,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDE0Nzc5","avatar_url":"https://avatars3.githubusercontent.com/u/36414779?v=4","gravatar_id":"","url":"https://api.github.com/users/nos","html_url":"https://github.com/nos","followers_url":"https://api.github.com/users/nos/followers","following_url":"https://api.github.com/users/nos/following{/other_user}","gists_url":"https://api.github.com/users/nos/gists{/gist_id}","starred_url":"https://api.github.com/users/nos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nos/subscriptions","organizations_url":"https://api.github.com/users/nos/orgs","repos_url":"https://api.github.com/users/nos/repos","events_url":"https://api.github.com/users/nos/events{/privacy}","received_events_url":"https://api.github.com/users/nos/received_events","type":"Organization","site_admin":false},"repo":{"id":121267259,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEyNjcyNTk=","name":"client","full_name":"nos/client","owner":{"login":"nos","id":36414779,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDE0Nzc5","avatar_url":"https://avatars3.githubusercontent.com/u/36414779?v=4","gravatar_id":"","url":"https://api.github.com/users/nos","html_url":"https://github.com/nos","followers_url":"https://api.github.com/users/nos/followers","following_url":"https://api.github.com/users/nos/following{/other_user}","gists_url":"https://api.github.com/users/nos/gists{/gist_id}","starred_url":"https://api.github.com/users/nos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nos/subscriptions","organizations_url":"https://api.github.com/users/nos/orgs","repos_url":"https://api.github.com/users/nos/repos","events_url":"https://api.github.com/users/nos/events{/privacy}","received_events_url":"https://api.github.com/users/nos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nos/client","description":"The nOS Client","fork":false,"url":"https://api.github.com/repos/nos/client","forks_url":"https://api.github.com/repos/nos/client/forks","keys_url":"https://api.github.com/repos/nos/client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nos/client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nos/client/teams","hooks_url":"https://api.github.com/repos/nos/client/hooks","issue_events_url":"https://api.github.com/repos/nos/client/issues/events{/number}","events_url":"https://api.github.com/repos/nos/client/events","assignees_url":"https://api.github.com/repos/nos/client/assignees{/user}","branches_url":"https://api.github.com/repos/nos/client/branches{/branch}","tags_url":"https://api.github.com/repos/nos/client/tags","blobs_url":"https://api.github.com/repos/nos/client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nos/client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nos/client/git/refs{/sha}","trees_url":"https://api.github.com/repos/nos/client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nos/client/statuses/{sha}","languages_url":"https://api.github.com/repos/nos/client/languages","stargazers_url":"https://api.github.com/repos/nos/client/stargazers","contributors_url":"https://api.github.com/repos/nos/client/contributors","subscribers_url":"https://api.github.com/repos/nos/client/subscribers","subscription_url":"https://api.github.com/repos/nos/client/subscription","commits_url":"https://api.github.com/repos/nos/client/commits{/sha}","git_commits_url":"https://api.github.com/repos/nos/client/git/commits{/sha}","comments_url":"https://api.github.com/repos/nos/client/comments{/number}","issue_comment_url":"https://api.github.com/repos/nos/client/issues/comments{/number}","contents_url":"https://api.github.com/repos/nos/client/contents/{+path}","compare_url":"https://api.github.com/repos/nos/client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nos/client/merges","archive_url":"https://api.github.com/repos/nos/client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nos/client/downloads","issues_url":"https://api.github.com/repos/nos/client/issues{/number}","pulls_url":"https://api.github.com/repos/nos/client/pulls{/number}","milestones_url":"https://api.github.com/repos/nos/client/milestones{/number}","notifications_url":"https://api.github.com/repos/nos/client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nos/client/labels{/name}","releases_url":"https://api.github.com/repos/nos/client/releases{/id}","deployments_url":"https://api.github.com/repos/nos/client/deployments","created_at":"2018-02-12T15:54:37Z","updated_at":"2018-07-01T19:28:22Z","pushed_at":"2018-07-01T19:30:26Z","git_url":"git://github.com/nos/client.git","ssh_url":"git@github.com:nos/client.git","clone_url":"https://github.com/nos/client.git","svn_url":"https://github.com/nos/client","homepage":"https://nos.io","size":2534,"stargazers_count":148,"watchers_count":148,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":66,"open_issues":35,"watchers":148,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/nos/client/pulls/289"},"html":{"href":"https://github.com/nos/client/pull/289"},"issue":{"href":"https://api.github.com/repos/nos/client/issues/289"},"comments":{"href":"https://api.github.com/repos/nos/client/issues/289/comments"},"review_comments":{"href":"https://api.github.com/repos/nos/client/pulls/289/comments"},"review_comment":{"href":"https://api.github.com/repos/nos/client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nos/client/pulls/289/commits"},"statuses":{"href":"https://api.github.com/repos/nos/client/statuses/911d92d2544fed6ed6590662099ebecb41493188"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mhuggins"}}