KKSU
2024-07-08 1bfe95ae803adee6f824e83d887aaf24d1d07788
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 balanceOfUnDecimal(String address);
 
    BigDecimal balanceOf(String address);
 
    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);
}