/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import BN from "bn.js"; import { Contract, ContractOptions } from "web3-eth-contract"; import { EventLog } from "web3-core"; import { EventEmitter } from "events"; import { ContractEvent, Callback, TransactionObject, BlockType } from "./types"; interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export class IOwnershipRegistry extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): IOwnershipRegistry; methods: { setCreatorObligor( assetId: string | number[], newCreatorObligor: string ): TransactionObject; setCounterpartyObligor( assetId: string | number[], newCounterpartyObligor: string ): TransactionObject; setCreatorBeneficiary( assetId: string | number[], newCreatorBeneficiary: string ): TransactionObject; setCounterpartyBeneficiary( assetId: string | number[], newCounterpartyBeneficiary: string ): TransactionObject; getOwnership( assetId: string | number[] ): TransactionObject<{ creatorObligor: string; creatorBeneficiary: string; counterpartyObligor: string; counterpartyBeneficiary: string; }>; }; events: { allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }