@across-protocol/contracts 0.1.0 → 0.1.1
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/build/artfacts.json +342 -0
- package/contract-types/ethers/AVMBridgeDepositBox.ts +780 -0
- package/contract-types/ethers/AVMCrossDomainEnabled.ts +75 -0
- package/contract-types/ethers/AccessControl.ts +353 -0
- package/contract-types/ethers/AddressWhitelistInterface.ts +184 -0
- package/contract-types/ethers/ArbSys.ts +354 -0
- package/contract-types/ethers/ArbitrumBridgeMock.ts +159 -0
- package/contract-types/ethers/ArbitrumCrossDomainEnabled.ts +74 -0
- package/contract-types/ethers/ArbitrumInboxMock.ts +155 -0
- package/contract-types/ethers/ArbitrumMessenger.ts +297 -0
- package/contract-types/ethers/ArbitrumOutboxMock.ts +80 -0
- package/contract-types/ethers/ArbitrumParentMessenger.ts +1028 -0
- package/contract-types/ethers/Bridge.ts +1537 -0
- package/contract-types/ethers/BridgeAdmin.ts +1011 -0
- package/contract-types/ethers/BridgeAdminInterface.ts +409 -0
- package/contract-types/ethers/BridgeDepositBox.ts +557 -0
- package/contract-types/ethers/BridgeDepositBoxMock.ts +739 -0
- package/contract-types/ethers/BridgePool.ts +1741 -0
- package/contract-types/ethers/BridgePoolInterface.ts +173 -0
- package/contract-types/ethers/BridgePoolProd.ts +1741 -0
- package/contract-types/ethers/CrossDomainEnabled.ts +74 -0
- package/contract-types/ethers/ERC165.ts +95 -0
- package/contract-types/ethers/ERC20.ts +410 -0
- package/contract-types/ethers/FinderInterface.ts +136 -0
- package/contract-types/ethers/FxBaseChildTunnel.ts +185 -0
- package/contract-types/ethers/FxBaseRootTunnel.ts +234 -0
- package/contract-types/ethers/FxChildMock.ts +182 -0
- package/contract-types/ethers/FxRootMock.ts +159 -0
- package/contract-types/ethers/GenericHandler.ts +502 -0
- package/contract-types/ethers/IAccessControl.ts +235 -0
- package/contract-types/ethers/IArbitrumInbox.ts +155 -0
- package/contract-types/ethers/IArbitrumOutbox.ts +80 -0
- package/contract-types/ethers/IBridge.ts +126 -0
- package/contract-types/ethers/ICheckpointManager.ts +120 -0
- package/contract-types/ethers/ICrossDomainMessenger.ts +189 -0
- package/contract-types/ethers/IDepositExecute.ts +154 -0
- package/contract-types/ethers/IERC165.ts +95 -0
- package/contract-types/ethers/IERC20.ts +293 -0
- package/contract-types/ethers/IERC20Metadata.ts +332 -0
- package/contract-types/ethers/IERCHandler.ts +175 -0
- package/contract-types/ethers/IFxMessageProcessor.ts +108 -0
- package/contract-types/ethers/IFxStateSender.ts +102 -0
- package/contract-types/ethers/IGenericHandler.ts +112 -0
- package/contract-types/ethers/IL2ERC20Bridge.ts +350 -0
- package/contract-types/ethers/IOVMCrossDomainMessenger.ts +164 -0
- package/contract-types/ethers/IStateReceiver.ts +103 -0
- package/contract-types/ethers/IStateSender.ts +99 -0
- package/contract-types/ethers/IdentifierWhitelistInterface.ts +165 -0
- package/contract-types/ethers/Lockable.ts +50 -0
- package/contract-types/ethers/MessengerInterface.ts +136 -0
- package/contract-types/ethers/MessengerMock.ts +160 -0
- package/contract-types/ethers/MultiCaller.ts +91 -0
- package/contract-types/ethers/OVMBridgeDepositBox.ts +751 -0
- package/contract-types/ethers/OVMCrossDomainEnabled.ts +74 -0
- package/contract-types/ethers/OVML1CrossDomainMessengerMock.ts +190 -0
- package/contract-types/ethers/OVMOETHBridgeDepositBox.ts +783 -0
- package/contract-types/ethers/OptimismMessenger.ts +245 -0
- package/contract-types/ethers/OptimismWrapper.ts +264 -0
- package/contract-types/ethers/OptimisticOracleConstraints.ts +82 -0
- package/contract-types/ethers/OptimisticOracleInterface.ts +804 -0
- package/contract-types/ethers/OracleInterfaces.ts +235 -0
- package/contract-types/ethers/Ownable.ts +158 -0
- package/contract-types/ethers/ParentMessengerBase.ts +554 -0
- package/contract-types/ethers/ParentMessengerConsumerInterface.ts +104 -0
- package/contract-types/ethers/ParentMessengerInterface.ts +116 -0
- package/contract-types/ethers/Pausable.ts +94 -0
- package/contract-types/ethers/SkinnyOptimisticOracleInterface.ts +727 -0
- package/contract-types/ethers/StandardBridgeLike.ts +113 -0
- package/contract-types/ethers/StateSyncMock.ts +122 -0
- package/contract-types/ethers/StoreInterface.ts +228 -0
- package/contract-types/ethers/Testable.ts +136 -0
- package/contract-types/ethers/Timer.ts +117 -0
- package/contract-types/ethers/TokenLike.ts +88 -0
- package/contract-types/ethers/WETH9Like.ts +138 -0
- package/contract-types/ethers/common.ts +44 -0
- package/contract-types/ethers/factories/AVMBridgeDepositBox__factory.ts +649 -0
- package/contract-types/ethers/factories/AVMCrossDomainEnabled__factory.ts +61 -0
- package/contract-types/ethers/factories/AccessControl__factory.ts +227 -0
- package/contract-types/ethers/factories/AddressWhitelistInterface__factory.ts +88 -0
- package/contract-types/ethers/factories/ArbSys__factory.ts +244 -0
- package/contract-types/ethers/factories/ArbitrumBridgeMock__factory.ts +118 -0
- package/contract-types/ethers/factories/ArbitrumCrossDomainEnabled__factory.ts +43 -0
- package/contract-types/ethers/factories/ArbitrumInboxMock__factory.ts +128 -0
- package/contract-types/ethers/factories/ArbitrumMessenger__factory.ts +243 -0
- package/contract-types/ethers/factories/ArbitrumOutboxMock__factory.ts +74 -0
- package/contract-types/ethers/factories/ArbitrumParentMessenger__factory.ts +680 -0
- package/contract-types/ethers/factories/BridgeAdminInterface__factory.ts +338 -0
- package/contract-types/ethers/factories/BridgeAdmin__factory.ts +737 -0
- package/contract-types/ethers/factories/BridgeDepositBoxMock__factory.ts +591 -0
- package/contract-types/ethers/factories/BridgeDepositBox__factory.ts +406 -0
- package/contract-types/ethers/factories/BridgePoolInterface__factory.ts +78 -0
- package/contract-types/ethers/factories/BridgePoolProd__factory.ts +1798 -0
- package/contract-types/ethers/factories/BridgePool__factory.ts +1795 -0
- package/contract-types/ethers/factories/Bridge__factory.ts +1094 -0
- package/contract-types/ethers/factories/CrossDomainEnabled__factory.ts +90 -0
- package/contract-types/ethers/factories/ERC165__factory.ts +39 -0
- package/contract-types/ethers/factories/ERC20__factory.ts +345 -0
- package/contract-types/ethers/factories/FinderInterface__factory.ts +63 -0
- package/contract-types/ethers/factories/FxBaseChildTunnel__factory.ts +101 -0
- package/contract-types/ethers/factories/FxBaseRootTunnel__factory.ts +123 -0
- package/contract-types/ethers/factories/FxChildMock__factory.ts +153 -0
- package/contract-types/ethers/factories/FxRootMock__factory.ts +128 -0
- package/contract-types/ethers/factories/GenericHandler__factory.ts +395 -0
- package/contract-types/ethers/factories/IAccessControl__factory.ts +123 -0
- package/contract-types/ethers/factories/IArbitrumInbox__factory.ts +93 -0
- package/contract-types/ethers/factories/IArbitrumOutbox__factory.ts +39 -0
- package/contract-types/ethers/factories/IBridge__factory.ts +59 -0
- package/contract-types/ethers/factories/ICheckpointManager__factory.ts +100 -0
- package/contract-types/ethers/factories/ICrossDomainMessenger__factory.ts +129 -0
- package/contract-types/ethers/factories/IDepositExecute__factory.ts +77 -0
- package/contract-types/ethers/factories/IERC165__factory.ts +42 -0
- package/contract-types/ethers/factories/IERC20Metadata__factory.ts +248 -0
- package/contract-types/ethers/factories/IERC20__factory.ts +203 -0
- package/contract-types/ethers/factories/IERCHandler__factory.ts +77 -0
- package/contract-types/ethers/factories/IFxMessageProcessor__factory.ts +49 -0
- package/contract-types/ethers/factories/IFxStateSender__factory.ts +44 -0
- package/contract-types/ethers/factories/IGenericHandler__factory.ts +54 -0
- package/contract-types/ethers/factories/IL2ERC20Bridge__factory.ts +267 -0
- package/contract-types/ethers/factories/IOVMCrossDomainMessenger__factory.ts +105 -0
- package/contract-types/ethers/factories/IStateReceiver__factory.ts +44 -0
- package/contract-types/ethers/factories/IStateSender__factory.ts +41 -0
- package/contract-types/ethers/factories/IdentifierWhitelistInterface__factory.ts +75 -0
- package/contract-types/ethers/factories/Lockable__factory.ts +63 -0
- package/contract-types/ethers/factories/MessengerInterface__factory.ts +69 -0
- package/contract-types/ethers/factories/MessengerMock__factory.ts +132 -0
- package/contract-types/ethers/factories/MultiCaller__factory.ts +77 -0
- package/contract-types/ethers/factories/OVMBridgeDepositBox__factory.ts +609 -0
- package/contract-types/ethers/factories/OVMCrossDomainEnabled__factory.ts +94 -0
- package/contract-types/ethers/factories/OVML1CrossDomainMessengerMock__factory.ts +166 -0
- package/contract-types/ethers/factories/OVMOETHBridgeDepositBox__factory.ts +665 -0
- package/contract-types/ethers/factories/OptimismMessenger__factory.ts +185 -0
- package/contract-types/ethers/factories/OptimismWrapper__factory.ts +200 -0
- package/contract-types/ethers/factories/OptimisticOracleConstraints__factory.ts +80 -0
- package/contract-types/ethers/factories/OptimisticOracleInterface__factory.ts +574 -0
- package/contract-types/ethers/factories/OracleInterfaces__factory.ts +191 -0
- package/contract-types/ethers/factories/Ownable__factory.ts +75 -0
- package/contract-types/ethers/factories/ParentMessengerBase__factory.ts +312 -0
- package/contract-types/ethers/factories/ParentMessengerConsumerInterface__factory.ts +50 -0
- package/contract-types/ethers/factories/ParentMessengerInterface__factory.ts +56 -0
- package/contract-types/ethers/factories/Pausable__factory.ts +62 -0
- package/contract-types/ethers/factories/SkinnyOptimisticOracleInterface__factory.ts +874 -0
- package/contract-types/ethers/factories/StandardBridgeLike__factory.ts +60 -0
- package/contract-types/ethers/factories/StateSyncMock__factory.ts +101 -0
- package/contract-types/ethers/factories/StoreInterface__factory.ts +139 -0
- package/contract-types/ethers/factories/Testable__factory.ts +62 -0
- package/contract-types/ethers/factories/Timer__factory.ts +86 -0
- package/contract-types/ethers/factories/TokenLike__factory.ts +42 -0
- package/contract-types/ethers/factories/WETH9Like__factory.ts +67 -0
- package/contract-types/ethers/hardhat.d.ts +798 -0
- package/contract-types/ethers/index.ts +150 -0
- package/contract-types/web3/AVM_BridgeDepositBox.ts +269 -0
- package/contract-types/web3/AVM_CrossDomainEnabled.ts +62 -0
- package/contract-types/web3/AccessControl.ts +127 -0
- package/contract-types/web3/AddressWhitelistInterface.ts +43 -0
- package/contract-types/web3/ArbSys.ts +112 -0
- package/contract-types/web3/Arbitrum_BridgeMock.ts +46 -0
- package/contract-types/web3/Arbitrum_CrossDomainEnabled.ts +37 -0
- package/contract-types/web3/Arbitrum_InboxMock.ts +48 -0
- package/contract-types/web3/Arbitrum_Messenger.ts +106 -0
- package/contract-types/web3/Arbitrum_OutboxMock.ts +37 -0
- package/contract-types/web3/Arbitrum_ParentMessenger.ts +348 -0
- package/contract-types/web3/Bridge.ts +401 -0
- package/contract-types/web3/BridgeAdmin.ts +357 -0
- package/contract-types/web3/BridgeAdminInterface.ts +265 -0
- package/contract-types/web3/BridgeDepositBox.ts +203 -0
- package/contract-types/web3/BridgeDepositBoxMock.ts +241 -0
- package/contract-types/web3/BridgePool.ts +520 -0
- package/contract-types/web3/BridgePoolInterface.ts +47 -0
- package/contract-types/web3/BridgePoolProd.ts +520 -0
- package/contract-types/web3/CrossDomainEnabled.ts +37 -0
- package/contract-types/web3/ERC165.ts +39 -0
- package/contract-types/web3/ERC20.ts +105 -0
- package/contract-types/web3/FinderInterface.ts +44 -0
- package/contract-types/web3/FxBaseChildTunnel.ts +65 -0
- package/contract-types/web3/FxBaseRootTunnel.ts +53 -0
- package/contract-types/web3/FxChildMock.ts +68 -0
- package/contract-types/web3/FxRootMock.ts +46 -0
- package/contract-types/web3/GenericHandler.ts +94 -0
- package/contract-types/web3/IAccessControl.ts +57 -0
- package/contract-types/web3/IBridge.ts +43 -0
- package/contract-types/web3/ICheckpointManager.ts +48 -0
- package/contract-types/web3/ICrossDomainMessenger.ts +103 -0
- package/contract-types/web3/IDepositExecute.ts +48 -0
- package/contract-types/web3/IERC165.ts +39 -0
- package/contract-types/web3/IERC20.ts +89 -0
- package/contract-types/web3/IERC20Metadata.ts +95 -0
- package/contract-types/web3/IERCHandler.ts +48 -0
- package/contract-types/web3/IFxMessageProcessor.ts +41 -0
- package/contract-types/web3/IFxStateSender.ts +40 -0
- package/contract-types/web3/IGenericHandler.ts +42 -0
- package/contract-types/web3/IL2ERC20Bridge.ts +143 -0
- package/contract-types/web3/IStateReceiver.ts +40 -0
- package/contract-types/web3/IStateSender.ts +40 -0
- package/contract-types/web3/IdentifierWhitelistInterface.ts +47 -0
- package/contract-types/web3/Lockable.ts +35 -0
- package/contract-types/web3/MessengerInterface.ts +45 -0
- package/contract-types/web3/MessengerMock.ts +69 -0
- package/contract-types/web3/MultiCaller.ts +37 -0
- package/contract-types/web3/OVM_BridgeDepositBox.ts +243 -0
- package/contract-types/web3/OVM_CrossDomainEnabled.ts +37 -0
- package/contract-types/web3/OVM_L1CrossDomainMessengerMock.ts +103 -0
- package/contract-types/web3/OVM_OETH_BridgeDepositBox.ts +247 -0
- package/contract-types/web3/Optimism_Messenger.ts +73 -0
- package/contract-types/web3/Optimism_Wrapper.ts +86 -0
- package/contract-types/web3/OptimisticOracleConstraints.ts +37 -0
- package/contract-types/web3/OptimisticOracleInterface.ts +151 -0
- package/contract-types/web3/OracleInterfaces.ts +55 -0
- package/contract-types/web3/Ownable.ts +61 -0
- package/contract-types/web3/ParentMessengerBase.ts +178 -0
- package/contract-types/web3/ParentMessengerConsumerInterface.ts +40 -0
- package/contract-types/web3/ParentMessengerInterface.ts +41 -0
- package/contract-types/web3/Pausable.ts +58 -0
- package/contract-types/web3/SkinnyOptimisticOracleInterface.ts +213 -0
- package/contract-types/web3/StandardBridgeLike.ts +42 -0
- package/contract-types/web3/StateSyncMock.ts +62 -0
- package/contract-types/web3/StoreInterface.ts +55 -0
- package/contract-types/web3/Testable.ts +43 -0
- package/contract-types/web3/Timer.ts +41 -0
- package/contract-types/web3/TokenLike.ts +37 -0
- package/contract-types/web3/WETH9Like.ts +44 -0
- package/contract-types/web3/iArbitrum_Inbox.ts +48 -0
- package/contract-types/web3/iArbitrum_Outbox.ts +37 -0
- package/contract-types/web3/iOVM_CrossDomainMessenger.ts +95 -0
- package/contract-types/web3/types.ts +73 -0
- package/networks/1.json +33 -0
- package/networks/10.json +6 -0
- package/networks/42161.json +6 -0
- package/package.json +12 -5
|
@@ -0,0 +1,178 @@
|
|
|
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
|
+
export 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 SetChildMessenger = ContractEventLog<{
|
|
31
|
+
childMessenger: string;
|
|
32
|
+
0: string;
|
|
33
|
+
}>;
|
|
34
|
+
export type SetGovernorHub = ContractEventLog<{
|
|
35
|
+
governorHub: string;
|
|
36
|
+
0: string;
|
|
37
|
+
}>;
|
|
38
|
+
export type SetGovernorSpoke = ContractEventLog<{
|
|
39
|
+
governorSpoke: string;
|
|
40
|
+
0: string;
|
|
41
|
+
}>;
|
|
42
|
+
export type SetOracleHub = ContractEventLog<{
|
|
43
|
+
oracleHub: string;
|
|
44
|
+
0: string;
|
|
45
|
+
}>;
|
|
46
|
+
export type SetOracleSpoke = ContractEventLog<{
|
|
47
|
+
oracleSpoke: string;
|
|
48
|
+
0: string;
|
|
49
|
+
}>;
|
|
50
|
+
|
|
51
|
+
export interface ParentMessengerBase extends BaseContract {
|
|
52
|
+
constructor(
|
|
53
|
+
jsonInterface: any[],
|
|
54
|
+
address?: string,
|
|
55
|
+
options?: ContractOptions
|
|
56
|
+
): ParentMessengerBase;
|
|
57
|
+
clone(): ParentMessengerBase;
|
|
58
|
+
methods: {
|
|
59
|
+
childChainId(): NonPayableTransactionObject<string>;
|
|
60
|
+
|
|
61
|
+
childMessenger(): NonPayableTransactionObject<string>;
|
|
62
|
+
|
|
63
|
+
getL1CallValue(): NonPayableTransactionObject<string>;
|
|
64
|
+
|
|
65
|
+
governorHub(): NonPayableTransactionObject<string>;
|
|
66
|
+
|
|
67
|
+
governorSpoke(): NonPayableTransactionObject<string>;
|
|
68
|
+
|
|
69
|
+
oracleHub(): NonPayableTransactionObject<string>;
|
|
70
|
+
|
|
71
|
+
oracleSpoke(): NonPayableTransactionObject<string>;
|
|
72
|
+
|
|
73
|
+
owner(): NonPayableTransactionObject<string>;
|
|
74
|
+
|
|
75
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
76
|
+
|
|
77
|
+
sendMessageToChild(
|
|
78
|
+
data: string | number[]
|
|
79
|
+
): NonPayableTransactionObject<void>;
|
|
80
|
+
|
|
81
|
+
setChildMessenger(
|
|
82
|
+
newChildMessenger: string
|
|
83
|
+
): NonPayableTransactionObject<void>;
|
|
84
|
+
|
|
85
|
+
setGovernorHub(newGovernorHub: string): NonPayableTransactionObject<void>;
|
|
86
|
+
|
|
87
|
+
setGovernorSpoke(
|
|
88
|
+
newGovernorSpoke: string
|
|
89
|
+
): NonPayableTransactionObject<void>;
|
|
90
|
+
|
|
91
|
+
setOracleHub(newOracleHub: string): NonPayableTransactionObject<void>;
|
|
92
|
+
|
|
93
|
+
setOracleSpoke(newOracleSpoke: string): NonPayableTransactionObject<void>;
|
|
94
|
+
|
|
95
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
96
|
+
};
|
|
97
|
+
events: {
|
|
98
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
99
|
+
OwnershipTransferred(
|
|
100
|
+
options?: EventOptions,
|
|
101
|
+
cb?: Callback<OwnershipTransferred>
|
|
102
|
+
): EventEmitter;
|
|
103
|
+
|
|
104
|
+
SetChildMessenger(cb?: Callback<SetChildMessenger>): EventEmitter;
|
|
105
|
+
SetChildMessenger(
|
|
106
|
+
options?: EventOptions,
|
|
107
|
+
cb?: Callback<SetChildMessenger>
|
|
108
|
+
): EventEmitter;
|
|
109
|
+
|
|
110
|
+
SetGovernorHub(cb?: Callback<SetGovernorHub>): EventEmitter;
|
|
111
|
+
SetGovernorHub(
|
|
112
|
+
options?: EventOptions,
|
|
113
|
+
cb?: Callback<SetGovernorHub>
|
|
114
|
+
): EventEmitter;
|
|
115
|
+
|
|
116
|
+
SetGovernorSpoke(cb?: Callback<SetGovernorSpoke>): EventEmitter;
|
|
117
|
+
SetGovernorSpoke(
|
|
118
|
+
options?: EventOptions,
|
|
119
|
+
cb?: Callback<SetGovernorSpoke>
|
|
120
|
+
): EventEmitter;
|
|
121
|
+
|
|
122
|
+
SetOracleHub(cb?: Callback<SetOracleHub>): EventEmitter;
|
|
123
|
+
SetOracleHub(
|
|
124
|
+
options?: EventOptions,
|
|
125
|
+
cb?: Callback<SetOracleHub>
|
|
126
|
+
): EventEmitter;
|
|
127
|
+
|
|
128
|
+
SetOracleSpoke(cb?: Callback<SetOracleSpoke>): EventEmitter;
|
|
129
|
+
SetOracleSpoke(
|
|
130
|
+
options?: EventOptions,
|
|
131
|
+
cb?: Callback<SetOracleSpoke>
|
|
132
|
+
): EventEmitter;
|
|
133
|
+
|
|
134
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
138
|
+
once(
|
|
139
|
+
event: "OwnershipTransferred",
|
|
140
|
+
options: EventOptions,
|
|
141
|
+
cb: Callback<OwnershipTransferred>
|
|
142
|
+
): void;
|
|
143
|
+
|
|
144
|
+
once(event: "SetChildMessenger", cb: Callback<SetChildMessenger>): void;
|
|
145
|
+
once(
|
|
146
|
+
event: "SetChildMessenger",
|
|
147
|
+
options: EventOptions,
|
|
148
|
+
cb: Callback<SetChildMessenger>
|
|
149
|
+
): void;
|
|
150
|
+
|
|
151
|
+
once(event: "SetGovernorHub", cb: Callback<SetGovernorHub>): void;
|
|
152
|
+
once(
|
|
153
|
+
event: "SetGovernorHub",
|
|
154
|
+
options: EventOptions,
|
|
155
|
+
cb: Callback<SetGovernorHub>
|
|
156
|
+
): void;
|
|
157
|
+
|
|
158
|
+
once(event: "SetGovernorSpoke", cb: Callback<SetGovernorSpoke>): void;
|
|
159
|
+
once(
|
|
160
|
+
event: "SetGovernorSpoke",
|
|
161
|
+
options: EventOptions,
|
|
162
|
+
cb: Callback<SetGovernorSpoke>
|
|
163
|
+
): void;
|
|
164
|
+
|
|
165
|
+
once(event: "SetOracleHub", cb: Callback<SetOracleHub>): void;
|
|
166
|
+
once(
|
|
167
|
+
event: "SetOracleHub",
|
|
168
|
+
options: EventOptions,
|
|
169
|
+
cb: Callback<SetOracleHub>
|
|
170
|
+
): void;
|
|
171
|
+
|
|
172
|
+
once(event: "SetOracleSpoke", cb: Callback<SetOracleSpoke>): void;
|
|
173
|
+
once(
|
|
174
|
+
event: "SetOracleSpoke",
|
|
175
|
+
options: EventOptions,
|
|
176
|
+
cb: Callback<SetOracleSpoke>
|
|
177
|
+
): void;
|
|
178
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ParentMessengerConsumerInterface extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): ParentMessengerConsumerInterface;
|
|
30
|
+
clone(): ParentMessengerConsumerInterface;
|
|
31
|
+
methods: {
|
|
32
|
+
processMessageFromChild(
|
|
33
|
+
chainId: number | string | BN,
|
|
34
|
+
data: string | number[]
|
|
35
|
+
): NonPayableTransactionObject<void>;
|
|
36
|
+
};
|
|
37
|
+
events: {
|
|
38
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ParentMessengerInterface extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): ParentMessengerInterface;
|
|
30
|
+
clone(): ParentMessengerInterface;
|
|
31
|
+
methods: {
|
|
32
|
+
getL1CallValue(): NonPayableTransactionObject<string>;
|
|
33
|
+
|
|
34
|
+
sendMessageToChild(
|
|
35
|
+
data: string | number[]
|
|
36
|
+
): NonPayableTransactionObject<void>;
|
|
37
|
+
};
|
|
38
|
+
events: {
|
|
39
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type Paused = ContractEventLog<{
|
|
25
|
+
account: string;
|
|
26
|
+
0: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type Unpaused = ContractEventLog<{
|
|
29
|
+
account: string;
|
|
30
|
+
0: string;
|
|
31
|
+
}>;
|
|
32
|
+
|
|
33
|
+
export interface Pausable extends BaseContract {
|
|
34
|
+
constructor(
|
|
35
|
+
jsonInterface: any[],
|
|
36
|
+
address?: string,
|
|
37
|
+
options?: ContractOptions
|
|
38
|
+
): Pausable;
|
|
39
|
+
clone(): Pausable;
|
|
40
|
+
methods: {
|
|
41
|
+
paused(): NonPayableTransactionObject<boolean>;
|
|
42
|
+
};
|
|
43
|
+
events: {
|
|
44
|
+
Paused(cb?: Callback<Paused>): EventEmitter;
|
|
45
|
+
Paused(options?: EventOptions, cb?: Callback<Paused>): EventEmitter;
|
|
46
|
+
|
|
47
|
+
Unpaused(cb?: Callback<Unpaused>): EventEmitter;
|
|
48
|
+
Unpaused(options?: EventOptions, cb?: Callback<Unpaused>): EventEmitter;
|
|
49
|
+
|
|
50
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
once(event: "Paused", cb: Callback<Paused>): void;
|
|
54
|
+
once(event: "Paused", options: EventOptions, cb: Callback<Paused>): void;
|
|
55
|
+
|
|
56
|
+
once(event: "Unpaused", cb: Callback<Unpaused>): void;
|
|
57
|
+
once(event: "Unpaused", options: EventOptions, cb: Callback<Unpaused>): void;
|
|
58
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface SkinnyOptimisticOracleInterface extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): SkinnyOptimisticOracleInterface;
|
|
30
|
+
clone(): SkinnyOptimisticOracleInterface;
|
|
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
|
+
request: [
|
|
40
|
+
string,
|
|
41
|
+
string,
|
|
42
|
+
string,
|
|
43
|
+
boolean,
|
|
44
|
+
number | string | BN,
|
|
45
|
+
number | string | BN,
|
|
46
|
+
number | string | BN,
|
|
47
|
+
number | string | BN,
|
|
48
|
+
number | string | BN,
|
|
49
|
+
number | string | BN,
|
|
50
|
+
number | string | BN
|
|
51
|
+
]
|
|
52
|
+
): NonPayableTransactionObject<string>;
|
|
53
|
+
|
|
54
|
+
disputePriceFor(
|
|
55
|
+
identifier: string | number[],
|
|
56
|
+
timestamp: number | string | BN,
|
|
57
|
+
ancillaryData: string | number[],
|
|
58
|
+
request: [
|
|
59
|
+
string,
|
|
60
|
+
string,
|
|
61
|
+
string,
|
|
62
|
+
boolean,
|
|
63
|
+
number | string | BN,
|
|
64
|
+
number | string | BN,
|
|
65
|
+
number | string | BN,
|
|
66
|
+
number | string | BN,
|
|
67
|
+
number | string | BN,
|
|
68
|
+
number | string | BN,
|
|
69
|
+
number | string | BN
|
|
70
|
+
],
|
|
71
|
+
disputer: string,
|
|
72
|
+
requester: string
|
|
73
|
+
): NonPayableTransactionObject<string>;
|
|
74
|
+
|
|
75
|
+
getState(
|
|
76
|
+
requester: string,
|
|
77
|
+
identifier: string | number[],
|
|
78
|
+
timestamp: number | string | BN,
|
|
79
|
+
ancillaryData: string | number[],
|
|
80
|
+
request: [
|
|
81
|
+
string,
|
|
82
|
+
string,
|
|
83
|
+
string,
|
|
84
|
+
boolean,
|
|
85
|
+
number | string | BN,
|
|
86
|
+
number | string | BN,
|
|
87
|
+
number | string | BN,
|
|
88
|
+
number | string | BN,
|
|
89
|
+
number | string | BN,
|
|
90
|
+
number | string | BN,
|
|
91
|
+
number | string | BN
|
|
92
|
+
]
|
|
93
|
+
): NonPayableTransactionObject<string>;
|
|
94
|
+
|
|
95
|
+
hasPrice(
|
|
96
|
+
requester: string,
|
|
97
|
+
identifier: string | number[],
|
|
98
|
+
timestamp: number | string | BN,
|
|
99
|
+
ancillaryData: string | number[],
|
|
100
|
+
request: [
|
|
101
|
+
string,
|
|
102
|
+
string,
|
|
103
|
+
string,
|
|
104
|
+
boolean,
|
|
105
|
+
number | string | BN,
|
|
106
|
+
number | string | BN,
|
|
107
|
+
number | string | BN,
|
|
108
|
+
number | string | BN,
|
|
109
|
+
number | string | BN,
|
|
110
|
+
number | string | BN,
|
|
111
|
+
number | string | BN
|
|
112
|
+
]
|
|
113
|
+
): NonPayableTransactionObject<boolean>;
|
|
114
|
+
|
|
115
|
+
proposePrice(
|
|
116
|
+
requester: string,
|
|
117
|
+
identifier: string | number[],
|
|
118
|
+
timestamp: number | string | BN,
|
|
119
|
+
ancillaryData: string | number[],
|
|
120
|
+
request: [
|
|
121
|
+
string,
|
|
122
|
+
string,
|
|
123
|
+
string,
|
|
124
|
+
boolean,
|
|
125
|
+
number | string | BN,
|
|
126
|
+
number | string | BN,
|
|
127
|
+
number | string | BN,
|
|
128
|
+
number | string | BN,
|
|
129
|
+
number | string | BN,
|
|
130
|
+
number | string | BN,
|
|
131
|
+
number | string | BN
|
|
132
|
+
],
|
|
133
|
+
proposedPrice: number | string | BN
|
|
134
|
+
): NonPayableTransactionObject<string>;
|
|
135
|
+
|
|
136
|
+
proposePriceFor(
|
|
137
|
+
requester: string,
|
|
138
|
+
identifier: string | number[],
|
|
139
|
+
timestamp: number | string | BN,
|
|
140
|
+
ancillaryData: string | number[],
|
|
141
|
+
request: [
|
|
142
|
+
string,
|
|
143
|
+
string,
|
|
144
|
+
string,
|
|
145
|
+
boolean,
|
|
146
|
+
number | string | BN,
|
|
147
|
+
number | string | BN,
|
|
148
|
+
number | string | BN,
|
|
149
|
+
number | string | BN,
|
|
150
|
+
number | string | BN,
|
|
151
|
+
number | string | BN,
|
|
152
|
+
number | string | BN
|
|
153
|
+
],
|
|
154
|
+
proposer: string,
|
|
155
|
+
proposedPrice: number | string | BN
|
|
156
|
+
): NonPayableTransactionObject<string>;
|
|
157
|
+
|
|
158
|
+
requestAndProposePriceFor(
|
|
159
|
+
identifier: string | number[],
|
|
160
|
+
timestamp: number | string | BN,
|
|
161
|
+
ancillaryData: string | number[],
|
|
162
|
+
currency: string,
|
|
163
|
+
reward: number | string | BN,
|
|
164
|
+
bond: number | string | BN,
|
|
165
|
+
customLiveness: number | string | BN,
|
|
166
|
+
proposer: string,
|
|
167
|
+
proposedPrice: number | string | BN
|
|
168
|
+
): NonPayableTransactionObject<string>;
|
|
169
|
+
|
|
170
|
+
requestPrice(
|
|
171
|
+
identifier: string | number[],
|
|
172
|
+
timestamp: number | string | BN,
|
|
173
|
+
ancillaryData: string | number[],
|
|
174
|
+
currency: string,
|
|
175
|
+
reward: number | string | BN,
|
|
176
|
+
bond: number | string | BN,
|
|
177
|
+
customLiveness: number | string | BN
|
|
178
|
+
): NonPayableTransactionObject<string>;
|
|
179
|
+
|
|
180
|
+
settle(
|
|
181
|
+
requester: string,
|
|
182
|
+
identifier: string | number[],
|
|
183
|
+
timestamp: number | string | BN,
|
|
184
|
+
ancillaryData: string | number[],
|
|
185
|
+
request: [
|
|
186
|
+
string,
|
|
187
|
+
string,
|
|
188
|
+
string,
|
|
189
|
+
boolean,
|
|
190
|
+
number | string | BN,
|
|
191
|
+
number | string | BN,
|
|
192
|
+
number | string | BN,
|
|
193
|
+
number | string | BN,
|
|
194
|
+
number | string | BN,
|
|
195
|
+
number | string | BN,
|
|
196
|
+
number | string | BN
|
|
197
|
+
]
|
|
198
|
+
): NonPayableTransactionObject<{
|
|
199
|
+
payout: string;
|
|
200
|
+
resolvedPrice: string;
|
|
201
|
+
0: string;
|
|
202
|
+
1: string;
|
|
203
|
+
}>;
|
|
204
|
+
|
|
205
|
+
stampAncillaryData(
|
|
206
|
+
ancillaryData: string | number[],
|
|
207
|
+
requester: string
|
|
208
|
+
): NonPayableTransactionObject<string>;
|
|
209
|
+
};
|
|
210
|
+
events: {
|
|
211
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
212
|
+
};
|
|
213
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface StandardBridgeLike extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): StandardBridgeLike;
|
|
30
|
+
clone(): StandardBridgeLike;
|
|
31
|
+
methods: {
|
|
32
|
+
outboundTransfer(
|
|
33
|
+
_l1Token: string,
|
|
34
|
+
_to: string,
|
|
35
|
+
_amount: number | string | BN,
|
|
36
|
+
_data: string | number[]
|
|
37
|
+
): PayableTransactionObject<string>;
|
|
38
|
+
};
|
|
39
|
+
events: {
|
|
40
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type StateSynced = ContractEventLog<{
|
|
25
|
+
id: string;
|
|
26
|
+
contractAddress: string;
|
|
27
|
+
data: string;
|
|
28
|
+
0: string;
|
|
29
|
+
1: string;
|
|
30
|
+
2: string;
|
|
31
|
+
}>;
|
|
32
|
+
|
|
33
|
+
export interface StateSyncMock extends BaseContract {
|
|
34
|
+
constructor(
|
|
35
|
+
jsonInterface: any[],
|
|
36
|
+
address?: string,
|
|
37
|
+
options?: ContractOptions
|
|
38
|
+
): StateSyncMock;
|
|
39
|
+
clone(): StateSyncMock;
|
|
40
|
+
methods: {
|
|
41
|
+
syncState(
|
|
42
|
+
receiver: string,
|
|
43
|
+
data: string | number[]
|
|
44
|
+
): NonPayableTransactionObject<void>;
|
|
45
|
+
};
|
|
46
|
+
events: {
|
|
47
|
+
StateSynced(cb?: Callback<StateSynced>): EventEmitter;
|
|
48
|
+
StateSynced(
|
|
49
|
+
options?: EventOptions,
|
|
50
|
+
cb?: Callback<StateSynced>
|
|
51
|
+
): EventEmitter;
|
|
52
|
+
|
|
53
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
once(event: "StateSynced", cb: Callback<StateSynced>): void;
|
|
57
|
+
once(
|
|
58
|
+
event: "StateSynced",
|
|
59
|
+
options: EventOptions,
|
|
60
|
+
cb: Callback<StateSynced>
|
|
61
|
+
): void;
|
|
62
|
+
}
|
|
@@ -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
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface StoreInterface extends BaseContract {
|
|
25
|
+
constructor(
|
|
26
|
+
jsonInterface: any[],
|
|
27
|
+
address?: string,
|
|
28
|
+
options?: ContractOptions
|
|
29
|
+
): StoreInterface;
|
|
30
|
+
clone(): StoreInterface;
|
|
31
|
+
methods: {
|
|
32
|
+
computeFinalFee(currency: string): NonPayableTransactionObject<[string]>;
|
|
33
|
+
|
|
34
|
+
computeRegularFee(
|
|
35
|
+
startTime: number | string | BN,
|
|
36
|
+
endTime: number | string | BN,
|
|
37
|
+
pfc: [number | string | BN]
|
|
38
|
+
): NonPayableTransactionObject<{
|
|
39
|
+
regularFee: [string];
|
|
40
|
+
latePenalty: [string];
|
|
41
|
+
0: [string];
|
|
42
|
+
1: [string];
|
|
43
|
+
}>;
|
|
44
|
+
|
|
45
|
+
payOracleFees(): PayableTransactionObject<void>;
|
|
46
|
+
|
|
47
|
+
payOracleFeesErc20(
|
|
48
|
+
erc20Address: string,
|
|
49
|
+
amount: [number | string | BN]
|
|
50
|
+
): NonPayableTransactionObject<void>;
|
|
51
|
+
};
|
|
52
|
+
events: {
|
|
53
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
54
|
+
};
|
|
55
|
+
}
|