/* 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 ICustodian extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): ICustodian; methods: { lockCollateral( assetId: string | number[], terms: { contractType: number | string; calendar: number | string; contractRole: number | string; dayCountConvention: number | string; businessDayConvention: number | string; endOfMonthConvention: number | string; creditEventTypeCovered: number | string; feeBasis: number | string; statusDate: number | string; maturityDate: number | string; notionalPrincipal: number | string; feeRate: number | string; coverageOfCreditEnhancement: number | string; contractReference_1: { object: string | number[]; object2: string | number[]; _type: number | string; role: number | string; }; contractReference_2: { object: string | number[]; object2: string | number[]; _type: number | string; role: number | string; }; }, ownership: { creatorObligor: string; creatorBeneficiary: string; counterpartyObligor: string; counterpartyBeneficiary: string; } ): TransactionObject; returnCollateral(assetId: string | number[]): TransactionObject; }; events: { allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }