{"action":"created","issue":{"url":"https://api.github.com/repos/oysterprotocol/brokernode/issues/185","repository_url":"https://api.github.com/repos/oysterprotocol/brokernode","labels_url":"https://api.github.com/repos/oysterprotocol/brokernode/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/oysterprotocol/brokernode/issues/185/comments","events_url":"https://api.github.com/repos/oysterprotocol/brokernode/issues/185/events","html_url":"https://github.com/oysterprotocol/brokernode/issues/185","id":310525517,"number":185,"title":"[Broker] Add listener for when PRL Transfer event occrurs","user":{"login":"rfornea","id":17357002,"avatar_url":"https://avatars1.githubusercontent.com/u/17357002?v=4","gravatar_id":"","url":"https://api.github.com/users/rfornea","html_url":"https://github.com/rfornea","followers_url":"https://api.github.com/users/rfornea/followers","following_url":"https://api.github.com/users/rfornea/following{/other_user}","gists_url":"https://api.github.com/users/rfornea/gists{/gist_id}","starred_url":"https://api.github.com/users/rfornea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfornea/subscriptions","organizations_url":"https://api.github.com/users/rfornea/orgs","repos_url":"https://api.github.com/users/rfornea/repos","events_url":"https://api.github.com/users/rfornea/events{/privacy}","received_events_url":"https://api.github.com/users/rfornea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Astor","id":14462,"avatar_url":"https://avatars1.githubusercontent.com/u/14462?v=4","gravatar_id":"","url":"https://api.github.com/users/Astor","html_url":"https://github.com/Astor","followers_url":"https://api.github.com/users/Astor/followers","following_url":"https://api.github.com/users/Astor/following{/other_user}","gists_url":"https://api.github.com/users/Astor/gists{/gist_id}","starred_url":"https://api.github.com/users/Astor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Astor/subscriptions","organizations_url":"https://api.github.com/users/Astor/orgs","repos_url":"https://api.github.com/users/Astor/repos","events_url":"https://api.github.com/users/Astor/events{/privacy}","received_events_url":"https://api.github.com/users/Astor/received_events","type":"User","site_admin":false},"assignees":[{"login":"Astor","id":14462,"avatar_url":"https://avatars1.githubusercontent.com/u/14462?v=4","gravatar_id":"","url":"https://api.github.com/users/Astor","html_url":"https://github.com/Astor","followers_url":"https://api.github.com/users/Astor/followers","following_url":"https://api.github.com/users/Astor/following{/other_user}","gists_url":"https://api.github.com/users/Astor/gists{/gist_id}","starred_url":"https://api.github.com/users/Astor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Astor/subscriptions","organizations_url":"https://api.github.com/users/Astor/orgs","repos_url":"https://api.github.com/users/Astor/repos","events_url":"https://api.github.com/users/Astor/events{/privacy}","received_events_url":"https://api.github.com/users/Astor/received_events","type":"User","site_admin":false},{"login":"pzhao5","id":5201352,"avatar_url":"https://avatars0.githubusercontent.com/u/5201352?v=4","gravatar_id":"","url":"https://api.github.com/users/pzhao5","html_url":"https://github.com/pzhao5","followers_url":"https://api.github.com/users/pzhao5/followers","following_url":"https://api.github.com/users/pzhao5/following{/other_user}","gists_url":"https://api.github.com/users/pzhao5/gists{/gist_id}","starred_url":"https://api.github.com/users/pzhao5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzhao5/subscriptions","organizations_url":"https://api.github.com/users/pzhao5/orgs","repos_url":"https://api.github.com/users/pzhao5/repos","events_url":"https://api.github.com/users/pzhao5/events{/privacy}","received_events_url":"https://api.github.com/users/pzhao5/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-02T16:03:15Z","updated_at":"2018-05-20T15:18:27Z","closed_at":null,"author_association":"MEMBER","body":"A `Transfer` event is emitted when a transfer is made.\r\nhttps://github.com/oysterprotocol/smartcontract/blob/master/OysterPearl.sol#L28\r\n\r\nI believe the web3 client can filter by address, so we can only listen to `Transfer` events we care about.\r\n\r\n Implementation suggestion: Each listener's callback trigger will be in it's own `goroutine`. Once triggered, the goroutine will do some work, then be disposed."},"comment":{"url":"https://api.github.com/repos/oysterprotocol/brokernode/issues/comments/390489957","html_url":"https://github.com/oysterprotocol/brokernode/issues/185#issuecomment-390489957","issue_url":"https://api.github.com/repos/oysterprotocol/brokernode/issues/185","id":390489957,"user":{"login":"pzhao5","id":5201352,"avatar_url":"https://avatars0.githubusercontent.com/u/5201352?v=4","gravatar_id":"","url":"https://api.github.com/users/pzhao5","html_url":"https://github.com/pzhao5","followers_url":"https://api.github.com/users/pzhao5/followers","following_url":"https://api.github.com/users/pzhao5/following{/other_user}","gists_url":"https://api.github.com/users/pzhao5/gists{/gist_id}","starred_url":"https://api.github.com/users/pzhao5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzhao5/subscriptions","organizations_url":"https://api.github.com/users/pzhao5/orgs","repos_url":"https://api.github.com/users/pzhao5/repos","events_url":"https://api.github.com/users/pzhao5/events{/privacy}","received_events_url":"https://api.github.com/users/pzhao5/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T15:18:27Z","updated_at":"2018-05-20T15:18:27Z","author_association":"CONTRIBUTOR","body":"Should I close this one?\r\n\r\nhttps://github.com/oysterprotocol/brokernode/pull/308"}}
{"actor":{"display_login":"pzhao5"}}