{"action":"opened","number":1777,"pull_request":{"url":"https://api.github.com/repos/rubykube/peatio/pulls/1777","id":225349870,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MzQ5ODcw","html_url":"https://github.com/rubykube/peatio/pull/1777","diff_url":"https://github.com/rubykube/peatio/pull/1777.diff","patch_url":"https://github.com/rubykube/peatio/pull/1777.patch","issue_url":"https://api.github.com/repos/rubykube/peatio/issues/1777","number":1777,"state":"open","locked":false,"title":"Rework Peatio accounting using double entry accounting system ","user":{"login":"ysv","id":19859122,"node_id":"MDQ6VXNlcjE5ODU5MTIy","avatar_url":"https://avatars1.githubusercontent.com/u/19859122?v=4","gravatar_id":"","url":"https://api.github.com/users/ysv","html_url":"https://github.com/ysv","followers_url":"https://api.github.com/users/ysv/followers","following_url":"https://api.github.com/users/ysv/following{/other_user}","gists_url":"https://api.github.com/users/ysv/gists{/gist_id}","starred_url":"https://api.github.com/users/ysv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysv/subscriptions","organizations_url":"https://api.github.com/users/ysv/orgs","repos_url":"https://api.github.com/users/ysv/repos","events_url":"https://api.github.com/users/ysv/events{/privacy}","received_events_url":"https://api.github.com/users/ysv/received_events","type":"User","site_admin":false},"body":"* account has_many operations\r\n* operations belongs_to account\r\n* account_id as a foreign key","created_at":"2018-10-24T10:34:20Z","updated_at":"2018-10-24T10:34:20Z","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/rubykube/peatio/pulls/1777/commits","review_comments_url":"https://api.github.com/repos/rubykube/peatio/pulls/1777/comments","review_comment_url":"https://api.github.com/repos/rubykube/peatio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubykube/peatio/issues/1777/comments","statuses_url":"https://api.github.com/repos/rubykube/peatio/statuses/3768abd9a9992342d891a8d4e938705f6fd20481","head":{"label":"rubykube:feature/accounting","ref":"feature/accounting","sha":"3768abd9a9992342d891a8d4e938705f6fd20481","user":{"login":"rubykube","id":29372474,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzcyNDc0","avatar_url":"https://avatars2.githubusercontent.com/u/29372474?v=4","gravatar_id":"","url":"https://api.github.com/users/rubykube","html_url":"https://github.com/rubykube","followers_url":"https://api.github.com/users/rubykube/followers","following_url":"https://api.github.com/users/rubykube/following{/other_user}","gists_url":"https://api.github.com/users/rubykube/gists{/gist_id}","starred_url":"https://api.github.com/users/rubykube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubykube/subscriptions","organizations_url":"https://api.github.com/users/rubykube/orgs","repos_url":"https://api.github.com/users/rubykube/repos","events_url":"https://api.github.com/users/rubykube/events{/privacy}","received_events_url":"https://api.github.com/users/rubykube/received_events","type":"Organization","site_admin":false},"repo":{"id":103532367,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM1MzIzNjc=","name":"peatio","full_name":"rubykube/peatio","private":false,"owner":{"login":"rubykube","id":29372474,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzcyNDc0","avatar_url":"https://avatars2.githubusercontent.com/u/29372474?v=4","gravatar_id":"","url":"https://api.github.com/users/rubykube","html_url":"https://github.com/rubykube","followers_url":"https://api.github.com/users/rubykube/followers","following_url":"https://api.github.com/users/rubykube/following{/other_user}","gists_url":"https://api.github.com/users/rubykube/gists{/gist_id}","starred_url":"https://api.github.com/users/rubykube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubykube/subscriptions","organizations_url":"https://api.github.com/users/rubykube/orgs","repos_url":"https://api.github.com/users/rubykube/repos","events_url":"https://api.github.com/users/rubykube/events{/privacy}","received_events_url":"https://api.github.com/users/rubykube/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rubykube/peatio","description":"An open-source Crypto-Currency exchange.","fork":true,"url":"https://api.github.com/repos/rubykube/peatio","forks_url":"https://api.github.com/repos/rubykube/peatio/forks","keys_url":"https://api.github.com/repos/rubykube/peatio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubykube/peatio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubykube/peatio/teams","hooks_url":"https://api.github.com/repos/rubykube/peatio/hooks","issue_events_url":"https://api.github.com/repos/rubykube/peatio/issues/events{/number}","events_url":"https://api.github.com/repos/rubykube/peatio/events","assignees_url":"https://api.github.com/repos/rubykube/peatio/assignees{/user}","branches_url":"https://api.github.com/repos/rubykube/peatio/branches{/branch}","tags_url":"https://api.github.com/repos/rubykube/peatio/tags","blobs_url":"https://api.github.com/repos/rubykube/peatio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubykube/peatio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubykube/peatio/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubykube/peatio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubykube/peatio/statuses/{sha}","languages_url":"https://api.github.com/repos/rubykube/peatio/languages","stargazers_url":"https://api.github.com/repos/rubykube/peatio/stargazers","contributors_url":"https://api.github.com/repos/rubykube/peatio/contributors","subscribers_url":"https://api.github.com/repos/rubykube/peatio/subscribers","subscription_url":"https://api.github.com/repos/rubykube/peatio/subscription","commits_url":"https://api.github.com/repos/rubykube/peatio/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubykube/peatio/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubykube/peatio/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubykube/peatio/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubykube/peatio/contents/{+path}","compare_url":"https://api.github.com/repos/rubykube/peatio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubykube/peatio/merges","archive_url":"https://api.github.com/repos/rubykube/peatio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubykube/peatio/downloads","issues_url":"https://api.github.com/repos/rubykube/peatio/issues{/number}","pulls_url":"https://api.github.com/repos/rubykube/peatio/pulls{/number}","milestones_url":"https://api.github.com/repos/rubykube/peatio/milestones{/number}","notifications_url":"https://api.github.com/repos/rubykube/peatio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubykube/peatio/labels{/name}","releases_url":"https://api.github.com/repos/rubykube/peatio/releases{/id}","deployments_url":"https://api.github.com/repos/rubykube/peatio/deployments","created_at":"2017-09-14T12:57:42Z","updated_at":"2018-10-23T12:47:14Z","pushed_at":"2018-10-24T10:31:04Z","git_url":"git://github.com/rubykube/peatio.git","ssh_url":"git@github.com:rubykube/peatio.git","clone_url":"https://github.com/rubykube/peatio.git","svn_url":"https://github.com/rubykube/peatio","homepage":"https://www.peatio.tech","size":8763,"stargazers_count":394,"watchers_count":394,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":261,"mirror_url":null,"archived":false,"open_issues_count":82,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":261,"open_issues":82,"watchers":394,"default_branch":"master"}},"base":{"label":"rubykube:master","ref":"master","sha":"6d23b10bce0c2cc41b966419d859c985aafd6cc4","user":{"login":"rubykube","id":29372474,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzcyNDc0","avatar_url":"https://avatars2.githubusercontent.com/u/29372474?v=4","gravatar_id":"","url":"https://api.github.com/users/rubykube","html_url":"https://github.com/rubykube","followers_url":"https://api.github.com/users/rubykube/followers","following_url":"https://api.github.com/users/rubykube/following{/other_user}","gists_url":"https://api.github.com/users/rubykube/gists{/gist_id}","starred_url":"https://api.github.com/users/rubykube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubykube/subscriptions","organizations_url":"https://api.github.com/users/rubykube/orgs","repos_url":"https://api.github.com/users/rubykube/repos","events_url":"https://api.github.com/users/rubykube/events{/privacy}","received_events_url":"https://api.github.com/users/rubykube/received_events","type":"Organization","site_admin":false},"repo":{"id":103532367,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM1MzIzNjc=","name":"peatio","full_name":"rubykube/peatio","private":false,"owner":{"login":"rubykube","id":29372474,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzcyNDc0","avatar_url":"https://avatars2.githubusercontent.com/u/29372474?v=4","gravatar_id":"","url":"https://api.github.com/users/rubykube","html_url":"https://github.com/rubykube","followers_url":"https://api.github.com/users/rubykube/followers","following_url":"https://api.github.com/users/rubykube/following{/other_user}","gists_url":"https://api.github.com/users/rubykube/gists{/gist_id}","starred_url":"https://api.github.com/users/rubykube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubykube/subscriptions","organizations_url":"https://api.github.com/users/rubykube/orgs","repos_url":"https://api.github.com/users/rubykube/repos","events_url":"https://api.github.com/users/rubykube/events{/privacy}","received_events_url":"https://api.github.com/users/rubykube/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rubykube/peatio","description":"An open-source Crypto-Currency exchange.","fork":true,"url":"https://api.github.com/repos/rubykube/peatio","forks_url":"https://api.github.com/repos/rubykube/peatio/forks","keys_url":"https://api.github.com/repos/rubykube/peatio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubykube/peatio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubykube/peatio/teams","hooks_url":"https://api.github.com/repos/rubykube/peatio/hooks","issue_events_url":"https://api.github.com/repos/rubykube/peatio/issues/events{/number}","events_url":"https://api.github.com/repos/rubykube/peatio/events","assignees_url":"https://api.github.com/repos/rubykube/peatio/assignees{/user}","branches_url":"https://api.github.com/repos/rubykube/peatio/branches{/branch}","tags_url":"https://api.github.com/repos/rubykube/peatio/tags","blobs_url":"https://api.github.com/repos/rubykube/peatio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubykube/peatio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubykube/peatio/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubykube/peatio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubykube/peatio/statuses/{sha}","languages_url":"https://api.github.com/repos/rubykube/peatio/languages","stargazers_url":"https://api.github.com/repos/rubykube/peatio/stargazers","contributors_url":"https://api.github.com/repos/rubykube/peatio/contributors","subscribers_url":"https://api.github.com/repos/rubykube/peatio/subscribers","subscription_url":"https://api.github.com/repos/rubykube/peatio/subscription","commits_url":"https://api.github.com/repos/rubykube/peatio/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubykube/peatio/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubykube/peatio/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubykube/peatio/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubykube/peatio/contents/{+path}","compare_url":"https://api.github.com/repos/rubykube/peatio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubykube/peatio/merges","archive_url":"https://api.github.com/repos/rubykube/peatio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubykube/peatio/downloads","issues_url":"https://api.github.com/repos/rubykube/peatio/issues{/number}","pulls_url":"https://api.github.com/repos/rubykube/peatio/pulls{/number}","milestones_url":"https://api.github.com/repos/rubykube/peatio/milestones{/number}","notifications_url":"https://api.github.com/repos/rubykube/peatio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubykube/peatio/labels{/name}","releases_url":"https://api.github.com/repos/rubykube/peatio/releases{/id}","deployments_url":"https://api.github.com/repos/rubykube/peatio/deployments","created_at":"2017-09-14T12:57:42Z","updated_at":"2018-10-23T12:47:14Z","pushed_at":"2018-10-24T10:31:04Z","git_url":"git://github.com/rubykube/peatio.git","ssh_url":"git@github.com:rubykube/peatio.git","clone_url":"https://github.com/rubykube/peatio.git","svn_url":"https://github.com/rubykube/peatio","homepage":"https://www.peatio.tech","size":8763,"stargazers_count":394,"watchers_count":394,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":261,"mirror_url":null,"archived":false,"open_issues_count":82,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":261,"open_issues":82,"watchers":394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubykube/peatio/pulls/1777"},"html":{"href":"https://github.com/rubykube/peatio/pull/1777"},"issue":{"href":"https://api.github.com/repos/rubykube/peatio/issues/1777"},"comments":{"href":"https://api.github.com/repos/rubykube/peatio/issues/1777/comments"},"review_comments":{"href":"https://api.github.com/repos/rubykube/peatio/pulls/1777/comments"},"review_comment":{"href":"https://api.github.com/repos/rubykube/peatio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubykube/peatio/pulls/1777/commits"},"statuses":{"href":"https://api.github.com/repos/rubykube/peatio/statuses/3768abd9a9992342d891a8d4e938705f6fd20481"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":45,"deletions":2,"changed_files":5}}
{"actor":{"display_login":"ysv"}}