| | |
| | | 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.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.ApiIndexInfoVo; |
| | | import cc.mrbird.febs.dapp.vo.ApiStorageInfoVo; |
| | | import cc.mrbird.febs.dapp.vo.MemberNodeVo; |
| | | 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 { |
| | | |
| | |
| | | |
| | | 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); |
| | | |
| | | Long buyStar(BuyStarDto buyStarDto); |
| | | |
| | | FebsResponse nodeList(); |
| | | |
| | | MemberNodeVo memberNode(MemberNodeDto memberNodeDto); |
| | | |
| | | Long chargeFee(ChargeFeeDto chargeFeeDto); |
| | | |
| | | FebsResponse agreeWithdraw(Long id); |
| | | |
| | | FebsResponse disagreeWithdraw(Long id); |
| | | |
| | | ApiIndexInfoVo indexInfo(); |
| | | |
| | | List<ApiStorageInfoVo> storageIndex(); |
| | | |
| | | List<ApiStorageInfoVo> directIndex(); |
| | | } |