@wormhole-foundation/sdk-evm-ntt 4.0.9 → 4.0.11

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