KKSU
2024-06-06 424ad35dcd1fafb51a0ba77523b11e6871f2858c
src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
@@ -6,26 +6,19 @@
import cc.mrbird.febs.dapp.entity.DappFundFlowEntity;
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.WalletInfoVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.bind.annotation.RequestBody;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
public interface DappWalletService {
    WalletInfoVo walletInfo();
    void change(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);
@@ -35,16 +28,19 @@
    Long transfer(TransferDto transferDto);
    Map<String, BigDecimal> calPrice(PriceDto priceDto);
    ActiveNftListVo boxSurprise();
    void activeNft(ActiveDto activeDto);
    List<ActiveNftListVo> findUnActiveNftList();
    BigDecimal calPrice(PriceDto priceDto);
    void withdraw(WithdrawDto withdrawDto);
    void updateWalletCoinWithLock(BigDecimal amount, Long memberId);
    void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type);
    void updateWalletMineWithLock(BigDecimal amount, Long memberId, int type);
    void addFrozenAmountWithLock(BigDecimal amount, Long memberId);
    void releaseFrozenAmountWithLock(Long memberId);
    DappWalletCoinEntity findByMemberId(Long memberId);
    Long buyNode(BuyNodeDto buyNodeDto);
}