class PendingFundService {

    @Transactional
    public void save(final Principal principal, final PendingFundCommand command) {
        final IssueInformation issueInformation = githubLinkParser.parseIssue(command.getPlatformId());
        final PendingFund pf = PendingFund.builder()
                                          .amount(toWei(command))
                                          .description(command.getDescription())
                                          .fromAddress(command.getFromAddress())
                                          .tokenAddress(command.getTokenAddress())
                                          .transactionhash(command.getTransactionId())
                                          .issueInformation(issueInformation)
                                          .userId(principal == null ? null : principal.getName())
                                          .build();
        pendingFundRepository.save(pf);
    }

    public  PendingFundService(final PendingFundRepository pendingFundRepository,
                              final GithubPlatformIdParser githubLinkParser,
                              final Mappers mappers,
                              final TokenInfoService tokenInfoService);

}