{"action":"closed","issue":{"url":"https://api.github.com/repos/tooget/gbsa-solidity-smartcontract/issues/2","repository_url":"https://api.github.com/repos/tooget/gbsa-solidity-smartcontract","labels_url":"https://api.github.com/repos/tooget/gbsa-solidity-smartcontract/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tooget/gbsa-solidity-smartcontract/issues/2/comments","events_url":"https://api.github.com/repos/tooget/gbsa-solidity-smartcontract/issues/2/events","html_url":"https://github.com/tooget/gbsa-solidity-smartcontract/issues/2","id":382973689,"node_id":"MDU6SXNzdWUzODI5NzM2ODk=","number":2,"title":"Solidity : address(0)?","user":{"login":"tooget","id":24958726,"node_id":"MDQ6VXNlcjI0OTU4NzI2","avatar_url":"https://avatars0.githubusercontent.com/u/24958726?v=4","gravatar_id":"","url":"https://api.github.com/users/tooget","html_url":"https://github.com/tooget","followers_url":"https://api.github.com/users/tooget/followers","following_url":"https://api.github.com/users/tooget/following{/other_user}","gists_url":"https://api.github.com/users/tooget/gists{/gist_id}","starred_url":"https://api.github.com/users/tooget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tooget/subscriptions","organizations_url":"https://api.github.com/users/tooget/orgs","repos_url":"https://api.github.com/users/tooget/repos","events_url":"https://api.github.com/users/tooget/events{/privacy}","received_events_url":"https://api.github.com/users/tooget/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-21T06:24:45Z","updated_at":"2018-11-21T06:48:02Z","closed_at":"2018-11-21T06:48:02Z","author_association":"OWNER","body":"```solidity\r\n    //GC 전달 기록 함수\r\n    function transfer(address _to, uint _value) payable public {\r\n\r\n        address _from = msg.sender;\r\n        //내부 address 변수 내 0번째 선언된 내용(?)\r\n        require( _to != address(0) );\r\n        \r\n        //잔고 조건 조회, 실패시 Error(require)\r\n        require( balanceOf[_from] >= _value );\r\n\r\n        balanceOf[_from] -= _value;\r\n        balanceOf[_to] += _value;\r\n        \r\n        emit Transfer(_from, _to, _value);\r\n    }\r\n```"}}
{"actor":{"display_login":"tooget"}}