Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hi-Ether Meetup Block#0 LTトークン運用の三要素(発行・移転・焼却)

Shu Kobuchi
February 02, 2018

Hi-Ether Meetup Block#0 LTトークン運用の三要素(発行・移転・焼却)

2018年2月2日Hi-Ether Meetup Block#0での「トークン運用の三要素(発行・移転・焼却)」のLT資料です。

Shu Kobuchi

February 02, 2018
Tweet

More Decks by Shu Kobuchi

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ w খᔹप 4IV,PCVDIJ  w ೥ྸɿY'ࡀʢࠓ೥ͰYࡀʂʂʣ w ࠷ऴֶྺɿϒϩοΫνΣʔϯେֶߍΤϯδχΞ ϒϩϯζίʔε

    ̐ظੜ  w ΩϡʔϒγεςϜͷاը෦໳
 ɹɾϒϩοΫνΣʔϯਪਐڠձ #$$$ ձһ
 ɹɹɹԾ૝௨՟;&/ࣾձ࣮ݧʹࢀՃ
 ɹɾϒϩοΫνΣʔϯϋϒίʔϙϨʔτձһ
 ɹɾϏϤϯυϒϩοΫνΣʔϯਖ਼ձһ
  2. ίʔυྫ pragma solidity ^0.4.18; library SafeMath { … } contract

    BasicToken { … } contract BurnableToken is BasicToken { event Burn(address indexed burner, uint256 value); function burn(uint256 _value) public { require(_value <= balances[msg.sender]); address burner = msg.sender; balances[burner] = balances[burner].sub(_value); totalSupply = totalSupply.sub(_value); Burn(burner, _value); } }
  3. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ w !TIV@LPC w TIVLPCVDIJ w  ۚ  ౔

    04$౦ژ!໌੕େֶ w ೔ຊ҉߸௨՟Ϣʔβձग़లʂ w  ೔ ηϛφʔʮ#JUDPJO$PSFೖ໳ʯɹ୲౰ɿখᔹ w IUUQTXXXPTQOKQPTDTQSJOHNPEVMFTFHVJEFFWFOUQIQ FJE