@across-protocol/contracts 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contract-types/ethers/{AVMBridgeDepositBox.ts → AVMBridgeDepositBox.d.ts} +100 -152
- package/contract-types/ethers/AVMCrossDomainEnabled.d.ts +92 -0
- package/contract-types/ethers/{AccessControl.ts → AccessControl.d.ts} +58 -66
- package/contract-types/ethers/{AddressWhitelistInterface.ts → AddressWhitelistInterface.d.ts} +46 -26
- package/contract-types/ethers/{ArbSys.ts → ArbSys.d.ts} +75 -81
- package/contract-types/ethers/{ArbitrumBridgeMock.ts → ArbitrumBridgeMock.d.ts} +46 -26
- package/contract-types/ethers/ArbitrumCrossDomainEnabled.d.ts +95 -0
- package/contract-types/ethers/{ArbitrumInboxMock.ts → ArbitrumInboxMock.d.ts} +45 -26
- package/contract-types/ethers/{ArbitrumMessenger.ts → ArbitrumMessenger.d.ts} +73 -78
- package/contract-types/ethers/ArbitrumOutboxMock.d.ts +101 -0
- package/contract-types/ethers/{ArbitrumParentMessenger.ts → ArbitrumParentMessenger.d.ts} +90 -185
- package/contract-types/ethers/{Bridge.ts → Bridge.d.ts} +125 -185
- package/contract-types/ethers/{BridgeAdmin.ts → BridgeAdmin.d.ts} +103 -180
- package/contract-types/ethers/{BridgeAdminInterface.ts → BridgeAdminInterface.d.ts} +99 -166
- package/contract-types/ethers/{BridgeDepositBox.ts → BridgeDepositBox.d.ts} +94 -130
- package/contract-types/ethers/{BridgeDepositBoxMock.ts → BridgeDepositBoxMock.d.ts} +97 -139
- package/contract-types/ethers/{BridgePool.ts → BridgePool.d.ts} +824 -306
- package/contract-types/ethers/{BridgePoolInterface.ts → BridgePoolInterface.d.ts} +45 -26
- package/contract-types/ethers/{BridgePoolProd.ts → BridgePoolProd.d.ts} +824 -306
- package/contract-types/ethers/CrossDomainEnabled.d.ts +95 -0
- package/contract-types/ethers/ERC165.d.ts +116 -0
- package/contract-types/ethers/{ERC20.ts → ERC20.d.ts} +53 -52
- package/contract-types/ethers/{FinderInterface.ts → FinderInterface.d.ts} +46 -26
- package/contract-types/ethers/{FxBaseChildTunnel.ts → FxBaseChildTunnel.d.ts} +48 -32
- package/contract-types/ethers/{FxBaseRootTunnel.ts → FxBaseRootTunnel.d.ts} +46 -26
- package/contract-types/ethers/{FxChildMock.ts → FxChildMock.d.ts} +49 -39
- package/contract-types/ethers/{FxRootMock.ts → FxRootMock.d.ts} +46 -26
- package/contract-types/ethers/{GenericHandler.ts → GenericHandler.d.ts} +72 -44
- package/contract-types/ethers/{IAccessControl.ts → IAccessControl.d.ts} +46 -26
- package/contract-types/ethers/{IArbitrumInbox.ts → IArbitrumInbox.d.ts} +45 -26
- package/contract-types/ethers/IArbitrumOutbox.d.ts +101 -0
- package/contract-types/ethers/{IBridge.ts → IBridge.d.ts} +45 -26
- package/contract-types/ethers/{ICheckpointManager.ts → ICheckpointManager.d.ts} +45 -25
- package/contract-types/ethers/{ICrossDomainMessenger.ts → ICrossDomainMessenger.d.ts} +58 -66
- package/contract-types/ethers/{IDepositExecute.ts → IDepositExecute.d.ts} +45 -26
- package/contract-types/ethers/IERC165.d.ts +116 -0
- package/contract-types/ethers/{IERC20.ts → IERC20.d.ts} +53 -52
- package/contract-types/ethers/{IERC20Metadata.ts → IERC20Metadata.d.ts} +53 -52
- package/contract-types/ethers/{IERCHandler.ts → IERCHandler.d.ts} +45 -26
- package/contract-types/ethers/{IFxMessageProcessor.ts → IFxMessageProcessor.d.ts} +45 -26
- package/contract-types/ethers/{IFxStateSender.ts → IFxStateSender.d.ts} +46 -26
- package/contract-types/ethers/{IGenericHandler.ts → IGenericHandler.d.ts} +46 -26
- package/contract-types/ethers/{IL2ERC20Bridge.ts → IL2ERC20Bridge.d.ts} +78 -97
- package/contract-types/ethers/{IOVMCrossDomainMessenger.ts → IOVMCrossDomainMessenger.d.ts} +53 -49
- package/contract-types/ethers/{IStateReceiver.ts → IStateReceiver.d.ts} +45 -26
- package/contract-types/ethers/IStateSender.d.ts +119 -0
- package/contract-types/ethers/{IdentifierWhitelistInterface.ts → IdentifierWhitelistInterface.d.ts} +46 -26
- package/contract-types/ethers/Lockable.d.ts +78 -0
- package/contract-types/ethers/{MessengerInterface.ts → MessengerInterface.d.ts} +45 -26
- package/contract-types/ethers/{MessengerMock.ts → MessengerMock.d.ts} +54 -40
- package/contract-types/ethers/MultiCaller.d.ts +111 -0
- package/contract-types/ethers/{OVMBridgeDepositBox.ts → OVMBridgeDepositBox.d.ts} +96 -137
- package/contract-types/ethers/OVMCrossDomainEnabled.d.ts +95 -0
- package/contract-types/ethers/{OVML1CrossDomainMessengerMock.ts → OVML1CrossDomainMessengerMock.d.ts} +59 -67
- package/contract-types/ethers/{OVMOETHBridgeDepositBox.ts → OVMOETHBridgeDepositBox.d.ts} +96 -137
- package/contract-types/ethers/{OptimismMessenger.ts → OptimismMessenger.d.ts} +49 -39
- package/contract-types/ethers/{OptimismWrapper.ts → OptimismWrapper.d.ts} +52 -50
- package/contract-types/ethers/OptimisticOracleConstraints.d.ts +103 -0
- package/contract-types/ethers/{OptimisticOracleInterface.ts → OptimisticOracleInterface.d.ts} +135 -73
- package/contract-types/ethers/{OracleInterfaces.ts → OracleInterfaces.d.ts} +46 -25
- package/contract-types/ethers/{Ownable.ts → Ownable.d.ts} +50 -39
- package/contract-types/ethers/{ParentMessengerBase.ts → ParentMessengerBase.d.ts} +59 -83
- package/contract-types/ethers/{ParentMessengerConsumerInterface.ts → ParentMessengerConsumerInterface.d.ts} +46 -27
- package/contract-types/ethers/{ParentMessengerInterface.ts → ParentMessengerInterface.d.ts} +46 -26
- package/contract-types/ethers/Pausable.d.ts +105 -0
- package/contract-types/ethers/{RateModelStore.ts → RateModelStore.d.ts} +54 -52
- package/contract-types/ethers/SkinnyOptimisticOracleInterface.d.ts +1241 -0
- package/contract-types/ethers/{StandardBridgeLike.ts → StandardBridgeLike.d.ts} +45 -26
- package/contract-types/ethers/{StateSyncMock.ts → StateSyncMock.d.ts} +49 -39
- package/contract-types/ethers/{StoreInterface.ts → StoreInterface.d.ts} +80 -56
- package/contract-types/ethers/{Testable.ts → Testable.d.ts} +45 -26
- package/contract-types/ethers/{Timer.ts → Timer.d.ts} +45 -26
- package/contract-types/ethers/TokenLike.d.ts +108 -0
- package/contract-types/ethers/{WETH9Like.ts → WETH9Like.d.ts} +45 -26
- package/contract-types/ethers/commons.ts +36 -0
- package/contract-types/ethers/factories/AVMBridgeDepositBox__factory.ts +4 -15
- package/contract-types/ethers/factories/ArbitrumBridgeMock__factory.ts +3 -14
- package/contract-types/ethers/factories/ArbitrumInboxMock__factory.ts +3 -14
- package/contract-types/ethers/factories/ArbitrumMessenger__factory.ts +3 -14
- package/contract-types/ethers/factories/ArbitrumOutboxMock__factory.ts +3 -14
- package/contract-types/ethers/factories/ArbitrumParentMessenger__factory.ts +4 -15
- package/contract-types/ethers/factories/BridgeAdmin__factory.ts +5 -16
- package/contract-types/ethers/factories/BridgeDepositBoxMock__factory.ts +4 -15
- package/contract-types/ethers/factories/BridgePoolProd__factory.ts +4 -15
- package/contract-types/ethers/factories/BridgePool__factory.ts +4 -15
- package/contract-types/ethers/factories/Bridge__factory.ts +4 -15
- package/contract-types/ethers/factories/CrossDomainEnabled__factory.ts +3 -14
- package/contract-types/ethers/factories/ERC20__factory.ts +3 -14
- package/contract-types/ethers/factories/FxChildMock__factory.ts +3 -14
- package/contract-types/ethers/factories/FxRootMock__factory.ts +3 -14
- package/contract-types/ethers/factories/GenericHandler__factory.ts +4 -15
- package/contract-types/ethers/factories/ICheckpointManager__factory.ts +3 -14
- package/contract-types/ethers/factories/Lockable__factory.ts +3 -14
- package/contract-types/ethers/factories/MessengerMock__factory.ts +3 -14
- package/contract-types/ethers/factories/MultiCaller__factory.ts +3 -14
- package/contract-types/ethers/factories/OVMBridgeDepositBox__factory.ts +4 -15
- package/contract-types/ethers/factories/OVMCrossDomainEnabled__factory.ts +3 -14
- package/contract-types/ethers/factories/OVML1CrossDomainMessengerMock__factory.ts +3 -14
- package/contract-types/ethers/factories/OVMOETHBridgeDepositBox__factory.ts +4 -15
- package/contract-types/ethers/factories/OptimismMessenger__factory.ts +3 -14
- package/contract-types/ethers/factories/OptimismWrapper__factory.ts +3 -14
- package/contract-types/ethers/factories/OptimisticOracleConstraints__factory.ts +3 -14
- package/contract-types/ethers/factories/OracleInterfaces__factory.ts +3 -14
- package/contract-types/ethers/factories/RateModelStore__factory.ts +3 -14
- package/contract-types/ethers/factories/StateSyncMock__factory.ts +3 -14
- package/contract-types/ethers/factories/Timer__factory.ts +3 -14
- package/contract-types/ethers/hardhat.d.ts +0 -436
- package/contract-types/web3/AVM_BridgeDepositBox.d.ts +269 -0
- package/contract-types/web3/AVM_CrossDomainEnabled.d.ts +62 -0
- package/contract-types/web3/AccessControl.d.ts +127 -0
- package/contract-types/web3/AddressWhitelistInterface.d.ts +43 -0
- package/contract-types/web3/ArbSys.d.ts +112 -0
- package/contract-types/web3/Arbitrum_BridgeMock.d.ts +46 -0
- package/contract-types/web3/Arbitrum_CrossDomainEnabled.d.ts +37 -0
- package/contract-types/web3/Arbitrum_InboxMock.d.ts +48 -0
- package/contract-types/web3/Arbitrum_Messenger.d.ts +106 -0
- package/contract-types/web3/Arbitrum_OutboxMock.d.ts +37 -0
- package/contract-types/web3/Arbitrum_ParentMessenger.d.ts +348 -0
- package/contract-types/web3/Bridge.d.ts +401 -0
- package/contract-types/web3/BridgeAdmin.d.ts +357 -0
- package/contract-types/web3/BridgeAdminInterface.d.ts +265 -0
- package/contract-types/web3/BridgeDepositBox.d.ts +203 -0
- package/contract-types/web3/BridgeDepositBoxMock.d.ts +241 -0
- package/contract-types/web3/BridgePool.d.ts +520 -0
- package/contract-types/web3/BridgePoolInterface.d.ts +47 -0
- package/contract-types/web3/BridgePoolProd.d.ts +520 -0
- package/contract-types/web3/CrossDomainEnabled.d.ts +37 -0
- package/contract-types/web3/ERC165.d.ts +39 -0
- package/contract-types/web3/ERC20.d.ts +105 -0
- package/contract-types/web3/FinderInterface.d.ts +44 -0
- package/contract-types/web3/FxBaseChildTunnel.d.ts +65 -0
- package/contract-types/web3/FxBaseRootTunnel.d.ts +53 -0
- package/contract-types/web3/FxChildMock.d.ts +68 -0
- package/contract-types/web3/FxRootMock.d.ts +46 -0
- package/contract-types/web3/GenericHandler.d.ts +94 -0
- package/contract-types/web3/IAccessControl.d.ts +57 -0
- package/contract-types/web3/IBridge.d.ts +43 -0
- package/contract-types/web3/ICheckpointManager.d.ts +48 -0
- package/contract-types/web3/ICrossDomainMessenger.d.ts +103 -0
- package/contract-types/web3/IDepositExecute.d.ts +48 -0
- package/contract-types/web3/IERC165.d.ts +39 -0
- package/contract-types/web3/IERC20.d.ts +89 -0
- package/contract-types/web3/IERC20Metadata.d.ts +95 -0
- package/contract-types/web3/IERCHandler.d.ts +48 -0
- package/contract-types/web3/IFxMessageProcessor.d.ts +41 -0
- package/contract-types/web3/IFxStateSender.d.ts +40 -0
- package/contract-types/web3/IGenericHandler.d.ts +42 -0
- package/contract-types/web3/IL2ERC20Bridge.d.ts +143 -0
- package/contract-types/web3/IStateReceiver.d.ts +40 -0
- package/contract-types/web3/IStateSender.d.ts +40 -0
- package/contract-types/web3/IdentifierWhitelistInterface.d.ts +47 -0
- package/contract-types/web3/Lockable.d.ts +35 -0
- package/contract-types/web3/MessengerInterface.d.ts +45 -0
- package/contract-types/web3/MessengerMock.d.ts +69 -0
- package/contract-types/web3/MultiCaller.d.ts +37 -0
- package/contract-types/web3/OVM_BridgeDepositBox.d.ts +243 -0
- package/contract-types/web3/OVM_CrossDomainEnabled.d.ts +37 -0
- package/contract-types/web3/OVM_L1CrossDomainMessengerMock.d.ts +103 -0
- package/contract-types/web3/OVM_OETH_BridgeDepositBox.d.ts +247 -0
- package/contract-types/web3/Optimism_Messenger.d.ts +73 -0
- package/contract-types/web3/Optimism_Wrapper.d.ts +86 -0
- package/contract-types/web3/OptimisticOracleConstraints.d.ts +37 -0
- package/contract-types/web3/OptimisticOracleInterface.d.ts +151 -0
- package/contract-types/web3/OracleInterfaces.d.ts +55 -0
- package/contract-types/web3/Ownable.d.ts +61 -0
- package/contract-types/web3/ParentMessengerBase.d.ts +178 -0
- package/contract-types/web3/ParentMessengerConsumerInterface.d.ts +40 -0
- package/contract-types/web3/ParentMessengerInterface.d.ts +41 -0
- package/contract-types/web3/Pausable.d.ts +58 -0
- package/contract-types/web3/RateModelStore.d.ts +89 -0
- package/contract-types/web3/SkinnyOptimisticOracleInterface.d.ts +213 -0
- package/contract-types/web3/StandardBridgeLike.d.ts +42 -0
- package/contract-types/web3/StateSyncMock.d.ts +62 -0
- package/contract-types/web3/StoreInterface.d.ts +55 -0
- package/contract-types/web3/Testable.d.ts +43 -0
- package/contract-types/web3/Timer.d.ts +41 -0
- package/contract-types/web3/TokenLike.d.ts +37 -0
- package/contract-types/web3/WETH9Like.d.ts +44 -0
- package/contract-types/web3/iArbitrum_Inbox.d.ts +48 -0
- package/contract-types/web3/iArbitrum_Outbox.d.ts +37 -0
- package/contract-types/web3/iOVM_CrossDomainMessenger.d.ts +95 -0
- package/contract-types/web3/types.d.ts +71 -0
- package/package.json +5 -5
- package/contract-types/ethers/AVMCrossDomainEnabled.ts +0 -75
- package/contract-types/ethers/ArbitrumCrossDomainEnabled.ts +0 -74
- package/contract-types/ethers/ArbitrumOutboxMock.ts +0 -80
- package/contract-types/ethers/CrossDomainEnabled.ts +0 -74
- package/contract-types/ethers/ERC165.ts +0 -95
- package/contract-types/ethers/IArbitrumOutbox.ts +0 -80
- package/contract-types/ethers/IERC165.ts +0 -95
- package/contract-types/ethers/IStateSender.ts +0 -99
- package/contract-types/ethers/Lockable.ts +0 -50
- package/contract-types/ethers/MultiCaller.ts +0 -91
- package/contract-types/ethers/OVMCrossDomainEnabled.ts +0 -74
- package/contract-types/ethers/OptimisticOracleConstraints.ts +0 -82
- package/contract-types/ethers/Pausable.ts +0 -94
- package/contract-types/ethers/SkinnyOptimisticOracleInterface.ts +0 -727
- package/contract-types/ethers/TokenLike.ts +0 -88
- package/contract-types/ethers/common.ts +0 -44
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface FinderInterface extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): FinderInterface;
|
|
30
|
+
clone(): FinderInterface;
|
|
31
|
+
methods: {
|
|
32
|
+
changeImplementationAddress(
|
|
33
|
+
interfaceName: string | number[],
|
|
34
|
+
implementationAddress: string
|
|
35
|
+
): NonPayableTransactionObject<void>;
|
|
36
|
+
|
|
37
|
+
getImplementationAddress(
|
|
38
|
+
interfaceName: string | number[]
|
|
39
|
+
): NonPayableTransactionObject<string>;
|
|
40
|
+
};
|
|
41
|
+
events: {
|
|
42
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type MessageSent = ContractEventLog<{
|
|
25
|
+
message: string;
|
|
26
|
+
0: string;
|
|
27
|
+
}>;
|
|
28
|
+
|
|
29
|
+
export interface FxBaseChildTunnel extends BaseContract {
|
|
30
|
+
constructor(
|
|
31
|
+
jsonInterface: any[],
|
|
32
|
+
address?: string,
|
|
33
|
+
options?: ContractOptions
|
|
34
|
+
): FxBaseChildTunnel;
|
|
35
|
+
clone(): FxBaseChildTunnel;
|
|
36
|
+
methods: {
|
|
37
|
+
fxChild(): NonPayableTransactionObject<string>;
|
|
38
|
+
|
|
39
|
+
fxRootTunnel(): NonPayableTransactionObject<string>;
|
|
40
|
+
|
|
41
|
+
processMessageFromRoot(
|
|
42
|
+
stateId: number | string | BN,
|
|
43
|
+
rootMessageSender: string,
|
|
44
|
+
data: string | number[]
|
|
45
|
+
): NonPayableTransactionObject<void>;
|
|
46
|
+
|
|
47
|
+
setFxRootTunnel(_fxRootTunnel: string): NonPayableTransactionObject<void>;
|
|
48
|
+
};
|
|
49
|
+
events: {
|
|
50
|
+
MessageSent(cb?: Callback<MessageSent>): EventEmitter;
|
|
51
|
+
MessageSent(
|
|
52
|
+
options?: EventOptions,
|
|
53
|
+
cb?: Callback<MessageSent>
|
|
54
|
+
): EventEmitter;
|
|
55
|
+
|
|
56
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
once(event: "MessageSent", cb: Callback<MessageSent>): void;
|
|
60
|
+
once(
|
|
61
|
+
event: "MessageSent",
|
|
62
|
+
options: EventOptions,
|
|
63
|
+
cb: Callback<MessageSent>
|
|
64
|
+
): void;
|
|
65
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface FxBaseRootTunnel extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): FxBaseRootTunnel;
|
|
30
|
+
clone(): FxBaseRootTunnel;
|
|
31
|
+
methods: {
|
|
32
|
+
SEND_MESSAGE_EVENT_SIG(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
checkpointManager(): NonPayableTransactionObject<string>;
|
|
35
|
+
|
|
36
|
+
fxChildTunnel(): NonPayableTransactionObject<string>;
|
|
37
|
+
|
|
38
|
+
fxRoot(): NonPayableTransactionObject<string>;
|
|
39
|
+
|
|
40
|
+
processedExits(
|
|
41
|
+
arg0: string | number[]
|
|
42
|
+
): NonPayableTransactionObject<boolean>;
|
|
43
|
+
|
|
44
|
+
receiveMessage(
|
|
45
|
+
inputData: string | number[]
|
|
46
|
+
): NonPayableTransactionObject<void>;
|
|
47
|
+
|
|
48
|
+
setFxChildTunnel(_fxChildTunnel: string): NonPayableTransactionObject<void>;
|
|
49
|
+
};
|
|
50
|
+
events: {
|
|
51
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type NewFxMessage = ContractEventLog<{
|
|
25
|
+
rootMessageSender: string;
|
|
26
|
+
receiver: string;
|
|
27
|
+
data: string;
|
|
28
|
+
0: string;
|
|
29
|
+
1: string;
|
|
30
|
+
2: string;
|
|
31
|
+
}>;
|
|
32
|
+
|
|
33
|
+
export interface FxChildMock extends BaseContract {
|
|
34
|
+
constructor(
|
|
35
|
+
jsonInterface: any[],
|
|
36
|
+
address?: string,
|
|
37
|
+
options?: ContractOptions
|
|
38
|
+
): FxChildMock;
|
|
39
|
+
clone(): FxChildMock;
|
|
40
|
+
methods: {
|
|
41
|
+
fxRoot(): NonPayableTransactionObject<string>;
|
|
42
|
+
|
|
43
|
+
onStateReceive(
|
|
44
|
+
stateId: number | string | BN,
|
|
45
|
+
_data: string | number[]
|
|
46
|
+
): NonPayableTransactionObject<void>;
|
|
47
|
+
|
|
48
|
+
setFxRoot(_fxRoot: string): NonPayableTransactionObject<void>;
|
|
49
|
+
|
|
50
|
+
systemCaller(): NonPayableTransactionObject<string>;
|
|
51
|
+
};
|
|
52
|
+
events: {
|
|
53
|
+
NewFxMessage(cb?: Callback<NewFxMessage>): EventEmitter;
|
|
54
|
+
NewFxMessage(
|
|
55
|
+
options?: EventOptions,
|
|
56
|
+
cb?: Callback<NewFxMessage>
|
|
57
|
+
): EventEmitter;
|
|
58
|
+
|
|
59
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
once(event: "NewFxMessage", cb: Callback<NewFxMessage>): void;
|
|
63
|
+
once(
|
|
64
|
+
event: "NewFxMessage",
|
|
65
|
+
options: EventOptions,
|
|
66
|
+
cb: Callback<NewFxMessage>
|
|
67
|
+
): void;
|
|
68
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface FxRootMock extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): FxRootMock;
|
|
30
|
+
clone(): FxRootMock;
|
|
31
|
+
methods: {
|
|
32
|
+
fxChild(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
sendMessageToChild(
|
|
35
|
+
_receiver: string,
|
|
36
|
+
_data: string | number[]
|
|
37
|
+
): NonPayableTransactionObject<void>;
|
|
38
|
+
|
|
39
|
+
setFxChild(_fxChild: string): NonPayableTransactionObject<void>;
|
|
40
|
+
|
|
41
|
+
stateSender(): NonPayableTransactionObject<string>;
|
|
42
|
+
};
|
|
43
|
+
events: {
|
|
44
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface GenericHandler extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): GenericHandler;
|
|
30
|
+
clone(): GenericHandler;
|
|
31
|
+
methods: {
|
|
32
|
+
_bridgeAddress(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
_contractAddressToDepositFunctionSignature(
|
|
35
|
+
arg0: string
|
|
36
|
+
): NonPayableTransactionObject<string>;
|
|
37
|
+
|
|
38
|
+
_contractAddressToExecuteFunctionSignature(
|
|
39
|
+
arg0: string
|
|
40
|
+
): NonPayableTransactionObject<string>;
|
|
41
|
+
|
|
42
|
+
_contractAddressToResourceID(
|
|
43
|
+
arg0: string
|
|
44
|
+
): NonPayableTransactionObject<string>;
|
|
45
|
+
|
|
46
|
+
_contractWhitelist(arg0: string): NonPayableTransactionObject<boolean>;
|
|
47
|
+
|
|
48
|
+
_depositRecords(
|
|
49
|
+
arg0: number | string | BN,
|
|
50
|
+
arg1: number | string | BN
|
|
51
|
+
): NonPayableTransactionObject<{
|
|
52
|
+
_destinationChainID: string;
|
|
53
|
+
_depositer: string;
|
|
54
|
+
_resourceID: string;
|
|
55
|
+
_metaData: string;
|
|
56
|
+
0: string;
|
|
57
|
+
1: string;
|
|
58
|
+
2: string;
|
|
59
|
+
3: string;
|
|
60
|
+
}>;
|
|
61
|
+
|
|
62
|
+
_resourceIDToContractAddress(
|
|
63
|
+
arg0: string | number[]
|
|
64
|
+
): NonPayableTransactionObject<string>;
|
|
65
|
+
|
|
66
|
+
deposit(
|
|
67
|
+
resourceID: string | number[],
|
|
68
|
+
destinationChainID: number | string | BN,
|
|
69
|
+
depositNonce: number | string | BN,
|
|
70
|
+
depositer: string,
|
|
71
|
+
arg4: string | number[]
|
|
72
|
+
): NonPayableTransactionObject<void>;
|
|
73
|
+
|
|
74
|
+
executeProposal(
|
|
75
|
+
resourceID: string | number[],
|
|
76
|
+
arg1: string | number[]
|
|
77
|
+
): NonPayableTransactionObject<void>;
|
|
78
|
+
|
|
79
|
+
getDepositRecord(
|
|
80
|
+
depositNonce: number | string | BN,
|
|
81
|
+
destId: number | string | BN
|
|
82
|
+
): NonPayableTransactionObject<[string, string, string, string]>;
|
|
83
|
+
|
|
84
|
+
setResource(
|
|
85
|
+
resourceID: string | number[],
|
|
86
|
+
contractAddress: string,
|
|
87
|
+
depositFunctionSig: string | number[],
|
|
88
|
+
executeFunctionSig: string | number[]
|
|
89
|
+
): NonPayableTransactionObject<void>;
|
|
90
|
+
};
|
|
91
|
+
events: {
|
|
92
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IAccessControl extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): IAccessControl;
|
|
30
|
+
clone(): IAccessControl;
|
|
31
|
+
methods: {
|
|
32
|
+
getRoleAdmin(role: string | number[]): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
grantRole(
|
|
35
|
+
role: string | number[],
|
|
36
|
+
account: string
|
|
37
|
+
): NonPayableTransactionObject<void>;
|
|
38
|
+
|
|
39
|
+
hasRole(
|
|
40
|
+
role: string | number[],
|
|
41
|
+
account: string
|
|
42
|
+
): NonPayableTransactionObject<boolean>;
|
|
43
|
+
|
|
44
|
+
renounceRole(
|
|
45
|
+
role: string | number[],
|
|
46
|
+
account: string
|
|
47
|
+
): NonPayableTransactionObject<void>;
|
|
48
|
+
|
|
49
|
+
revokeRole(
|
|
50
|
+
role: string | number[],
|
|
51
|
+
account: string
|
|
52
|
+
): NonPayableTransactionObject<void>;
|
|
53
|
+
};
|
|
54
|
+
events: {
|
|
55
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IBridge extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): IBridge;
|
|
30
|
+
clone(): IBridge;
|
|
31
|
+
methods: {
|
|
32
|
+
_chainID(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
deposit(
|
|
35
|
+
destinationChainID: number | string | BN,
|
|
36
|
+
resourceID: string | number[],
|
|
37
|
+
data: string | number[]
|
|
38
|
+
): NonPayableTransactionObject<void>;
|
|
39
|
+
};
|
|
40
|
+
events: {
|
|
41
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ICheckpointManager extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): ICheckpointManager;
|
|
30
|
+
clone(): ICheckpointManager;
|
|
31
|
+
methods: {
|
|
32
|
+
headerBlocks(arg0: number | string | BN): NonPayableTransactionObject<{
|
|
33
|
+
root: string;
|
|
34
|
+
start: string;
|
|
35
|
+
end: string;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
proposer: string;
|
|
38
|
+
0: string;
|
|
39
|
+
1: string;
|
|
40
|
+
2: string;
|
|
41
|
+
3: string;
|
|
42
|
+
4: string;
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
events: {
|
|
46
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type FailedRelayedMessage = ContractEventLog<{
|
|
25
|
+
msgHash: string;
|
|
26
|
+
0: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type RelayedMessage = ContractEventLog<{
|
|
29
|
+
msgHash: string;
|
|
30
|
+
0: string;
|
|
31
|
+
}>;
|
|
32
|
+
export type SentMessage = ContractEventLog<{
|
|
33
|
+
target: string;
|
|
34
|
+
sender: string;
|
|
35
|
+
message: string;
|
|
36
|
+
messageNonce: string;
|
|
37
|
+
gasLimit: string;
|
|
38
|
+
0: string;
|
|
39
|
+
1: string;
|
|
40
|
+
2: string;
|
|
41
|
+
3: string;
|
|
42
|
+
4: string;
|
|
43
|
+
}>;
|
|
44
|
+
|
|
45
|
+
export interface ICrossDomainMessenger extends BaseContract {
|
|
46
|
+
constructor(
|
|
47
|
+
jsonInterface: any[],
|
|
48
|
+
address?: string,
|
|
49
|
+
options?: ContractOptions
|
|
50
|
+
): ICrossDomainMessenger;
|
|
51
|
+
clone(): ICrossDomainMessenger;
|
|
52
|
+
methods: {
|
|
53
|
+
sendMessage(
|
|
54
|
+
_target: string,
|
|
55
|
+
_message: string | number[],
|
|
56
|
+
_gasLimit: number | string | BN
|
|
57
|
+
): NonPayableTransactionObject<void>;
|
|
58
|
+
|
|
59
|
+
xDomainMessageSender(): NonPayableTransactionObject<string>;
|
|
60
|
+
};
|
|
61
|
+
events: {
|
|
62
|
+
FailedRelayedMessage(cb?: Callback<FailedRelayedMessage>): EventEmitter;
|
|
63
|
+
FailedRelayedMessage(
|
|
64
|
+
options?: EventOptions,
|
|
65
|
+
cb?: Callback<FailedRelayedMessage>
|
|
66
|
+
): EventEmitter;
|
|
67
|
+
|
|
68
|
+
RelayedMessage(cb?: Callback<RelayedMessage>): EventEmitter;
|
|
69
|
+
RelayedMessage(
|
|
70
|
+
options?: EventOptions,
|
|
71
|
+
cb?: Callback<RelayedMessage>
|
|
72
|
+
): EventEmitter;
|
|
73
|
+
|
|
74
|
+
SentMessage(cb?: Callback<SentMessage>): EventEmitter;
|
|
75
|
+
SentMessage(
|
|
76
|
+
options?: EventOptions,
|
|
77
|
+
cb?: Callback<SentMessage>
|
|
78
|
+
): EventEmitter;
|
|
79
|
+
|
|
80
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
once(event: "FailedRelayedMessage", cb: Callback<FailedRelayedMessage>): void;
|
|
84
|
+
once(
|
|
85
|
+
event: "FailedRelayedMessage",
|
|
86
|
+
options: EventOptions,
|
|
87
|
+
cb: Callback<FailedRelayedMessage>
|
|
88
|
+
): void;
|
|
89
|
+
|
|
90
|
+
once(event: "RelayedMessage", cb: Callback<RelayedMessage>): void;
|
|
91
|
+
once(
|
|
92
|
+
event: "RelayedMessage",
|
|
93
|
+
options: EventOptions,
|
|
94
|
+
cb: Callback<RelayedMessage>
|
|
95
|
+
): void;
|
|
96
|
+
|
|
97
|
+
once(event: "SentMessage", cb: Callback<SentMessage>): void;
|
|
98
|
+
once(
|
|
99
|
+
event: "SentMessage",
|
|
100
|
+
options: EventOptions,
|
|
101
|
+
cb: Callback<SentMessage>
|
|
102
|
+
): void;
|
|
103
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import BN from "bn.js";
|
|
6
|
+
import { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import { EventLog } from "web3-core";
|
|
8
|
+
import { EventEmitter } from "events";
|
|
9
|
+
import {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IDepositExecute extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): IDepositExecute;
|
|
30
|
+
clone(): IDepositExecute;
|
|
31
|
+
methods: {
|
|
32
|
+
deposit(
|
|
33
|
+
resourceID: string | number[],
|
|
34
|
+
destinationChainID: number | string | BN,
|
|
35
|
+
depositNonce: number | string | BN,
|
|
36
|
+
depositer: string,
|
|
37
|
+
data: string | number[]
|
|
38
|
+
): NonPayableTransactionObject<void>;
|
|
39
|
+
|
|
40
|
+
executeProposal(
|
|
41
|
+
resourceID: string | number[],
|
|
42
|
+
data: string | number[]
|
|
43
|
+
): NonPayableTransactionObject<void>;
|
|
44
|
+
};
|
|
45
|
+
events: {
|
|
46
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
47
|
+
};
|
|
48
|
+
}
|