@wormhole-foundation/sdk-evm-tokenbridge 0.5.0-beta.0
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/dist/cjs/automaticTokenBridge.d.ts +26 -0
- package/dist/cjs/automaticTokenBridge.d.ts.map +1 -0
- package/dist/cjs/automaticTokenBridge.js +109 -0
- package/dist/cjs/automaticTokenBridge.js.map +1 -0
- package/dist/cjs/ethers-contracts/Bridge.d.ts +630 -0
- package/dist/cjs/ethers-contracts/Bridge.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/Bridge.js +3 -0
- package/dist/cjs/ethers-contracts/Bridge.js.map +1 -0
- package/dist/cjs/ethers-contracts/TokenBridgeRelayer.d.ts +600 -0
- package/dist/cjs/ethers-contracts/TokenBridgeRelayer.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/TokenBridgeRelayer.js +3 -0
- package/dist/cjs/ethers-contracts/TokenBridgeRelayer.js.map +1 -0
- package/dist/cjs/ethers-contracts/common.d.ts +51 -0
- package/dist/cjs/ethers-contracts/common.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/common.js +3 -0
- package/dist/cjs/ethers-contracts/common.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/Bridge__factory.d.ts +944 -0
- package/dist/cjs/ethers-contracts/factories/Bridge__factory.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/Bridge__factory.js +1248 -0
- package/dist/cjs/ethers-contracts/factories/Bridge__factory.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/TokenBridgeRelayer__factory.d.ts +820 -0
- package/dist/cjs/ethers-contracts/factories/TokenBridgeRelayer__factory.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/TokenBridgeRelayer__factory.js +1079 -0
- package/dist/cjs/ethers-contracts/factories/TokenBridgeRelayer__factory.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/index.d.ts +3 -0
- package/dist/cjs/ethers-contracts/factories/index.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/index.js +19 -0
- package/dist/cjs/ethers-contracts/factories/index.js.map +1 -0
- package/dist/cjs/ethers-contracts/index.d.ts +4 -0
- package/dist/cjs/ethers-contracts/index.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/index.js +18 -0
- package/dist/cjs/ethers-contracts/index.js.map +1 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +39 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/tokenBridge.d.ts +28 -0
- package/dist/cjs/tokenBridge.d.ts.map +1 -0
- package/dist/cjs/tokenBridge.js +154 -0
- package/dist/cjs/tokenBridge.js.map +1 -0
- package/dist/esm/automaticTokenBridge.d.ts +26 -0
- package/dist/esm/automaticTokenBridge.d.ts.map +1 -0
- package/dist/esm/automaticTokenBridge.js +105 -0
- package/dist/esm/automaticTokenBridge.js.map +1 -0
- package/dist/esm/ethers-contracts/Bridge.d.ts +630 -0
- package/dist/esm/ethers-contracts/Bridge.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/Bridge.js +2 -0
- package/dist/esm/ethers-contracts/Bridge.js.map +1 -0
- package/dist/esm/ethers-contracts/TokenBridgeRelayer.d.ts +600 -0
- package/dist/esm/ethers-contracts/TokenBridgeRelayer.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/TokenBridgeRelayer.js +2 -0
- package/dist/esm/ethers-contracts/TokenBridgeRelayer.js.map +1 -0
- package/dist/esm/ethers-contracts/common.d.ts +51 -0
- package/dist/esm/ethers-contracts/common.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/common.js +2 -0
- package/dist/esm/ethers-contracts/common.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/Bridge__factory.d.ts +944 -0
- package/dist/esm/ethers-contracts/factories/Bridge__factory.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/Bridge__factory.js +1244 -0
- package/dist/esm/ethers-contracts/factories/Bridge__factory.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.d.ts +820 -0
- package/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js +1075 -0
- package/dist/esm/ethers-contracts/factories/TokenBridgeRelayer__factory.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/index.d.ts +3 -0
- package/dist/esm/ethers-contracts/factories/index.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/index.js +3 -0
- package/dist/esm/ethers-contracts/factories/index.js.map +1 -0
- package/dist/esm/ethers-contracts/index.d.ts +4 -0
- package/dist/esm/ethers-contracts/index.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/index.js +2 -0
- package/dist/esm/ethers-contracts/index.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/tokenBridge.d.ts +28 -0
- package/dist/esm/tokenBridge.d.ts.map +1 -0
- package/dist/esm/tokenBridge.js +150 -0
- package/dist/esm/tokenBridge.js.map +1 -0
- package/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/dist/tsconfig.esm.tsbuildinfo +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,630 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from 'ethers';
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from './common';
|
|
3
|
+
export declare namespace BridgeStructs {
|
|
4
|
+
type TransferStruct = {
|
|
5
|
+
payloadID: BigNumberish;
|
|
6
|
+
amount: BigNumberish;
|
|
7
|
+
tokenAddress: BytesLike;
|
|
8
|
+
tokenChain: BigNumberish;
|
|
9
|
+
to: BytesLike;
|
|
10
|
+
toChain: BigNumberish;
|
|
11
|
+
fee: BigNumberish;
|
|
12
|
+
};
|
|
13
|
+
type TransferStructOutput = [
|
|
14
|
+
payloadID: bigint,
|
|
15
|
+
amount: bigint,
|
|
16
|
+
tokenAddress: string,
|
|
17
|
+
tokenChain: bigint,
|
|
18
|
+
to: string,
|
|
19
|
+
toChain: bigint,
|
|
20
|
+
fee: bigint
|
|
21
|
+
] & {
|
|
22
|
+
payloadID: bigint;
|
|
23
|
+
amount: bigint;
|
|
24
|
+
tokenAddress: string;
|
|
25
|
+
tokenChain: bigint;
|
|
26
|
+
to: string;
|
|
27
|
+
toChain: bigint;
|
|
28
|
+
fee: bigint;
|
|
29
|
+
};
|
|
30
|
+
type AssetMetaStruct = {
|
|
31
|
+
payloadID: BigNumberish;
|
|
32
|
+
tokenAddress: BytesLike;
|
|
33
|
+
tokenChain: BigNumberish;
|
|
34
|
+
decimals: BigNumberish;
|
|
35
|
+
symbol: BytesLike;
|
|
36
|
+
name: BytesLike;
|
|
37
|
+
};
|
|
38
|
+
type AssetMetaStructOutput = [
|
|
39
|
+
payloadID: bigint,
|
|
40
|
+
tokenAddress: string,
|
|
41
|
+
tokenChain: bigint,
|
|
42
|
+
decimals: bigint,
|
|
43
|
+
symbol: string,
|
|
44
|
+
name: string
|
|
45
|
+
] & {
|
|
46
|
+
payloadID: bigint;
|
|
47
|
+
tokenAddress: string;
|
|
48
|
+
tokenChain: bigint;
|
|
49
|
+
decimals: bigint;
|
|
50
|
+
symbol: string;
|
|
51
|
+
name: string;
|
|
52
|
+
};
|
|
53
|
+
type TransferWithPayloadStruct = {
|
|
54
|
+
payloadID: BigNumberish;
|
|
55
|
+
amount: BigNumberish;
|
|
56
|
+
tokenAddress: BytesLike;
|
|
57
|
+
tokenChain: BigNumberish;
|
|
58
|
+
to: BytesLike;
|
|
59
|
+
toChain: BigNumberish;
|
|
60
|
+
fromAddress: BytesLike;
|
|
61
|
+
payload: BytesLike;
|
|
62
|
+
};
|
|
63
|
+
type TransferWithPayloadStructOutput = [
|
|
64
|
+
payloadID: bigint,
|
|
65
|
+
amount: bigint,
|
|
66
|
+
tokenAddress: string,
|
|
67
|
+
tokenChain: bigint,
|
|
68
|
+
to: string,
|
|
69
|
+
toChain: bigint,
|
|
70
|
+
fromAddress: string,
|
|
71
|
+
payload: string
|
|
72
|
+
] & {
|
|
73
|
+
payloadID: bigint;
|
|
74
|
+
amount: bigint;
|
|
75
|
+
tokenAddress: string;
|
|
76
|
+
tokenChain: bigint;
|
|
77
|
+
to: string;
|
|
78
|
+
toChain: bigint;
|
|
79
|
+
fromAddress: string;
|
|
80
|
+
payload: string;
|
|
81
|
+
};
|
|
82
|
+
type RecoverChainIdStruct = {
|
|
83
|
+
module: BytesLike;
|
|
84
|
+
action: BigNumberish;
|
|
85
|
+
evmChainId: BigNumberish;
|
|
86
|
+
newChainId: BigNumberish;
|
|
87
|
+
};
|
|
88
|
+
type RecoverChainIdStructOutput = [
|
|
89
|
+
module: string,
|
|
90
|
+
action: bigint,
|
|
91
|
+
evmChainId: bigint,
|
|
92
|
+
newChainId: bigint
|
|
93
|
+
] & {
|
|
94
|
+
module: string;
|
|
95
|
+
action: bigint;
|
|
96
|
+
evmChainId: bigint;
|
|
97
|
+
newChainId: bigint;
|
|
98
|
+
};
|
|
99
|
+
type RegisterChainStruct = {
|
|
100
|
+
module: BytesLike;
|
|
101
|
+
action: BigNumberish;
|
|
102
|
+
chainId: BigNumberish;
|
|
103
|
+
emitterChainID: BigNumberish;
|
|
104
|
+
emitterAddress: BytesLike;
|
|
105
|
+
};
|
|
106
|
+
type RegisterChainStructOutput = [
|
|
107
|
+
module: string,
|
|
108
|
+
action: bigint,
|
|
109
|
+
chainId: bigint,
|
|
110
|
+
emitterChainID: bigint,
|
|
111
|
+
emitterAddress: string
|
|
112
|
+
] & {
|
|
113
|
+
module: string;
|
|
114
|
+
action: bigint;
|
|
115
|
+
chainId: bigint;
|
|
116
|
+
emitterChainID: bigint;
|
|
117
|
+
emitterAddress: string;
|
|
118
|
+
};
|
|
119
|
+
type UpgradeContractStruct = {
|
|
120
|
+
module: BytesLike;
|
|
121
|
+
action: BigNumberish;
|
|
122
|
+
chainId: BigNumberish;
|
|
123
|
+
newContract: BytesLike;
|
|
124
|
+
};
|
|
125
|
+
type UpgradeContractStructOutput = [
|
|
126
|
+
module: string,
|
|
127
|
+
action: bigint,
|
|
128
|
+
chainId: bigint,
|
|
129
|
+
newContract: string
|
|
130
|
+
] & {
|
|
131
|
+
module: string;
|
|
132
|
+
action: bigint;
|
|
133
|
+
chainId: bigint;
|
|
134
|
+
newContract: string;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
export interface BridgeInterface extends Interface {
|
|
138
|
+
getFunction(nameOrSignature: 'WETH' | '_parseTransferCommon' | 'attestToken' | 'bridgeContracts' | 'chainId' | 'completeTransfer' | 'completeTransferAndUnwrapETH' | 'completeTransferAndUnwrapETHWithPayload' | 'completeTransferWithPayload' | 'createWrapped' | 'encodeAssetMeta' | 'encodeTransfer' | 'encodeTransferWithPayload' | 'evmChainId' | 'finality' | 'governanceActionIsConsumed' | 'governanceChainId' | 'governanceContract' | 'isFork' | 'isInitialized' | 'isTransferCompleted' | 'isWrappedAsset' | 'outstandingBridged' | 'parseAssetMeta' | 'parsePayloadID' | 'parseRecoverChainId' | 'parseRegisterChain' | 'parseTransfer' | 'parseTransferWithPayload' | 'parseUpgrade' | 'registerChain' | 'submitRecoverChainId' | 'tokenImplementation' | 'transferTokens' | 'transferTokensWithPayload' | 'updateWrapped' | 'upgrade' | 'wormhole' | 'wrapAndTransferETH' | 'wrapAndTransferETHWithPayload' | 'wrappedAsset'): FunctionFragment;
|
|
139
|
+
getEvent(nameOrSignatureOrTopic: 'AdminChanged' | 'BeaconUpgraded' | 'ContractUpgraded' | 'TransferRedeemed' | 'Upgraded'): EventFragment;
|
|
140
|
+
encodeFunctionData(functionFragment: 'WETH', values?: undefined): string;
|
|
141
|
+
encodeFunctionData(functionFragment: '_parseTransferCommon', values: [BytesLike]): string;
|
|
142
|
+
encodeFunctionData(functionFragment: 'attestToken', values: [AddressLike, BigNumberish]): string;
|
|
143
|
+
encodeFunctionData(functionFragment: 'bridgeContracts', values: [BigNumberish]): string;
|
|
144
|
+
encodeFunctionData(functionFragment: 'chainId', values?: undefined): string;
|
|
145
|
+
encodeFunctionData(functionFragment: 'completeTransfer', values: [BytesLike]): string;
|
|
146
|
+
encodeFunctionData(functionFragment: 'completeTransferAndUnwrapETH', values: [BytesLike]): string;
|
|
147
|
+
encodeFunctionData(functionFragment: 'completeTransferAndUnwrapETHWithPayload', values: [BytesLike]): string;
|
|
148
|
+
encodeFunctionData(functionFragment: 'completeTransferWithPayload', values: [BytesLike]): string;
|
|
149
|
+
encodeFunctionData(functionFragment: 'createWrapped', values: [BytesLike]): string;
|
|
150
|
+
encodeFunctionData(functionFragment: 'encodeAssetMeta', values: [BridgeStructs.AssetMetaStruct]): string;
|
|
151
|
+
encodeFunctionData(functionFragment: 'encodeTransfer', values: [BridgeStructs.TransferStruct]): string;
|
|
152
|
+
encodeFunctionData(functionFragment: 'encodeTransferWithPayload', values: [BridgeStructs.TransferWithPayloadStruct]): string;
|
|
153
|
+
encodeFunctionData(functionFragment: 'evmChainId', values?: undefined): string;
|
|
154
|
+
encodeFunctionData(functionFragment: 'finality', values?: undefined): string;
|
|
155
|
+
encodeFunctionData(functionFragment: 'governanceActionIsConsumed', values: [BytesLike]): string;
|
|
156
|
+
encodeFunctionData(functionFragment: 'governanceChainId', values?: undefined): string;
|
|
157
|
+
encodeFunctionData(functionFragment: 'governanceContract', values?: undefined): string;
|
|
158
|
+
encodeFunctionData(functionFragment: 'isFork', values?: undefined): string;
|
|
159
|
+
encodeFunctionData(functionFragment: 'isInitialized', values: [AddressLike]): string;
|
|
160
|
+
encodeFunctionData(functionFragment: 'isTransferCompleted', values: [BytesLike]): string;
|
|
161
|
+
encodeFunctionData(functionFragment: 'isWrappedAsset', values: [AddressLike]): string;
|
|
162
|
+
encodeFunctionData(functionFragment: 'outstandingBridged', values: [AddressLike]): string;
|
|
163
|
+
encodeFunctionData(functionFragment: 'parseAssetMeta', values: [BytesLike]): string;
|
|
164
|
+
encodeFunctionData(functionFragment: 'parsePayloadID', values: [BytesLike]): string;
|
|
165
|
+
encodeFunctionData(functionFragment: 'parseRecoverChainId', values: [BytesLike]): string;
|
|
166
|
+
encodeFunctionData(functionFragment: 'parseRegisterChain', values: [BytesLike]): string;
|
|
167
|
+
encodeFunctionData(functionFragment: 'parseTransfer', values: [BytesLike]): string;
|
|
168
|
+
encodeFunctionData(functionFragment: 'parseTransferWithPayload', values: [BytesLike]): string;
|
|
169
|
+
encodeFunctionData(functionFragment: 'parseUpgrade', values: [BytesLike]): string;
|
|
170
|
+
encodeFunctionData(functionFragment: 'registerChain', values: [BytesLike]): string;
|
|
171
|
+
encodeFunctionData(functionFragment: 'submitRecoverChainId', values: [BytesLike]): string;
|
|
172
|
+
encodeFunctionData(functionFragment: 'tokenImplementation', values?: undefined): string;
|
|
173
|
+
encodeFunctionData(functionFragment: 'transferTokens', values: [
|
|
174
|
+
AddressLike,
|
|
175
|
+
BigNumberish,
|
|
176
|
+
BigNumberish,
|
|
177
|
+
BytesLike,
|
|
178
|
+
BigNumberish,
|
|
179
|
+
BigNumberish
|
|
180
|
+
]): string;
|
|
181
|
+
encodeFunctionData(functionFragment: 'transferTokensWithPayload', values: [
|
|
182
|
+
AddressLike,
|
|
183
|
+
BigNumberish,
|
|
184
|
+
BigNumberish,
|
|
185
|
+
BytesLike,
|
|
186
|
+
BigNumberish,
|
|
187
|
+
BytesLike
|
|
188
|
+
]): string;
|
|
189
|
+
encodeFunctionData(functionFragment: 'updateWrapped', values: [BytesLike]): string;
|
|
190
|
+
encodeFunctionData(functionFragment: 'upgrade', values: [BytesLike]): string;
|
|
191
|
+
encodeFunctionData(functionFragment: 'wormhole', values?: undefined): string;
|
|
192
|
+
encodeFunctionData(functionFragment: 'wrapAndTransferETH', values: [BigNumberish, BytesLike, BigNumberish, BigNumberish]): string;
|
|
193
|
+
encodeFunctionData(functionFragment: 'wrapAndTransferETHWithPayload', values: [BigNumberish, BytesLike, BigNumberish, BytesLike]): string;
|
|
194
|
+
encodeFunctionData(functionFragment: 'wrappedAsset', values: [BigNumberish, BytesLike]): string;
|
|
195
|
+
decodeFunctionResult(functionFragment: 'WETH', data: BytesLike): Result;
|
|
196
|
+
decodeFunctionResult(functionFragment: '_parseTransferCommon', data: BytesLike): Result;
|
|
197
|
+
decodeFunctionResult(functionFragment: 'attestToken', data: BytesLike): Result;
|
|
198
|
+
decodeFunctionResult(functionFragment: 'bridgeContracts', data: BytesLike): Result;
|
|
199
|
+
decodeFunctionResult(functionFragment: 'chainId', data: BytesLike): Result;
|
|
200
|
+
decodeFunctionResult(functionFragment: 'completeTransfer', data: BytesLike): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: 'completeTransferAndUnwrapETH', data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(functionFragment: 'completeTransferAndUnwrapETHWithPayload', data: BytesLike): Result;
|
|
203
|
+
decodeFunctionResult(functionFragment: 'completeTransferWithPayload', data: BytesLike): Result;
|
|
204
|
+
decodeFunctionResult(functionFragment: 'createWrapped', data: BytesLike): Result;
|
|
205
|
+
decodeFunctionResult(functionFragment: 'encodeAssetMeta', data: BytesLike): Result;
|
|
206
|
+
decodeFunctionResult(functionFragment: 'encodeTransfer', data: BytesLike): Result;
|
|
207
|
+
decodeFunctionResult(functionFragment: 'encodeTransferWithPayload', data: BytesLike): Result;
|
|
208
|
+
decodeFunctionResult(functionFragment: 'evmChainId', data: BytesLike): Result;
|
|
209
|
+
decodeFunctionResult(functionFragment: 'finality', data: BytesLike): Result;
|
|
210
|
+
decodeFunctionResult(functionFragment: 'governanceActionIsConsumed', data: BytesLike): Result;
|
|
211
|
+
decodeFunctionResult(functionFragment: 'governanceChainId', data: BytesLike): Result;
|
|
212
|
+
decodeFunctionResult(functionFragment: 'governanceContract', data: BytesLike): Result;
|
|
213
|
+
decodeFunctionResult(functionFragment: 'isFork', data: BytesLike): Result;
|
|
214
|
+
decodeFunctionResult(functionFragment: 'isInitialized', data: BytesLike): Result;
|
|
215
|
+
decodeFunctionResult(functionFragment: 'isTransferCompleted', data: BytesLike): Result;
|
|
216
|
+
decodeFunctionResult(functionFragment: 'isWrappedAsset', data: BytesLike): Result;
|
|
217
|
+
decodeFunctionResult(functionFragment: 'outstandingBridged', data: BytesLike): Result;
|
|
218
|
+
decodeFunctionResult(functionFragment: 'parseAssetMeta', data: BytesLike): Result;
|
|
219
|
+
decodeFunctionResult(functionFragment: 'parsePayloadID', data: BytesLike): Result;
|
|
220
|
+
decodeFunctionResult(functionFragment: 'parseRecoverChainId', data: BytesLike): Result;
|
|
221
|
+
decodeFunctionResult(functionFragment: 'parseRegisterChain', data: BytesLike): Result;
|
|
222
|
+
decodeFunctionResult(functionFragment: 'parseTransfer', data: BytesLike): Result;
|
|
223
|
+
decodeFunctionResult(functionFragment: 'parseTransferWithPayload', data: BytesLike): Result;
|
|
224
|
+
decodeFunctionResult(functionFragment: 'parseUpgrade', data: BytesLike): Result;
|
|
225
|
+
decodeFunctionResult(functionFragment: 'registerChain', data: BytesLike): Result;
|
|
226
|
+
decodeFunctionResult(functionFragment: 'submitRecoverChainId', data: BytesLike): Result;
|
|
227
|
+
decodeFunctionResult(functionFragment: 'tokenImplementation', data: BytesLike): Result;
|
|
228
|
+
decodeFunctionResult(functionFragment: 'transferTokens', data: BytesLike): Result;
|
|
229
|
+
decodeFunctionResult(functionFragment: 'transferTokensWithPayload', data: BytesLike): Result;
|
|
230
|
+
decodeFunctionResult(functionFragment: 'updateWrapped', data: BytesLike): Result;
|
|
231
|
+
decodeFunctionResult(functionFragment: 'upgrade', data: BytesLike): Result;
|
|
232
|
+
decodeFunctionResult(functionFragment: 'wormhole', data: BytesLike): Result;
|
|
233
|
+
decodeFunctionResult(functionFragment: 'wrapAndTransferETH', data: BytesLike): Result;
|
|
234
|
+
decodeFunctionResult(functionFragment: 'wrapAndTransferETHWithPayload', data: BytesLike): Result;
|
|
235
|
+
decodeFunctionResult(functionFragment: 'wrappedAsset', data: BytesLike): Result;
|
|
236
|
+
}
|
|
237
|
+
export declare namespace AdminChangedEvent {
|
|
238
|
+
type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike];
|
|
239
|
+
type OutputTuple = [previousAdmin: string, newAdmin: string];
|
|
240
|
+
interface OutputObject {
|
|
241
|
+
previousAdmin: string;
|
|
242
|
+
newAdmin: string;
|
|
243
|
+
}
|
|
244
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
245
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
246
|
+
type Log = TypedEventLog<Event>;
|
|
247
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
248
|
+
}
|
|
249
|
+
export declare namespace BeaconUpgradedEvent {
|
|
250
|
+
type InputTuple = [beacon: AddressLike];
|
|
251
|
+
type OutputTuple = [beacon: string];
|
|
252
|
+
interface OutputObject {
|
|
253
|
+
beacon: string;
|
|
254
|
+
}
|
|
255
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
256
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
257
|
+
type Log = TypedEventLog<Event>;
|
|
258
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
259
|
+
}
|
|
260
|
+
export declare namespace ContractUpgradedEvent {
|
|
261
|
+
type InputTuple = [oldContract: AddressLike, newContract: AddressLike];
|
|
262
|
+
type OutputTuple = [oldContract: string, newContract: string];
|
|
263
|
+
interface OutputObject {
|
|
264
|
+
oldContract: string;
|
|
265
|
+
newContract: string;
|
|
266
|
+
}
|
|
267
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
268
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
269
|
+
type Log = TypedEventLog<Event>;
|
|
270
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
271
|
+
}
|
|
272
|
+
export declare namespace TransferRedeemedEvent {
|
|
273
|
+
type InputTuple = [
|
|
274
|
+
emitterChainId: BigNumberish,
|
|
275
|
+
emitterAddress: BytesLike,
|
|
276
|
+
sequence: BigNumberish
|
|
277
|
+
];
|
|
278
|
+
type OutputTuple = [
|
|
279
|
+
emitterChainId: bigint,
|
|
280
|
+
emitterAddress: string,
|
|
281
|
+
sequence: bigint
|
|
282
|
+
];
|
|
283
|
+
interface OutputObject {
|
|
284
|
+
emitterChainId: bigint;
|
|
285
|
+
emitterAddress: string;
|
|
286
|
+
sequence: bigint;
|
|
287
|
+
}
|
|
288
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
289
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
290
|
+
type Log = TypedEventLog<Event>;
|
|
291
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
292
|
+
}
|
|
293
|
+
export declare namespace UpgradedEvent {
|
|
294
|
+
type InputTuple = [implementation: AddressLike];
|
|
295
|
+
type OutputTuple = [implementation: string];
|
|
296
|
+
interface OutputObject {
|
|
297
|
+
implementation: string;
|
|
298
|
+
}
|
|
299
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
300
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
301
|
+
type Log = TypedEventLog<Event>;
|
|
302
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
303
|
+
}
|
|
304
|
+
export interface Bridge extends BaseContract {
|
|
305
|
+
connect(runner?: ContractRunner | null): Bridge;
|
|
306
|
+
waitForDeployment(): Promise<this>;
|
|
307
|
+
interface: BridgeInterface;
|
|
308
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
309
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
310
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
311
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
312
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
313
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
314
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
315
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
316
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
317
|
+
WETH: TypedContractMethod<[], [string], 'view'>;
|
|
318
|
+
_parseTransferCommon: TypedContractMethod<[
|
|
319
|
+
encoded: BytesLike
|
|
320
|
+
], [
|
|
321
|
+
BridgeStructs.TransferStructOutput
|
|
322
|
+
], 'view'>;
|
|
323
|
+
attestToken: TypedContractMethod<[
|
|
324
|
+
tokenAddress: AddressLike,
|
|
325
|
+
nonce: BigNumberish
|
|
326
|
+
], [
|
|
327
|
+
bigint
|
|
328
|
+
], 'payable'>;
|
|
329
|
+
bridgeContracts: TypedContractMethod<[
|
|
330
|
+
chainId_: BigNumberish
|
|
331
|
+
], [
|
|
332
|
+
string
|
|
333
|
+
], 'view'>;
|
|
334
|
+
chainId: TypedContractMethod<[], [bigint], 'view'>;
|
|
335
|
+
completeTransfer: TypedContractMethod<[
|
|
336
|
+
encodedVm: BytesLike
|
|
337
|
+
], [
|
|
338
|
+
void
|
|
339
|
+
], 'nonpayable'>;
|
|
340
|
+
completeTransferAndUnwrapETH: TypedContractMethod<[
|
|
341
|
+
encodedVm: BytesLike
|
|
342
|
+
], [
|
|
343
|
+
void
|
|
344
|
+
], 'nonpayable'>;
|
|
345
|
+
completeTransferAndUnwrapETHWithPayload: TypedContractMethod<[
|
|
346
|
+
encodedVm: BytesLike
|
|
347
|
+
], [
|
|
348
|
+
string
|
|
349
|
+
], 'nonpayable'>;
|
|
350
|
+
completeTransferWithPayload: TypedContractMethod<[
|
|
351
|
+
encodedVm: BytesLike
|
|
352
|
+
], [
|
|
353
|
+
string
|
|
354
|
+
], 'nonpayable'>;
|
|
355
|
+
createWrapped: TypedContractMethod<[
|
|
356
|
+
encodedVm: BytesLike
|
|
357
|
+
], [
|
|
358
|
+
string
|
|
359
|
+
], 'nonpayable'>;
|
|
360
|
+
encodeAssetMeta: TypedContractMethod<[
|
|
361
|
+
meta: BridgeStructs.AssetMetaStruct
|
|
362
|
+
], [
|
|
363
|
+
string
|
|
364
|
+
], 'view'>;
|
|
365
|
+
encodeTransfer: TypedContractMethod<[
|
|
366
|
+
transfer: BridgeStructs.TransferStruct
|
|
367
|
+
], [
|
|
368
|
+
string
|
|
369
|
+
], 'view'>;
|
|
370
|
+
encodeTransferWithPayload: TypedContractMethod<[
|
|
371
|
+
transfer: BridgeStructs.TransferWithPayloadStruct
|
|
372
|
+
], [
|
|
373
|
+
string
|
|
374
|
+
], 'view'>;
|
|
375
|
+
evmChainId: TypedContractMethod<[], [bigint], 'view'>;
|
|
376
|
+
finality: TypedContractMethod<[], [bigint], 'view'>;
|
|
377
|
+
governanceActionIsConsumed: TypedContractMethod<[
|
|
378
|
+
hash: BytesLike
|
|
379
|
+
], [
|
|
380
|
+
boolean
|
|
381
|
+
], 'view'>;
|
|
382
|
+
governanceChainId: TypedContractMethod<[], [bigint], 'view'>;
|
|
383
|
+
governanceContract: TypedContractMethod<[], [string], 'view'>;
|
|
384
|
+
isFork: TypedContractMethod<[], [boolean], 'view'>;
|
|
385
|
+
isInitialized: TypedContractMethod<[impl: AddressLike], [boolean], 'view'>;
|
|
386
|
+
isTransferCompleted: TypedContractMethod<[
|
|
387
|
+
hash: BytesLike
|
|
388
|
+
], [
|
|
389
|
+
boolean
|
|
390
|
+
], 'view'>;
|
|
391
|
+
isWrappedAsset: TypedContractMethod<[token: AddressLike], [boolean], 'view'>;
|
|
392
|
+
outstandingBridged: TypedContractMethod<[
|
|
393
|
+
token: AddressLike
|
|
394
|
+
], [
|
|
395
|
+
bigint
|
|
396
|
+
], 'view'>;
|
|
397
|
+
parseAssetMeta: TypedContractMethod<[
|
|
398
|
+
encoded: BytesLike
|
|
399
|
+
], [
|
|
400
|
+
BridgeStructs.AssetMetaStructOutput
|
|
401
|
+
], 'view'>;
|
|
402
|
+
parsePayloadID: TypedContractMethod<[encoded: BytesLike], [bigint], 'view'>;
|
|
403
|
+
parseRecoverChainId: TypedContractMethod<[
|
|
404
|
+
encodedRecoverChainId: BytesLike
|
|
405
|
+
], [
|
|
406
|
+
BridgeStructs.RecoverChainIdStructOutput
|
|
407
|
+
], 'view'>;
|
|
408
|
+
parseRegisterChain: TypedContractMethod<[
|
|
409
|
+
encoded: BytesLike
|
|
410
|
+
], [
|
|
411
|
+
BridgeStructs.RegisterChainStructOutput
|
|
412
|
+
], 'view'>;
|
|
413
|
+
parseTransfer: TypedContractMethod<[
|
|
414
|
+
encoded: BytesLike
|
|
415
|
+
], [
|
|
416
|
+
BridgeStructs.TransferStructOutput
|
|
417
|
+
], 'view'>;
|
|
418
|
+
parseTransferWithPayload: TypedContractMethod<[
|
|
419
|
+
encoded: BytesLike
|
|
420
|
+
], [
|
|
421
|
+
BridgeStructs.TransferWithPayloadStructOutput
|
|
422
|
+
], 'view'>;
|
|
423
|
+
parseUpgrade: TypedContractMethod<[
|
|
424
|
+
encoded: BytesLike
|
|
425
|
+
], [
|
|
426
|
+
BridgeStructs.UpgradeContractStructOutput
|
|
427
|
+
], 'view'>;
|
|
428
|
+
registerChain: TypedContractMethod<[
|
|
429
|
+
encodedVM: BytesLike
|
|
430
|
+
], [
|
|
431
|
+
void
|
|
432
|
+
], 'nonpayable'>;
|
|
433
|
+
submitRecoverChainId: TypedContractMethod<[
|
|
434
|
+
encodedVM: BytesLike
|
|
435
|
+
], [
|
|
436
|
+
void
|
|
437
|
+
], 'nonpayable'>;
|
|
438
|
+
tokenImplementation: TypedContractMethod<[], [string], 'view'>;
|
|
439
|
+
transferTokens: TypedContractMethod<[
|
|
440
|
+
token: AddressLike,
|
|
441
|
+
amount: BigNumberish,
|
|
442
|
+
recipientChain: BigNumberish,
|
|
443
|
+
recipient: BytesLike,
|
|
444
|
+
arbiterFee: BigNumberish,
|
|
445
|
+
nonce: BigNumberish
|
|
446
|
+
], [
|
|
447
|
+
bigint
|
|
448
|
+
], 'payable'>;
|
|
449
|
+
transferTokensWithPayload: TypedContractMethod<[
|
|
450
|
+
token: AddressLike,
|
|
451
|
+
amount: BigNumberish,
|
|
452
|
+
recipientChain: BigNumberish,
|
|
453
|
+
recipient: BytesLike,
|
|
454
|
+
nonce: BigNumberish,
|
|
455
|
+
payload: BytesLike
|
|
456
|
+
], [
|
|
457
|
+
bigint
|
|
458
|
+
], 'payable'>;
|
|
459
|
+
updateWrapped: TypedContractMethod<[
|
|
460
|
+
encodedVm: BytesLike
|
|
461
|
+
], [
|
|
462
|
+
string
|
|
463
|
+
], 'nonpayable'>;
|
|
464
|
+
upgrade: TypedContractMethod<[encodedVM: BytesLike], [void], 'nonpayable'>;
|
|
465
|
+
wormhole: TypedContractMethod<[], [string], 'view'>;
|
|
466
|
+
wrapAndTransferETH: TypedContractMethod<[
|
|
467
|
+
recipientChain: BigNumberish,
|
|
468
|
+
recipient: BytesLike,
|
|
469
|
+
arbiterFee: BigNumberish,
|
|
470
|
+
nonce: BigNumberish
|
|
471
|
+
], [
|
|
472
|
+
bigint
|
|
473
|
+
], 'payable'>;
|
|
474
|
+
wrapAndTransferETHWithPayload: TypedContractMethod<[
|
|
475
|
+
recipientChain: BigNumberish,
|
|
476
|
+
recipient: BytesLike,
|
|
477
|
+
nonce: BigNumberish,
|
|
478
|
+
payload: BytesLike
|
|
479
|
+
], [
|
|
480
|
+
bigint
|
|
481
|
+
], 'payable'>;
|
|
482
|
+
wrappedAsset: TypedContractMethod<[
|
|
483
|
+
tokenChainId: BigNumberish,
|
|
484
|
+
tokenAddress: BytesLike
|
|
485
|
+
], [
|
|
486
|
+
string
|
|
487
|
+
], 'view'>;
|
|
488
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
489
|
+
getFunction(nameOrSignature: 'WETH'): TypedContractMethod<[], [string], 'view'>;
|
|
490
|
+
getFunction(nameOrSignature: '_parseTransferCommon'): TypedContractMethod<[
|
|
491
|
+
encoded: BytesLike
|
|
492
|
+
], [
|
|
493
|
+
BridgeStructs.TransferStructOutput
|
|
494
|
+
], 'view'>;
|
|
495
|
+
getFunction(nameOrSignature: 'attestToken'): TypedContractMethod<[
|
|
496
|
+
tokenAddress: AddressLike,
|
|
497
|
+
nonce: BigNumberish
|
|
498
|
+
], [
|
|
499
|
+
bigint
|
|
500
|
+
], 'payable'>;
|
|
501
|
+
getFunction(nameOrSignature: 'bridgeContracts'): TypedContractMethod<[chainId_: BigNumberish], [string], 'view'>;
|
|
502
|
+
getFunction(nameOrSignature: 'chainId'): TypedContractMethod<[], [bigint], 'view'>;
|
|
503
|
+
getFunction(nameOrSignature: 'completeTransfer'): TypedContractMethod<[encodedVm: BytesLike], [void], 'nonpayable'>;
|
|
504
|
+
getFunction(nameOrSignature: 'completeTransferAndUnwrapETH'): TypedContractMethod<[encodedVm: BytesLike], [void], 'nonpayable'>;
|
|
505
|
+
getFunction(nameOrSignature: 'completeTransferAndUnwrapETHWithPayload'): TypedContractMethod<[encodedVm: BytesLike], [string], 'nonpayable'>;
|
|
506
|
+
getFunction(nameOrSignature: 'completeTransferWithPayload'): TypedContractMethod<[encodedVm: BytesLike], [string], 'nonpayable'>;
|
|
507
|
+
getFunction(nameOrSignature: 'createWrapped'): TypedContractMethod<[encodedVm: BytesLike], [string], 'nonpayable'>;
|
|
508
|
+
getFunction(nameOrSignature: 'encodeAssetMeta'): TypedContractMethod<[
|
|
509
|
+
meta: BridgeStructs.AssetMetaStruct
|
|
510
|
+
], [
|
|
511
|
+
string
|
|
512
|
+
], 'view'>;
|
|
513
|
+
getFunction(nameOrSignature: 'encodeTransfer'): TypedContractMethod<[
|
|
514
|
+
transfer: BridgeStructs.TransferStruct
|
|
515
|
+
], [
|
|
516
|
+
string
|
|
517
|
+
], 'view'>;
|
|
518
|
+
getFunction(nameOrSignature: 'encodeTransferWithPayload'): TypedContractMethod<[
|
|
519
|
+
transfer: BridgeStructs.TransferWithPayloadStruct
|
|
520
|
+
], [
|
|
521
|
+
string
|
|
522
|
+
], 'view'>;
|
|
523
|
+
getFunction(nameOrSignature: 'evmChainId'): TypedContractMethod<[], [bigint], 'view'>;
|
|
524
|
+
getFunction(nameOrSignature: 'finality'): TypedContractMethod<[], [bigint], 'view'>;
|
|
525
|
+
getFunction(nameOrSignature: 'governanceActionIsConsumed'): TypedContractMethod<[hash: BytesLike], [boolean], 'view'>;
|
|
526
|
+
getFunction(nameOrSignature: 'governanceChainId'): TypedContractMethod<[], [bigint], 'view'>;
|
|
527
|
+
getFunction(nameOrSignature: 'governanceContract'): TypedContractMethod<[], [string], 'view'>;
|
|
528
|
+
getFunction(nameOrSignature: 'isFork'): TypedContractMethod<[], [boolean], 'view'>;
|
|
529
|
+
getFunction(nameOrSignature: 'isInitialized'): TypedContractMethod<[impl: AddressLike], [boolean], 'view'>;
|
|
530
|
+
getFunction(nameOrSignature: 'isTransferCompleted'): TypedContractMethod<[hash: BytesLike], [boolean], 'view'>;
|
|
531
|
+
getFunction(nameOrSignature: 'isWrappedAsset'): TypedContractMethod<[token: AddressLike], [boolean], 'view'>;
|
|
532
|
+
getFunction(nameOrSignature: 'outstandingBridged'): TypedContractMethod<[token: AddressLike], [bigint], 'view'>;
|
|
533
|
+
getFunction(nameOrSignature: 'parseAssetMeta'): TypedContractMethod<[
|
|
534
|
+
encoded: BytesLike
|
|
535
|
+
], [
|
|
536
|
+
BridgeStructs.AssetMetaStructOutput
|
|
537
|
+
], 'view'>;
|
|
538
|
+
getFunction(nameOrSignature: 'parsePayloadID'): TypedContractMethod<[encoded: BytesLike], [bigint], 'view'>;
|
|
539
|
+
getFunction(nameOrSignature: 'parseRecoverChainId'): TypedContractMethod<[
|
|
540
|
+
encodedRecoverChainId: BytesLike
|
|
541
|
+
], [
|
|
542
|
+
BridgeStructs.RecoverChainIdStructOutput
|
|
543
|
+
], 'view'>;
|
|
544
|
+
getFunction(nameOrSignature: 'parseRegisterChain'): TypedContractMethod<[
|
|
545
|
+
encoded: BytesLike
|
|
546
|
+
], [
|
|
547
|
+
BridgeStructs.RegisterChainStructOutput
|
|
548
|
+
], 'view'>;
|
|
549
|
+
getFunction(nameOrSignature: 'parseTransfer'): TypedContractMethod<[
|
|
550
|
+
encoded: BytesLike
|
|
551
|
+
], [
|
|
552
|
+
BridgeStructs.TransferStructOutput
|
|
553
|
+
], 'view'>;
|
|
554
|
+
getFunction(nameOrSignature: 'parseTransferWithPayload'): TypedContractMethod<[
|
|
555
|
+
encoded: BytesLike
|
|
556
|
+
], [
|
|
557
|
+
BridgeStructs.TransferWithPayloadStructOutput
|
|
558
|
+
], 'view'>;
|
|
559
|
+
getFunction(nameOrSignature: 'parseUpgrade'): TypedContractMethod<[
|
|
560
|
+
encoded: BytesLike
|
|
561
|
+
], [
|
|
562
|
+
BridgeStructs.UpgradeContractStructOutput
|
|
563
|
+
], 'view'>;
|
|
564
|
+
getFunction(nameOrSignature: 'registerChain'): TypedContractMethod<[encodedVM: BytesLike], [void], 'nonpayable'>;
|
|
565
|
+
getFunction(nameOrSignature: 'submitRecoverChainId'): TypedContractMethod<[encodedVM: BytesLike], [void], 'nonpayable'>;
|
|
566
|
+
getFunction(nameOrSignature: 'tokenImplementation'): TypedContractMethod<[], [string], 'view'>;
|
|
567
|
+
getFunction(nameOrSignature: 'transferTokens'): TypedContractMethod<[
|
|
568
|
+
token: AddressLike,
|
|
569
|
+
amount: BigNumberish,
|
|
570
|
+
recipientChain: BigNumberish,
|
|
571
|
+
recipient: BytesLike,
|
|
572
|
+
arbiterFee: BigNumberish,
|
|
573
|
+
nonce: BigNumberish
|
|
574
|
+
], [
|
|
575
|
+
bigint
|
|
576
|
+
], 'payable'>;
|
|
577
|
+
getFunction(nameOrSignature: 'transferTokensWithPayload'): TypedContractMethod<[
|
|
578
|
+
token: AddressLike,
|
|
579
|
+
amount: BigNumberish,
|
|
580
|
+
recipientChain: BigNumberish,
|
|
581
|
+
recipient: BytesLike,
|
|
582
|
+
nonce: BigNumberish,
|
|
583
|
+
payload: BytesLike
|
|
584
|
+
], [
|
|
585
|
+
bigint
|
|
586
|
+
], 'payable'>;
|
|
587
|
+
getFunction(nameOrSignature: 'updateWrapped'): TypedContractMethod<[encodedVm: BytesLike], [string], 'nonpayable'>;
|
|
588
|
+
getFunction(nameOrSignature: 'upgrade'): TypedContractMethod<[encodedVM: BytesLike], [void], 'nonpayable'>;
|
|
589
|
+
getFunction(nameOrSignature: 'wormhole'): TypedContractMethod<[], [string], 'view'>;
|
|
590
|
+
getFunction(nameOrSignature: 'wrapAndTransferETH'): TypedContractMethod<[
|
|
591
|
+
recipientChain: BigNumberish,
|
|
592
|
+
recipient: BytesLike,
|
|
593
|
+
arbiterFee: BigNumberish,
|
|
594
|
+
nonce: BigNumberish
|
|
595
|
+
], [
|
|
596
|
+
bigint
|
|
597
|
+
], 'payable'>;
|
|
598
|
+
getFunction(nameOrSignature: 'wrapAndTransferETHWithPayload'): TypedContractMethod<[
|
|
599
|
+
recipientChain: BigNumberish,
|
|
600
|
+
recipient: BytesLike,
|
|
601
|
+
nonce: BigNumberish,
|
|
602
|
+
payload: BytesLike
|
|
603
|
+
], [
|
|
604
|
+
bigint
|
|
605
|
+
], 'payable'>;
|
|
606
|
+
getFunction(nameOrSignature: 'wrappedAsset'): TypedContractMethod<[
|
|
607
|
+
tokenChainId: BigNumberish,
|
|
608
|
+
tokenAddress: BytesLike
|
|
609
|
+
], [
|
|
610
|
+
string
|
|
611
|
+
], 'view'>;
|
|
612
|
+
getEvent(key: 'AdminChanged'): TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
613
|
+
getEvent(key: 'BeaconUpgraded'): TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
614
|
+
getEvent(key: 'ContractUpgraded'): TypedContractEvent<ContractUpgradedEvent.InputTuple, ContractUpgradedEvent.OutputTuple, ContractUpgradedEvent.OutputObject>;
|
|
615
|
+
getEvent(key: 'TransferRedeemed'): TypedContractEvent<TransferRedeemedEvent.InputTuple, TransferRedeemedEvent.OutputTuple, TransferRedeemedEvent.OutputObject>;
|
|
616
|
+
getEvent(key: 'Upgraded'): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
617
|
+
filters: {
|
|
618
|
+
'AdminChanged(address,address)': TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
619
|
+
AdminChanged: TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
620
|
+
'BeaconUpgraded(address)': TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
621
|
+
BeaconUpgraded: TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
622
|
+
'ContractUpgraded(address,address)': TypedContractEvent<ContractUpgradedEvent.InputTuple, ContractUpgradedEvent.OutputTuple, ContractUpgradedEvent.OutputObject>;
|
|
623
|
+
ContractUpgraded: TypedContractEvent<ContractUpgradedEvent.InputTuple, ContractUpgradedEvent.OutputTuple, ContractUpgradedEvent.OutputObject>;
|
|
624
|
+
'TransferRedeemed(uint16,bytes32,uint64)': TypedContractEvent<TransferRedeemedEvent.InputTuple, TransferRedeemedEvent.OutputTuple, TransferRedeemedEvent.OutputObject>;
|
|
625
|
+
TransferRedeemed: TypedContractEvent<TransferRedeemedEvent.InputTuple, TransferRedeemedEvent.OutputTuple, TransferRedeemedEvent.OutputObject>;
|
|
626
|
+
'Upgraded(address)': TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
627
|
+
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
//# sourceMappingURL=Bridge.d.ts.map
|