xiaoyong931011
2023-07-12 91c36cc2d9b5fae741fe5a59e366eb34c7072674
src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
@@ -7,8 +7,10 @@
import cc.mrbird.febs.dapp.entity.DappWalletCoinEntity;
import cc.mrbird.febs.dapp.entity.DappWalletMineEntity;
import cc.mrbird.febs.dapp.vo.ActiveNftListVo;
import cc.mrbird.febs.dapp.vo.DappFundFlowVo;
import cc.mrbird.febs.dapp.vo.WalletInfoVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.bind.annotation.RequestBody;
import java.math.BigDecimal;
import java.util.List;
@@ -18,15 +20,9 @@
    WalletInfoVo walletInfo();
    void change(WalletOperateDto walletOperateDto);
    void withdraw(WalletOperateDto walletOperateDto);
    List<DappFundFlowEntity> recordInPage(RecordInPageDto recordInPageDto);
    IPage<DappFundFlowEntity> fundFlowInPage(DappFundFlowEntity dappFundFlowEntity, QueryRequest request);
    void withdrawAgreeOrNot(Long id, int type);
    IPage<DappWalletCoinEntity> walletCoinInPage(DappWalletCoinEntity walletCoin, QueryRequest request);
    IPage<DappWalletMineEntity> walletMineInPage(DappWalletMineEntity walletMine, QueryRequest request);
@@ -36,12 +32,35 @@
    Long transfer(TransferDto transferDto);
    Map<String, BigDecimal> calPrice(PriceDto priceDto);
    BigDecimal calPrice(PriceDto priceDto);
    int boxSurprise();
    void withdraw(WithdrawDto withdrawDto);
    void activeNft(ActiveDto activeDto);
    void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type);
    List<ActiveNftListVo> findUnActiveNftList();
    void updateWalletMineWithLock(BigDecimal amount, Long memberId, int type);
    void addFrozenAmountWithLock(BigDecimal amount, Long memberId);
    void releaseFrozenAmountWithLock(Long memberId);
    DappWalletCoinEntity findByMemberId(Long memberId);
    void transferAgain(TransferDto transferDto);
    Long transferA(TransferADto transferADto);
    /**
     * 资产钱包转帐到闪兑钱包3% 手续费(扣币)
     * @param mineToCoinDto
     */
    void mineToCoin(MineToCoinDto mineToCoinDto);
    Long transferAusd(TransferAusdDto transferAusdDto);
    List<DappFundFlowVo> getRecordVoInPage(RecordInPageDto recordInPageDto);
    void roundCoin(RoundCoinDto roundCoinDto);
    void roundCoinAusdt(RoundCoinDto roundCoinDto);
}