IT討論區(136) 我叫手巴我最屌
橫點橫 2021-10-30 18:23:49 由你份糧扣返有咩咁良心
:^(

Ads

單刀抄飛機 2021-10-30 18:44:55
:^(
絆腳石出糧 2021-10-30 19:08:39 有冇Ching想搞market panda
:^(
腦若傷殘 2021-10-30 19:46:20
:^(
i-vtec 2021-10-30 19:46:57 大家諗住揼曲揼到幾歲
:^(
:^(
腦若傷殘 2021-10-30 19:48:10
:^(
elon.musk. 2021-10-30 20:13:02 你都上左岸啦洗乜問
:^(
並拎磅龍放臭屁 2021-10-30 21:25:56 此回覆已被刪除
絆腳石出糧 2021-10-30 21:28:33 弱智先讀taught master
絆腳石出糧 2021-10-30 22:03:51 Sorry頭先語氣重左少少

我既意思係水魚
腦若傷殘 2021-10-30 22:11:06
:^(

Ads

手一黏便緊(UTC+9 2021-10-30 22:16:27
:^(
bootcamp9 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
:^(
手一黏便緊(UTC+9 2021-10-31 08:47:41
唔好彩遇到差上司
:^(

年薪多1萬
10000/12=833 per month
:^(

當你狗咩
Code4Food 2021-10-31 09:29:16 諗住揼到60退休
出世稅務專員 2021-10-31 10:18:43
:^(
bootcamp9 2021-10-31 11:37:50
:^(
:^(
:^(
我有夢想 2021-10-31 11:44:32 轉工等個lead 落手做啦
佢仲頭痛過你
i-vtec 2021-10-31 11:47:04
:^(
手一黏便緊(UTC+9 2021-10-31 11:51:10
:^(

Ads

手一黏便緊(UTC+9 2021-10-31 11:52:07
:^(
i-vtec 2021-10-31 12:09:31
:^(
手一黏便緊(UTC+9 2021-10-31 12:14:48
:^(
加利文 2021-10-31 12:17:56
:^(