1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

typed lockPayments

This commit is contained in:
Sebastian Gerske 2018-11-20 11:23:11 +01:00
parent e327e1275b
commit 0afbb8453d

View File

@ -9,9 +9,9 @@ export default class PaymentConditions extends ContractBase {
return paymentConditions
}
public async lockPayment(serviceAgreementId: any, assetId: any, price: number, publisherAddress: string)
public async lockPayment(serviceAgreementId: string, assetId: string, price: number, consumerAddress: string)
: Promise<Receipt> {
return this.send("lockPayment", publisherAddress, [
return this.send("lockPayment", consumerAddress, [
serviceAgreementId, "0x" + assetId, price,
])
}