{"action":"closed","number":73,"pull_request":{"url":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/73","id":181360084,"html_url":"https://github.com/compound-finance/compound-dapp/pull/73","diff_url":"https://github.com/compound-finance/compound-dapp/pull/73.diff","patch_url":"https://github.com/compound-finance/compound-dapp/pull/73.patch","issue_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues/73","number":73,"state":"closed","locked":false,"title":"Add Borrow and Withdraw","user":{"login":"hayesgm","id":271024,"avatar_url":"https://avatars2.githubusercontent.com/u/271024?v=4","gravatar_id":"","url":"https://api.github.com/users/hayesgm","html_url":"https://github.com/hayesgm","followers_url":"https://api.github.com/users/hayesgm/followers","following_url":"https://api.github.com/users/hayesgm/following{/other_user}","gists_url":"https://api.github.com/users/hayesgm/gists{/gist_id}","starred_url":"https://api.github.com/users/hayesgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayesgm/subscriptions","organizations_url":"https://api.github.com/users/hayesgm/orgs","repos_url":"https://api.github.com/users/hayesgm/repos","events_url":"https://api.github.com/users/hayesgm/events{/privacy}","received_events_url":"https://api.github.com/users/hayesgm/received_events","type":"User","site_admin":false},"body":"This patch uses the new borrow and withdraw function instead of borrow. This will move the assets directly out of the Money Market, instead of requiring the user to separately withdraw. The API for this will likely evolve over time, but this is a good first step.\r\n\r\nNote: this PR requires the updated vault and token addresses, which are currently being deployed.","created_at":"2018-04-13T00:42:23Z","updated_at":"2018-04-13T16:59:57Z","closed_at":"2018-04-13T16:59:56Z","merged_at":"2018-04-13T16:59:56Z","merge_commit_sha":"a0f1b24be7907be13933ba6d72722c0a3cf45594","assignee":null,"assignees":[],"requested_reviewers":[{"login":"whenceforth","id":687237,"avatar_url":"https://avatars2.githubusercontent.com/u/687237?v=4","gravatar_id":"","url":"https://api.github.com/users/whenceforth","html_url":"https://github.com/whenceforth","followers_url":"https://api.github.com/users/whenceforth/followers","following_url":"https://api.github.com/users/whenceforth/following{/other_user}","gists_url":"https://api.github.com/users/whenceforth/gists{/gist_id}","starred_url":"https://api.github.com/users/whenceforth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whenceforth/subscriptions","organizations_url":"https://api.github.com/users/whenceforth/orgs","repos_url":"https://api.github.com/users/whenceforth/repos","events_url":"https://api.github.com/users/whenceforth/events{/privacy}","received_events_url":"https://api.github.com/users/whenceforth/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/73/commits","review_comments_url":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/73/comments","review_comment_url":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues/73/comments","statuses_url":"https://api.github.com/repos/compound-finance/compound-dapp/statuses/00d216431be1d321d191783a7075633ba882ba52","head":{"label":"compound-finance:hayesgm/borrow-and-withdraw","ref":"hayesgm/borrow-and-withdraw","sha":"00d216431be1d321d191783a7075633ba882ba52","user":{"login":"compound-finance","id":32911405,"avatar_url":"https://avatars1.githubusercontent.com/u/32911405?v=4","gravatar_id":"","url":"https://api.github.com/users/compound-finance","html_url":"https://github.com/compound-finance","followers_url":"https://api.github.com/users/compound-finance/followers","following_url":"https://api.github.com/users/compound-finance/following{/other_user}","gists_url":"https://api.github.com/users/compound-finance/gists{/gist_id}","starred_url":"https://api.github.com/users/compound-finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compound-finance/subscriptions","organizations_url":"https://api.github.com/users/compound-finance/orgs","repos_url":"https://api.github.com/users/compound-finance/repos","events_url":"https://api.github.com/users/compound-finance/events{/privacy}","received_events_url":"https://api.github.com/users/compound-finance/received_events","type":"Organization","site_admin":false},"repo":{"id":122687535,"name":"compound-dapp","full_name":"compound-finance/compound-dapp","owner":{"login":"compound-finance","id":32911405,"avatar_url":"https://avatars1.githubusercontent.com/u/32911405?v=4","gravatar_id":"","url":"https://api.github.com/users/compound-finance","html_url":"https://github.com/compound-finance","followers_url":"https://api.github.com/users/compound-finance/followers","following_url":"https://api.github.com/users/compound-finance/following{/other_user}","gists_url":"https://api.github.com/users/compound-finance/gists{/gist_id}","starred_url":"https://api.github.com/users/compound-finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compound-finance/subscriptions","organizations_url":"https://api.github.com/users/compound-finance/orgs","repos_url":"https://api.github.com/users/compound-finance/repos","events_url":"https://api.github.com/users/compound-finance/events{/privacy}","received_events_url":"https://api.github.com/users/compound-finance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compound-finance/compound-dapp","description":"dApp to Interact with Compound","fork":false,"url":"https://api.github.com/repos/compound-finance/compound-dapp","forks_url":"https://api.github.com/repos/compound-finance/compound-dapp/forks","keys_url":"https://api.github.com/repos/compound-finance/compound-dapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compound-finance/compound-dapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compound-finance/compound-dapp/teams","hooks_url":"https://api.github.com/repos/compound-finance/compound-dapp/hooks","issue_events_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues/events{/number}","events_url":"https://api.github.com/repos/compound-finance/compound-dapp/events","assignees_url":"https://api.github.com/repos/compound-finance/compound-dapp/assignees{/user}","branches_url":"https://api.github.com/repos/compound-finance/compound-dapp/branches{/branch}","tags_url":"https://api.github.com/repos/compound-finance/compound-dapp/tags","blobs_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compound-finance/compound-dapp/statuses/{sha}","languages_url":"https://api.github.com/repos/compound-finance/compound-dapp/languages","stargazers_url":"https://api.github.com/repos/compound-finance/compound-dapp/stargazers","contributors_url":"https://api.github.com/repos/compound-finance/compound-dapp/contributors","subscribers_url":"https://api.github.com/repos/compound-finance/compound-dapp/subscribers","subscription_url":"https://api.github.com/repos/compound-finance/compound-dapp/subscription","commits_url":"https://api.github.com/repos/compound-finance/compound-dapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/compound-finance/compound-dapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/compound-finance/compound-dapp/contents/{+path}","compare_url":"https://api.github.com/repos/compound-finance/compound-dapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compound-finance/compound-dapp/merges","archive_url":"https://api.github.com/repos/compound-finance/compound-dapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compound-finance/compound-dapp/downloads","issues_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues{/number}","pulls_url":"https://api.github.com/repos/compound-finance/compound-dapp/pulls{/number}","milestones_url":"https://api.github.com/repos/compound-finance/compound-dapp/milestones{/number}","notifications_url":"https://api.github.com/repos/compound-finance/compound-dapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compound-finance/compound-dapp/labels{/name}","releases_url":"https://api.github.com/repos/compound-finance/compound-dapp/releases{/id}","deployments_url":"https://api.github.com/repos/compound-finance/compound-dapp/deployments","created_at":"2018-02-24T00:38:00Z","updated_at":"2018-04-13T04:45:26Z","pushed_at":"2018-04-13T16:59:56Z","git_url":"git://github.com/compound-finance/compound-dapp.git","ssh_url":"git@github.com:compound-finance/compound-dapp.git","clone_url":"https://github.com/compound-finance/compound-dapp.git","svn_url":"https://github.com/compound-finance/compound-dapp","homepage":"https://app.compound.finance","size":659,"stargazers_count":0,"watchers_count":0,"language":"Elm","has_issues":true,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"compound-finance:master","ref":"master","sha":"3bc92c20172373af9db77d047dc1d0e6f9ea2428","user":{"login":"compound-finance","id":32911405,"avatar_url":"https://avatars1.githubusercontent.com/u/32911405?v=4","gravatar_id":"","url":"https://api.github.com/users/compound-finance","html_url":"https://github.com/compound-finance","followers_url":"https://api.github.com/users/compound-finance/followers","following_url":"https://api.github.com/users/compound-finance/following{/other_user}","gists_url":"https://api.github.com/users/compound-finance/gists{/gist_id}","starred_url":"https://api.github.com/users/compound-finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compound-finance/subscriptions","organizations_url":"https://api.github.com/users/compound-finance/orgs","repos_url":"https://api.github.com/users/compound-finance/repos","events_url":"https://api.github.com/users/compound-finance/events{/privacy}","received_events_url":"https://api.github.com/users/compound-finance/received_events","type":"Organization","site_admin":false},"repo":{"id":122687535,"name":"compound-dapp","full_name":"compound-finance/compound-dapp","owner":{"login":"compound-finance","id":32911405,"avatar_url":"https://avatars1.githubusercontent.com/u/32911405?v=4","gravatar_id":"","url":"https://api.github.com/users/compound-finance","html_url":"https://github.com/compound-finance","followers_url":"https://api.github.com/users/compound-finance/followers","following_url":"https://api.github.com/users/compound-finance/following{/other_user}","gists_url":"https://api.github.com/users/compound-finance/gists{/gist_id}","starred_url":"https://api.github.com/users/compound-finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compound-finance/subscriptions","organizations_url":"https://api.github.com/users/compound-finance/orgs","repos_url":"https://api.github.com/users/compound-finance/repos","events_url":"https://api.github.com/users/compound-finance/events{/privacy}","received_events_url":"https://api.github.com/users/compound-finance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compound-finance/compound-dapp","description":"dApp to Interact with Compound","fork":false,"url":"https://api.github.com/repos/compound-finance/compound-dapp","forks_url":"https://api.github.com/repos/compound-finance/compound-dapp/forks","keys_url":"https://api.github.com/repos/compound-finance/compound-dapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compound-finance/compound-dapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compound-finance/compound-dapp/teams","hooks_url":"https://api.github.com/repos/compound-finance/compound-dapp/hooks","issue_events_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues/events{/number}","events_url":"https://api.github.com/repos/compound-finance/compound-dapp/events","assignees_url":"https://api.github.com/repos/compound-finance/compound-dapp/assignees{/user}","branches_url":"https://api.github.com/repos/compound-finance/compound-dapp/branches{/branch}","tags_url":"https://api.github.com/repos/compound-finance/compound-dapp/tags","blobs_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compound-finance/compound-dapp/statuses/{sha}","languages_url":"https://api.github.com/repos/compound-finance/compound-dapp/languages","stargazers_url":"https://api.github.com/repos/compound-finance/compound-dapp/stargazers","contributors_url":"https://api.github.com/repos/compound-finance/compound-dapp/contributors","subscribers_url":"https://api.github.com/repos/compound-finance/compound-dapp/subscribers","subscription_url":"https://api.github.com/repos/compound-finance/compound-dapp/subscription","commits_url":"https://api.github.com/repos/compound-finance/compound-dapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/compound-finance/compound-dapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/compound-finance/compound-dapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/compound-finance/compound-dapp/contents/{+path}","compare_url":"https://api.github.com/repos/compound-finance/compound-dapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compound-finance/compound-dapp/merges","archive_url":"https://api.github.com/repos/compound-finance/compound-dapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compound-finance/compound-dapp/downloads","issues_url":"https://api.github.com/repos/compound-finance/compound-dapp/issues{/number}","pulls_url":"https://api.github.com/repos/compound-finance/compound-dapp/pulls{/number}","milestones_url":"https://api.github.com/repos/compound-finance/compound-dapp/milestones{/number}","notifications_url":"https://api.github.com/repos/compound-finance/compound-dapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compound-finance/compound-dapp/labels{/name}","releases_url":"https://api.github.com/repos/compound-finance/compound-dapp/releases{/id}","deployments_url":"https://api.github.com/repos/compound-finance/compound-dapp/deployments","created_at":"2018-02-24T00:38:00Z","updated_at":"2018-04-13T04:45:26Z","pushed_at":"2018-04-13T16:59:56Z","git_url":"git://github.com/compound-finance/compound-dapp.git","ssh_url":"git@github.com:compound-finance/compound-dapp.git","clone_url":"https://github.com/compound-finance/compound-dapp.git","svn_url":"https://github.com/compound-finance/compound-dapp","homepage":"https://app.compound.finance","size":659,"stargazers_count":0,"watchers_count":0,"language":"Elm","has_issues":true,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/73"},"html":{"href":"https://github.com/compound-finance/compound-dapp/pull/73"},"issue":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/issues/73"},"comments":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/compound-finance/compound-dapp/statuses/00d216431be1d321d191783a7075633ba882ba52"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"hayesgm","id":271024,"avatar_url":"https://avatars2.githubusercontent.com/u/271024?v=4","gravatar_id":"","url":"https://api.github.com/users/hayesgm","html_url":"https://github.com/hayesgm","followers_url":"https://api.github.com/users/hayesgm/followers","following_url":"https://api.github.com/users/hayesgm/following{/other_user}","gists_url":"https://api.github.com/users/hayesgm/gists{/gist_id}","starred_url":"https://api.github.com/users/hayesgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayesgm/subscriptions","organizations_url":"https://api.github.com/users/hayesgm/orgs","repos_url":"https://api.github.com/users/hayesgm/repos","events_url":"https://api.github.com/users/hayesgm/events{/privacy}","received_events_url":"https://api.github.com/users/hayesgm/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":29,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"hayesgm"}}