通过交互式shell启动corda流

通过交互式shell启动corda流,corda,Corda,我正试图用这个从外壳开始流动 flow start LoanIssueFlow$InitiatorFlow owner: "O=PartyA,L=London,C=GB", supplier: "O=Notary,L=London,C=GB", bank: "O=Notary,L=London,C=GB", amount: Currencies.POUNDS(4), by: new Date(), penalty: 4, paid: Currencies.POUNDS(0) 流程构造函数如下所

我正试图用这个从外壳开始流动

flow start LoanIssueFlow$InitiatorFlow owner: "O=PartyA,L=London,C=GB", supplier: "O=Notary,L=London,C=GB", bank: "O=Notary,L=London,C=GB", amount: Currencies.POUNDS(4), by: new Date(), penalty: 4, paid: Currencies.POUNDS(0)
流程构造函数如下所示:

public InitiatorFlow(Party owner, Party supplier, Party bank, Amount<Currency> amount, Date by, double penalty, Amount<Currency> paid) {
        this.state = new LoanState(owner, supplier, bank, amount, by, penalty, paid);
    }
我得到这个错误:

No matching constructor found:
- [net.corda.core.identity.Party, net.corda.core.identity.Party, net.corda.core.identity.Party, net.corda.core.contracts.Amount<java.util.Currency>, java.util.Date, double, net.corda.core.contracts.Amount<java.util.Currency>]: Could not parse as a command: Did not recognise the currency in Currencies.POUNDS(4) or could not parse

感谢您的帮助

这是启动该流程的正确方式:

flow start LoanIssueFlow$InitiatorFlow owner: "O=PartyA,L=London,C=GB", supplier: "O=Notary,L=London,C=GB", bank: "O=Notary,L=London,C=GB", amount: $100, by: 2020-01-01, penalty: 4, paid: $0