mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-18 21:34:39 +01:00
Move DLCDAOs to src (#5652)
This commit is contained in:
parent
b98087a5ee
commit
feeb2618d6
@ -0,0 +1,34 @@
|
||||
package org.bitcoins.dlc.wallet.models
|
||||
|
||||
case class DLCDAOs(
|
||||
announcementDAO: OracleAnnouncementDataDAO,
|
||||
nonceDAO: OracleNonceDAO,
|
||||
dlcAnnouncementDAO: DLCAnnouncementDAO,
|
||||
dlcDAO: DLCDAO,
|
||||
contractDataDAO: DLCContractDataDAO,
|
||||
dlcOfferDAO: DLCOfferDAO,
|
||||
dlcAcceptDAO: DLCAcceptDAO,
|
||||
dlcInputsDAO: DLCFundingInputDAO,
|
||||
dlcSigsDAO: DLCCETSignaturesDAO,
|
||||
dlcRefundSigDAO: DLCRefundSigsDAO,
|
||||
dlcRemoteTxDAO: DLCRemoteTxDAO,
|
||||
incomingDLCOfferDAO: IncomingDLCOfferDAO,
|
||||
contactDAO: DLCContactDAO
|
||||
) {
|
||||
|
||||
val list = Vector(
|
||||
announcementDAO,
|
||||
nonceDAO,
|
||||
dlcDAO,
|
||||
dlcAnnouncementDAO,
|
||||
contractDataDAO,
|
||||
dlcOfferDAO,
|
||||
dlcAcceptDAO,
|
||||
dlcInputsDAO,
|
||||
dlcSigsDAO,
|
||||
dlcRefundSigDAO,
|
||||
dlcRemoteTxDAO,
|
||||
incomingDLCOfferDAO,
|
||||
contactDAO: DLCContactDAO
|
||||
)
|
||||
}
|
@ -9,39 +9,6 @@ import org.scalatest._
|
||||
|
||||
import scala.concurrent.{Await, Future}
|
||||
|
||||
case class DLCDAOs(
|
||||
announcementDAO: OracleAnnouncementDataDAO,
|
||||
nonceDAO: OracleNonceDAO,
|
||||
dlcAnnouncementDAO: DLCAnnouncementDAO,
|
||||
dlcDAO: DLCDAO,
|
||||
contractDataDAO: DLCContractDataDAO,
|
||||
dlcOfferDAO: DLCOfferDAO,
|
||||
dlcAcceptDAO: DLCAcceptDAO,
|
||||
dlcInputsDAO: DLCFundingInputDAO,
|
||||
dlcSigsDAO: DLCCETSignaturesDAO,
|
||||
dlcRefundSigDAO: DLCRefundSigsDAO,
|
||||
dlcRemoteTxDAO: DLCRemoteTxDAO,
|
||||
incomingDLCOfferDAO: IncomingDLCOfferDAO,
|
||||
contactDAO: DLCContactDAO
|
||||
) {
|
||||
|
||||
val list = Vector(
|
||||
announcementDAO,
|
||||
nonceDAO,
|
||||
dlcDAO,
|
||||
dlcAnnouncementDAO,
|
||||
contractDataDAO,
|
||||
dlcOfferDAO,
|
||||
dlcAcceptDAO,
|
||||
dlcInputsDAO,
|
||||
dlcSigsDAO,
|
||||
dlcRefundSigDAO,
|
||||
dlcRemoteTxDAO,
|
||||
incomingDLCOfferDAO,
|
||||
contactDAO: DLCContactDAO
|
||||
)
|
||||
}
|
||||
|
||||
trait DLCDAOFixture extends BitcoinSFixture with EmbeddedPg {
|
||||
|
||||
private lazy val daos: DLCDAOs = {
|
||||
|
Loading…
Reference in New Issue
Block a user