/* 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 PAMActor extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): PAMActor; 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; scalingEffect: number | string; penaltyType: number | string; feeBasis: number | string; currency: string; settlementCurrency: string; marketObjectCodeRateReset: string | number[]; contractDealDate: number | string; statusDate: number | string; initialExchangeDate: number | string; maturityDate: number | string; purchaseDate: number | string; capitalizationEndDate: number | string; cycleAnchorDateOfInterestPayment: number | string; cycleAnchorDateOfRateReset: number | string; cycleAnchorDateOfScalingIndex: number | string; cycleAnchorDateOfFee: number | string; notionalPrincipal: number | string; nominalInterestRate: number | string; accruedInterest: number | string; rateMultiplier: number | string; rateSpread: number | string; nextResetRate: number | string; feeRate: number | string; feeAccrued: number | string; penaltyRate: number | string; delinquencyRate: number | string; premiumDiscountAtIED: number | string; priceAtPurchaseDate: number | string; lifeCap: number | string; lifeFloor: number | string; periodCap: number | string; periodFloor: number | string; gracePeriod: { i: number | string; p: number | string; isSet: boolean }; delinquencyPeriod: { i: number | string; p: number | string; isSet: boolean; }; cycleOfInterestPayment: { i: number | string; p: number | string; s: number | string; isSet: boolean; }; cycleOfRateReset: { i: number | string; p: number | string; s: number | string; isSet: boolean; }; cycleOfScalingIndex: { i: number | string; p: number | string; s: number | string; isSet: boolean; }; cycleOfFee: { i: number | string; p: number | string; s: number | string; isSet: boolean; }; }, 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; }; }