@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,247 @@
|
|
|
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 DepositsEnabled = ContractEventLog<{
|
|
25
|
+
l2Token: string;
|
|
26
|
+
depositsEnabled: boolean;
|
|
27
|
+
0: string;
|
|
28
|
+
1: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
export type FundsDeposited = ContractEventLog<{
|
|
31
|
+
chainId: string;
|
|
32
|
+
depositId: string;
|
|
33
|
+
l1Recipient: string;
|
|
34
|
+
l2Sender: string;
|
|
35
|
+
l1Token: string;
|
|
36
|
+
l2Token: string;
|
|
37
|
+
amount: string;
|
|
38
|
+
slowRelayFeePct: string;
|
|
39
|
+
instantRelayFeePct: string;
|
|
40
|
+
quoteTimestamp: string;
|
|
41
|
+
0: string;
|
|
42
|
+
1: string;
|
|
43
|
+
2: string;
|
|
44
|
+
3: string;
|
|
45
|
+
4: string;
|
|
46
|
+
5: string;
|
|
47
|
+
6: string;
|
|
48
|
+
7: string;
|
|
49
|
+
8: string;
|
|
50
|
+
9: string;
|
|
51
|
+
}>;
|
|
52
|
+
export type SetMinimumBridgingDelay = ContractEventLog<{
|
|
53
|
+
newMinimumBridgingDelay: string;
|
|
54
|
+
0: string;
|
|
55
|
+
}>;
|
|
56
|
+
export type SetXDomainAdmin = ContractEventLog<{
|
|
57
|
+
newAdmin: string;
|
|
58
|
+
0: string;
|
|
59
|
+
}>;
|
|
60
|
+
export type TokensBridged = ContractEventLog<{
|
|
61
|
+
l2Token: string;
|
|
62
|
+
numberOfTokensBridged: string;
|
|
63
|
+
l1Gas: string;
|
|
64
|
+
caller: string;
|
|
65
|
+
0: string;
|
|
66
|
+
1: string;
|
|
67
|
+
2: string;
|
|
68
|
+
3: string;
|
|
69
|
+
}>;
|
|
70
|
+
export type WhitelistToken = ContractEventLog<{
|
|
71
|
+
l1Token: string;
|
|
72
|
+
l2Token: string;
|
|
73
|
+
lastBridgeTime: string;
|
|
74
|
+
bridgePool: string;
|
|
75
|
+
0: string;
|
|
76
|
+
1: string;
|
|
77
|
+
2: string;
|
|
78
|
+
3: string;
|
|
79
|
+
}>;
|
|
80
|
+
|
|
81
|
+
export interface OVMOETHBridgeDepositBox extends BaseContract {
|
|
82
|
+
constructor(
|
|
83
|
+
jsonInterface: any[],
|
|
84
|
+
address?: string,
|
|
85
|
+
options?: ContractOptions
|
|
86
|
+
): OVMOETHBridgeDepositBox;
|
|
87
|
+
clone(): OVMOETHBridgeDepositBox;
|
|
88
|
+
methods: {
|
|
89
|
+
bridgeTokens(
|
|
90
|
+
l2Token: string,
|
|
91
|
+
l1Gas: number | string | BN
|
|
92
|
+
): NonPayableTransactionObject<void>;
|
|
93
|
+
|
|
94
|
+
canBridge(l2Token: string): NonPayableTransactionObject<boolean>;
|
|
95
|
+
|
|
96
|
+
chainId(): NonPayableTransactionObject<string>;
|
|
97
|
+
|
|
98
|
+
crossDomainAdmin(): NonPayableTransactionObject<string>;
|
|
99
|
+
|
|
100
|
+
deposit(
|
|
101
|
+
l1Recipient: string,
|
|
102
|
+
l2Token: string,
|
|
103
|
+
amount: number | string | BN,
|
|
104
|
+
slowRelayFeePct: number | string | BN,
|
|
105
|
+
instantRelayFeePct: number | string | BN,
|
|
106
|
+
quoteTimestamp: number | string | BN
|
|
107
|
+
): PayableTransactionObject<void>;
|
|
108
|
+
|
|
109
|
+
getCurrentTime(): NonPayableTransactionObject<string>;
|
|
110
|
+
|
|
111
|
+
isWhitelistToken(l2Token: string): NonPayableTransactionObject<boolean>;
|
|
112
|
+
|
|
113
|
+
l1EthWrapper(): NonPayableTransactionObject<string>;
|
|
114
|
+
|
|
115
|
+
l1Weth(): NonPayableTransactionObject<string>;
|
|
116
|
+
|
|
117
|
+
l2Eth(): NonPayableTransactionObject<string>;
|
|
118
|
+
|
|
119
|
+
messenger(): NonPayableTransactionObject<string>;
|
|
120
|
+
|
|
121
|
+
minimumBridgingDelay(): NonPayableTransactionObject<string>;
|
|
122
|
+
|
|
123
|
+
numberOfDeposits(): NonPayableTransactionObject<string>;
|
|
124
|
+
|
|
125
|
+
setCrossDomainAdmin(
|
|
126
|
+
newCrossDomainAdmin: string
|
|
127
|
+
): NonPayableTransactionObject<void>;
|
|
128
|
+
|
|
129
|
+
setCurrentTime(
|
|
130
|
+
time: number | string | BN
|
|
131
|
+
): NonPayableTransactionObject<void>;
|
|
132
|
+
|
|
133
|
+
setEnableDeposits(
|
|
134
|
+
l2Token: string,
|
|
135
|
+
depositsEnabled: boolean
|
|
136
|
+
): NonPayableTransactionObject<void>;
|
|
137
|
+
|
|
138
|
+
setMinimumBridgingDelay(
|
|
139
|
+
newMinimumBridgingDelay: number | string | BN
|
|
140
|
+
): NonPayableTransactionObject<void>;
|
|
141
|
+
|
|
142
|
+
timerAddress(): NonPayableTransactionObject<string>;
|
|
143
|
+
|
|
144
|
+
whitelistToken(
|
|
145
|
+
l1Token: string,
|
|
146
|
+
l2Token: string,
|
|
147
|
+
l1BridgePool: string
|
|
148
|
+
): NonPayableTransactionObject<void>;
|
|
149
|
+
|
|
150
|
+
whitelistedTokens(arg0: string): NonPayableTransactionObject<{
|
|
151
|
+
l1Token: string;
|
|
152
|
+
l1BridgePool: string;
|
|
153
|
+
lastBridgeTime: string;
|
|
154
|
+
depositsEnabled: boolean;
|
|
155
|
+
0: string;
|
|
156
|
+
1: string;
|
|
157
|
+
2: string;
|
|
158
|
+
3: boolean;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
161
|
+
events: {
|
|
162
|
+
DepositsEnabled(cb?: Callback<DepositsEnabled>): EventEmitter;
|
|
163
|
+
DepositsEnabled(
|
|
164
|
+
options?: EventOptions,
|
|
165
|
+
cb?: Callback<DepositsEnabled>
|
|
166
|
+
): EventEmitter;
|
|
167
|
+
|
|
168
|
+
FundsDeposited(cb?: Callback<FundsDeposited>): EventEmitter;
|
|
169
|
+
FundsDeposited(
|
|
170
|
+
options?: EventOptions,
|
|
171
|
+
cb?: Callback<FundsDeposited>
|
|
172
|
+
): EventEmitter;
|
|
173
|
+
|
|
174
|
+
SetMinimumBridgingDelay(
|
|
175
|
+
cb?: Callback<SetMinimumBridgingDelay>
|
|
176
|
+
): EventEmitter;
|
|
177
|
+
SetMinimumBridgingDelay(
|
|
178
|
+
options?: EventOptions,
|
|
179
|
+
cb?: Callback<SetMinimumBridgingDelay>
|
|
180
|
+
): EventEmitter;
|
|
181
|
+
|
|
182
|
+
SetXDomainAdmin(cb?: Callback<SetXDomainAdmin>): EventEmitter;
|
|
183
|
+
SetXDomainAdmin(
|
|
184
|
+
options?: EventOptions,
|
|
185
|
+
cb?: Callback<SetXDomainAdmin>
|
|
186
|
+
): EventEmitter;
|
|
187
|
+
|
|
188
|
+
TokensBridged(cb?: Callback<TokensBridged>): EventEmitter;
|
|
189
|
+
TokensBridged(
|
|
190
|
+
options?: EventOptions,
|
|
191
|
+
cb?: Callback<TokensBridged>
|
|
192
|
+
): EventEmitter;
|
|
193
|
+
|
|
194
|
+
WhitelistToken(cb?: Callback<WhitelistToken>): EventEmitter;
|
|
195
|
+
WhitelistToken(
|
|
196
|
+
options?: EventOptions,
|
|
197
|
+
cb?: Callback<WhitelistToken>
|
|
198
|
+
): EventEmitter;
|
|
199
|
+
|
|
200
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
once(event: "DepositsEnabled", cb: Callback<DepositsEnabled>): void;
|
|
204
|
+
once(
|
|
205
|
+
event: "DepositsEnabled",
|
|
206
|
+
options: EventOptions,
|
|
207
|
+
cb: Callback<DepositsEnabled>
|
|
208
|
+
): void;
|
|
209
|
+
|
|
210
|
+
once(event: "FundsDeposited", cb: Callback<FundsDeposited>): void;
|
|
211
|
+
once(
|
|
212
|
+
event: "FundsDeposited",
|
|
213
|
+
options: EventOptions,
|
|
214
|
+
cb: Callback<FundsDeposited>
|
|
215
|
+
): void;
|
|
216
|
+
|
|
217
|
+
once(
|
|
218
|
+
event: "SetMinimumBridgingDelay",
|
|
219
|
+
cb: Callback<SetMinimumBridgingDelay>
|
|
220
|
+
): void;
|
|
221
|
+
once(
|
|
222
|
+
event: "SetMinimumBridgingDelay",
|
|
223
|
+
options: EventOptions,
|
|
224
|
+
cb: Callback<SetMinimumBridgingDelay>
|
|
225
|
+
): void;
|
|
226
|
+
|
|
227
|
+
once(event: "SetXDomainAdmin", cb: Callback<SetXDomainAdmin>): void;
|
|
228
|
+
once(
|
|
229
|
+
event: "SetXDomainAdmin",
|
|
230
|
+
options: EventOptions,
|
|
231
|
+
cb: Callback<SetXDomainAdmin>
|
|
232
|
+
): void;
|
|
233
|
+
|
|
234
|
+
once(event: "TokensBridged", cb: Callback<TokensBridged>): void;
|
|
235
|
+
once(
|
|
236
|
+
event: "TokensBridged",
|
|
237
|
+
options: EventOptions,
|
|
238
|
+
cb: Callback<TokensBridged>
|
|
239
|
+
): void;
|
|
240
|
+
|
|
241
|
+
once(event: "WhitelistToken", cb: Callback<WhitelistToken>): void;
|
|
242
|
+
once(
|
|
243
|
+
event: "WhitelistToken",
|
|
244
|
+
options: EventOptions,
|
|
245
|
+
cb: Callback<WhitelistToken>
|
|
246
|
+
): void;
|
|
247
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 OwnershipTransferred = ContractEventLog<{
|
|
25
|
+
previousOwner: string;
|
|
26
|
+
newOwner: string;
|
|
27
|
+
0: string;
|
|
28
|
+
1: string;
|
|
29
|
+
}>;
|
|
30
|
+
|
|
31
|
+
export interface OptimismMessenger extends BaseContract {
|
|
32
|
+
constructor(
|
|
33
|
+
jsonInterface: any[],
|
|
34
|
+
address?: string,
|
|
35
|
+
options?: ContractOptions
|
|
36
|
+
): OptimismMessenger;
|
|
37
|
+
clone(): OptimismMessenger;
|
|
38
|
+
methods: {
|
|
39
|
+
messenger(): NonPayableTransactionObject<string>;
|
|
40
|
+
|
|
41
|
+
owner(): NonPayableTransactionObject<string>;
|
|
42
|
+
|
|
43
|
+
relayMessage(
|
|
44
|
+
target: string,
|
|
45
|
+
arg1: string,
|
|
46
|
+
arg2: number | string | BN,
|
|
47
|
+
gasLimit: number | string | BN,
|
|
48
|
+
arg4: number | string | BN,
|
|
49
|
+
arg5: number | string | BN,
|
|
50
|
+
message: string | number[]
|
|
51
|
+
): PayableTransactionObject<void>;
|
|
52
|
+
|
|
53
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
54
|
+
|
|
55
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
56
|
+
};
|
|
57
|
+
events: {
|
|
58
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
59
|
+
OwnershipTransferred(
|
|
60
|
+
options?: EventOptions,
|
|
61
|
+
cb?: Callback<OwnershipTransferred>
|
|
62
|
+
): EventEmitter;
|
|
63
|
+
|
|
64
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
68
|
+
once(
|
|
69
|
+
event: "OwnershipTransferred",
|
|
70
|
+
options: EventOptions,
|
|
71
|
+
cb: Callback<OwnershipTransferred>
|
|
72
|
+
): void;
|
|
73
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 ChangedBridgePool = ContractEventLog<{
|
|
25
|
+
bridgePool: string;
|
|
26
|
+
0: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type OwnershipTransferred = ContractEventLog<{
|
|
29
|
+
previousOwner: string;
|
|
30
|
+
newOwner: string;
|
|
31
|
+
0: string;
|
|
32
|
+
1: string;
|
|
33
|
+
}>;
|
|
34
|
+
|
|
35
|
+
export interface OptimismWrapper extends BaseContract {
|
|
36
|
+
constructor(
|
|
37
|
+
jsonInterface: any[],
|
|
38
|
+
address?: string,
|
|
39
|
+
options?: ContractOptions
|
|
40
|
+
): OptimismWrapper;
|
|
41
|
+
clone(): OptimismWrapper;
|
|
42
|
+
methods: {
|
|
43
|
+
bridgePool(): NonPayableTransactionObject<string>;
|
|
44
|
+
|
|
45
|
+
changeBridgePool(newBridgePool: string): NonPayableTransactionObject<void>;
|
|
46
|
+
|
|
47
|
+
owner(): NonPayableTransactionObject<string>;
|
|
48
|
+
|
|
49
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
50
|
+
|
|
51
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
52
|
+
|
|
53
|
+
weth(): NonPayableTransactionObject<string>;
|
|
54
|
+
|
|
55
|
+
wrapAndTransfer(): PayableTransactionObject<void>;
|
|
56
|
+
};
|
|
57
|
+
events: {
|
|
58
|
+
ChangedBridgePool(cb?: Callback<ChangedBridgePool>): EventEmitter;
|
|
59
|
+
ChangedBridgePool(
|
|
60
|
+
options?: EventOptions,
|
|
61
|
+
cb?: Callback<ChangedBridgePool>
|
|
62
|
+
): EventEmitter;
|
|
63
|
+
|
|
64
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
65
|
+
OwnershipTransferred(
|
|
66
|
+
options?: EventOptions,
|
|
67
|
+
cb?: Callback<OwnershipTransferred>
|
|
68
|
+
): EventEmitter;
|
|
69
|
+
|
|
70
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
once(event: "ChangedBridgePool", cb: Callback<ChangedBridgePool>): void;
|
|
74
|
+
once(
|
|
75
|
+
event: "ChangedBridgePool",
|
|
76
|
+
options: EventOptions,
|
|
77
|
+
cb: Callback<ChangedBridgePool>
|
|
78
|
+
): void;
|
|
79
|
+
|
|
80
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
81
|
+
once(
|
|
82
|
+
event: "OwnershipTransferred",
|
|
83
|
+
options: EventOptions,
|
|
84
|
+
cb: Callback<OwnershipTransferred>
|
|
85
|
+
): void;
|
|
86
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 OptimisticOracleConstraints extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): OptimisticOracleConstraints;
|
|
30
|
+
clone(): OptimisticOracleConstraints;
|
|
31
|
+
methods: {
|
|
32
|
+
ancillaryBytesLimit(): NonPayableTransactionObject<string>;
|
|
33
|
+
};
|
|
34
|
+
events: {
|
|
35
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
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 OptimisticOracleInterface extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): OptimisticOracleInterface;
|
|
30
|
+
clone(): OptimisticOracleInterface;
|
|
31
|
+
methods: {
|
|
32
|
+
ancillaryBytesLimit(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
disputePrice(
|
|
35
|
+
requester: string,
|
|
36
|
+
identifier: string | number[],
|
|
37
|
+
timestamp: number | string | BN,
|
|
38
|
+
ancillaryData: string | number[]
|
|
39
|
+
): NonPayableTransactionObject<string>;
|
|
40
|
+
|
|
41
|
+
disputePriceFor(
|
|
42
|
+
disputer: string,
|
|
43
|
+
requester: string,
|
|
44
|
+
identifier: string | number[],
|
|
45
|
+
timestamp: number | string | BN,
|
|
46
|
+
ancillaryData: string | number[]
|
|
47
|
+
): NonPayableTransactionObject<string>;
|
|
48
|
+
|
|
49
|
+
getRequest(
|
|
50
|
+
requester: string,
|
|
51
|
+
identifier: string | number[],
|
|
52
|
+
timestamp: number | string | BN,
|
|
53
|
+
ancillaryData: string | number[]
|
|
54
|
+
): NonPayableTransactionObject<
|
|
55
|
+
[
|
|
56
|
+
string,
|
|
57
|
+
string,
|
|
58
|
+
string,
|
|
59
|
+
boolean,
|
|
60
|
+
boolean,
|
|
61
|
+
string,
|
|
62
|
+
string,
|
|
63
|
+
string,
|
|
64
|
+
string,
|
|
65
|
+
string,
|
|
66
|
+
string,
|
|
67
|
+
string
|
|
68
|
+
]
|
|
69
|
+
>;
|
|
70
|
+
|
|
71
|
+
getState(
|
|
72
|
+
requester: string,
|
|
73
|
+
identifier: string | number[],
|
|
74
|
+
timestamp: number | string | BN,
|
|
75
|
+
ancillaryData: string | number[]
|
|
76
|
+
): NonPayableTransactionObject<string>;
|
|
77
|
+
|
|
78
|
+
hasPrice(
|
|
79
|
+
requester: string,
|
|
80
|
+
identifier: string | number[],
|
|
81
|
+
timestamp: number | string | BN,
|
|
82
|
+
ancillaryData: string | number[]
|
|
83
|
+
): NonPayableTransactionObject<boolean>;
|
|
84
|
+
|
|
85
|
+
proposePrice(
|
|
86
|
+
requester: string,
|
|
87
|
+
identifier: string | number[],
|
|
88
|
+
timestamp: number | string | BN,
|
|
89
|
+
ancillaryData: string | number[],
|
|
90
|
+
proposedPrice: number | string | BN
|
|
91
|
+
): NonPayableTransactionObject<string>;
|
|
92
|
+
|
|
93
|
+
proposePriceFor(
|
|
94
|
+
proposer: string,
|
|
95
|
+
requester: string,
|
|
96
|
+
identifier: string | number[],
|
|
97
|
+
timestamp: number | string | BN,
|
|
98
|
+
ancillaryData: string | number[],
|
|
99
|
+
proposedPrice: number | string | BN
|
|
100
|
+
): NonPayableTransactionObject<string>;
|
|
101
|
+
|
|
102
|
+
requestPrice(
|
|
103
|
+
identifier: string | number[],
|
|
104
|
+
timestamp: number | string | BN,
|
|
105
|
+
ancillaryData: string | number[],
|
|
106
|
+
currency: string,
|
|
107
|
+
reward: number | string | BN
|
|
108
|
+
): NonPayableTransactionObject<string>;
|
|
109
|
+
|
|
110
|
+
setBond(
|
|
111
|
+
identifier: string | number[],
|
|
112
|
+
timestamp: number | string | BN,
|
|
113
|
+
ancillaryData: string | number[],
|
|
114
|
+
bond: number | string | BN
|
|
115
|
+
): NonPayableTransactionObject<string>;
|
|
116
|
+
|
|
117
|
+
setCustomLiveness(
|
|
118
|
+
identifier: string | number[],
|
|
119
|
+
timestamp: number | string | BN,
|
|
120
|
+
ancillaryData: string | number[],
|
|
121
|
+
customLiveness: number | string | BN
|
|
122
|
+
): NonPayableTransactionObject<void>;
|
|
123
|
+
|
|
124
|
+
setRefundOnDispute(
|
|
125
|
+
identifier: string | number[],
|
|
126
|
+
timestamp: number | string | BN,
|
|
127
|
+
ancillaryData: string | number[]
|
|
128
|
+
): NonPayableTransactionObject<void>;
|
|
129
|
+
|
|
130
|
+
settle(
|
|
131
|
+
requester: string,
|
|
132
|
+
identifier: string | number[],
|
|
133
|
+
timestamp: number | string | BN,
|
|
134
|
+
ancillaryData: string | number[]
|
|
135
|
+
): NonPayableTransactionObject<string>;
|
|
136
|
+
|
|
137
|
+
settleAndGetPrice(
|
|
138
|
+
identifier: string | number[],
|
|
139
|
+
timestamp: number | string | BN,
|
|
140
|
+
ancillaryData: string | number[]
|
|
141
|
+
): NonPayableTransactionObject<string>;
|
|
142
|
+
|
|
143
|
+
stampAncillaryData(
|
|
144
|
+
ancillaryData: string | number[],
|
|
145
|
+
requester: string
|
|
146
|
+
): NonPayableTransactionObject<string>;
|
|
147
|
+
};
|
|
148
|
+
events: {
|
|
149
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 OracleInterfaces extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): OracleInterfaces;
|
|
30
|
+
clone(): OracleInterfaces;
|
|
31
|
+
methods: {
|
|
32
|
+
Bridge(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
CollateralWhitelist(): NonPayableTransactionObject<string>;
|
|
35
|
+
|
|
36
|
+
FinancialContractsAdmin(): NonPayableTransactionObject<string>;
|
|
37
|
+
|
|
38
|
+
GenericHandler(): NonPayableTransactionObject<string>;
|
|
39
|
+
|
|
40
|
+
IdentifierWhitelist(): NonPayableTransactionObject<string>;
|
|
41
|
+
|
|
42
|
+
OptimisticOracle(): NonPayableTransactionObject<string>;
|
|
43
|
+
|
|
44
|
+
Oracle(): NonPayableTransactionObject<string>;
|
|
45
|
+
|
|
46
|
+
Registry(): NonPayableTransactionObject<string>;
|
|
47
|
+
|
|
48
|
+
SkinnyOptimisticOracle(): NonPayableTransactionObject<string>;
|
|
49
|
+
|
|
50
|
+
Store(): NonPayableTransactionObject<string>;
|
|
51
|
+
};
|
|
52
|
+
events: {
|
|
53
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 OwnershipTransferred = ContractEventLog<{
|
|
25
|
+
previousOwner: string;
|
|
26
|
+
newOwner: string;
|
|
27
|
+
0: string;
|
|
28
|
+
1: string;
|
|
29
|
+
}>;
|
|
30
|
+
|
|
31
|
+
export interface Ownable extends BaseContract {
|
|
32
|
+
constructor(
|
|
33
|
+
jsonInterface: any[],
|
|
34
|
+
address?: string,
|
|
35
|
+
options?: ContractOptions
|
|
36
|
+
): Ownable;
|
|
37
|
+
clone(): Ownable;
|
|
38
|
+
methods: {
|
|
39
|
+
owner(): NonPayableTransactionObject<string>;
|
|
40
|
+
|
|
41
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
42
|
+
|
|
43
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
44
|
+
};
|
|
45
|
+
events: {
|
|
46
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
47
|
+
OwnershipTransferred(
|
|
48
|
+
options?: EventOptions,
|
|
49
|
+
cb?: Callback<OwnershipTransferred>
|
|
50
|
+
): EventEmitter;
|
|
51
|
+
|
|
52
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
56
|
+
once(
|
|
57
|
+
event: "OwnershipTransferred",
|
|
58
|
+
options: EventOptions,
|
|
59
|
+
cb: Callback<OwnershipTransferred>
|
|
60
|
+
): void;
|
|
61
|
+
}
|