/* 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 ScheduleRegistry extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): ScheduleRegistry; methods: { decodeEvent( _event: string | number[] ): TransactionObject<{ 0: string; 1: string; }>; encodeEvent( eventType: number | string, scheduleTime: number | string ): TransactionObject; getAddressValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getBytes32ValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getContractReferenceValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject<{ object: string; object2: string; _type: string; role: string; }>; getCycleValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject<{ i: string; p: string; s: string; isSet: boolean }>; getEnumValueForStateAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getEnumValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getEpochOffset(eventType: number | string): TransactionObject; getFinalizedState( assetId: string | number[] ): TransactionObject<{ contractPerformance: string; statusDate: string; nonPerformingDate: string; maturityDate: string; exerciseDate: string; terminationDate: string; lastCouponDay: string; notionalPrincipal: string; accruedInterest: string; feeAccrued: string; nominalInterestRate: string; interestScalingMultiplier: string; notionalScalingMultiplier: string; nextPrincipalRedemptionPayment: string; exerciseAmount: string; exerciseQuantity: string; quantity: string; couponAmountFixed: string; marginFactor: string; adjustmentFactor: string; }>; getIntValueForStateAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getIntValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getPeriodValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject<{ i: string; p: string; isSet: boolean }>; getState( assetId: string | number[] ): TransactionObject<{ contractPerformance: string; statusDate: string; nonPerformingDate: string; maturityDate: string; exerciseDate: string; terminationDate: string; lastCouponDay: string; notionalPrincipal: string; accruedInterest: string; feeAccrued: string; nominalInterestRate: string; interestScalingMultiplier: string; notionalScalingMultiplier: string; nextPrincipalRedemptionPayment: string; exerciseAmount: string; exerciseQuantity: string; quantity: string; couponAmountFixed: string; marginFactor: string; adjustmentFactor: string; }>; getUIntValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; getUintValueForStateAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject; grantAccess( assetId: string | number[], methodSignature: string | number[], account: string ): TransactionObject; hasAccess( assetId: string | number[], methodSignature: string | number[], account: string ): TransactionObject; hasRootAccess( assetId: string | number[], account: string ): TransactionObject; revokeAccess( assetId: string | number[], methodSignature: string | number[], account: string ): TransactionObject; setFinalizedState( assetId: string | number[], state: { contractPerformance: number | string; statusDate: number | string; nonPerformingDate: number | string; maturityDate: number | string; exerciseDate: number | string; terminationDate: number | string; lastCouponDay: number | string; notionalPrincipal: number | string; accruedInterest: number | string; feeAccrued: number | string; nominalInterestRate: number | string; interestScalingMultiplier: number | string; notionalScalingMultiplier: number | string; nextPrincipalRedemptionPayment: number | string; exerciseAmount: number | string; exerciseQuantity: number | string; quantity: number | string; couponAmountFixed: number | string; marginFactor: number | string; adjustmentFactor: number | string; } ): TransactionObject; setState( assetId: string | number[], state: { contractPerformance: number | string; statusDate: number | string; nonPerformingDate: number | string; maturityDate: number | string; exerciseDate: number | string; terminationDate: number | string; lastCouponDay: number | string; notionalPrincipal: number | string; accruedInterest: number | string; feeAccrued: number | string; nominalInterestRate: number | string; interestScalingMultiplier: number | string; notionalScalingMultiplier: number | string; nextPrincipalRedemptionPayment: number | string; exerciseAmount: number | string; exerciseQuantity: number | string; quantity: number | string; couponAmountFixed: number | string; marginFactor: number | string; adjustmentFactor: number | string; } ): TransactionObject; getEventAtIndex( assetId: string | number[], index: number | string ): TransactionObject; getScheduleLength(assetId: string | number[]): TransactionObject; getSchedule(assetId: string | number[]): TransactionObject; getPendingEvent(assetId: string | number[]): TransactionObject; pushPendingEvent( assetId: string | number[], pendingEvent: string | number[] ): TransactionObject; popPendingEvent(assetId: string | number[]): TransactionObject; getNextScheduleIndex(assetId: string | number[]): TransactionObject; getNextUnderlyingEvent( assetId: string | number[] ): TransactionObject; getNextScheduledEvent( assetId: string | number[] ): TransactionObject; popNextScheduledEvent( assetId: string | number[] ): TransactionObject; isEventSettled( assetId: string | number[], _event: string | number[] ): TransactionObject<{ 0: boolean; 1: string; }>; markEventAsSettled( assetId: string | number[], _event: string | number[], _payoff: number | string ): TransactionObject; }; events: { GrantedAccess: ContractEvent<{ assetId: string; account: string; methodSignature: string; 0: string; 1: string; 2: string; }>; RevokedAccess: ContractEvent<{ assetId: string; account: string; methodSignature: string; 0: string; 1: string; 2: string; }>; UpdatedFinalizedState: ContractEvent<{ assetId: string; statusDate: string; 0: string; 1: string; }>; UpdatedState: ContractEvent<{ assetId: string; statusDate: string; 0: string; 1: string; }>; UpdatedTerms: ContractEvent; allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }