| | |
| | | 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); |
| | | BigDecimal getPrice(String address); |
| | | |
| | | BigInteger allowance(String address); |
| | | |
| | |
| | | |
| | | String transfer(String address, BigDecimal amount); |
| | | |
| | | void transferList(List<BatchTransferDto> batchTransferDtos); |
| | | |
| | | int allowanceCnt(String address); |
| | | |
| | | int decimals(); |