@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,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 ArbitrumInboxMock extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): ArbitrumInboxMock;
|
|
30
|
+
clone(): ArbitrumInboxMock;
|
|
31
|
+
methods: {
|
|
32
|
+
bridge(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
createRetryableTicketNoRefundAliasRewrite(
|
|
35
|
+
destAddr: string,
|
|
36
|
+
l2CallValue: number | string | BN,
|
|
37
|
+
maxSubmissionCost: number | string | BN,
|
|
38
|
+
excessFeeRefundAddress: string,
|
|
39
|
+
callValueRefundAddress: string,
|
|
40
|
+
maxGas: number | string | BN,
|
|
41
|
+
gasPriceBid: number | string | BN,
|
|
42
|
+
data: string | number[]
|
|
43
|
+
): PayableTransactionObject<string>;
|
|
44
|
+
};
|
|
45
|
+
events: {
|
|
46
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
export type RelayedMessage = ContractEventLog<{
|
|
31
|
+
from: string;
|
|
32
|
+
to: string;
|
|
33
|
+
seqNum: string;
|
|
34
|
+
userToRefund: string;
|
|
35
|
+
l1CallValue: string;
|
|
36
|
+
gasLimit: string;
|
|
37
|
+
gasPrice: string;
|
|
38
|
+
maxSubmissionCost: string;
|
|
39
|
+
data: string;
|
|
40
|
+
0: string;
|
|
41
|
+
1: string;
|
|
42
|
+
2: string;
|
|
43
|
+
3: string;
|
|
44
|
+
4: string;
|
|
45
|
+
5: string;
|
|
46
|
+
6: string;
|
|
47
|
+
7: string;
|
|
48
|
+
8: string;
|
|
49
|
+
}>;
|
|
50
|
+
|
|
51
|
+
export interface ArbitrumMessenger extends BaseContract {
|
|
52
|
+
constructor(
|
|
53
|
+
jsonInterface: any[],
|
|
54
|
+
address?: string,
|
|
55
|
+
options?: ContractOptions
|
|
56
|
+
): ArbitrumMessenger;
|
|
57
|
+
clone(): ArbitrumMessenger;
|
|
58
|
+
methods: {
|
|
59
|
+
inbox(): NonPayableTransactionObject<string>;
|
|
60
|
+
|
|
61
|
+
owner(): NonPayableTransactionObject<string>;
|
|
62
|
+
|
|
63
|
+
relayMessage(
|
|
64
|
+
target: string,
|
|
65
|
+
userToRefund: string,
|
|
66
|
+
l1CallValue: number | string | BN,
|
|
67
|
+
gasLimit: number | string | BN,
|
|
68
|
+
gasPrice: number | string | BN,
|
|
69
|
+
maxSubmissionCost: number | string | BN,
|
|
70
|
+
message: string | number[]
|
|
71
|
+
): PayableTransactionObject<void>;
|
|
72
|
+
|
|
73
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
74
|
+
|
|
75
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
76
|
+
};
|
|
77
|
+
events: {
|
|
78
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
79
|
+
OwnershipTransferred(
|
|
80
|
+
options?: EventOptions,
|
|
81
|
+
cb?: Callback<OwnershipTransferred>
|
|
82
|
+
): EventEmitter;
|
|
83
|
+
|
|
84
|
+
RelayedMessage(cb?: Callback<RelayedMessage>): EventEmitter;
|
|
85
|
+
RelayedMessage(
|
|
86
|
+
options?: EventOptions,
|
|
87
|
+
cb?: Callback<RelayedMessage>
|
|
88
|
+
): EventEmitter;
|
|
89
|
+
|
|
90
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
94
|
+
once(
|
|
95
|
+
event: "OwnershipTransferred",
|
|
96
|
+
options: EventOptions,
|
|
97
|
+
cb: Callback<OwnershipTransferred>
|
|
98
|
+
): void;
|
|
99
|
+
|
|
100
|
+
once(event: "RelayedMessage", cb: Callback<RelayedMessage>): void;
|
|
101
|
+
once(
|
|
102
|
+
event: "RelayedMessage",
|
|
103
|
+
options: EventOptions,
|
|
104
|
+
cb: Callback<RelayedMessage>
|
|
105
|
+
): void;
|
|
106
|
+
}
|
|
@@ -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 ArbitrumOutboxMock extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): ArbitrumOutboxMock;
|
|
30
|
+
clone(): ArbitrumOutboxMock;
|
|
31
|
+
methods: {
|
|
32
|
+
l2ToL1Sender(): NonPayableTransactionObject<string>;
|
|
33
|
+
};
|
|
34
|
+
events: {
|
|
35
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,348 @@
|
|
|
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 MessageReceivedFromChild = ContractEventLog<{
|
|
25
|
+
data: string;
|
|
26
|
+
childMessenger: string;
|
|
27
|
+
targetHub: string;
|
|
28
|
+
0: string;
|
|
29
|
+
1: string;
|
|
30
|
+
2: string;
|
|
31
|
+
}>;
|
|
32
|
+
export type MessageSentToChild = ContractEventLog<{
|
|
33
|
+
data: string;
|
|
34
|
+
targetSpoke: string;
|
|
35
|
+
l1CallValue: string;
|
|
36
|
+
gasLimit: string;
|
|
37
|
+
gasPrice: string;
|
|
38
|
+
maxSubmissionCost: string;
|
|
39
|
+
refundL2Address: string;
|
|
40
|
+
childMessenger: string;
|
|
41
|
+
sequenceNumber: string;
|
|
42
|
+
0: string;
|
|
43
|
+
1: string;
|
|
44
|
+
2: string;
|
|
45
|
+
3: string;
|
|
46
|
+
4: string;
|
|
47
|
+
5: string;
|
|
48
|
+
6: string;
|
|
49
|
+
7: string;
|
|
50
|
+
8: string;
|
|
51
|
+
}>;
|
|
52
|
+
export type OwnershipTransferred = ContractEventLog<{
|
|
53
|
+
previousOwner: string;
|
|
54
|
+
newOwner: string;
|
|
55
|
+
0: string;
|
|
56
|
+
1: string;
|
|
57
|
+
}>;
|
|
58
|
+
export type SetChildMessenger = ContractEventLog<{
|
|
59
|
+
childMessenger: string;
|
|
60
|
+
0: string;
|
|
61
|
+
}>;
|
|
62
|
+
export type SetDefaultGasLimit = ContractEventLog<{
|
|
63
|
+
newDefaultGasLimit: string;
|
|
64
|
+
0: string;
|
|
65
|
+
}>;
|
|
66
|
+
export type SetDefaultGasPrice = ContractEventLog<{
|
|
67
|
+
newDefaultGasPrice: string;
|
|
68
|
+
0: string;
|
|
69
|
+
}>;
|
|
70
|
+
export type SetDefaultMaxSubmissionCost = ContractEventLog<{
|
|
71
|
+
newMaxSubmissionCost: string;
|
|
72
|
+
0: string;
|
|
73
|
+
}>;
|
|
74
|
+
export type SetGovernorHub = ContractEventLog<{
|
|
75
|
+
governorHub: string;
|
|
76
|
+
0: string;
|
|
77
|
+
}>;
|
|
78
|
+
export type SetGovernorSpoke = ContractEventLog<{
|
|
79
|
+
governorSpoke: string;
|
|
80
|
+
0: string;
|
|
81
|
+
}>;
|
|
82
|
+
export type SetOracleHub = ContractEventLog<{
|
|
83
|
+
oracleHub: string;
|
|
84
|
+
0: string;
|
|
85
|
+
}>;
|
|
86
|
+
export type SetOracleSpoke = ContractEventLog<{
|
|
87
|
+
oracleSpoke: string;
|
|
88
|
+
0: string;
|
|
89
|
+
}>;
|
|
90
|
+
export type SetRefundL2Address = ContractEventLog<{
|
|
91
|
+
newRefundL2Address: string;
|
|
92
|
+
0: string;
|
|
93
|
+
}>;
|
|
94
|
+
|
|
95
|
+
export interface ArbitrumParentMessenger extends BaseContract {
|
|
96
|
+
constructor(
|
|
97
|
+
jsonInterface: any[],
|
|
98
|
+
address?: string,
|
|
99
|
+
options?: ContractOptions
|
|
100
|
+
): ArbitrumParentMessenger;
|
|
101
|
+
clone(): ArbitrumParentMessenger;
|
|
102
|
+
methods: {
|
|
103
|
+
childChainId(): NonPayableTransactionObject<string>;
|
|
104
|
+
|
|
105
|
+
childMessenger(): NonPayableTransactionObject<string>;
|
|
106
|
+
|
|
107
|
+
defaultGasLimit(): NonPayableTransactionObject<string>;
|
|
108
|
+
|
|
109
|
+
defaultGasPrice(): NonPayableTransactionObject<string>;
|
|
110
|
+
|
|
111
|
+
defaultMaxSubmissionCost(): NonPayableTransactionObject<string>;
|
|
112
|
+
|
|
113
|
+
getL1CallValue(): NonPayableTransactionObject<string>;
|
|
114
|
+
|
|
115
|
+
governorHub(): NonPayableTransactionObject<string>;
|
|
116
|
+
|
|
117
|
+
governorSpoke(): NonPayableTransactionObject<string>;
|
|
118
|
+
|
|
119
|
+
inbox(): NonPayableTransactionObject<string>;
|
|
120
|
+
|
|
121
|
+
oracleHub(): NonPayableTransactionObject<string>;
|
|
122
|
+
|
|
123
|
+
oracleSpoke(): NonPayableTransactionObject<string>;
|
|
124
|
+
|
|
125
|
+
owner(): NonPayableTransactionObject<string>;
|
|
126
|
+
|
|
127
|
+
processMessageFromCrossChainChild(
|
|
128
|
+
data: string | number[]
|
|
129
|
+
): NonPayableTransactionObject<void>;
|
|
130
|
+
|
|
131
|
+
refundL2Address(): NonPayableTransactionObject<string>;
|
|
132
|
+
|
|
133
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
134
|
+
|
|
135
|
+
sendMessageToChild(
|
|
136
|
+
data: string | number[]
|
|
137
|
+
): NonPayableTransactionObject<void>;
|
|
138
|
+
|
|
139
|
+
setChildMessenger(
|
|
140
|
+
newChildMessenger: string
|
|
141
|
+
): NonPayableTransactionObject<void>;
|
|
142
|
+
|
|
143
|
+
setChildOracleSpoke(
|
|
144
|
+
newOracleSpoke: string
|
|
145
|
+
): NonPayableTransactionObject<void>;
|
|
146
|
+
|
|
147
|
+
setChildParentMessenger(
|
|
148
|
+
newParentMessenger: string
|
|
149
|
+
): NonPayableTransactionObject<void>;
|
|
150
|
+
|
|
151
|
+
setDefaultGasLimit(
|
|
152
|
+
newDefaultGasLimit: number | string | BN
|
|
153
|
+
): NonPayableTransactionObject<void>;
|
|
154
|
+
|
|
155
|
+
setDefaultGasPrice(
|
|
156
|
+
newDefaultGasPrice: number | string | BN
|
|
157
|
+
): NonPayableTransactionObject<void>;
|
|
158
|
+
|
|
159
|
+
setDefaultMaxSubmissionCost(
|
|
160
|
+
newDefaultMaxSubmissionCost: number | string | BN
|
|
161
|
+
): NonPayableTransactionObject<void>;
|
|
162
|
+
|
|
163
|
+
setGovernorHub(newGovernorHub: string): NonPayableTransactionObject<void>;
|
|
164
|
+
|
|
165
|
+
setGovernorSpoke(
|
|
166
|
+
newGovernorSpoke: string
|
|
167
|
+
): NonPayableTransactionObject<void>;
|
|
168
|
+
|
|
169
|
+
setOracleHub(newOracleHub: string): NonPayableTransactionObject<void>;
|
|
170
|
+
|
|
171
|
+
setOracleSpoke(newOracleSpoke: string): NonPayableTransactionObject<void>;
|
|
172
|
+
|
|
173
|
+
setRefundL2Address(
|
|
174
|
+
newRefundl2Address: string
|
|
175
|
+
): NonPayableTransactionObject<void>;
|
|
176
|
+
|
|
177
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
178
|
+
};
|
|
179
|
+
events: {
|
|
180
|
+
MessageReceivedFromChild(
|
|
181
|
+
cb?: Callback<MessageReceivedFromChild>
|
|
182
|
+
): EventEmitter;
|
|
183
|
+
MessageReceivedFromChild(
|
|
184
|
+
options?: EventOptions,
|
|
185
|
+
cb?: Callback<MessageReceivedFromChild>
|
|
186
|
+
): EventEmitter;
|
|
187
|
+
|
|
188
|
+
MessageSentToChild(cb?: Callback<MessageSentToChild>): EventEmitter;
|
|
189
|
+
MessageSentToChild(
|
|
190
|
+
options?: EventOptions,
|
|
191
|
+
cb?: Callback<MessageSentToChild>
|
|
192
|
+
): EventEmitter;
|
|
193
|
+
|
|
194
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
195
|
+
OwnershipTransferred(
|
|
196
|
+
options?: EventOptions,
|
|
197
|
+
cb?: Callback<OwnershipTransferred>
|
|
198
|
+
): EventEmitter;
|
|
199
|
+
|
|
200
|
+
SetChildMessenger(cb?: Callback<SetChildMessenger>): EventEmitter;
|
|
201
|
+
SetChildMessenger(
|
|
202
|
+
options?: EventOptions,
|
|
203
|
+
cb?: Callback<SetChildMessenger>
|
|
204
|
+
): EventEmitter;
|
|
205
|
+
|
|
206
|
+
SetDefaultGasLimit(cb?: Callback<SetDefaultGasLimit>): EventEmitter;
|
|
207
|
+
SetDefaultGasLimit(
|
|
208
|
+
options?: EventOptions,
|
|
209
|
+
cb?: Callback<SetDefaultGasLimit>
|
|
210
|
+
): EventEmitter;
|
|
211
|
+
|
|
212
|
+
SetDefaultGasPrice(cb?: Callback<SetDefaultGasPrice>): EventEmitter;
|
|
213
|
+
SetDefaultGasPrice(
|
|
214
|
+
options?: EventOptions,
|
|
215
|
+
cb?: Callback<SetDefaultGasPrice>
|
|
216
|
+
): EventEmitter;
|
|
217
|
+
|
|
218
|
+
SetDefaultMaxSubmissionCost(
|
|
219
|
+
cb?: Callback<SetDefaultMaxSubmissionCost>
|
|
220
|
+
): EventEmitter;
|
|
221
|
+
SetDefaultMaxSubmissionCost(
|
|
222
|
+
options?: EventOptions,
|
|
223
|
+
cb?: Callback<SetDefaultMaxSubmissionCost>
|
|
224
|
+
): EventEmitter;
|
|
225
|
+
|
|
226
|
+
SetGovernorHub(cb?: Callback<SetGovernorHub>): EventEmitter;
|
|
227
|
+
SetGovernorHub(
|
|
228
|
+
options?: EventOptions,
|
|
229
|
+
cb?: Callback<SetGovernorHub>
|
|
230
|
+
): EventEmitter;
|
|
231
|
+
|
|
232
|
+
SetGovernorSpoke(cb?: Callback<SetGovernorSpoke>): EventEmitter;
|
|
233
|
+
SetGovernorSpoke(
|
|
234
|
+
options?: EventOptions,
|
|
235
|
+
cb?: Callback<SetGovernorSpoke>
|
|
236
|
+
): EventEmitter;
|
|
237
|
+
|
|
238
|
+
SetOracleHub(cb?: Callback<SetOracleHub>): EventEmitter;
|
|
239
|
+
SetOracleHub(
|
|
240
|
+
options?: EventOptions,
|
|
241
|
+
cb?: Callback<SetOracleHub>
|
|
242
|
+
): EventEmitter;
|
|
243
|
+
|
|
244
|
+
SetOracleSpoke(cb?: Callback<SetOracleSpoke>): EventEmitter;
|
|
245
|
+
SetOracleSpoke(
|
|
246
|
+
options?: EventOptions,
|
|
247
|
+
cb?: Callback<SetOracleSpoke>
|
|
248
|
+
): EventEmitter;
|
|
249
|
+
|
|
250
|
+
SetRefundL2Address(cb?: Callback<SetRefundL2Address>): EventEmitter;
|
|
251
|
+
SetRefundL2Address(
|
|
252
|
+
options?: EventOptions,
|
|
253
|
+
cb?: Callback<SetRefundL2Address>
|
|
254
|
+
): EventEmitter;
|
|
255
|
+
|
|
256
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
once(
|
|
260
|
+
event: "MessageReceivedFromChild",
|
|
261
|
+
cb: Callback<MessageReceivedFromChild>
|
|
262
|
+
): void;
|
|
263
|
+
once(
|
|
264
|
+
event: "MessageReceivedFromChild",
|
|
265
|
+
options: EventOptions,
|
|
266
|
+
cb: Callback<MessageReceivedFromChild>
|
|
267
|
+
): void;
|
|
268
|
+
|
|
269
|
+
once(event: "MessageSentToChild", cb: Callback<MessageSentToChild>): void;
|
|
270
|
+
once(
|
|
271
|
+
event: "MessageSentToChild",
|
|
272
|
+
options: EventOptions,
|
|
273
|
+
cb: Callback<MessageSentToChild>
|
|
274
|
+
): void;
|
|
275
|
+
|
|
276
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
277
|
+
once(
|
|
278
|
+
event: "OwnershipTransferred",
|
|
279
|
+
options: EventOptions,
|
|
280
|
+
cb: Callback<OwnershipTransferred>
|
|
281
|
+
): void;
|
|
282
|
+
|
|
283
|
+
once(event: "SetChildMessenger", cb: Callback<SetChildMessenger>): void;
|
|
284
|
+
once(
|
|
285
|
+
event: "SetChildMessenger",
|
|
286
|
+
options: EventOptions,
|
|
287
|
+
cb: Callback<SetChildMessenger>
|
|
288
|
+
): void;
|
|
289
|
+
|
|
290
|
+
once(event: "SetDefaultGasLimit", cb: Callback<SetDefaultGasLimit>): void;
|
|
291
|
+
once(
|
|
292
|
+
event: "SetDefaultGasLimit",
|
|
293
|
+
options: EventOptions,
|
|
294
|
+
cb: Callback<SetDefaultGasLimit>
|
|
295
|
+
): void;
|
|
296
|
+
|
|
297
|
+
once(event: "SetDefaultGasPrice", cb: Callback<SetDefaultGasPrice>): void;
|
|
298
|
+
once(
|
|
299
|
+
event: "SetDefaultGasPrice",
|
|
300
|
+
options: EventOptions,
|
|
301
|
+
cb: Callback<SetDefaultGasPrice>
|
|
302
|
+
): void;
|
|
303
|
+
|
|
304
|
+
once(
|
|
305
|
+
event: "SetDefaultMaxSubmissionCost",
|
|
306
|
+
cb: Callback<SetDefaultMaxSubmissionCost>
|
|
307
|
+
): void;
|
|
308
|
+
once(
|
|
309
|
+
event: "SetDefaultMaxSubmissionCost",
|
|
310
|
+
options: EventOptions,
|
|
311
|
+
cb: Callback<SetDefaultMaxSubmissionCost>
|
|
312
|
+
): void;
|
|
313
|
+
|
|
314
|
+
once(event: "SetGovernorHub", cb: Callback<SetGovernorHub>): void;
|
|
315
|
+
once(
|
|
316
|
+
event: "SetGovernorHub",
|
|
317
|
+
options: EventOptions,
|
|
318
|
+
cb: Callback<SetGovernorHub>
|
|
319
|
+
): void;
|
|
320
|
+
|
|
321
|
+
once(event: "SetGovernorSpoke", cb: Callback<SetGovernorSpoke>): void;
|
|
322
|
+
once(
|
|
323
|
+
event: "SetGovernorSpoke",
|
|
324
|
+
options: EventOptions,
|
|
325
|
+
cb: Callback<SetGovernorSpoke>
|
|
326
|
+
): void;
|
|
327
|
+
|
|
328
|
+
once(event: "SetOracleHub", cb: Callback<SetOracleHub>): void;
|
|
329
|
+
once(
|
|
330
|
+
event: "SetOracleHub",
|
|
331
|
+
options: EventOptions,
|
|
332
|
+
cb: Callback<SetOracleHub>
|
|
333
|
+
): void;
|
|
334
|
+
|
|
335
|
+
once(event: "SetOracleSpoke", cb: Callback<SetOracleSpoke>): void;
|
|
336
|
+
once(
|
|
337
|
+
event: "SetOracleSpoke",
|
|
338
|
+
options: EventOptions,
|
|
339
|
+
cb: Callback<SetOracleSpoke>
|
|
340
|
+
): void;
|
|
341
|
+
|
|
342
|
+
once(event: "SetRefundL2Address", cb: Callback<SetRefundL2Address>): void;
|
|
343
|
+
once(
|
|
344
|
+
event: "SetRefundL2Address",
|
|
345
|
+
options: EventOptions,
|
|
346
|
+
cb: Callback<SetRefundL2Address>
|
|
347
|
+
): void;
|
|
348
|
+
}
|