| | |
| | | package cc.mrbird.febs.dapp.chain; |
| | | |
| | | import cc.mrbird.febs.common.contants.AppContants; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import cc.mrbird.febs.dapp.dto.BatchTransferDto; |
| | | import org.tron.trident.core.ApiWrapper; |
| | | import org.tron.trident.core.contract.Contract; |
| | | import org.tron.trident.core.contract.Trc20Contract; |
| | |
| | | import java.math.BigDecimal; |
| | | import java.math.BigInteger; |
| | | import java.math.RoundingMode; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | |
| | | } |
| | | |
| | | @Override |
| | | public int decimals() { |
| | | return 0; |
| | | } |
| | | |
| | | @Override |
| | | public String transfer(String address) { |
| | | BigInteger balance = balanceOfUnDecimal(address); |
| | | |
| | |
| | | public static void main(String[] args) { |
| | | // System.out.println(INSTANCE.transfer("TFGbYzGv4Zt2nzFM3uU3uCJZY67WKSveG9", BigDecimal.valueOf(5)));; |
| | | } |
| | | |
| | | @Override |
| | | public BigInteger blockNumber() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public BigInteger totalSupply() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public BigInteger totalSupplyNFT() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public String safeMintNFT(String address) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public void transferList(List<BatchTransferDto> batchTransferDtos) { |
| | | |
| | | } |
| | | } |