{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/MainframeHQ/contracts/pulls/26","id":192446118,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNDQ2MTE4","html_url":"https://github.com/MainframeHQ/contracts/pull/26","diff_url":"https://github.com/MainframeHQ/contracts/pull/26.diff","patch_url":"https://github.com/MainframeHQ/contracts/pull/26.patch","issue_url":"https://api.github.com/repos/MainframeHQ/contracts/issues/26","number":26,"state":"open","locked":false,"title":"sender checks in stake function","user":{"login":"avclarke","id":3802342,"node_id":"MDQ6VXNlcjM4MDIzNDI=","avatar_url":"https://avatars0.githubusercontent.com/u/3802342?v=4","gravatar_id":"","url":"https://api.github.com/users/avclarke","html_url":"https://github.com/avclarke","followers_url":"https://api.github.com/users/avclarke/followers","following_url":"https://api.github.com/users/avclarke/following{/other_user}","gists_url":"https://api.github.com/users/avclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/avclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avclarke/subscriptions","organizations_url":"https://api.github.com/users/avclarke/orgs","repos_url":"https://api.github.com/users/avclarke/repos","events_url":"https://api.github.com/users/avclarke/events{/privacy}","received_events_url":"https://api.github.com/users/avclarke/received_events","type":"User","site_admin":false},"body":"This allows us to validate the staker address, either a user staking by directly interacting with the contract or if a user stakes in a single transaction via the approveAndCall method from the token contract. ","created_at":"2018-06-04T15:28:51Z","updated_at":"2018-06-04T15:28:51Z","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/MainframeHQ/contracts/pulls/26/commits","review_comments_url":"https://api.github.com/repos/MainframeHQ/contracts/pulls/26/comments","review_comment_url":"https://api.github.com/repos/MainframeHQ/contracts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MainframeHQ/contracts/issues/26/comments","statuses_url":"https://api.github.com/repos/MainframeHQ/contracts/statuses/52951cab587b7bc399818135b2358de8c2f20c3e","head":{"label":"MainframeHQ:contract-updates","ref":"contract-updates","sha":"52951cab587b7bc399818135b2358de8c2f20c3e","user":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":120617206,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2MTcyMDY=","name":"contracts","full_name":"MainframeHQ/contracts","owner":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MainframeHQ/contracts","description":"Mainframe smart contracts","fork":false,"url":"https://api.github.com/repos/MainframeHQ/contracts","forks_url":"https://api.github.com/repos/MainframeHQ/contracts/forks","keys_url":"https://api.github.com/repos/MainframeHQ/contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MainframeHQ/contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MainframeHQ/contracts/teams","hooks_url":"https://api.github.com/repos/MainframeHQ/contracts/hooks","issue_events_url":"https://api.github.com/repos/MainframeHQ/contracts/issues/events{/number}","events_url":"https://api.github.com/repos/MainframeHQ/contracts/events","assignees_url":"https://api.github.com/repos/MainframeHQ/contracts/assignees{/user}","branches_url":"https://api.github.com/repos/MainframeHQ/contracts/branches{/branch}","tags_url":"https://api.github.com/repos/MainframeHQ/contracts/tags","blobs_url":"https://api.github.com/repos/MainframeHQ/contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MainframeHQ/contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MainframeHQ/contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/MainframeHQ/contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MainframeHQ/contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/MainframeHQ/contracts/languages","stargazers_url":"https://api.github.com/repos/MainframeHQ/contracts/stargazers","contributors_url":"https://api.github.com/repos/MainframeHQ/contracts/contributors","subscribers_url":"https://api.github.com/repos/MainframeHQ/contracts/subscribers","subscription_url":"https://api.github.com/repos/MainframeHQ/contracts/subscription","commits_url":"https://api.github.com/repos/MainframeHQ/contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/MainframeHQ/contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/MainframeHQ/contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/MainframeHQ/contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/MainframeHQ/contracts/contents/{+path}","compare_url":"https://api.github.com/repos/MainframeHQ/contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MainframeHQ/contracts/merges","archive_url":"https://api.github.com/repos/MainframeHQ/contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MainframeHQ/contracts/downloads","issues_url":"https://api.github.com/repos/MainframeHQ/contracts/issues{/number}","pulls_url":"https://api.github.com/repos/MainframeHQ/contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/MainframeHQ/contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/MainframeHQ/contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MainframeHQ/contracts/labels{/name}","releases_url":"https://api.github.com/repos/MainframeHQ/contracts/releases{/id}","deployments_url":"https://api.github.com/repos/MainframeHQ/contracts/deployments","created_at":"2018-02-07T13:15:25Z","updated_at":"2018-05-29T17:11:23Z","pushed_at":"2018-06-04T14:37:55Z","git_url":"git://github.com/MainframeHQ/contracts.git","ssh_url":"git@github.com:MainframeHQ/contracts.git","clone_url":"https://github.com/MainframeHQ/contracts.git","svn_url":"https://github.com/MainframeHQ/contracts","homepage":"","size":1109,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"MainframeHQ:master","ref":"master","sha":"dbab13e989d8da8b4c3f40b73a67ee8bbcda38dd","user":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":120617206,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2MTcyMDY=","name":"contracts","full_name":"MainframeHQ/contracts","owner":{"login":"MainframeHQ","id":4616210,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MTYyMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4616210?v=4","gravatar_id":"","url":"https://api.github.com/users/MainframeHQ","html_url":"https://github.com/MainframeHQ","followers_url":"https://api.github.com/users/MainframeHQ/followers","following_url":"https://api.github.com/users/MainframeHQ/following{/other_user}","gists_url":"https://api.github.com/users/MainframeHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/MainframeHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MainframeHQ/subscriptions","organizations_url":"https://api.github.com/users/MainframeHQ/orgs","repos_url":"https://api.github.com/users/MainframeHQ/repos","events_url":"https://api.github.com/users/MainframeHQ/events{/privacy}","received_events_url":"https://api.github.com/users/MainframeHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MainframeHQ/contracts","description":"Mainframe smart contracts","fork":false,"url":"https://api.github.com/repos/MainframeHQ/contracts","forks_url":"https://api.github.com/repos/MainframeHQ/contracts/forks","keys_url":"https://api.github.com/repos/MainframeHQ/contracts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MainframeHQ/contracts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MainframeHQ/contracts/teams","hooks_url":"https://api.github.com/repos/MainframeHQ/contracts/hooks","issue_events_url":"https://api.github.com/repos/MainframeHQ/contracts/issues/events{/number}","events_url":"https://api.github.com/repos/MainframeHQ/contracts/events","assignees_url":"https://api.github.com/repos/MainframeHQ/contracts/assignees{/user}","branches_url":"https://api.github.com/repos/MainframeHQ/contracts/branches{/branch}","tags_url":"https://api.github.com/repos/MainframeHQ/contracts/tags","blobs_url":"https://api.github.com/repos/MainframeHQ/contracts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MainframeHQ/contracts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MainframeHQ/contracts/git/refs{/sha}","trees_url":"https://api.github.com/repos/MainframeHQ/contracts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MainframeHQ/contracts/statuses/{sha}","languages_url":"https://api.github.com/repos/MainframeHQ/contracts/languages","stargazers_url":"https://api.github.com/repos/MainframeHQ/contracts/stargazers","contributors_url":"https://api.github.com/repos/MainframeHQ/contracts/contributors","subscribers_url":"https://api.github.com/repos/MainframeHQ/contracts/subscribers","subscription_url":"https://api.github.com/repos/MainframeHQ/contracts/subscription","commits_url":"https://api.github.com/repos/MainframeHQ/contracts/commits{/sha}","git_commits_url":"https://api.github.com/repos/MainframeHQ/contracts/git/commits{/sha}","comments_url":"https://api.github.com/repos/MainframeHQ/contracts/comments{/number}","issue_comment_url":"https://api.github.com/repos/MainframeHQ/contracts/issues/comments{/number}","contents_url":"https://api.github.com/repos/MainframeHQ/contracts/contents/{+path}","compare_url":"https://api.github.com/repos/MainframeHQ/contracts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MainframeHQ/contracts/merges","archive_url":"https://api.github.com/repos/MainframeHQ/contracts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MainframeHQ/contracts/downloads","issues_url":"https://api.github.com/repos/MainframeHQ/contracts/issues{/number}","pulls_url":"https://api.github.com/repos/MainframeHQ/contracts/pulls{/number}","milestones_url":"https://api.github.com/repos/MainframeHQ/contracts/milestones{/number}","notifications_url":"https://api.github.com/repos/MainframeHQ/contracts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MainframeHQ/contracts/labels{/name}","releases_url":"https://api.github.com/repos/MainframeHQ/contracts/releases{/id}","deployments_url":"https://api.github.com/repos/MainframeHQ/contracts/deployments","created_at":"2018-02-07T13:15:25Z","updated_at":"2018-05-29T17:11:23Z","pushed_at":"2018-06-04T14:37:55Z","git_url":"git://github.com/MainframeHQ/contracts.git","ssh_url":"git@github.com:MainframeHQ/contracts.git","clone_url":"https://github.com/MainframeHQ/contracts.git","svn_url":"https://github.com/MainframeHQ/contracts","homepage":"","size":1109,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MainframeHQ/contracts/pulls/26"},"html":{"href":"https://github.com/MainframeHQ/contracts/pull/26"},"issue":{"href":"https://api.github.com/repos/MainframeHQ/contracts/issues/26"},"comments":{"href":"https://api.github.com/repos/MainframeHQ/contracts/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/MainframeHQ/contracts/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/MainframeHQ/contracts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MainframeHQ/contracts/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/MainframeHQ/contracts/statuses/52951cab587b7bc399818135b2358de8c2f20c3e"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"avclarke"}}