///
import BigNumber from "bignumber.js";
import { TxData, CallData, BlockParamLiteral, DecodedLogArgs, EventFilterObject, EventFilterResult } from "web3";
import { DeployedContract, TransactionResult, Request } from 'truffle-contract';
declare namespace EventsHistoryInstanceInternal {
namespace transferEther {
interface TransactionCallable {
(_to: string, _value: BigNumber, tx?: TxData): Promise;
call(_to: string, _value: BigNumber, tx?: CallData): Promise;
sendTransaction(_to: string, _value: BigNumber, tx?: TxData): Promise;
estimateGas(_to: string, _value: BigNumber, tx?: TxData): Promise;
request(_to: string, _value: BigNumber, tx?: TxData): Promise;
}
}
namespace claimContractOwnership {
interface TransactionCallable {
(tx?: TxData): Promise;
call(tx?: CallData): Promise;
sendTransaction(tx?: TxData): Promise;
estimateGas(tx?: TxData): Promise;
request(tx?: TxData): Promise;
}
}
namespace versions {
interface TransactionCallable {
(index_0: string, tx?: CallData): Promise;
call(index_0: string, tx?: CallData): Promise;
sendTransaction(index_0: string, tx?: TxData): Promise;
estimateGas(index_0: string, tx?: TxData): Promise;
request(index_0: string, tx?: TxData): Promise;
}
}
namespace changeContractOwnership {
interface TransactionCallable {
(_to: string, tx?: TxData): Promise;
call(_to: string, tx?: CallData): Promise;
sendTransaction(_to: string, tx?: TxData): Promise;
estimateGas(_to: string, tx?: TxData): Promise;
request(_to: string, tx?: TxData): Promise;
}
}
namespace pendingContractOwner {
interface TransactionCallable {
(tx?: CallData): Promise;
call(tx?: CallData): Promise;
sendTransaction(tx?: TxData): Promise;
estimateGas(tx?: TxData): Promise;
request(tx?: TxData): Promise;
}
}
namespace withdrawTokens {
interface TransactionCallable {
(tokens: string[], tx?: TxData): Promise;
call(tokens: string[], tx?: CallData): Promise;
sendTransaction(tokens: string[], tx?: TxData): Promise;
estimateGas(tokens: string[], tx?: TxData): Promise;
request(tokens: string[], tx?: TxData): Promise;
}
}
namespace withdrawEther {
interface TransactionCallable {
(tx?: TxData): Promise;
call(tx?: CallData): Promise;
sendTransaction(tx?: TxData): Promise;
estimateGas(tx?: TxData): Promise;
request(tx?: TxData): Promise;
}
}
namespace versionInfo {
interface TransactionCallable {
(index_0: BigNumber, tx?: CallData): Promise;
call(index_0: BigNumber, tx?: CallData): Promise;
sendTransaction(index_0: BigNumber, tx?: TxData): Promise;
estimateGas(index_0: BigNumber, tx?: TxData): Promise;
request(index_0: BigNumber, tx?: TxData): Promise;
}
}
namespace transferContractOwnership {
interface TransactionCallable {
(newOwner: string, tx?: TxData): Promise;
call(newOwner: string, tx?: CallData): Promise;
sendTransaction(newOwner: string, tx?: TxData): Promise;
estimateGas(newOwner: string, tx?: TxData): Promise;
request(newOwner: string, tx?: TxData): Promise;
}
}
namespace latestVersion {
interface TransactionCallable {
(tx?: CallData): Promise;
call(tx?: CallData): Promise;
sendTransaction(tx?: TxData): Promise;
estimateGas(tx?: TxData): Promise;
request(tx?: TxData): Promise;
}
}
namespace contractOwner {
interface TransactionCallable {
(tx?: CallData): Promise;
call(tx?: CallData): Promise;
sendTransaction(tx?: TxData): Promise;
estimateGas(tx?: TxData): Promise;
request(tx?: TxData): Promise;
}
}
namespace emitters {
interface TransactionCallable {
(index_0: string, tx?: CallData): Promise;
call(index_0: string, tx?: CallData): Promise;
sendTransaction(index_0: string, tx?: TxData): Promise;
estimateGas(index_0: string, tx?: TxData): Promise;
request(index_0: string, tx?: TxData): Promise;
}
}
namespace transferOwnership {
interface TransactionCallable {
(newOwner: string, tx?: TxData): Promise;
call(newOwner: string, tx?: CallData): Promise;
sendTransaction(newOwner: string, tx?: TxData): Promise;
estimateGas(newOwner: string, tx?: TxData): Promise;
request(newOwner: string, tx?: TxData): Promise;
}
}
namespace addEmitter {
interface TransactionCallable {
(_eventSignature: string, _emitter: string, tx?: TxData): Promise;
call(_eventSignature: string, _emitter: string, tx?: CallData): Promise;
sendTransaction(_eventSignature: string, _emitter: string, tx?: TxData): Promise;
estimateGas(_eventSignature: string, _emitter: string, tx?: TxData): Promise;
request(_eventSignature: string, _emitter: string, tx?: TxData): Promise;
}
}
namespace addVersion {
interface TransactionCallable {
(_caller: string, _name: string, _changelog: string, tx?: TxData): Promise;
call(_caller: string, _name: string, _changelog: string, tx?: CallData): Promise;
sendTransaction(_caller: string, _name: string, _changelog: string, tx?: TxData): Promise;
estimateGas(_caller: string, _name: string, _changelog: string, tx?: TxData): Promise;
request(_caller: string, _name: string, _changelog: string, tx?: TxData): Promise;
}
}
}
export declare type EventsHistoryEventArgs = EventsHistoryOwnershipTransferredEventArgs;
export declare enum EventsHistoryEvents {
OwnershipTransferred = "OwnershipTransferred"
}
export interface EventsHistoryOwnershipTransferredEventArgs extends DecodedLogArgs {
previousOwner: string;
newOwner: string;
}
interface EventsHistoryMetaContract {
transferEther: {
getData(_to: string, _value: BigNumber): string;
};
claimContractOwnership: {
getData(): string;
};
versions: {
getData(index_0: string): string;
};
changeContractOwnership: {
getData(_to: string): string;
};
pendingContractOwner: {
getData(): string;
};
withdrawTokens: {
getData(tokens: string[]): string;
};
withdrawEther: {
getData(): string;
};
versionInfo: {
getData(index_0: BigNumber): string;
};
transferContractOwnership: {
getData(newOwner: string): string;
};
latestVersion: {
getData(): string;
};
contractOwner: {
getData(): string;
};
emitters: {
getData(index_0: string): string;
};
transferOwnership: {
getData(newOwner: string): string;
};
addEmitter: {
getData(_eventSignature: string, _emitter: string): string;
};
addVersion: {
getData(_caller: string, _name: string, _changelog: string): string;
};
}
export interface EventsHistoryInstance extends DeployedContract {
contract: EventsHistoryMetaContract;
transferEther: EventsHistoryInstanceInternal.transferEther.TransactionCallable;
claimContractOwnership: EventsHistoryInstanceInternal.claimContractOwnership.TransactionCallable;
versions: EventsHistoryInstanceInternal.versions.TransactionCallable;
changeContractOwnership: EventsHistoryInstanceInternal.changeContractOwnership.TransactionCallable;
pendingContractOwner: EventsHistoryInstanceInternal.pendingContractOwner.TransactionCallable;
withdrawTokens: EventsHistoryInstanceInternal.withdrawTokens.TransactionCallable;
withdrawEther: EventsHistoryInstanceInternal.withdrawEther.TransactionCallable;
versionInfo: EventsHistoryInstanceInternal.versionInfo.TransactionCallable<[BigNumber, string, string, string, string]>;
transferContractOwnership: EventsHistoryInstanceInternal.transferContractOwnership.TransactionCallable;
latestVersion: EventsHistoryInstanceInternal.latestVersion.TransactionCallable;
contractOwner: EventsHistoryInstanceInternal.contractOwner.TransactionCallable;
emitters: EventsHistoryInstanceInternal.emitters.TransactionCallable;
transferOwnership: EventsHistoryInstanceInternal.transferOwnership.TransactionCallable;
addEmitter: EventsHistoryInstanceInternal.addEmitter.TransactionCallable;
addVersion: EventsHistoryInstanceInternal.addVersion.TransactionCallable;
OwnershipTransferred(value: BlockParamLiteral | EventFilterObject): EventFilterResult;
}
export {};