payload: {"action":"opened","number":152,"pull_request":{"url":"https://api.github.com/repos/klaytn/klaytn/pulls/152","id":306770062,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA2NzcwMDYy","html_url":"https://github.com/klaytn/klaytn/pull/152","diff_url":"https://github.com/klaytn/klaytn/pull/152.diff","patch_url":"https://github.com/klaytn/klaytn/pull/152.patch","issue_url":"https://api.github.com/repos/klaytn/klaytn/issues/152","number":152,"state":"open","locked":false,"title":"[Reward] Multi staking contract","user":{"login":"laggu","id":14273666,"node_id":"MDQ6VXNlcjE0MjczNjY2","avatar_url":"https://avatars1.githubusercontent.com/u/14273666?v=4","gravatar_id":"","url":"https://api.github.com/users/laggu","html_url":"https://github.com/laggu","followers_url":"https://api.github.com/users/laggu/followers","following_url":"https://api.github.com/users/laggu/following{/other_user}","gists_url":"https://api.github.com/users/laggu/gists{/gist_id}","starred_url":"https://api.github.com/users/laggu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggu/subscriptions","organizations_url":"https://api.github.com/users/laggu/orgs","repos_url":"https://api.github.com/users/laggu/repos","events_url":"https://api.github.com/users/laggu/events{/privacy}","received_events_url":"https://api.github.com/users/laggu/received_events","type":"User","site_admin":false},"body":"## Proposed changes\r\n\r\nThis pr is for supporting multi staking contracts.\r\nCCO can deploy multiple staking contracts since this pr merged.\r\nTo deploy multiple staking contracts, each staking contracts must have a same reward address.\r\nstakingAmounts will be a sum of staking amounts of contracts which have a same reward address.\r\n\r\n## Types of changes\r\n\r\nPlease put an x in the boxes related to your change.\r\n\r\n- [ ] Bugfix\r\n- [x] New feature or enhancement\r\n- [ ] Others\r\n\r\n## Checklist\r\n\r\n*Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.*\r\n\r\n- [x] I have read the [CONTRIBUTING GUIDELINES](https://github.com/klaytn/klaytn/blob/master/CONTRIBUTING.md) doc\r\n- [x] I have signed the [CLA](https://cla-assistant.io/klaytn/klaytn)\r\n- [x] Lint and unit tests pass locally with my changes (`$ make test`)\r\n- [x] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n- [ ] Any dependent changes have been merged and published in downstream modules\r\n\r\n## Related issues\r\n\r\n- Please leave the issue numbers or links related to this PR here.\r\n\r\n## Further comments\r\n\r\nIf this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...\r\n","created_at":"2019-08-13T06:54:26Z","updated_at":"2019-08-13T06:54:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"laggu","id":14273666,"node_id":"MDQ6VXNlcjE0MjczNjY2","avatar_url":"https://avatars1.githubusercontent.com/u/14273666?v=4","gravatar_id":"","url":"https://api.github.com/users/laggu","html_url":"https://github.com/laggu","followers_url":"https://api.github.com/users/laggu/followers","following_url":"https://api.github.com/users/laggu/following{/other_user}","gists_url":"https://api.github.com/users/laggu/gists{/gist_id}","starred_url":"https://api.github.com/users/laggu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggu/subscriptions","organizations_url":"https://api.github.com/users/laggu/orgs","repos_url":"https://api.github.com/users/laggu/repos","events_url":"https://api.github.com/users/laggu/events{/privacy}","received_events_url":"https://api.github.com/users/laggu/received_events","type":"User","site_admin":false},"assignees":[{"login":"laggu","id":14273666,"node_id":"MDQ6VXNlcjE0MjczNjY2","avatar_url":"https://avatars1.githubusercontent.com/u/14273666?v=4","gravatar_id":"","url":"https://api.github.com/users/laggu","html_url":"https://github.com/laggu","followers_url":"https://api.github.com/users/laggu/followers","following_url":"https://api.github.com/users/laggu/following{/other_user}","gists_url":"https://api.github.com/users/laggu/gists{/gist_id}","starred_url":"https://api.github.com/users/laggu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggu/subscriptions","organizations_url":"https://api.github.com/users/laggu/orgs","repos_url":"https://api.github.com/users/laggu/repos","events_url":"https://api.github.com/users/laggu/events{/privacy}","received_events_url":"https://api.github.com/users/laggu/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"andybclee","id":37580675,"node_id":"MDQ6VXNlcjM3NTgwNjc1","avatar_url":"https://avatars1.githubusercontent.com/u/37580675?v=4","gravatar_id":"","url":"https://api.github.com/users/andybclee","html_url":"https://github.com/andybclee","followers_url":"https://api.github.com/users/andybclee/followers","following_url":"https://api.github.com/users/andybclee/following{/other_user}","gists_url":"https://api.github.com/users/andybclee/gists{/gist_id}","starred_url":"https://api.github.com/users/andybclee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andybclee/subscriptions","organizations_url":"https://api.github.com/users/andybclee/orgs","repos_url":"https://api.github.com/users/andybclee/repos","events_url":"https://api.github.com/users/andybclee/events{/privacy}","received_events_url":"https://api.github.com/users/andybclee/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/klaytn/klaytn/pulls/152/commits","review_comments_url":"https://api.github.com/repos/klaytn/klaytn/pulls/152/comments","review_comment_url":"https://api.github.com/repos/klaytn/klaytn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/klaytn/klaytn/issues/152/comments","statuses_url":"https://api.github.com/repos/klaytn/klaytn/statuses/8e459490e6053a596365d304ec1fa4d9e0436311","head":{"label":"laggu:multiStakingContract2","ref":"multiStakingContract2","sha":"8e459490e6053a596365d304ec1fa4d9e0436311","user":{"login":"laggu","id":14273666,"node_id":"MDQ6VXNlcjE0MjczNjY2","avatar_url":"https://avatars1.githubusercontent.com/u/14273666?v=4","gravatar_id":"","url":"https://api.github.com/users/laggu","html_url":"https://github.com/laggu","followers_url":"https://api.github.com/users/laggu/followers","following_url":"https://api.github.com/users/laggu/following{/other_user}","gists_url":"https://api.github.com/users/laggu/gists{/gist_id}","starred_url":"https://api.github.com/users/laggu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggu/subscriptions","organizations_url":"https://api.github.com/users/laggu/orgs","repos_url":"https://api.github.com/users/laggu/repos","events_url":"https://api.github.com/users/laggu/events{/privacy}","received_events_url":"https://api.github.com/users/laggu/received_events","type":"User","site_admin":false},"repo":{"id":195352402,"node_id":"MDEwOlJlcG9zaXRvcnkxOTUzNTI0MDI=","name":"klaytn","full_name":"laggu/klaytn","private":false,"owner":{"login":"laggu","id":14273666,"node_id":"MDQ6VXNlcjE0MjczNjY2","avatar_url":"https://avatars1.githubusercontent.com/u/14273666?v=4","gravatar_id":"","url":"https://api.github.com/users/laggu","html_url":"https://github.com/laggu","followers_url":"https://api.github.com/users/laggu/followers","following_url":"https://api.github.com/users/laggu/following{/other_user}","gists_url":"https://api.github.com/users/laggu/gists{/gist_id}","starred_url":"https://api.github.com/users/laggu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggu/subscriptions","organizations_url":"https://api.github.com/users/laggu/orgs","repos_url":"https://api.github.com/users/laggu/repos","events_url":"https://api.github.com/users/laggu/events{/privacy}","received_events_url":"https://api.github.com/users/laggu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/laggu/klaytn","description":"Official Go implementation of the Klaytn protocol","fork":true,"url":"https://api.github.com/repos/laggu/klaytn","forks_url":"https://api.github.com/repos/laggu/klaytn/forks","keys_url":"https://api.github.com/repos/laggu/klaytn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laggu/klaytn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laggu/klaytn/teams","hooks_url":"https://api.github.com/repos/laggu/klaytn/hooks","issue_events_url":"https://api.github.com/repos/laggu/klaytn/issues/events{/number}","events_url":"https://api.github.com/repos/laggu/klaytn/events","assignees_url":"https://api.github.com/repos/laggu/klaytn/assignees{/user}","branches_url":"https://api.github.com/repos/laggu/klaytn/branches{/branch}","tags_url":"https://api.github.com/repos/laggu/klaytn/tags","blobs_url":"https://api.github.com/repos/laggu/klaytn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laggu/klaytn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laggu/klaytn/git/refs{/sha}","trees_url":"https://api.github.com/repos/laggu/klaytn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laggu/klaytn/statuses/{sha}","languages_url":"https://api.github.com/repos/laggu/klaytn/languages","stargazers_url":"https://api.github.com/repos/laggu/klaytn/stargazers","contributors_url":"https://api.github.com/repos/laggu/klaytn/contributors","subscribers_url":"https://api.github.com/repos/laggu/klaytn/subscribers","subscription_url":"https://api.github.com/repos/laggu/klaytn/subscription","commits_url":"https://api.github.com/repos/laggu/klaytn/commits{/sha}","git_commits_url":"https://api.github.com/repos/laggu/klaytn/git/commits{/sha}","comments_url":"https://api.github.com/repos/laggu/klaytn/comments{/number}","issue_comment_url":"https://api.github.com/repos/laggu/klaytn/issues/comments{/number}","contents_url":"https://api.github.com/repos/laggu/klaytn/contents/{+path}","compare_url":"https://api.github.com/repos/laggu/klaytn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laggu/klaytn/merges","archive_url":"https://api.github.com/repos/laggu/klaytn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laggu/klaytn/downloads","issues_url":"https://api.github.com/repos/laggu/klaytn/issues{/number}","pulls_url":"https://api.github.com/repos/laggu/klaytn/pulls{/number}","milestones_url":"https://api.github.com/repos/laggu/klaytn/milestones{/number}","notifications_url":"https://api.github.com/repos/laggu/klaytn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laggu/klaytn/labels{/name}","releases_url":"https://api.github.com/repos/laggu/klaytn/releases{/id}","deployments_url":"https://api.github.com/repos/laggu/klaytn/deployments","created_at":"2019-07-05T06:34:45Z","updated_at":"2019-08-06T01:47:29Z","pushed_at":"2019-08-13T06:18:57Z","git_url":"git://github.com/laggu/klaytn.git","ssh_url":"git@github.com:laggu/klaytn.git","clone_url":"https://github.com/laggu/klaytn.git","svn_url":"https://github.com/laggu/klaytn","homepage":"","size":20994,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"klaytn:master","ref":"master","sha":"20e8cb88c93778cf96ac832a8a31629dd7e9d5bf","user":{"login":"klaytn","id":41137100,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTM3MTAw","avatar_url":"https://avatars1.githubusercontent.com/u/41137100?v=4","gravatar_id":"","url":"https://api.github.com/users/klaytn","html_url":"https://github.com/klaytn","followers_url":"https://api.github.com/users/klaytn/followers","following_url":"https://api.github.com/users/klaytn/following{/other_user}","gists_url":"https://api.github.com/users/klaytn/gists{/gist_id}","starred_url":"https://api.github.com/users/klaytn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaytn/subscriptions","organizations_url":"https://api.github.com/users/klaytn/orgs","repos_url":"https://api.github.com/users/klaytn/repos","events_url":"https://api.github.com/users/klaytn/events{/privacy}","received_events_url":"https://api.github.com/users/klaytn/received_events","type":"Organization","site_admin":false},"repo":{"id":191270251,"node_id":"MDEwOlJlcG9zaXRvcnkxOTEyNzAyNTE=","name":"klaytn","full_name":"klaytn/klaytn","private":false,"owner":{"login":"klaytn","id":41137100,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTM3MTAw","avatar_url":"https://avatars1.githubusercontent.com/u/41137100?v=4","gravatar_id":"","url":"https://api.github.com/users/klaytn","html_url":"https://github.com/klaytn","followers_url":"https://api.github.com/users/klaytn/followers","following_url":"https://api.github.com/users/klaytn/following{/other_user}","gists_url":"https://api.github.com/users/klaytn/gists{/gist_id}","starred_url":"https://api.github.com/users/klaytn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaytn/subscriptions","organizations_url":"https://api.github.com/users/klaytn/orgs","repos_url":"https://api.github.com/users/klaytn/repos","events_url":"https://api.github.com/users/klaytn/events{/privacy}","received_events_url":"https://api.github.com/users/klaytn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/klaytn/klaytn","description":"Official Go implementation of the Klaytn protocol","fork":false,"url":"https://api.github.com/repos/klaytn/klaytn","forks_url":"https://api.github.com/repos/klaytn/klaytn/forks","keys_url":"https://api.github.com/repos/klaytn/klaytn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klaytn/klaytn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klaytn/klaytn/teams","hooks_url":"https://api.github.com/repos/klaytn/klaytn/hooks","issue_events_url":"https://api.github.com/repos/klaytn/klaytn/issues/events{/number}","events_url":"https://api.github.com/repos/klaytn/klaytn/events","assignees_url":"https://api.github.com/repos/klaytn/klaytn/assignees{/user}","branches_url":"https://api.github.com/repos/klaytn/klaytn/branches{/branch}","tags_url":"https://api.github.com/repos/klaytn/klaytn/tags","blobs_url":"https://api.github.com/repos/klaytn/klaytn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klaytn/klaytn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klaytn/klaytn/git/refs{/sha}","trees_url":"https://api.github.com/repos/klaytn/klaytn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klaytn/klaytn/statuses/{sha}","languages_url":"https://api.github.com/repos/klaytn/klaytn/languages","stargazers_url":"https://api.github.com/repos/klaytn/klaytn/stargazers","contributors_url":"https://api.github.com/repos/klaytn/klaytn/contributors","subscribers_url":"https://api.github.com/repos/klaytn/klaytn/subscribers","subscription_url":"https://api.github.com/repos/klaytn/klaytn/subscription","commits_url":"https://api.github.com/repos/klaytn/klaytn/commits{/sha}","git_commits_url":"https://api.github.com/repos/klaytn/klaytn/git/commits{/sha}","comments_url":"https://api.github.com/repos/klaytn/klaytn/comments{/number}","issue_comment_url":"https://api.github.com/repos/klaytn/klaytn/issues/comments{/number}","contents_url":"https://api.github.com/repos/klaytn/klaytn/contents/{+path}","compare_url":"https://api.github.com/repos/klaytn/klaytn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klaytn/klaytn/merges","archive_url":"https://api.github.com/repos/klaytn/klaytn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klaytn/klaytn/downloads","issues_url":"https://api.github.com/repos/klaytn/klaytn/issues{/number}","pulls_url":"https://api.github.com/repos/klaytn/klaytn/pulls{/number}","milestones_url":"https://api.github.com/repos/klaytn/klaytn/milestones{/number}","notifications_url":"https://api.github.com/repos/klaytn/klaytn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klaytn/klaytn/labels{/name}","releases_url":"https://api.github.com/repos/klaytn/klaytn/releases{/id}","deployments_url":"https://api.github.com/repos/klaytn/klaytn/deployments","created_at":"2019-06-11T01:22:29Z","updated_at":"2019-08-13T02:06:59Z","pushed_at":"2019-08-13T05:59:31Z","git_url":"git://github.com/klaytn/klaytn.git","ssh_url":"git@github.com:klaytn/klaytn.git","clone_url":"https://github.com/klaytn/klaytn.git","svn_url":"https://github.com/klaytn/klaytn","homepage":"","size":12155,"stargazers_count":39,"watchers_count":39,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":23,"open_issues":7,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/klaytn/klaytn/pulls/152"},"html":{"href":"https://github.com/klaytn/klaytn/pull/152"},"issue":{"href":"https://api.github.com/repos/klaytn/klaytn/issues/152"},"comments":{"href":"https://api.github.com/repos/klaytn/klaytn/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/klaytn/klaytn/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/klaytn/klaytn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/klaytn/klaytn/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/klaytn/klaytn/statuses/8e459490e6053a596365d304ec1fa4d9e0436311"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":9,"additions":356,"deletions":56,"changed_files":4}}
other: {"actor":{"display_login":"laggu"}}