IT討論區(136) 我叫手巴我最屌

1001 回覆
6 Like 4 Dislike
2021-10-30 18:23:49
由你份糧扣返有咩咁良心
2021-10-30 18:44:55
2021-10-30 19:08:39
有冇Ching想搞market panda
2021-10-30 19:46:20
2021-10-30 19:46:57
大家諗住揼曲揼到幾歲
2021-10-30 19:48:10
2021-10-30 20:13:02
你都上左岸啦洗乜問
2021-10-30 21:28:33
弱智先讀taught master
2021-10-30 22:03:51
Sorry頭先語氣重左少少

我既意思係水魚
2021-10-30 22:11:06
2021-10-30 22:16:27
2021-10-31 02:41:59
/**
 *Submitted for verification at BscScan.com on 2021-07-31
*/
contract Husky is ERC20 {
    address public admin;

    constructor() ERC20("Husky", "HUSKY") {
        admin = msg.sender;
    }

      function updateAdmin(address newAdmin) external {
    require(msg.sender == admin, 'only admin');
    admin = newAdmin;
  }

  function mint(address to, uint amount) external {
    require(msg.sender == admin, 'only admin');
    _mint(to, amount);
  }

  function burn(address owner, uint amount) external {
    require(msg.sender == admin, 'only admin');
    _burn(owner, amount);
  }
}

留意緊隻雪橇幣
最尾兩個function係咪講緊
1.admin有權射幾多coin去任何address
2.admin有權burn任何address既幾多coin

source code link喺度
https://bscscan.com/address/0x52d88a9a2a20a840d7a336d21e427e9ad093deea#code
利申:唔識smart contract,有錯勿屌
2021-10-31 04:56:31
2021-10-31 08:47:41

唔好彩遇到差上司
年薪多1萬
10000/12=833 per month
當你狗咩
2021-10-31 09:29:16
諗住揼到60退休
2021-10-31 10:18:43
2021-10-31 11:37:50
2021-10-31 11:44:32
轉工等個lead 落手做啦
佢仲頭痛過你
2021-10-31 11:47:04
2021-10-31 11:51:10
2021-10-31 11:52:07
2021-10-31 12:09:31
2021-10-31 12:14:48
2021-10-31 12:17:56
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞