| | |
| | | package cc.mrbird.febs.dapp.service; |
| | | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.entity.QueryRequest; |
| | | import cc.mrbird.febs.dapp.dto.*; |
| | | import cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity; |
| | |
| | | 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.MallOrderListVo; |
| | | import cc.mrbird.febs.dapp.vo.WalletInfoVo; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | |
| | | 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); |
| | | |
| | | IPage<DappAccountMoneyChangeEntity> accountMoneyChangeInPage(DappAccountMoneyChangeEntity change, QueryRequest request); |
| | | |
| | | |
| | | Long transfer(TransferDto transferDto); |
| | | |
| | | Map<String, BigDecimal> calPrice(PriceDto priceDto); |
| | | |
| | | ActiveNftListVo boxSurprise(); |
| | | |
| | | void activeNft(ActiveDto activeDto); |
| | | |
| | | List<ActiveNftListVo> findUnActiveNftList(); |
| | | |
| | | void withdraw(WithdrawDto withdrawDto); |
| | | |
| | | void updateWalletCoinWithLock(BigDecimal amount, Long memberId); |
| | | void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type); |
| | | |
| | | void updateWalletMineWithLock(BigDecimal amount, Long memberId); |
| | | 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); |
| | | |
| | | /** |
| | | * 资产钱包转帐到闪兑钱包3% 手续费(扣币) |
| | | * @param mineToCoinDto |
| | | */ |
| | | void mineToCoin(MineToCoinDto mineToCoinDto); |
| | | |
| | | Long transferAusd(TransferAusdDto transferAusdDto); |
| | | |
| | | IPage<DappFundFlowVo> getRecordVoInPage(RecordInPageDto recordInPageDto); |
| | | |
| | | void roundCoin(RoundCoinDto roundCoinDto); |
| | | |
| | | void roundCoinAusdt(RoundCoinDto roundCoinDto); |
| | | |
| | | FebsResponse withdrawAgree(Long id); |
| | | |
| | | FebsResponse withdrawDisAgree(Long id); |
| | | |
| | | FebsResponse getChangeInPageInPage(ChangeInPageDto changeInPageDto); |
| | | } |