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

fix registering

This commit is contained in:
Sebastian Gerske 2018-12-07 15:23:17 +01:00
parent ce7027590e
commit 382207b904

View File

@ -1,7 +1,7 @@
import DDOCondition from "../../ddo/Condition"
import Dependency from "../../ddo/Dependency"
import Event from "../../ddo/Event"
import EventHandlers from "../../ddo/EventHandlers"
import EventHandler from "../../ddo/EventHandler"
import MetaData from "../../ddo/MetaData"
import Parameter from "../../ddo/Parameter"
import ContractReflector from "../../keeper/ContractReflector"
@ -108,14 +108,12 @@ export default class ServiceAgreementTemplate extends OceanBase {
const events: Event[] = [
{
name: "PaymentReleased",
actorType: [
"consumer",
],
handlers: {
actorType: "consumer",
handler: {
moduleName: "serviceAgreement",
functionName: "fulfillAgreement",
version: "0.1",
} as EventHandlers,
} as EventHandler,
} as Event,
]