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:
parent
ce7027590e
commit
382207b904
@ -1,7 +1,7 @@
|
|||||||
import DDOCondition from "../../ddo/Condition"
|
import DDOCondition from "../../ddo/Condition"
|
||||||
import Dependency from "../../ddo/Dependency"
|
import Dependency from "../../ddo/Dependency"
|
||||||
import Event from "../../ddo/Event"
|
import Event from "../../ddo/Event"
|
||||||
import EventHandlers from "../../ddo/EventHandlers"
|
import EventHandler from "../../ddo/EventHandler"
|
||||||
import MetaData from "../../ddo/MetaData"
|
import MetaData from "../../ddo/MetaData"
|
||||||
import Parameter from "../../ddo/Parameter"
|
import Parameter from "../../ddo/Parameter"
|
||||||
import ContractReflector from "../../keeper/ContractReflector"
|
import ContractReflector from "../../keeper/ContractReflector"
|
||||||
@ -108,14 +108,12 @@ export default class ServiceAgreementTemplate extends OceanBase {
|
|||||||
const events: Event[] = [
|
const events: Event[] = [
|
||||||
{
|
{
|
||||||
name: "PaymentReleased",
|
name: "PaymentReleased",
|
||||||
actorType: [
|
actorType: "consumer",
|
||||||
"consumer",
|
handler: {
|
||||||
],
|
|
||||||
handlers: {
|
|
||||||
moduleName: "serviceAgreement",
|
moduleName: "serviceAgreement",
|
||||||
functionName: "fulfillAgreement",
|
functionName: "fulfillAgreement",
|
||||||
version: "0.1",
|
version: "0.1",
|
||||||
} as EventHandlers,
|
} as EventHandler,
|
||||||
} as Event,
|
} as Event,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user