@wormhole-foundation/sdk-evm-ntt 0.0.1-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.
Files changed (75) hide show
  1. package/README.md +11 -0
  2. package/dist/cjs/ethers-contracts/NttManager.d.ts +871 -0
  3. package/dist/cjs/ethers-contracts/NttManager.d.ts.map +1 -0
  4. package/dist/cjs/ethers-contracts/NttManager.js +3 -0
  5. package/dist/cjs/ethers-contracts/NttManager.js.map +1 -0
  6. package/dist/cjs/ethers-contracts/WormholeTransceiver.d.ts +619 -0
  7. package/dist/cjs/ethers-contracts/WormholeTransceiver.d.ts.map +1 -0
  8. package/dist/cjs/ethers-contracts/WormholeTransceiver.js +3 -0
  9. package/dist/cjs/ethers-contracts/WormholeTransceiver.js.map +1 -0
  10. package/dist/cjs/ethers-contracts/common.d.ts +51 -0
  11. package/dist/cjs/ethers-contracts/common.d.ts.map +1 -0
  12. package/dist/cjs/ethers-contracts/common.js +3 -0
  13. package/dist/cjs/ethers-contracts/common.js.map +1 -0
  14. package/dist/cjs/ethers-contracts/factories/NttManager__factory.d.ts +1414 -0
  15. package/dist/cjs/ethers-contracts/factories/NttManager__factory.d.ts.map +1 -0
  16. package/dist/cjs/ethers-contracts/factories/NttManager__factory.js +1858 -0
  17. package/dist/cjs/ethers-contracts/factories/NttManager__factory.js.map +1 -0
  18. package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.d.ts +981 -0
  19. package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.d.ts.map +1 -0
  20. package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.js +1296 -0
  21. package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.js.map +1 -0
  22. package/dist/cjs/ethers-contracts/factories/index.d.ts +3 -0
  23. package/dist/cjs/ethers-contracts/factories/index.d.ts.map +1 -0
  24. package/dist/cjs/ethers-contracts/factories/index.js +11 -0
  25. package/dist/cjs/ethers-contracts/factories/index.js.map +1 -0
  26. package/dist/cjs/ethers-contracts/index.d.ts +6 -0
  27. package/dist/cjs/ethers-contracts/index.d.ts.map +1 -0
  28. package/dist/cjs/ethers-contracts/index.js +32 -0
  29. package/dist/cjs/ethers-contracts/index.js.map +1 -0
  30. package/dist/cjs/index.d.ts +4 -0
  31. package/dist/cjs/index.d.ts.map +1 -0
  32. package/dist/cjs/index.js +37 -0
  33. package/dist/cjs/index.js.map +1 -0
  34. package/dist/cjs/ntt.d.ts +49 -0
  35. package/dist/cjs/ntt.d.ts.map +1 -0
  36. package/dist/cjs/ntt.js +153 -0
  37. package/dist/cjs/ntt.js.map +1 -0
  38. package/dist/cjs/package.json +1 -0
  39. package/dist/esm/ethers-contracts/NttManager.d.ts +871 -0
  40. package/dist/esm/ethers-contracts/NttManager.d.ts.map +1 -0
  41. package/dist/esm/ethers-contracts/NttManager.js +2 -0
  42. package/dist/esm/ethers-contracts/NttManager.js.map +1 -0
  43. package/dist/esm/ethers-contracts/WormholeTransceiver.d.ts +619 -0
  44. package/dist/esm/ethers-contracts/WormholeTransceiver.d.ts.map +1 -0
  45. package/dist/esm/ethers-contracts/WormholeTransceiver.js +2 -0
  46. package/dist/esm/ethers-contracts/WormholeTransceiver.js.map +1 -0
  47. package/dist/esm/ethers-contracts/common.d.ts +51 -0
  48. package/dist/esm/ethers-contracts/common.d.ts.map +1 -0
  49. package/dist/esm/ethers-contracts/common.js +2 -0
  50. package/dist/esm/ethers-contracts/common.js.map +1 -0
  51. package/dist/esm/ethers-contracts/factories/NttManager__factory.d.ts +1414 -0
  52. package/dist/esm/ethers-contracts/factories/NttManager__factory.d.ts.map +1 -0
  53. package/dist/esm/ethers-contracts/factories/NttManager__factory.js +1854 -0
  54. package/dist/esm/ethers-contracts/factories/NttManager__factory.js.map +1 -0
  55. package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.d.ts +981 -0
  56. package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.d.ts.map +1 -0
  57. package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.js +1292 -0
  58. package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.js.map +1 -0
  59. package/dist/esm/ethers-contracts/factories/index.d.ts +3 -0
  60. package/dist/esm/ethers-contracts/factories/index.d.ts.map +1 -0
  61. package/dist/esm/ethers-contracts/factories/index.js +6 -0
  62. package/dist/esm/ethers-contracts/factories/index.js.map +1 -0
  63. package/dist/esm/ethers-contracts/index.d.ts +6 -0
  64. package/dist/esm/ethers-contracts/index.d.ts.map +1 -0
  65. package/dist/esm/ethers-contracts/index.js +4 -0
  66. package/dist/esm/ethers-contracts/index.js.map +1 -0
  67. package/dist/esm/index.d.ts +4 -0
  68. package/dist/esm/index.d.ts.map +1 -0
  69. package/dist/esm/index.js +8 -0
  70. package/dist/esm/index.js.map +1 -0
  71. package/dist/esm/ntt.d.ts +49 -0
  72. package/dist/esm/ntt.d.ts.map +1 -0
  73. package/dist/esm/ntt.js +148 -0
  74. package/dist/esm/ntt.js.map +1 -0
  75. package/package.json +68 -0
@@ -0,0 +1,871 @@
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.js";
3
+ export declare namespace TransceiverStructs {
4
+ type NttManagerMessageStruct = {
5
+ id: BytesLike;
6
+ sender: BytesLike;
7
+ payload: BytesLike;
8
+ };
9
+ type NttManagerMessageStructOutput = [
10
+ id: string,
11
+ sender: string,
12
+ payload: string
13
+ ] & {
14
+ id: string;
15
+ sender: string;
16
+ payload: string;
17
+ };
18
+ }
19
+ export declare namespace IRateLimiter {
20
+ type RateLimitParamsStruct = {
21
+ limit: BigNumberish;
22
+ currentCapacity: BigNumberish;
23
+ lastTxTimestamp: BigNumberish;
24
+ };
25
+ type RateLimitParamsStructOutput = [
26
+ limit: bigint,
27
+ currentCapacity: bigint,
28
+ lastTxTimestamp: bigint
29
+ ] & {
30
+ limit: bigint;
31
+ currentCapacity: bigint;
32
+ lastTxTimestamp: bigint;
33
+ };
34
+ type InboundQueuedTransferStruct = {
35
+ amount: BigNumberish;
36
+ txTimestamp: BigNumberish;
37
+ recipient: AddressLike;
38
+ };
39
+ type InboundQueuedTransferStructOutput = [
40
+ amount: bigint,
41
+ txTimestamp: bigint,
42
+ recipient: string
43
+ ] & {
44
+ amount: bigint;
45
+ txTimestamp: bigint;
46
+ recipient: string;
47
+ };
48
+ type OutboundQueuedTransferStruct = {
49
+ recipient: BytesLike;
50
+ refundAddress: BytesLike;
51
+ amount: BigNumberish;
52
+ txTimestamp: BigNumberish;
53
+ recipientChain: BigNumberish;
54
+ sender: AddressLike;
55
+ transceiverInstructions: BytesLike;
56
+ };
57
+ type OutboundQueuedTransferStructOutput = [
58
+ recipient: string,
59
+ refundAddress: string,
60
+ amount: bigint,
61
+ txTimestamp: bigint,
62
+ recipientChain: bigint,
63
+ sender: string,
64
+ transceiverInstructions: string
65
+ ] & {
66
+ recipient: string;
67
+ refundAddress: string;
68
+ amount: bigint;
69
+ txTimestamp: bigint;
70
+ recipientChain: bigint;
71
+ sender: string;
72
+ transceiverInstructions: string;
73
+ };
74
+ }
75
+ export declare namespace INttManager {
76
+ type NttManagerPeerStruct = {
77
+ peerAddress: BytesLike;
78
+ tokenDecimals: BigNumberish;
79
+ };
80
+ type NttManagerPeerStructOutput = [
81
+ peerAddress: string,
82
+ tokenDecimals: bigint
83
+ ] & {
84
+ peerAddress: string;
85
+ tokenDecimals: bigint;
86
+ };
87
+ }
88
+ export interface NttManagerInterface extends Interface {
89
+ getFunction(nameOrSignature: "NTT_MANAGER_VERSION" | "attestationReceived" | "cancelOutboundQueuedTransfer" | "chainId" | "completeInboundQueuedTransfer" | "completeOutboundQueuedTransfer" | "executeMsg" | "getCurrentInboundCapacity" | "getCurrentOutboundCapacity" | "getInboundLimitParams" | "getInboundQueuedTransfer" | "getMigratesImmutables" | "getMode" | "getOutboundLimitParams" | "getOutboundQueuedTransfer" | "getPeer" | "getThreshold" | "getTransceivers" | "initialize" | "isMessageApproved" | "isMessageExecuted" | "isPaused" | "messageAttestations" | "migrate" | "mode" | "nextMessageSequence" | "owner" | "pause" | "pauser" | "quoteDeliveryPrice" | "rateLimitDuration" | "removeTransceiver" | "setInboundLimit" | "setOutboundLimit" | "setPeer" | "setThreshold" | "setTransceiver" | "token" | "tokenDecimals" | "transceiverAttestedToMessage" | "transfer(uint256,uint16,bytes32)" | "transfer(uint256,uint16,bytes32,bytes32,bool,bytes)" | "transferOwnership" | "transferPauserCapability" | "unpause" | "upgrade"): FunctionFragment;
90
+ getEvent(nameOrSignatureOrTopic: "AdminChanged" | "BeaconUpgraded" | "InboundTransferQueued" | "Initialized" | "MessageAlreadyExecuted" | "MessageAttestedTo" | "NotPaused" | "OutboundTransferCancelled" | "OutboundTransferQueued" | "OutboundTransferRateLimited" | "OwnershipTransferred" | "Paused" | "PauserTransferred" | "PeerUpdated" | "ThresholdChanged" | "TransceiverAdded" | "TransceiverRemoved" | "TransferRedeemed" | "TransferSent" | "Upgraded"): EventFragment;
91
+ encodeFunctionData(functionFragment: "NTT_MANAGER_VERSION", values?: undefined): string;
92
+ encodeFunctionData(functionFragment: "attestationReceived", values: [
93
+ BigNumberish,
94
+ BytesLike,
95
+ TransceiverStructs.NttManagerMessageStruct
96
+ ]): string;
97
+ encodeFunctionData(functionFragment: "cancelOutboundQueuedTransfer", values: [BigNumberish]): string;
98
+ encodeFunctionData(functionFragment: "chainId", values?: undefined): string;
99
+ encodeFunctionData(functionFragment: "completeInboundQueuedTransfer", values: [BytesLike]): string;
100
+ encodeFunctionData(functionFragment: "completeOutboundQueuedTransfer", values: [BigNumberish]): string;
101
+ encodeFunctionData(functionFragment: "executeMsg", values: [
102
+ BigNumberish,
103
+ BytesLike,
104
+ TransceiverStructs.NttManagerMessageStruct
105
+ ]): string;
106
+ encodeFunctionData(functionFragment: "getCurrentInboundCapacity", values: [BigNumberish]): string;
107
+ encodeFunctionData(functionFragment: "getCurrentOutboundCapacity", values?: undefined): string;
108
+ encodeFunctionData(functionFragment: "getInboundLimitParams", values: [BigNumberish]): string;
109
+ encodeFunctionData(functionFragment: "getInboundQueuedTransfer", values: [BytesLike]): string;
110
+ encodeFunctionData(functionFragment: "getMigratesImmutables", values?: undefined): string;
111
+ encodeFunctionData(functionFragment: "getMode", values?: undefined): string;
112
+ encodeFunctionData(functionFragment: "getOutboundLimitParams", values?: undefined): string;
113
+ encodeFunctionData(functionFragment: "getOutboundQueuedTransfer", values: [BigNumberish]): string;
114
+ encodeFunctionData(functionFragment: "getPeer", values: [BigNumberish]): string;
115
+ encodeFunctionData(functionFragment: "getThreshold", values?: undefined): string;
116
+ encodeFunctionData(functionFragment: "getTransceivers", values?: undefined): string;
117
+ encodeFunctionData(functionFragment: "initialize", values?: undefined): string;
118
+ encodeFunctionData(functionFragment: "isMessageApproved", values: [BytesLike]): string;
119
+ encodeFunctionData(functionFragment: "isMessageExecuted", values: [BytesLike]): string;
120
+ encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
121
+ encodeFunctionData(functionFragment: "messageAttestations", values: [BytesLike]): string;
122
+ encodeFunctionData(functionFragment: "migrate", values?: undefined): string;
123
+ encodeFunctionData(functionFragment: "mode", values?: undefined): string;
124
+ encodeFunctionData(functionFragment: "nextMessageSequence", values?: undefined): string;
125
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
126
+ encodeFunctionData(functionFragment: "pause", values?: undefined): string;
127
+ encodeFunctionData(functionFragment: "pauser", values?: undefined): string;
128
+ encodeFunctionData(functionFragment: "quoteDeliveryPrice", values: [BigNumberish, BytesLike]): string;
129
+ encodeFunctionData(functionFragment: "rateLimitDuration", values?: undefined): string;
130
+ encodeFunctionData(functionFragment: "removeTransceiver", values: [AddressLike]): string;
131
+ encodeFunctionData(functionFragment: "setInboundLimit", values: [BigNumberish, BigNumberish]): string;
132
+ encodeFunctionData(functionFragment: "setOutboundLimit", values: [BigNumberish]): string;
133
+ encodeFunctionData(functionFragment: "setPeer", values: [BigNumberish, BytesLike, BigNumberish, BigNumberish]): string;
134
+ encodeFunctionData(functionFragment: "setThreshold", values: [BigNumberish]): string;
135
+ encodeFunctionData(functionFragment: "setTransceiver", values: [AddressLike]): string;
136
+ encodeFunctionData(functionFragment: "token", values?: undefined): string;
137
+ encodeFunctionData(functionFragment: "tokenDecimals", values?: undefined): string;
138
+ encodeFunctionData(functionFragment: "transceiverAttestedToMessage", values: [BytesLike, BigNumberish]): string;
139
+ encodeFunctionData(functionFragment: "transfer(uint256,uint16,bytes32)", values: [BigNumberish, BigNumberish, BytesLike]): string;
140
+ encodeFunctionData(functionFragment: "transfer(uint256,uint16,bytes32,bytes32,bool,bytes)", values: [
141
+ BigNumberish,
142
+ BigNumberish,
143
+ BytesLike,
144
+ BytesLike,
145
+ boolean,
146
+ BytesLike
147
+ ]): string;
148
+ encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
149
+ encodeFunctionData(functionFragment: "transferPauserCapability", values: [AddressLike]): string;
150
+ encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
151
+ encodeFunctionData(functionFragment: "upgrade", values: [AddressLike]): string;
152
+ decodeFunctionResult(functionFragment: "NTT_MANAGER_VERSION", data: BytesLike): Result;
153
+ decodeFunctionResult(functionFragment: "attestationReceived", data: BytesLike): Result;
154
+ decodeFunctionResult(functionFragment: "cancelOutboundQueuedTransfer", data: BytesLike): Result;
155
+ decodeFunctionResult(functionFragment: "chainId", data: BytesLike): Result;
156
+ decodeFunctionResult(functionFragment: "completeInboundQueuedTransfer", data: BytesLike): Result;
157
+ decodeFunctionResult(functionFragment: "completeOutboundQueuedTransfer", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "executeMsg", data: BytesLike): Result;
159
+ decodeFunctionResult(functionFragment: "getCurrentInboundCapacity", data: BytesLike): Result;
160
+ decodeFunctionResult(functionFragment: "getCurrentOutboundCapacity", data: BytesLike): Result;
161
+ decodeFunctionResult(functionFragment: "getInboundLimitParams", data: BytesLike): Result;
162
+ decodeFunctionResult(functionFragment: "getInboundQueuedTransfer", data: BytesLike): Result;
163
+ decodeFunctionResult(functionFragment: "getMigratesImmutables", data: BytesLike): Result;
164
+ decodeFunctionResult(functionFragment: "getMode", data: BytesLike): Result;
165
+ decodeFunctionResult(functionFragment: "getOutboundLimitParams", data: BytesLike): Result;
166
+ decodeFunctionResult(functionFragment: "getOutboundQueuedTransfer", data: BytesLike): Result;
167
+ decodeFunctionResult(functionFragment: "getPeer", data: BytesLike): Result;
168
+ decodeFunctionResult(functionFragment: "getThreshold", data: BytesLike): Result;
169
+ decodeFunctionResult(functionFragment: "getTransceivers", data: BytesLike): Result;
170
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
171
+ decodeFunctionResult(functionFragment: "isMessageApproved", data: BytesLike): Result;
172
+ decodeFunctionResult(functionFragment: "isMessageExecuted", data: BytesLike): Result;
173
+ decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result;
174
+ decodeFunctionResult(functionFragment: "messageAttestations", data: BytesLike): Result;
175
+ decodeFunctionResult(functionFragment: "migrate", data: BytesLike): Result;
176
+ decodeFunctionResult(functionFragment: "mode", data: BytesLike): Result;
177
+ decodeFunctionResult(functionFragment: "nextMessageSequence", data: BytesLike): Result;
178
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
179
+ decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
180
+ decodeFunctionResult(functionFragment: "pauser", data: BytesLike): Result;
181
+ decodeFunctionResult(functionFragment: "quoteDeliveryPrice", data: BytesLike): Result;
182
+ decodeFunctionResult(functionFragment: "rateLimitDuration", data: BytesLike): Result;
183
+ decodeFunctionResult(functionFragment: "removeTransceiver", data: BytesLike): Result;
184
+ decodeFunctionResult(functionFragment: "setInboundLimit", data: BytesLike): Result;
185
+ decodeFunctionResult(functionFragment: "setOutboundLimit", data: BytesLike): Result;
186
+ decodeFunctionResult(functionFragment: "setPeer", data: BytesLike): Result;
187
+ decodeFunctionResult(functionFragment: "setThreshold", data: BytesLike): Result;
188
+ decodeFunctionResult(functionFragment: "setTransceiver", data: BytesLike): Result;
189
+ decodeFunctionResult(functionFragment: "token", data: BytesLike): Result;
190
+ decodeFunctionResult(functionFragment: "tokenDecimals", data: BytesLike): Result;
191
+ decodeFunctionResult(functionFragment: "transceiverAttestedToMessage", data: BytesLike): Result;
192
+ decodeFunctionResult(functionFragment: "transfer(uint256,uint16,bytes32)", data: BytesLike): Result;
193
+ decodeFunctionResult(functionFragment: "transfer(uint256,uint16,bytes32,bytes32,bool,bytes)", data: BytesLike): Result;
194
+ decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
195
+ decodeFunctionResult(functionFragment: "transferPauserCapability", data: BytesLike): Result;
196
+ decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
197
+ decodeFunctionResult(functionFragment: "upgrade", data: BytesLike): Result;
198
+ }
199
+ export declare namespace AdminChangedEvent {
200
+ type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike];
201
+ type OutputTuple = [previousAdmin: string, newAdmin: string];
202
+ interface OutputObject {
203
+ previousAdmin: string;
204
+ newAdmin: string;
205
+ }
206
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
207
+ type Filter = TypedDeferredTopicFilter<Event>;
208
+ type Log = TypedEventLog<Event>;
209
+ type LogDescription = TypedLogDescription<Event>;
210
+ }
211
+ export declare namespace BeaconUpgradedEvent {
212
+ type InputTuple = [beacon: AddressLike];
213
+ type OutputTuple = [beacon: string];
214
+ interface OutputObject {
215
+ beacon: string;
216
+ }
217
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
218
+ type Filter = TypedDeferredTopicFilter<Event>;
219
+ type Log = TypedEventLog<Event>;
220
+ type LogDescription = TypedLogDescription<Event>;
221
+ }
222
+ export declare namespace InboundTransferQueuedEvent {
223
+ type InputTuple = [digest: BytesLike];
224
+ type OutputTuple = [digest: string];
225
+ interface OutputObject {
226
+ digest: string;
227
+ }
228
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
229
+ type Filter = TypedDeferredTopicFilter<Event>;
230
+ type Log = TypedEventLog<Event>;
231
+ type LogDescription = TypedLogDescription<Event>;
232
+ }
233
+ export declare namespace InitializedEvent {
234
+ type InputTuple = [version: BigNumberish];
235
+ type OutputTuple = [version: bigint];
236
+ interface OutputObject {
237
+ version: bigint;
238
+ }
239
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
240
+ type Filter = TypedDeferredTopicFilter<Event>;
241
+ type Log = TypedEventLog<Event>;
242
+ type LogDescription = TypedLogDescription<Event>;
243
+ }
244
+ export declare namespace MessageAlreadyExecutedEvent {
245
+ type InputTuple = [sourceNttManager: BytesLike, msgHash: BytesLike];
246
+ type OutputTuple = [sourceNttManager: string, msgHash: string];
247
+ interface OutputObject {
248
+ sourceNttManager: string;
249
+ msgHash: string;
250
+ }
251
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
252
+ type Filter = TypedDeferredTopicFilter<Event>;
253
+ type Log = TypedEventLog<Event>;
254
+ type LogDescription = TypedLogDescription<Event>;
255
+ }
256
+ export declare namespace MessageAttestedToEvent {
257
+ type InputTuple = [
258
+ digest: BytesLike,
259
+ transceiver: AddressLike,
260
+ index: BigNumberish
261
+ ];
262
+ type OutputTuple = [
263
+ digest: string,
264
+ transceiver: string,
265
+ index: bigint
266
+ ];
267
+ interface OutputObject {
268
+ digest: string;
269
+ transceiver: string;
270
+ index: bigint;
271
+ }
272
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
273
+ type Filter = TypedDeferredTopicFilter<Event>;
274
+ type Log = TypedEventLog<Event>;
275
+ type LogDescription = TypedLogDescription<Event>;
276
+ }
277
+ export declare namespace NotPausedEvent {
278
+ type InputTuple = [notPaused: boolean];
279
+ type OutputTuple = [notPaused: boolean];
280
+ interface OutputObject {
281
+ notPaused: boolean;
282
+ }
283
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
284
+ type Filter = TypedDeferredTopicFilter<Event>;
285
+ type Log = TypedEventLog<Event>;
286
+ type LogDescription = TypedLogDescription<Event>;
287
+ }
288
+ export declare namespace OutboundTransferCancelledEvent {
289
+ type InputTuple = [
290
+ sequence: BigNumberish,
291
+ recipient: AddressLike,
292
+ amount: BigNumberish
293
+ ];
294
+ type OutputTuple = [
295
+ sequence: bigint,
296
+ recipient: string,
297
+ amount: bigint
298
+ ];
299
+ interface OutputObject {
300
+ sequence: bigint;
301
+ recipient: string;
302
+ amount: bigint;
303
+ }
304
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
305
+ type Filter = TypedDeferredTopicFilter<Event>;
306
+ type Log = TypedEventLog<Event>;
307
+ type LogDescription = TypedLogDescription<Event>;
308
+ }
309
+ export declare namespace OutboundTransferQueuedEvent {
310
+ type InputTuple = [queueSequence: BigNumberish];
311
+ type OutputTuple = [queueSequence: bigint];
312
+ interface OutputObject {
313
+ queueSequence: bigint;
314
+ }
315
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
316
+ type Filter = TypedDeferredTopicFilter<Event>;
317
+ type Log = TypedEventLog<Event>;
318
+ type LogDescription = TypedLogDescription<Event>;
319
+ }
320
+ export declare namespace OutboundTransferRateLimitedEvent {
321
+ type InputTuple = [
322
+ sender: AddressLike,
323
+ sequence: BigNumberish,
324
+ amount: BigNumberish,
325
+ currentCapacity: BigNumberish
326
+ ];
327
+ type OutputTuple = [
328
+ sender: string,
329
+ sequence: bigint,
330
+ amount: bigint,
331
+ currentCapacity: bigint
332
+ ];
333
+ interface OutputObject {
334
+ sender: string;
335
+ sequence: bigint;
336
+ amount: bigint;
337
+ currentCapacity: bigint;
338
+ }
339
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
340
+ type Filter = TypedDeferredTopicFilter<Event>;
341
+ type Log = TypedEventLog<Event>;
342
+ type LogDescription = TypedLogDescription<Event>;
343
+ }
344
+ export declare namespace OwnershipTransferredEvent {
345
+ type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
346
+ type OutputTuple = [previousOwner: string, newOwner: string];
347
+ interface OutputObject {
348
+ previousOwner: string;
349
+ newOwner: string;
350
+ }
351
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
352
+ type Filter = TypedDeferredTopicFilter<Event>;
353
+ type Log = TypedEventLog<Event>;
354
+ type LogDescription = TypedLogDescription<Event>;
355
+ }
356
+ export declare namespace PausedEvent {
357
+ type InputTuple = [paused: boolean];
358
+ type OutputTuple = [paused: boolean];
359
+ interface OutputObject {
360
+ paused: boolean;
361
+ }
362
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
363
+ type Filter = TypedDeferredTopicFilter<Event>;
364
+ type Log = TypedEventLog<Event>;
365
+ type LogDescription = TypedLogDescription<Event>;
366
+ }
367
+ export declare namespace PauserTransferredEvent {
368
+ type InputTuple = [oldPauser: AddressLike, newPauser: AddressLike];
369
+ type OutputTuple = [oldPauser: string, newPauser: string];
370
+ interface OutputObject {
371
+ oldPauser: string;
372
+ newPauser: string;
373
+ }
374
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
375
+ type Filter = TypedDeferredTopicFilter<Event>;
376
+ type Log = TypedEventLog<Event>;
377
+ type LogDescription = TypedLogDescription<Event>;
378
+ }
379
+ export declare namespace PeerUpdatedEvent {
380
+ type InputTuple = [
381
+ chainId_: BigNumberish,
382
+ oldPeerContract: BytesLike,
383
+ oldPeerDecimals: BigNumberish,
384
+ peerContract: BytesLike,
385
+ peerDecimals: BigNumberish
386
+ ];
387
+ type OutputTuple = [
388
+ chainId_: bigint,
389
+ oldPeerContract: string,
390
+ oldPeerDecimals: bigint,
391
+ peerContract: string,
392
+ peerDecimals: bigint
393
+ ];
394
+ interface OutputObject {
395
+ chainId_: bigint;
396
+ oldPeerContract: string;
397
+ oldPeerDecimals: bigint;
398
+ peerContract: string;
399
+ peerDecimals: bigint;
400
+ }
401
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
402
+ type Filter = TypedDeferredTopicFilter<Event>;
403
+ type Log = TypedEventLog<Event>;
404
+ type LogDescription = TypedLogDescription<Event>;
405
+ }
406
+ export declare namespace ThresholdChangedEvent {
407
+ type InputTuple = [
408
+ oldThreshold: BigNumberish,
409
+ threshold: BigNumberish
410
+ ];
411
+ type OutputTuple = [oldThreshold: bigint, threshold: bigint];
412
+ interface OutputObject {
413
+ oldThreshold: bigint;
414
+ threshold: bigint;
415
+ }
416
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
417
+ type Filter = TypedDeferredTopicFilter<Event>;
418
+ type Log = TypedEventLog<Event>;
419
+ type LogDescription = TypedLogDescription<Event>;
420
+ }
421
+ export declare namespace TransceiverAddedEvent {
422
+ type InputTuple = [
423
+ transceiver: AddressLike,
424
+ transceiversNum: BigNumberish,
425
+ threshold: BigNumberish
426
+ ];
427
+ type OutputTuple = [
428
+ transceiver: string,
429
+ transceiversNum: bigint,
430
+ threshold: bigint
431
+ ];
432
+ interface OutputObject {
433
+ transceiver: string;
434
+ transceiversNum: bigint;
435
+ threshold: bigint;
436
+ }
437
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
438
+ type Filter = TypedDeferredTopicFilter<Event>;
439
+ type Log = TypedEventLog<Event>;
440
+ type LogDescription = TypedLogDescription<Event>;
441
+ }
442
+ export declare namespace TransceiverRemovedEvent {
443
+ type InputTuple = [transceiver: AddressLike, threshold: BigNumberish];
444
+ type OutputTuple = [transceiver: string, threshold: bigint];
445
+ interface OutputObject {
446
+ transceiver: string;
447
+ threshold: bigint;
448
+ }
449
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
450
+ type Filter = TypedDeferredTopicFilter<Event>;
451
+ type Log = TypedEventLog<Event>;
452
+ type LogDescription = TypedLogDescription<Event>;
453
+ }
454
+ export declare namespace TransferRedeemedEvent {
455
+ type InputTuple = [digest: BytesLike];
456
+ type OutputTuple = [digest: string];
457
+ interface OutputObject {
458
+ digest: string;
459
+ }
460
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
461
+ type Filter = TypedDeferredTopicFilter<Event>;
462
+ type Log = TypedEventLog<Event>;
463
+ type LogDescription = TypedLogDescription<Event>;
464
+ }
465
+ export declare namespace TransferSentEvent {
466
+ type InputTuple = [
467
+ recipient: BytesLike,
468
+ refundAddress: BytesLike,
469
+ amount: BigNumberish,
470
+ fee: BigNumberish,
471
+ recipientChain: BigNumberish,
472
+ msgSequence: BigNumberish
473
+ ];
474
+ type OutputTuple = [
475
+ recipient: string,
476
+ refundAddress: string,
477
+ amount: bigint,
478
+ fee: bigint,
479
+ recipientChain: bigint,
480
+ msgSequence: bigint
481
+ ];
482
+ interface OutputObject {
483
+ recipient: string;
484
+ refundAddress: string;
485
+ amount: bigint;
486
+ fee: bigint;
487
+ recipientChain: bigint;
488
+ msgSequence: bigint;
489
+ }
490
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
491
+ type Filter = TypedDeferredTopicFilter<Event>;
492
+ type Log = TypedEventLog<Event>;
493
+ type LogDescription = TypedLogDescription<Event>;
494
+ }
495
+ export declare namespace UpgradedEvent {
496
+ type InputTuple = [implementation: AddressLike];
497
+ type OutputTuple = [implementation: string];
498
+ interface OutputObject {
499
+ implementation: string;
500
+ }
501
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
502
+ type Filter = TypedDeferredTopicFilter<Event>;
503
+ type Log = TypedEventLog<Event>;
504
+ type LogDescription = TypedLogDescription<Event>;
505
+ }
506
+ export interface NttManager extends BaseContract {
507
+ connect(runner?: ContractRunner | null): NttManager;
508
+ waitForDeployment(): Promise<this>;
509
+ interface: NttManagerInterface;
510
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
511
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
512
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
513
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
514
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
515
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
516
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
517
+ listeners(eventName?: string): Promise<Array<Listener>>;
518
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
519
+ NTT_MANAGER_VERSION: TypedContractMethod<[], [string], "view">;
520
+ attestationReceived: TypedContractMethod<[
521
+ sourceChainId: BigNumberish,
522
+ sourceNttManagerAddress: BytesLike,
523
+ payload: TransceiverStructs.NttManagerMessageStruct
524
+ ], [
525
+ void
526
+ ], "nonpayable">;
527
+ cancelOutboundQueuedTransfer: TypedContractMethod<[
528
+ messageSequence: BigNumberish
529
+ ], [
530
+ void
531
+ ], "nonpayable">;
532
+ chainId: TypedContractMethod<[], [bigint], "view">;
533
+ completeInboundQueuedTransfer: TypedContractMethod<[
534
+ digest: BytesLike
535
+ ], [
536
+ void
537
+ ], "nonpayable">;
538
+ completeOutboundQueuedTransfer: TypedContractMethod<[
539
+ messageSequence: BigNumberish
540
+ ], [
541
+ bigint
542
+ ], "payable">;
543
+ executeMsg: TypedContractMethod<[
544
+ sourceChainId: BigNumberish,
545
+ sourceNttManagerAddress: BytesLike,
546
+ message: TransceiverStructs.NttManagerMessageStruct
547
+ ], [
548
+ void
549
+ ], "nonpayable">;
550
+ getCurrentInboundCapacity: TypedContractMethod<[
551
+ chainId_: BigNumberish
552
+ ], [
553
+ bigint
554
+ ], "view">;
555
+ getCurrentOutboundCapacity: TypedContractMethod<[], [bigint], "view">;
556
+ getInboundLimitParams: TypedContractMethod<[
557
+ chainId_: BigNumberish
558
+ ], [
559
+ IRateLimiter.RateLimitParamsStructOutput
560
+ ], "view">;
561
+ getInboundQueuedTransfer: TypedContractMethod<[
562
+ digest: BytesLike
563
+ ], [
564
+ IRateLimiter.InboundQueuedTransferStructOutput
565
+ ], "view">;
566
+ getMigratesImmutables: TypedContractMethod<[], [boolean], "view">;
567
+ getMode: TypedContractMethod<[], [bigint], "view">;
568
+ getOutboundLimitParams: TypedContractMethod<[
569
+ ], [
570
+ IRateLimiter.RateLimitParamsStructOutput
571
+ ], "view">;
572
+ getOutboundQueuedTransfer: TypedContractMethod<[
573
+ queueSequence: BigNumberish
574
+ ], [
575
+ IRateLimiter.OutboundQueuedTransferStructOutput
576
+ ], "view">;
577
+ getPeer: TypedContractMethod<[
578
+ chainId_: BigNumberish
579
+ ], [
580
+ INttManager.NttManagerPeerStructOutput
581
+ ], "view">;
582
+ getThreshold: TypedContractMethod<[], [bigint], "view">;
583
+ getTransceivers: TypedContractMethod<[], [string[]], "view">;
584
+ initialize: TypedContractMethod<[], [void], "nonpayable">;
585
+ isMessageApproved: TypedContractMethod<[
586
+ digest: BytesLike
587
+ ], [
588
+ boolean
589
+ ], "view">;
590
+ isMessageExecuted: TypedContractMethod<[
591
+ digest: BytesLike
592
+ ], [
593
+ boolean
594
+ ], "view">;
595
+ isPaused: TypedContractMethod<[], [boolean], "view">;
596
+ messageAttestations: TypedContractMethod<[
597
+ digest: BytesLike
598
+ ], [
599
+ bigint
600
+ ], "view">;
601
+ migrate: TypedContractMethod<[], [void], "nonpayable">;
602
+ mode: TypedContractMethod<[], [bigint], "view">;
603
+ nextMessageSequence: TypedContractMethod<[], [bigint], "view">;
604
+ owner: TypedContractMethod<[], [string], "view">;
605
+ pause: TypedContractMethod<[], [void], "nonpayable">;
606
+ pauser: TypedContractMethod<[], [string], "view">;
607
+ quoteDeliveryPrice: TypedContractMethod<[
608
+ recipientChain: BigNumberish,
609
+ transceiverInstructions: BytesLike
610
+ ], [
611
+ [bigint[], bigint]
612
+ ], "view">;
613
+ rateLimitDuration: TypedContractMethod<[], [bigint], "view">;
614
+ removeTransceiver: TypedContractMethod<[
615
+ transceiver: AddressLike
616
+ ], [
617
+ void
618
+ ], "nonpayable">;
619
+ setInboundLimit: TypedContractMethod<[
620
+ limit: BigNumberish,
621
+ chainId_: BigNumberish
622
+ ], [
623
+ void
624
+ ], "nonpayable">;
625
+ setOutboundLimit: TypedContractMethod<[
626
+ limit: BigNumberish
627
+ ], [
628
+ void
629
+ ], "nonpayable">;
630
+ setPeer: TypedContractMethod<[
631
+ peerChainId: BigNumberish,
632
+ peerContract: BytesLike,
633
+ decimals: BigNumberish,
634
+ inboundLimit: BigNumberish
635
+ ], [
636
+ void
637
+ ], "nonpayable">;
638
+ setThreshold: TypedContractMethod<[
639
+ threshold: BigNumberish
640
+ ], [
641
+ void
642
+ ], "nonpayable">;
643
+ setTransceiver: TypedContractMethod<[
644
+ transceiver: AddressLike
645
+ ], [
646
+ void
647
+ ], "nonpayable">;
648
+ token: TypedContractMethod<[], [string], "view">;
649
+ tokenDecimals: TypedContractMethod<[], [bigint], "view">;
650
+ transceiverAttestedToMessage: TypedContractMethod<[
651
+ digest: BytesLike,
652
+ index: BigNumberish
653
+ ], [
654
+ boolean
655
+ ], "view">;
656
+ "transfer(uint256,uint16,bytes32)": TypedContractMethod<[
657
+ amount: BigNumberish,
658
+ recipientChain: BigNumberish,
659
+ recipient: BytesLike
660
+ ], [
661
+ bigint
662
+ ], "payable">;
663
+ "transfer(uint256,uint16,bytes32,bytes32,bool,bytes)": TypedContractMethod<[
664
+ amount: BigNumberish,
665
+ recipientChain: BigNumberish,
666
+ recipient: BytesLike,
667
+ refundAddress: BytesLike,
668
+ shouldQueue: boolean,
669
+ transceiverInstructions: BytesLike
670
+ ], [
671
+ bigint
672
+ ], "payable">;
673
+ transferOwnership: TypedContractMethod<[
674
+ newOwner: AddressLike
675
+ ], [
676
+ void
677
+ ], "nonpayable">;
678
+ transferPauserCapability: TypedContractMethod<[
679
+ newPauser: AddressLike
680
+ ], [
681
+ void
682
+ ], "nonpayable">;
683
+ unpause: TypedContractMethod<[], [void], "nonpayable">;
684
+ upgrade: TypedContractMethod<[
685
+ newImplementation: AddressLike
686
+ ], [
687
+ void
688
+ ], "nonpayable">;
689
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
690
+ getFunction(nameOrSignature: "NTT_MANAGER_VERSION"): TypedContractMethod<[], [string], "view">;
691
+ getFunction(nameOrSignature: "attestationReceived"): TypedContractMethod<[
692
+ sourceChainId: BigNumberish,
693
+ sourceNttManagerAddress: BytesLike,
694
+ payload: TransceiverStructs.NttManagerMessageStruct
695
+ ], [
696
+ void
697
+ ], "nonpayable">;
698
+ getFunction(nameOrSignature: "cancelOutboundQueuedTransfer"): TypedContractMethod<[messageSequence: BigNumberish], [void], "nonpayable">;
699
+ getFunction(nameOrSignature: "chainId"): TypedContractMethod<[], [bigint], "view">;
700
+ getFunction(nameOrSignature: "completeInboundQueuedTransfer"): TypedContractMethod<[digest: BytesLike], [void], "nonpayable">;
701
+ getFunction(nameOrSignature: "completeOutboundQueuedTransfer"): TypedContractMethod<[messageSequence: BigNumberish], [bigint], "payable">;
702
+ getFunction(nameOrSignature: "executeMsg"): TypedContractMethod<[
703
+ sourceChainId: BigNumberish,
704
+ sourceNttManagerAddress: BytesLike,
705
+ message: TransceiverStructs.NttManagerMessageStruct
706
+ ], [
707
+ void
708
+ ], "nonpayable">;
709
+ getFunction(nameOrSignature: "getCurrentInboundCapacity"): TypedContractMethod<[chainId_: BigNumberish], [bigint], "view">;
710
+ getFunction(nameOrSignature: "getCurrentOutboundCapacity"): TypedContractMethod<[], [bigint], "view">;
711
+ getFunction(nameOrSignature: "getInboundLimitParams"): TypedContractMethod<[
712
+ chainId_: BigNumberish
713
+ ], [
714
+ IRateLimiter.RateLimitParamsStructOutput
715
+ ], "view">;
716
+ getFunction(nameOrSignature: "getInboundQueuedTransfer"): TypedContractMethod<[
717
+ digest: BytesLike
718
+ ], [
719
+ IRateLimiter.InboundQueuedTransferStructOutput
720
+ ], "view">;
721
+ getFunction(nameOrSignature: "getMigratesImmutables"): TypedContractMethod<[], [boolean], "view">;
722
+ getFunction(nameOrSignature: "getMode"): TypedContractMethod<[], [bigint], "view">;
723
+ getFunction(nameOrSignature: "getOutboundLimitParams"): TypedContractMethod<[
724
+ ], [
725
+ IRateLimiter.RateLimitParamsStructOutput
726
+ ], "view">;
727
+ getFunction(nameOrSignature: "getOutboundQueuedTransfer"): TypedContractMethod<[
728
+ queueSequence: BigNumberish
729
+ ], [
730
+ IRateLimiter.OutboundQueuedTransferStructOutput
731
+ ], "view">;
732
+ getFunction(nameOrSignature: "getPeer"): TypedContractMethod<[
733
+ chainId_: BigNumberish
734
+ ], [
735
+ INttManager.NttManagerPeerStructOutput
736
+ ], "view">;
737
+ getFunction(nameOrSignature: "getThreshold"): TypedContractMethod<[], [bigint], "view">;
738
+ getFunction(nameOrSignature: "getTransceivers"): TypedContractMethod<[], [string[]], "view">;
739
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[], [void], "nonpayable">;
740
+ getFunction(nameOrSignature: "isMessageApproved"): TypedContractMethod<[digest: BytesLike], [boolean], "view">;
741
+ getFunction(nameOrSignature: "isMessageExecuted"): TypedContractMethod<[digest: BytesLike], [boolean], "view">;
742
+ getFunction(nameOrSignature: "isPaused"): TypedContractMethod<[], [boolean], "view">;
743
+ getFunction(nameOrSignature: "messageAttestations"): TypedContractMethod<[digest: BytesLike], [bigint], "view">;
744
+ getFunction(nameOrSignature: "migrate"): TypedContractMethod<[], [void], "nonpayable">;
745
+ getFunction(nameOrSignature: "mode"): TypedContractMethod<[], [bigint], "view">;
746
+ getFunction(nameOrSignature: "nextMessageSequence"): TypedContractMethod<[], [bigint], "view">;
747
+ getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
748
+ getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
749
+ getFunction(nameOrSignature: "pauser"): TypedContractMethod<[], [string], "view">;
750
+ getFunction(nameOrSignature: "quoteDeliveryPrice"): TypedContractMethod<[
751
+ recipientChain: BigNumberish,
752
+ transceiverInstructions: BytesLike
753
+ ], [
754
+ [bigint[], bigint]
755
+ ], "view">;
756
+ getFunction(nameOrSignature: "rateLimitDuration"): TypedContractMethod<[], [bigint], "view">;
757
+ getFunction(nameOrSignature: "removeTransceiver"): TypedContractMethod<[transceiver: AddressLike], [void], "nonpayable">;
758
+ getFunction(nameOrSignature: "setInboundLimit"): TypedContractMethod<[
759
+ limit: BigNumberish,
760
+ chainId_: BigNumberish
761
+ ], [
762
+ void
763
+ ], "nonpayable">;
764
+ getFunction(nameOrSignature: "setOutboundLimit"): TypedContractMethod<[limit: BigNumberish], [void], "nonpayable">;
765
+ getFunction(nameOrSignature: "setPeer"): TypedContractMethod<[
766
+ peerChainId: BigNumberish,
767
+ peerContract: BytesLike,
768
+ decimals: BigNumberish,
769
+ inboundLimit: BigNumberish
770
+ ], [
771
+ void
772
+ ], "nonpayable">;
773
+ getFunction(nameOrSignature: "setThreshold"): TypedContractMethod<[threshold: BigNumberish], [void], "nonpayable">;
774
+ getFunction(nameOrSignature: "setTransceiver"): TypedContractMethod<[transceiver: AddressLike], [void], "nonpayable">;
775
+ getFunction(nameOrSignature: "token"): TypedContractMethod<[], [string], "view">;
776
+ getFunction(nameOrSignature: "tokenDecimals"): TypedContractMethod<[], [bigint], "view">;
777
+ getFunction(nameOrSignature: "transceiverAttestedToMessage"): TypedContractMethod<[
778
+ digest: BytesLike,
779
+ index: BigNumberish
780
+ ], [
781
+ boolean
782
+ ], "view">;
783
+ getFunction(nameOrSignature: "transfer(uint256,uint16,bytes32)"): TypedContractMethod<[
784
+ amount: BigNumberish,
785
+ recipientChain: BigNumberish,
786
+ recipient: BytesLike
787
+ ], [
788
+ bigint
789
+ ], "payable">;
790
+ getFunction(nameOrSignature: "transfer(uint256,uint16,bytes32,bytes32,bool,bytes)"): TypedContractMethod<[
791
+ amount: BigNumberish,
792
+ recipientChain: BigNumberish,
793
+ recipient: BytesLike,
794
+ refundAddress: BytesLike,
795
+ shouldQueue: boolean,
796
+ transceiverInstructions: BytesLike
797
+ ], [
798
+ bigint
799
+ ], "payable">;
800
+ getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
801
+ getFunction(nameOrSignature: "transferPauserCapability"): TypedContractMethod<[newPauser: AddressLike], [void], "nonpayable">;
802
+ getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
803
+ getFunction(nameOrSignature: "upgrade"): TypedContractMethod<[
804
+ newImplementation: AddressLike
805
+ ], [
806
+ void
807
+ ], "nonpayable">;
808
+ getEvent(key: "AdminChanged"): TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
809
+ getEvent(key: "BeaconUpgraded"): TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
810
+ getEvent(key: "InboundTransferQueued"): TypedContractEvent<InboundTransferQueuedEvent.InputTuple, InboundTransferQueuedEvent.OutputTuple, InboundTransferQueuedEvent.OutputObject>;
811
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
812
+ getEvent(key: "MessageAlreadyExecuted"): TypedContractEvent<MessageAlreadyExecutedEvent.InputTuple, MessageAlreadyExecutedEvent.OutputTuple, MessageAlreadyExecutedEvent.OutputObject>;
813
+ getEvent(key: "MessageAttestedTo"): TypedContractEvent<MessageAttestedToEvent.InputTuple, MessageAttestedToEvent.OutputTuple, MessageAttestedToEvent.OutputObject>;
814
+ getEvent(key: "NotPaused"): TypedContractEvent<NotPausedEvent.InputTuple, NotPausedEvent.OutputTuple, NotPausedEvent.OutputObject>;
815
+ getEvent(key: "OutboundTransferCancelled"): TypedContractEvent<OutboundTransferCancelledEvent.InputTuple, OutboundTransferCancelledEvent.OutputTuple, OutboundTransferCancelledEvent.OutputObject>;
816
+ getEvent(key: "OutboundTransferQueued"): TypedContractEvent<OutboundTransferQueuedEvent.InputTuple, OutboundTransferQueuedEvent.OutputTuple, OutboundTransferQueuedEvent.OutputObject>;
817
+ getEvent(key: "OutboundTransferRateLimited"): TypedContractEvent<OutboundTransferRateLimitedEvent.InputTuple, OutboundTransferRateLimitedEvent.OutputTuple, OutboundTransferRateLimitedEvent.OutputObject>;
818
+ getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
819
+ getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
820
+ getEvent(key: "PauserTransferred"): TypedContractEvent<PauserTransferredEvent.InputTuple, PauserTransferredEvent.OutputTuple, PauserTransferredEvent.OutputObject>;
821
+ getEvent(key: "PeerUpdated"): TypedContractEvent<PeerUpdatedEvent.InputTuple, PeerUpdatedEvent.OutputTuple, PeerUpdatedEvent.OutputObject>;
822
+ getEvent(key: "ThresholdChanged"): TypedContractEvent<ThresholdChangedEvent.InputTuple, ThresholdChangedEvent.OutputTuple, ThresholdChangedEvent.OutputObject>;
823
+ getEvent(key: "TransceiverAdded"): TypedContractEvent<TransceiverAddedEvent.InputTuple, TransceiverAddedEvent.OutputTuple, TransceiverAddedEvent.OutputObject>;
824
+ getEvent(key: "TransceiverRemoved"): TypedContractEvent<TransceiverRemovedEvent.InputTuple, TransceiverRemovedEvent.OutputTuple, TransceiverRemovedEvent.OutputObject>;
825
+ getEvent(key: "TransferRedeemed"): TypedContractEvent<TransferRedeemedEvent.InputTuple, TransferRedeemedEvent.OutputTuple, TransferRedeemedEvent.OutputObject>;
826
+ getEvent(key: "TransferSent"): TypedContractEvent<TransferSentEvent.InputTuple, TransferSentEvent.OutputTuple, TransferSentEvent.OutputObject>;
827
+ getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
828
+ filters: {
829
+ "AdminChanged(address,address)": TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
830
+ AdminChanged: TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
831
+ "BeaconUpgraded(address)": TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
832
+ BeaconUpgraded: TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
833
+ "InboundTransferQueued(bytes32)": TypedContractEvent<InboundTransferQueuedEvent.InputTuple, InboundTransferQueuedEvent.OutputTuple, InboundTransferQueuedEvent.OutputObject>;
834
+ InboundTransferQueued: TypedContractEvent<InboundTransferQueuedEvent.InputTuple, InboundTransferQueuedEvent.OutputTuple, InboundTransferQueuedEvent.OutputObject>;
835
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
836
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
837
+ "MessageAlreadyExecuted(bytes32,bytes32)": TypedContractEvent<MessageAlreadyExecutedEvent.InputTuple, MessageAlreadyExecutedEvent.OutputTuple, MessageAlreadyExecutedEvent.OutputObject>;
838
+ MessageAlreadyExecuted: TypedContractEvent<MessageAlreadyExecutedEvent.InputTuple, MessageAlreadyExecutedEvent.OutputTuple, MessageAlreadyExecutedEvent.OutputObject>;
839
+ "MessageAttestedTo(bytes32,address,uint8)": TypedContractEvent<MessageAttestedToEvent.InputTuple, MessageAttestedToEvent.OutputTuple, MessageAttestedToEvent.OutputObject>;
840
+ MessageAttestedTo: TypedContractEvent<MessageAttestedToEvent.InputTuple, MessageAttestedToEvent.OutputTuple, MessageAttestedToEvent.OutputObject>;
841
+ "NotPaused(bool)": TypedContractEvent<NotPausedEvent.InputTuple, NotPausedEvent.OutputTuple, NotPausedEvent.OutputObject>;
842
+ NotPaused: TypedContractEvent<NotPausedEvent.InputTuple, NotPausedEvent.OutputTuple, NotPausedEvent.OutputObject>;
843
+ "OutboundTransferCancelled(uint256,address,uint256)": TypedContractEvent<OutboundTransferCancelledEvent.InputTuple, OutboundTransferCancelledEvent.OutputTuple, OutboundTransferCancelledEvent.OutputObject>;
844
+ OutboundTransferCancelled: TypedContractEvent<OutboundTransferCancelledEvent.InputTuple, OutboundTransferCancelledEvent.OutputTuple, OutboundTransferCancelledEvent.OutputObject>;
845
+ "OutboundTransferQueued(uint64)": TypedContractEvent<OutboundTransferQueuedEvent.InputTuple, OutboundTransferQueuedEvent.OutputTuple, OutboundTransferQueuedEvent.OutputObject>;
846
+ OutboundTransferQueued: TypedContractEvent<OutboundTransferQueuedEvent.InputTuple, OutboundTransferQueuedEvent.OutputTuple, OutboundTransferQueuedEvent.OutputObject>;
847
+ "OutboundTransferRateLimited(address,uint64,uint256,uint256)": TypedContractEvent<OutboundTransferRateLimitedEvent.InputTuple, OutboundTransferRateLimitedEvent.OutputTuple, OutboundTransferRateLimitedEvent.OutputObject>;
848
+ OutboundTransferRateLimited: TypedContractEvent<OutboundTransferRateLimitedEvent.InputTuple, OutboundTransferRateLimitedEvent.OutputTuple, OutboundTransferRateLimitedEvent.OutputObject>;
849
+ "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
850
+ OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
851
+ "Paused(bool)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
852
+ Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
853
+ "PauserTransferred(address,address)": TypedContractEvent<PauserTransferredEvent.InputTuple, PauserTransferredEvent.OutputTuple, PauserTransferredEvent.OutputObject>;
854
+ PauserTransferred: TypedContractEvent<PauserTransferredEvent.InputTuple, PauserTransferredEvent.OutputTuple, PauserTransferredEvent.OutputObject>;
855
+ "PeerUpdated(uint16,bytes32,uint8,bytes32,uint8)": TypedContractEvent<PeerUpdatedEvent.InputTuple, PeerUpdatedEvent.OutputTuple, PeerUpdatedEvent.OutputObject>;
856
+ PeerUpdated: TypedContractEvent<PeerUpdatedEvent.InputTuple, PeerUpdatedEvent.OutputTuple, PeerUpdatedEvent.OutputObject>;
857
+ "ThresholdChanged(uint8,uint8)": TypedContractEvent<ThresholdChangedEvent.InputTuple, ThresholdChangedEvent.OutputTuple, ThresholdChangedEvent.OutputObject>;
858
+ ThresholdChanged: TypedContractEvent<ThresholdChangedEvent.InputTuple, ThresholdChangedEvent.OutputTuple, ThresholdChangedEvent.OutputObject>;
859
+ "TransceiverAdded(address,uint256,uint8)": TypedContractEvent<TransceiverAddedEvent.InputTuple, TransceiverAddedEvent.OutputTuple, TransceiverAddedEvent.OutputObject>;
860
+ TransceiverAdded: TypedContractEvent<TransceiverAddedEvent.InputTuple, TransceiverAddedEvent.OutputTuple, TransceiverAddedEvent.OutputObject>;
861
+ "TransceiverRemoved(address,uint8)": TypedContractEvent<TransceiverRemovedEvent.InputTuple, TransceiverRemovedEvent.OutputTuple, TransceiverRemovedEvent.OutputObject>;
862
+ TransceiverRemoved: TypedContractEvent<TransceiverRemovedEvent.InputTuple, TransceiverRemovedEvent.OutputTuple, TransceiverRemovedEvent.OutputObject>;
863
+ "TransferRedeemed(bytes32)": TypedContractEvent<TransferRedeemedEvent.InputTuple, TransferRedeemedEvent.OutputTuple, TransferRedeemedEvent.OutputObject>;
864
+ TransferRedeemed: TypedContractEvent<TransferRedeemedEvent.InputTuple, TransferRedeemedEvent.OutputTuple, TransferRedeemedEvent.OutputObject>;
865
+ "TransferSent(bytes32,bytes32,uint256,uint256,uint16,uint64)": TypedContractEvent<TransferSentEvent.InputTuple, TransferSentEvent.OutputTuple, TransferSentEvent.OutputObject>;
866
+ TransferSent: TypedContractEvent<TransferSentEvent.InputTuple, TransferSentEvent.OutputTuple, TransferSentEvent.OutputObject>;
867
+ "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
868
+ Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
869
+ };
870
+ }
871
+ //# sourceMappingURL=NttManager.d.ts.map