| | |
| | | package cc.mrbird.febs.dapp.chain; |
| | | |
| | | import cc.mrbird.febs.dapp.dto.BatchTransferDto; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.math.BigInteger; |
| | | import java.util.List; |
| | | |
| | | public interface ContractChainService { |
| | | |
| | |
| | | |
| | | BigInteger allowance(String address); |
| | | |
| | | boolean isAllowance(String address); |
| | | |
| | | String transfer(String address); |
| | | |
| | | String transfer(String address, BigDecimal amount); |
| | | |
| | | int allowanceCnt(String address); |
| | | |
| | | int decimals(); |
| | | |
| | | BigInteger blockNumber(); |
| | | |
| | | BigInteger totalSupply(); |
| | | |
| | | BigInteger totalSupplyNFT(); |
| | | |
| | | String safeMintNFT(String address); |
| | | |
| | | /** |
| | | * 批量转账 |
| | | * @param batchTransferDtos |
| | | */ |
| | | void transferList(List<BatchTransferDto> batchTransferDtos); |
| | | } |