{"action":"closed","number":138,"pull_request":{"url":"https://api.github.com/repos/poanetwork/mana/pulls/138","id":192572554,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNTcyNTU0","html_url":"https://github.com/poanetwork/mana/pull/138","diff_url":"https://github.com/poanetwork/mana/pull/138.diff","patch_url":"https://github.com/poanetwork/mana/pull/138.patch","issue_url":"https://api.github.com/repos/poanetwork/mana/issues/138","number":138,"state":"closed","locked":false,"title":"Fixes #124: Add `storage` and `selfdestruct` refunds","user":{"login":"masonforest","id":229473,"node_id":"MDQ6VXNlcjIyOTQ3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/229473?v=4","gravatar_id":"","url":"https://api.github.com/users/masonforest","html_url":"https://github.com/masonforest","followers_url":"https://api.github.com/users/masonforest/followers","following_url":"https://api.github.com/users/masonforest/following{/other_user}","gists_url":"https://api.github.com/users/masonforest/gists{/gist_id}","starred_url":"https://api.github.com/users/masonforest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonforest/subscriptions","organizations_url":"https://api.github.com/users/masonforest/orgs","repos_url":"https://api.github.com/users/masonforest/repos","events_url":"https://api.github.com/users/masonforest/events{/privacy}","received_events_url":"https://api.github.com/users/masonforest/received_events","type":"User","site_admin":false},"body":"From the yellow paper: Finally there is Ar, the refund balance,\r\nincreased through using the SSTORE instruction in order\r\nto reset contract storage to zero from some non-zero value.\r\nThough not immediately refunded, it is allowed to partially\r\noffset the total execution costs.\r\n\r\nresolves #120","created_at":"2018-06-05T02:07:05Z","updated_at":"2018-06-05T14:28:50Z","closed_at":"2018-06-05T14:28:49Z","merged_at":"2018-06-05T14:28:49Z","merge_commit_sha":"ffc09653e96f99237c747c15e138a1956600b955","assignee":{"login":"masonforest","id":229473,"node_id":"MDQ6VXNlcjIyOTQ3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/229473?v=4","gravatar_id":"","url":"https://api.github.com/users/masonforest","html_url":"https://github.com/masonforest","followers_url":"https://api.github.com/users/masonforest/followers","following_url":"https://api.github.com/users/masonforest/following{/other_user}","gists_url":"https://api.github.com/users/masonforest/gists{/gist_id}","starred_url":"https://api.github.com/users/masonforest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonforest/subscriptions","organizations_url":"https://api.github.com/users/masonforest/orgs","repos_url":"https://api.github.com/users/masonforest/repos","events_url":"https://api.github.com/users/masonforest/events{/privacy}","received_events_url":"https://api.github.com/users/masonforest/received_events","type":"User","site_admin":false},"assignees":[{"login":"masonforest","id":229473,"node_id":"MDQ6VXNlcjIyOTQ3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/229473?v=4","gravatar_id":"","url":"https://api.github.com/users/masonforest","html_url":"https://github.com/masonforest","followers_url":"https://api.github.com/users/masonforest/followers","following_url":"https://api.github.com/users/masonforest/following{/other_user}","gists_url":"https://api.github.com/users/masonforest/gists{/gist_id}","starred_url":"https://api.github.com/users/masonforest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonforest/subscriptions","organizations_url":"https://api.github.com/users/masonforest/orgs","repos_url":"https://api.github.com/users/masonforest/repos","events_url":"https://api.github.com/users/masonforest/events{/privacy}","received_events_url":"https://api.github.com/users/masonforest/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":925629498,"node_id":"MDU6TGFiZWw5MjU2Mjk0OTg=","url":"https://api.github.com/repos/poanetwork/mana/labels/status:%20in%20progress","name":"status: in progress","color":"cccccc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/poanetwork/mana/pulls/138/commits","review_comments_url":"https://api.github.com/repos/poanetwork/mana/pulls/138/comments","review_comment_url":"https://api.github.com/repos/poanetwork/mana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poanetwork/mana/issues/138/comments","statuses_url":"https://api.github.com/repos/poanetwork/mana/statuses/ffc09653e96f99237c747c15e138a1956600b955","head":{"label":"poanetwork:feature/refunds","ref":"feature/refunds","sha":"ffc09653e96f99237c747c15e138a1956600b955","user":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":129004779,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkwMDQ3Nzk=","name":"mana","full_name":"poanetwork/mana","owner":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poanetwork/mana","description":"Ethereum client in Elixir. We are hiring https://www.workable.com/j/FD37318ABC","fork":false,"url":"https://api.github.com/repos/poanetwork/mana","forks_url":"https://api.github.com/repos/poanetwork/mana/forks","keys_url":"https://api.github.com/repos/poanetwork/mana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poanetwork/mana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poanetwork/mana/teams","hooks_url":"https://api.github.com/repos/poanetwork/mana/hooks","issue_events_url":"https://api.github.com/repos/poanetwork/mana/issues/events{/number}","events_url":"https://api.github.com/repos/poanetwork/mana/events","assignees_url":"https://api.github.com/repos/poanetwork/mana/assignees{/user}","branches_url":"https://api.github.com/repos/poanetwork/mana/branches{/branch}","tags_url":"https://api.github.com/repos/poanetwork/mana/tags","blobs_url":"https://api.github.com/repos/poanetwork/mana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poanetwork/mana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poanetwork/mana/git/refs{/sha}","trees_url":"https://api.github.com/repos/poanetwork/mana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poanetwork/mana/statuses/{sha}","languages_url":"https://api.github.com/repos/poanetwork/mana/languages","stargazers_url":"https://api.github.com/repos/poanetwork/mana/stargazers","contributors_url":"https://api.github.com/repos/poanetwork/mana/contributors","subscribers_url":"https://api.github.com/repos/poanetwork/mana/subscribers","subscription_url":"https://api.github.com/repos/poanetwork/mana/subscription","commits_url":"https://api.github.com/repos/poanetwork/mana/commits{/sha}","git_commits_url":"https://api.github.com/repos/poanetwork/mana/git/commits{/sha}","comments_url":"https://api.github.com/repos/poanetwork/mana/comments{/number}","issue_comment_url":"https://api.github.com/repos/poanetwork/mana/issues/comments{/number}","contents_url":"https://api.github.com/repos/poanetwork/mana/contents/{+path}","compare_url":"https://api.github.com/repos/poanetwork/mana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poanetwork/mana/merges","archive_url":"https://api.github.com/repos/poanetwork/mana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poanetwork/mana/downloads","issues_url":"https://api.github.com/repos/poanetwork/mana/issues{/number}","pulls_url":"https://api.github.com/repos/poanetwork/mana/pulls{/number}","milestones_url":"https://api.github.com/repos/poanetwork/mana/milestones{/number}","notifications_url":"https://api.github.com/repos/poanetwork/mana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poanetwork/mana/labels{/name}","releases_url":"https://api.github.com/repos/poanetwork/mana/releases{/id}","deployments_url":"https://api.github.com/repos/poanetwork/mana/deployments","created_at":"2018-04-10T23:04:46Z","updated_at":"2018-06-05T12:32:14Z","pushed_at":"2018-06-05T14:28:48Z","git_url":"git://github.com/poanetwork/mana.git","ssh_url":"git@github.com:poanetwork/mana.git","clone_url":"https://github.com/poanetwork/mana.git","svn_url":"https://github.com/poanetwork/mana","homepage":"","size":1427,"stargazers_count":23,"watchers_count":23,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":6,"open_issues":44,"watchers":23,"default_branch":"master"}},"base":{"label":"poanetwork:master","ref":"master","sha":"a11dc876215a0cfbca565cc73b220265b1e6c685","user":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":129004779,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkwMDQ3Nzk=","name":"mana","full_name":"poanetwork/mana","owner":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poanetwork/mana","description":"Ethereum client in Elixir. We are hiring https://www.workable.com/j/FD37318ABC","fork":false,"url":"https://api.github.com/repos/poanetwork/mana","forks_url":"https://api.github.com/repos/poanetwork/mana/forks","keys_url":"https://api.github.com/repos/poanetwork/mana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poanetwork/mana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poanetwork/mana/teams","hooks_url":"https://api.github.com/repos/poanetwork/mana/hooks","issue_events_url":"https://api.github.com/repos/poanetwork/mana/issues/events{/number}","events_url":"https://api.github.com/repos/poanetwork/mana/events","assignees_url":"https://api.github.com/repos/poanetwork/mana/assignees{/user}","branches_url":"https://api.github.com/repos/poanetwork/mana/branches{/branch}","tags_url":"https://api.github.com/repos/poanetwork/mana/tags","blobs_url":"https://api.github.com/repos/poanetwork/mana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poanetwork/mana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poanetwork/mana/git/refs{/sha}","trees_url":"https://api.github.com/repos/poanetwork/mana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poanetwork/mana/statuses/{sha}","languages_url":"https://api.github.com/repos/poanetwork/mana/languages","stargazers_url":"https://api.github.com/repos/poanetwork/mana/stargazers","contributors_url":"https://api.github.com/repos/poanetwork/mana/contributors","subscribers_url":"https://api.github.com/repos/poanetwork/mana/subscribers","subscription_url":"https://api.github.com/repos/poanetwork/mana/subscription","commits_url":"https://api.github.com/repos/poanetwork/mana/commits{/sha}","git_commits_url":"https://api.github.com/repos/poanetwork/mana/git/commits{/sha}","comments_url":"https://api.github.com/repos/poanetwork/mana/comments{/number}","issue_comment_url":"https://api.github.com/repos/poanetwork/mana/issues/comments{/number}","contents_url":"https://api.github.com/repos/poanetwork/mana/contents/{+path}","compare_url":"https://api.github.com/repos/poanetwork/mana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poanetwork/mana/merges","archive_url":"https://api.github.com/repos/poanetwork/mana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poanetwork/mana/downloads","issues_url":"https://api.github.com/repos/poanetwork/mana/issues{/number}","pulls_url":"https://api.github.com/repos/poanetwork/mana/pulls{/number}","milestones_url":"https://api.github.com/repos/poanetwork/mana/milestones{/number}","notifications_url":"https://api.github.com/repos/poanetwork/mana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poanetwork/mana/labels{/name}","releases_url":"https://api.github.com/repos/poanetwork/mana/releases{/id}","deployments_url":"https://api.github.com/repos/poanetwork/mana/deployments","created_at":"2018-04-10T23:04:46Z","updated_at":"2018-06-05T12:32:14Z","pushed_at":"2018-06-05T14:28:48Z","git_url":"git://github.com/poanetwork/mana.git","ssh_url":"git@github.com:poanetwork/mana.git","clone_url":"https://github.com/poanetwork/mana.git","svn_url":"https://github.com/poanetwork/mana","homepage":"","size":1427,"stargazers_count":23,"watchers_count":23,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":6,"open_issues":44,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poanetwork/mana/pulls/138"},"html":{"href":"https://github.com/poanetwork/mana/pull/138"},"issue":{"href":"https://api.github.com/repos/poanetwork/mana/issues/138"},"comments":{"href":"https://api.github.com/repos/poanetwork/mana/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/poanetwork/mana/pulls/138/comments"},"review_comment":{"href":"https://api.github.com/repos/poanetwork/mana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poanetwork/mana/pulls/138/commits"},"statuses":{"href":"https://api.github.com/repos/poanetwork/mana/statuses/ffc09653e96f99237c747c15e138a1956600b955"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"masonforest","id":229473,"node_id":"MDQ6VXNlcjIyOTQ3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/229473?v=4","gravatar_id":"","url":"https://api.github.com/users/masonforest","html_url":"https://github.com/masonforest","followers_url":"https://api.github.com/users/masonforest/followers","following_url":"https://api.github.com/users/masonforest/following{/other_user}","gists_url":"https://api.github.com/users/masonforest/gists{/gist_id}","starred_url":"https://api.github.com/users/masonforest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonforest/subscriptions","organizations_url":"https://api.github.com/users/masonforest/orgs","repos_url":"https://api.github.com/users/masonforest/repos","events_url":"https://api.github.com/users/masonforest/events{/privacy}","received_events_url":"https://api.github.com/users/masonforest/received_events","type":"User","site_admin":false},"comments":1,"review_comments":7,"maintainer_can_modify":false,"commits":10,"additions":256,"deletions":45,"changed_files":12}}
{"actor":{"display_login":"masonforest"}}