/* 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 BaseRegistry extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): BaseRegistry; methods: { approvedActors(arg0: string): TransactionObject; 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; getEventAtIndex( assetId: string | number[], index: 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; getNextScheduleIndex(assetId: string | number[]): TransactionObject; getNextScheduledEvent( assetId: string | number[] ): TransactionObject; getNextUnderlyingEvent( assetId: string | number[] ): TransactionObject; getOwnership( assetId: string | number[] ): TransactionObject<{ creatorObligor: string; creatorBeneficiary: string; counterpartyObligor: string; counterpartyBeneficiary: string; }>; getPendingEvent(assetId: string | number[]): TransactionObject; getPeriodValueForTermsAttribute( assetId: string | number[], attribute: string | number[] ): TransactionObject<{ i: string; p: string; isSet: boolean }>; getSchedule(assetId: string | number[]): TransactionObject; getScheduleLength(assetId: string | number[]): TransactionObject; 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; isEventSettled( assetId: string | number[], _event: string | number[] ): TransactionObject<{ 0: boolean; 1: string; }>; markEventAsSettled( assetId: string | number[], _event: string | number[], _payoff: number | string ): TransactionObject; owner(): TransactionObject; popNextScheduledEvent( assetId: string | number[] ): TransactionObject; popPendingEvent(assetId: string | number[]): TransactionObject; pushPendingEvent( assetId: string | number[], pendingEvent: string | number[] ): TransactionObject; renounceOwnership(): TransactionObject; revokeAccess( assetId: string | number[], methodSignature: string | number[], account: string ): TransactionObject; setCounterpartyBeneficiary( assetId: string | number[], newCounterpartyBeneficiary: string ): TransactionObject; setCounterpartyObligor( assetId: string | number[], newCounterpartyObligor: string ): TransactionObject; setCreatorBeneficiary( assetId: string | number[], newCreatorBeneficiary: string ): TransactionObject; setCreatorObligor( assetId: string | number[], newCreatorObligor: 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; transferOwnership(newOwner: string): TransactionObject; approveActor(actor: string): TransactionObject; isRegistered(assetId: string | number[]): TransactionObject; getEngine(assetId: string | number[]): TransactionObject; getActor(assetId: string | number[]): TransactionObject; setEngine( assetId: string | number[], engine: string ): TransactionObject; setActor( assetId: string | number[], actor: string ): TransactionObject; }; events: { GrantedAccess: ContractEvent<{ assetId: string; account: string; methodSignature: string; 0: string; 1: string; 2: string; }>; OwnershipTransferred: ContractEvent<{ previousOwner: string; newOwner: string; 0: string; 1: string; }>; RegisteredAsset: ContractEvent; RevokedAccess: ContractEvent<{ assetId: string; account: string; methodSignature: string; 0: string; 1: string; 2: string; }>; UpdatedActor: ContractEvent<{ assetId: string; prevActor: string; newActor: string; 0: string; 1: string; 2: string; }>; UpdatedBeneficiary: ContractEvent<{ assetId: string; prevBeneficiary: string; newBeneficiary: string; 0: string; 1: string; 2: string; }>; UpdatedEngine: ContractEvent<{ assetId: string; prevEngine: string; newEngine: string; 0: string; 1: string; 2: string; }>; UpdatedFinalizedState: ContractEvent<{ assetId: string; statusDate: string; 0: string; 1: string; }>; UpdatedObligor: ContractEvent<{ assetId: string; prevObligor: string; newObligor: string; 0: string; 1: string; 2: string; }>; UpdatedState: ContractEvent<{ assetId: string; statusDate: string; 0: string; 1: string; }>; UpdatedTerms: ContractEvent; allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }