class BidOrderServiceImpl implements OrderService<BidOrder, ColoredCoinsBidOrderPlacement> {

    @Override
    public void addOrder(Transaction transaction, ColoredCoinsBidOrderPlacement attachment) {
        final BidOrder order = new BidOrder(transaction, attachment, blockchain.getHeight());
        log.trace(">> addOrder() bidOrder={}", order);
        bidOrderTable.insert(order);
    }

    public  BidOrderServiceImpl(
        final DatabaseManager databaseManager,
        final BidOrderTable bidOrderTable,
        final Blockchain blockchain,
        final IteratorToStreamConverter<BidOrder> converter
    );
    @Inject public  BidOrderServiceImpl(
        final DatabaseManager databaseManager,
        final BidOrderTable bidOrderTable,
        final Blockchain blockchain
    );

}