/* 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 SimpleRestrictedFDT extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): SimpleRestrictedFDT; methods: { FAILURE_NON_WHITELIST(): TransactionObject; FAILURE_NON_WHITELIST_MESSAGE(): TransactionObject; SUCCESS_CODE(): TransactionObject; SUCCESS_MESSAGE(): TransactionObject; UNKNOWN_ERROR(): TransactionObject; accumulativeFundsOf(_owner: string): TransactionObject; addAdmin(adminToAdd: string): TransactionObject; addToWhitelist( addressToAdd: string, whitelist: number | string ): TransactionObject; addressWhitelists(arg0: string): TransactionObject; administrators(arg0: string): TransactionObject; allowance(owner: string, spender: string): TransactionObject; approve( spender: string, amount: number | string ): TransactionObject; balanceOf(account: string): TransactionObject; burn(account: string, amount: number | string): TransactionObject; checkWhitelistAllowed( sender: string, receiver: string ): TransactionObject; decimals(): TransactionObject; decreaseAllowance( spender: string, subtractedValue: number | string ): TransactionObject; detectTransferRestriction( from: string, to: string, arg2: number | string ): TransactionObject; disableRestrictions(): TransactionObject; fundsToken(): TransactionObject; fundsTokenBalance(): TransactionObject; increaseAllowance( spender: string, addedValue: number | string ): TransactionObject; initialize( name: string, symbol: string, _fundsToken: string, owner: string, initialAmount: number | string ): TransactionObject; isAdministrator(addressToTest: string): TransactionObject; isRestrictionEnabled(): TransactionObject; messageForTransferRestriction( restrictionCode: number | string ): TransactionObject; mint(account: string, amount: number | string): TransactionObject; name(): TransactionObject; outboundWhitelistsEnabled( arg0: number | string, arg1: number | string ): TransactionObject; owner(): TransactionObject; pushFunds(owners: string[]): TransactionObject; removeAdmin(adminToRemove: string): TransactionObject; removeFromWhitelist(addressToRemove: string): TransactionObject; renounceOwnership(): TransactionObject; symbol(): TransactionObject; totalSupply(): TransactionObject; transfer(to: string, value: number | string): TransactionObject; transferFrom( from: string, to: string, value: number | string ): TransactionObject; transferOwnership(newOwner: string): TransactionObject; updateFundsReceived(): TransactionObject; updateOutboundWhitelistEnabled( sourceWhitelist: number | string, destinationWhitelist: number | string, newEnabledValue: boolean ): TransactionObject; withdrawFunds(): TransactionObject; withdrawableFundsOf(_owner: string): TransactionObject; withdrawnFundsOf(_owner: string): TransactionObject; }; events: { AddressAddedToWhitelist: ContractEvent<{ addedAddress: string; whitelist: string; addedBy: string; 0: string; 1: string; 2: string; }>; AddressRemovedFromWhitelist: ContractEvent<{ removedAddress: string; whitelist: string; removedBy: string; 0: string; 1: string; 2: string; }>; AdminAdded: ContractEvent<{ addedAdmin: string; addedBy: string; 0: string; 1: string; }>; AdminRemoved: ContractEvent<{ removedAdmin: string; removedBy: string; 0: string; 1: string; }>; Approval: ContractEvent<{ owner: string; spender: string; value: string; 0: string; 1: string; 2: string; }>; FundsDistributed: ContractEvent<{ by: string; fundsDistributed: string; 0: string; 1: string; }>; FundsWithdrawn: ContractEvent<{ by: string; fundsWithdrawn: string; 0: string; 1: string; }>; OutboundWhitelistUpdated: ContractEvent<{ updatedBy: string; sourceWhitelist: string; destinationWhitelist: string; from: boolean; to: boolean; 0: string; 1: string; 2: string; 3: boolean; 4: boolean; }>; OwnershipTransferred: ContractEvent<{ previousOwner: string; newOwner: string; 0: string; 1: string; }>; RestrictionsDisabled: ContractEvent; Transfer: ContractEvent<{ from: string; to: string; value: string; 0: string; 1: string; 2: string; }>; allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }