/* 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 CEGActor extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): CEGActor; methods: { assetRegistry(): TransactionObject; dataRegistry(): TransactionObject; decodeCollateralObject( object: string | number[] ): TransactionObject<{ 0: string; 1: string; }>; decodeEvent( _event: string | number[] ): TransactionObject<{ 0: string; 1: string; }>; encodeCollateralAsObject( collateralToken: string, collateralAmount: number | string ): TransactionObject; encodeEvent( eventType: number | string, scheduleTime: number | string ): TransactionObject; getEpochOffset(eventType: number | string): TransactionObject; owner(): TransactionObject; progress(assetId: string | number[]): TransactionObject; progressWith( assetId: string | number[], _event: string | number[] ): TransactionObject; renounceOwnership(): TransactionObject; shiftCalcTime( timestamp: number | string, convention: number | string, calendar: number | string, maturityDate: number | string ): TransactionObject; shiftEventTime( timestamp: number | string, convention: number | string, calendar: number | string, maturityDate: number | string ): TransactionObject; transferOwnership(newOwner: string): TransactionObject; initialize( terms: { contractType: number | string; calendar: number | string; contractRole: number | string; dayCountConvention: number | string; businessDayConvention: number | string; endOfMonthConvention: number | string; feeBasis: number | string; creditEventTypeCovered: number | string; currency: string; settlementCurrency: string; contractDealDate: number | string; statusDate: number | string; maturityDate: number | string; purchaseDate: number | string; cycleAnchorDateOfFee: number | string; notionalPrincipal: number | string; delinquencyRate: number | string; feeAccrued: number | string; feeRate: number | string; priceAtPurchaseDate: number | string; coverageOfCreditEnhancement: number | string; gracePeriod: { i: number | string; p: number | string; isSet: boolean }; delinquencyPeriod: { i: number | string; p: number | string; isSet: boolean; }; cycleOfFee: { i: number | string; p: number | string; s: number | string; isSet: boolean; }; 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; }; }, schedule: (string | number[])[], ownership: { creatorObligor: string; creatorBeneficiary: string; counterpartyObligor: string; counterpartyBeneficiary: string; }, engine: string, admin: string ): TransactionObject; }; events: { InitializedAsset: ContractEvent<{ assetId: string; contractType: string; creator: string; counterparty: string; 0: string; 1: string; 2: string; 3: string; }>; OwnershipTransferred: ContractEvent<{ previousOwner: string; newOwner: string; 0: string; 1: string; }>; ProgressedAsset: ContractEvent<{ assetId: string; eventType: string; scheduleTime: string; payoff: string; 0: string; 1: string; 2: string; 3: string; }>; Status: ContractEvent<{ assetId: string; statusMessage: string; 0: string; 1: string; }>; allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }