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