@wormhole-foundation/sdk-evm-ntt 0.5.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/cjs/ethers-contracts/NttManager.d.ts +837 -0
- package/dist/cjs/ethers-contracts/NttManager.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/NttManager.js +3 -0
- package/dist/cjs/ethers-contracts/NttManager.js.map +1 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.d.ts +606 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.js +3 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.js.map +1 -0
- package/dist/cjs/ethers-contracts/common.d.ts +51 -0
- package/dist/cjs/ethers-contracts/common.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/common.js +3 -0
- package/dist/cjs/ethers-contracts/common.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.d.ts +1358 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.js +1787 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.d.ts +962 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.js +1272 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/index.d.ts +3 -0
- package/dist/cjs/ethers-contracts/factories/index.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/index.js +11 -0
- package/dist/cjs/ethers-contracts/factories/index.js.map +1 -0
- package/dist/cjs/ethers-contracts/index.d.ts +4 -0
- package/dist/cjs/ethers-contracts/index.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/index.js +28 -0
- package/dist/cjs/ethers-contracts/index.js.map +1 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +36 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/ntt.d.ts +47 -0
- package/dist/cjs/ntt.d.ts.map +1 -0
- package/dist/cjs/ntt.js +148 -0
- package/dist/cjs/ntt.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/ethers-contracts/NttManager.d.ts +837 -0
- package/dist/esm/ethers-contracts/NttManager.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/NttManager.js +2 -0
- package/dist/esm/ethers-contracts/NttManager.js.map +1 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.d.ts +606 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.js +2 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.js.map +1 -0
- package/dist/esm/ethers-contracts/common.d.ts +51 -0
- package/dist/esm/ethers-contracts/common.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/common.js +2 -0
- package/dist/esm/ethers-contracts/common.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.d.ts +1358 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.js +1783 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.d.ts +962 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.js +1268 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/index.d.ts +3 -0
- package/dist/esm/ethers-contracts/factories/index.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/index.js +6 -0
- package/dist/esm/ethers-contracts/factories/index.js.map +1 -0
- package/dist/esm/ethers-contracts/index.d.ts +4 -0
- package/dist/esm/ethers-contracts/index.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/index.js +2 -0
- package/dist/esm/ethers-contracts/index.js.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/ntt.d.ts +47 -0
- package/dist/esm/ntt.d.ts.map +1 -0
- package/dist/esm/ntt.js +142 -0
- package/dist/esm/ntt.js.map +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1,606 @@
|
|
|
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 TransceiverMessageStruct = {
|
|
5
|
+
sourceNttManagerAddress: BytesLike;
|
|
6
|
+
recipientNttManagerAddress: BytesLike;
|
|
7
|
+
nttManagerPayload: BytesLike;
|
|
8
|
+
transceiverPayload: BytesLike;
|
|
9
|
+
};
|
|
10
|
+
type TransceiverMessageStructOutput = [
|
|
11
|
+
sourceNttManagerAddress: string,
|
|
12
|
+
recipientNttManagerAddress: string,
|
|
13
|
+
nttManagerPayload: string,
|
|
14
|
+
transceiverPayload: string
|
|
15
|
+
] & {
|
|
16
|
+
sourceNttManagerAddress: string;
|
|
17
|
+
recipientNttManagerAddress: string;
|
|
18
|
+
nttManagerPayload: string;
|
|
19
|
+
transceiverPayload: string;
|
|
20
|
+
};
|
|
21
|
+
type TransceiverInstructionStruct = {
|
|
22
|
+
index: BigNumberish;
|
|
23
|
+
payload: BytesLike;
|
|
24
|
+
};
|
|
25
|
+
type TransceiverInstructionStructOutput = [
|
|
26
|
+
index: bigint,
|
|
27
|
+
payload: string
|
|
28
|
+
] & {
|
|
29
|
+
index: bigint;
|
|
30
|
+
payload: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export declare namespace IWormholeTransceiver {
|
|
34
|
+
type WormholeTransceiverInstructionStruct = {
|
|
35
|
+
shouldSkipRelayerSend: boolean;
|
|
36
|
+
};
|
|
37
|
+
type WormholeTransceiverInstructionStructOutput = [
|
|
38
|
+
shouldSkipRelayerSend: boolean
|
|
39
|
+
] & {
|
|
40
|
+
shouldSkipRelayerSend: boolean;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface WormholeTransceiverInterface extends Interface {
|
|
44
|
+
getFunction(nameOrSignature: 'consistencyLevel' | 'encodeWormholeTransceiverInstruction' | 'gasLimit' | 'getMigratesImmutables' | 'getNttManagerOwner' | 'getNttManagerToken' | 'getWormholePeer' | 'initialize' | 'isPaused' | 'isSpecialRelayingEnabled' | 'isVAAConsumed' | 'isWormholeEvmChain' | 'isWormholeRelayingEnabled' | 'migrate' | 'nttManager' | 'nttManagerToken' | 'owner' | 'parseWormholeTransceiverInstruction' | 'pauser' | 'quoteDeliveryPrice' | 'receiveMessage' | 'receiveWormholeMessages' | 'sendMessage' | 'setIsSpecialRelayingEnabled' | 'setIsWormholeEvmChain' | 'setIsWormholeRelayingEnabled' | 'setWormholePeer' | 'specialRelayer' | 'transferOwnership' | 'transferPauserCapability' | 'transferTransceiverOwnership' | 'upgrade' | 'wormhole' | 'wormholeRelayer'): FunctionFragment;
|
|
45
|
+
getEvent(nameOrSignatureOrTopic: 'AdminChanged' | 'BeaconUpgraded' | 'Initialized' | 'NotPaused' | 'OwnershipTransferred' | 'Paused' | 'PauserTransferred' | 'ReceivedMessage' | 'ReceivedRelayedMessage' | 'RelayingInfo' | 'SendTransceiverMessage' | 'SetIsSpecialRelayingEnabled' | 'SetIsWormholeEvmChain' | 'SetIsWormholeRelayingEnabled' | 'SetWormholePeer' | 'Upgraded'): EventFragment;
|
|
46
|
+
encodeFunctionData(functionFragment: 'consistencyLevel', values?: undefined): string;
|
|
47
|
+
encodeFunctionData(functionFragment: 'encodeWormholeTransceiverInstruction', values: [IWormholeTransceiver.WormholeTransceiverInstructionStruct]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: 'gasLimit', values?: undefined): string;
|
|
49
|
+
encodeFunctionData(functionFragment: 'getMigratesImmutables', values?: undefined): string;
|
|
50
|
+
encodeFunctionData(functionFragment: 'getNttManagerOwner', values?: undefined): string;
|
|
51
|
+
encodeFunctionData(functionFragment: 'getNttManagerToken', values?: undefined): string;
|
|
52
|
+
encodeFunctionData(functionFragment: 'getWormholePeer', values: [BigNumberish]): string;
|
|
53
|
+
encodeFunctionData(functionFragment: 'initialize', values?: undefined): string;
|
|
54
|
+
encodeFunctionData(functionFragment: 'isPaused', values?: undefined): string;
|
|
55
|
+
encodeFunctionData(functionFragment: 'isSpecialRelayingEnabled', values: [BigNumberish]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: 'isVAAConsumed', values: [BytesLike]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: 'isWormholeEvmChain', values: [BigNumberish]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: 'isWormholeRelayingEnabled', values: [BigNumberish]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: 'migrate', values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: 'nttManager', values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: 'nttManagerToken', values?: undefined): string;
|
|
62
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
63
|
+
encodeFunctionData(functionFragment: 'parseWormholeTransceiverInstruction', values: [BytesLike]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: 'pauser', values?: undefined): string;
|
|
65
|
+
encodeFunctionData(functionFragment: 'quoteDeliveryPrice', values: [BigNumberish, TransceiverStructs.TransceiverInstructionStruct]): string;
|
|
66
|
+
encodeFunctionData(functionFragment: 'receiveMessage', values: [BytesLike]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: 'receiveWormholeMessages', values: [BytesLike, BytesLike[], BytesLike, BigNumberish, BytesLike]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: 'sendMessage', values: [
|
|
69
|
+
BigNumberish,
|
|
70
|
+
TransceiverStructs.TransceiverInstructionStruct,
|
|
71
|
+
BytesLike,
|
|
72
|
+
BytesLike
|
|
73
|
+
]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: 'setIsSpecialRelayingEnabled', values: [BigNumberish, boolean]): string;
|
|
75
|
+
encodeFunctionData(functionFragment: 'setIsWormholeEvmChain', values: [BigNumberish, boolean]): string;
|
|
76
|
+
encodeFunctionData(functionFragment: 'setIsWormholeRelayingEnabled', values: [BigNumberish, boolean]): string;
|
|
77
|
+
encodeFunctionData(functionFragment: 'setWormholePeer', values: [BigNumberish, BytesLike]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: 'specialRelayer', values?: undefined): string;
|
|
79
|
+
encodeFunctionData(functionFragment: 'transferOwnership', values: [AddressLike]): string;
|
|
80
|
+
encodeFunctionData(functionFragment: 'transferPauserCapability', values: [AddressLike]): string;
|
|
81
|
+
encodeFunctionData(functionFragment: 'transferTransceiverOwnership', values: [AddressLike]): string;
|
|
82
|
+
encodeFunctionData(functionFragment: 'upgrade', values: [AddressLike]): string;
|
|
83
|
+
encodeFunctionData(functionFragment: 'wormhole', values?: undefined): string;
|
|
84
|
+
encodeFunctionData(functionFragment: 'wormholeRelayer', values?: undefined): string;
|
|
85
|
+
decodeFunctionResult(functionFragment: 'consistencyLevel', data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: 'encodeWormholeTransceiverInstruction', data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: 'gasLimit', data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: 'getMigratesImmutables', data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: 'getNttManagerOwner', data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: 'getNttManagerToken', data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: 'getWormholePeer', data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: 'isPaused', data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: 'isSpecialRelayingEnabled', data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: 'isVAAConsumed', data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: 'isWormholeEvmChain', data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: 'isWormholeRelayingEnabled', data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: 'migrate', data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: 'nttManager', data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: 'nttManagerToken', data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: 'parseWormholeTransceiverInstruction', data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: 'pauser', data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: 'quoteDeliveryPrice', data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: 'receiveMessage', data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: 'receiveWormholeMessages', data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: 'sendMessage', data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: 'setIsSpecialRelayingEnabled', data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: 'setIsWormholeEvmChain', data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: 'setIsWormholeRelayingEnabled', data: BytesLike): Result;
|
|
111
|
+
decodeFunctionResult(functionFragment: 'setWormholePeer', data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: 'specialRelayer', data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: 'transferPauserCapability', data: BytesLike): Result;
|
|
115
|
+
decodeFunctionResult(functionFragment: 'transferTransceiverOwnership', data: BytesLike): Result;
|
|
116
|
+
decodeFunctionResult(functionFragment: 'upgrade', data: BytesLike): Result;
|
|
117
|
+
decodeFunctionResult(functionFragment: 'wormhole', data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: 'wormholeRelayer', data: BytesLike): Result;
|
|
119
|
+
}
|
|
120
|
+
export declare namespace AdminChangedEvent {
|
|
121
|
+
type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike];
|
|
122
|
+
type OutputTuple = [previousAdmin: string, newAdmin: string];
|
|
123
|
+
interface OutputObject {
|
|
124
|
+
previousAdmin: string;
|
|
125
|
+
newAdmin: string;
|
|
126
|
+
}
|
|
127
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
128
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
129
|
+
type Log = TypedEventLog<Event>;
|
|
130
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace BeaconUpgradedEvent {
|
|
133
|
+
type InputTuple = [beacon: AddressLike];
|
|
134
|
+
type OutputTuple = [beacon: string];
|
|
135
|
+
interface OutputObject {
|
|
136
|
+
beacon: string;
|
|
137
|
+
}
|
|
138
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
139
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
140
|
+
type Log = TypedEventLog<Event>;
|
|
141
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace InitializedEvent {
|
|
144
|
+
type InputTuple = [version: BigNumberish];
|
|
145
|
+
type OutputTuple = [version: bigint];
|
|
146
|
+
interface OutputObject {
|
|
147
|
+
version: bigint;
|
|
148
|
+
}
|
|
149
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
150
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
151
|
+
type Log = TypedEventLog<Event>;
|
|
152
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace NotPausedEvent {
|
|
155
|
+
type InputTuple = [notPaused: boolean];
|
|
156
|
+
type OutputTuple = [notPaused: boolean];
|
|
157
|
+
interface OutputObject {
|
|
158
|
+
notPaused: boolean;
|
|
159
|
+
}
|
|
160
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
161
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
162
|
+
type Log = TypedEventLog<Event>;
|
|
163
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
164
|
+
}
|
|
165
|
+
export declare namespace OwnershipTransferredEvent {
|
|
166
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
167
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
168
|
+
interface OutputObject {
|
|
169
|
+
previousOwner: string;
|
|
170
|
+
newOwner: string;
|
|
171
|
+
}
|
|
172
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
173
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
174
|
+
type Log = TypedEventLog<Event>;
|
|
175
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
176
|
+
}
|
|
177
|
+
export declare namespace PausedEvent {
|
|
178
|
+
type InputTuple = [paused: boolean];
|
|
179
|
+
type OutputTuple = [paused: boolean];
|
|
180
|
+
interface OutputObject {
|
|
181
|
+
paused: boolean;
|
|
182
|
+
}
|
|
183
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
184
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
185
|
+
type Log = TypedEventLog<Event>;
|
|
186
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
187
|
+
}
|
|
188
|
+
export declare namespace PauserTransferredEvent {
|
|
189
|
+
type InputTuple = [oldPauser: AddressLike, newPauser: AddressLike];
|
|
190
|
+
type OutputTuple = [oldPauser: string, newPauser: string];
|
|
191
|
+
interface OutputObject {
|
|
192
|
+
oldPauser: string;
|
|
193
|
+
newPauser: string;
|
|
194
|
+
}
|
|
195
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
196
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
197
|
+
type Log = TypedEventLog<Event>;
|
|
198
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace ReceivedMessageEvent {
|
|
201
|
+
type InputTuple = [
|
|
202
|
+
digest: BytesLike,
|
|
203
|
+
emitterChainId: BigNumberish,
|
|
204
|
+
emitterAddress: BytesLike,
|
|
205
|
+
sequence: BigNumberish
|
|
206
|
+
];
|
|
207
|
+
type OutputTuple = [
|
|
208
|
+
digest: string,
|
|
209
|
+
emitterChainId: bigint,
|
|
210
|
+
emitterAddress: string,
|
|
211
|
+
sequence: bigint
|
|
212
|
+
];
|
|
213
|
+
interface OutputObject {
|
|
214
|
+
digest: string;
|
|
215
|
+
emitterChainId: bigint;
|
|
216
|
+
emitterAddress: string;
|
|
217
|
+
sequence: 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 ReceivedRelayedMessageEvent {
|
|
225
|
+
type InputTuple = [
|
|
226
|
+
digest: BytesLike,
|
|
227
|
+
emitterChainId: BigNumberish,
|
|
228
|
+
emitterAddress: BytesLike
|
|
229
|
+
];
|
|
230
|
+
type OutputTuple = [
|
|
231
|
+
digest: string,
|
|
232
|
+
emitterChainId: bigint,
|
|
233
|
+
emitterAddress: string
|
|
234
|
+
];
|
|
235
|
+
interface OutputObject {
|
|
236
|
+
digest: string;
|
|
237
|
+
emitterChainId: bigint;
|
|
238
|
+
emitterAddress: string;
|
|
239
|
+
}
|
|
240
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
241
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
242
|
+
type Log = TypedEventLog<Event>;
|
|
243
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
244
|
+
}
|
|
245
|
+
export declare namespace RelayingInfoEvent {
|
|
246
|
+
type InputTuple = [
|
|
247
|
+
relayingType: BigNumberish,
|
|
248
|
+
deliveryPayment: BigNumberish
|
|
249
|
+
];
|
|
250
|
+
type OutputTuple = [relayingType: bigint, deliveryPayment: bigint];
|
|
251
|
+
interface OutputObject {
|
|
252
|
+
relayingType: bigint;
|
|
253
|
+
deliveryPayment: bigint;
|
|
254
|
+
}
|
|
255
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
256
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
257
|
+
type Log = TypedEventLog<Event>;
|
|
258
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
259
|
+
}
|
|
260
|
+
export declare namespace SendTransceiverMessageEvent {
|
|
261
|
+
type InputTuple = [
|
|
262
|
+
recipientChain: BigNumberish,
|
|
263
|
+
message: TransceiverStructs.TransceiverMessageStruct
|
|
264
|
+
];
|
|
265
|
+
type OutputTuple = [
|
|
266
|
+
recipientChain: bigint,
|
|
267
|
+
message: TransceiverStructs.TransceiverMessageStructOutput
|
|
268
|
+
];
|
|
269
|
+
interface OutputObject {
|
|
270
|
+
recipientChain: bigint;
|
|
271
|
+
message: TransceiverStructs.TransceiverMessageStructOutput;
|
|
272
|
+
}
|
|
273
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
274
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
275
|
+
type Log = TypedEventLog<Event>;
|
|
276
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
277
|
+
}
|
|
278
|
+
export declare namespace SetIsSpecialRelayingEnabledEvent {
|
|
279
|
+
type InputTuple = [chainId: BigNumberish, isRelayingEnabled: boolean];
|
|
280
|
+
type OutputTuple = [chainId: bigint, isRelayingEnabled: boolean];
|
|
281
|
+
interface OutputObject {
|
|
282
|
+
chainId: bigint;
|
|
283
|
+
isRelayingEnabled: boolean;
|
|
284
|
+
}
|
|
285
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
286
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
287
|
+
type Log = TypedEventLog<Event>;
|
|
288
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
289
|
+
}
|
|
290
|
+
export declare namespace SetIsWormholeEvmChainEvent {
|
|
291
|
+
type InputTuple = [chainId: BigNumberish, isEvm: boolean];
|
|
292
|
+
type OutputTuple = [chainId: bigint, isEvm: boolean];
|
|
293
|
+
interface OutputObject {
|
|
294
|
+
chainId: bigint;
|
|
295
|
+
isEvm: boolean;
|
|
296
|
+
}
|
|
297
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
298
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
299
|
+
type Log = TypedEventLog<Event>;
|
|
300
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
301
|
+
}
|
|
302
|
+
export declare namespace SetIsWormholeRelayingEnabledEvent {
|
|
303
|
+
type InputTuple = [chainId: BigNumberish, isRelayingEnabled: boolean];
|
|
304
|
+
type OutputTuple = [chainId: bigint, isRelayingEnabled: boolean];
|
|
305
|
+
interface OutputObject {
|
|
306
|
+
chainId: bigint;
|
|
307
|
+
isRelayingEnabled: boolean;
|
|
308
|
+
}
|
|
309
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
310
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
311
|
+
type Log = TypedEventLog<Event>;
|
|
312
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
313
|
+
}
|
|
314
|
+
export declare namespace SetWormholePeerEvent {
|
|
315
|
+
type InputTuple = [chainId: BigNumberish, peerContract: BytesLike];
|
|
316
|
+
type OutputTuple = [chainId: bigint, peerContract: string];
|
|
317
|
+
interface OutputObject {
|
|
318
|
+
chainId: bigint;
|
|
319
|
+
peerContract: string;
|
|
320
|
+
}
|
|
321
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
322
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
323
|
+
type Log = TypedEventLog<Event>;
|
|
324
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
325
|
+
}
|
|
326
|
+
export declare namespace UpgradedEvent {
|
|
327
|
+
type InputTuple = [implementation: AddressLike];
|
|
328
|
+
type OutputTuple = [implementation: string];
|
|
329
|
+
interface OutputObject {
|
|
330
|
+
implementation: string;
|
|
331
|
+
}
|
|
332
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
333
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
334
|
+
type Log = TypedEventLog<Event>;
|
|
335
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
336
|
+
}
|
|
337
|
+
export interface WormholeTransceiver extends BaseContract {
|
|
338
|
+
connect(runner?: ContractRunner | null): WormholeTransceiver;
|
|
339
|
+
waitForDeployment(): Promise<this>;
|
|
340
|
+
interface: WormholeTransceiverInterface;
|
|
341
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
342
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
343
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
344
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
345
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
346
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
347
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
348
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
349
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
350
|
+
consistencyLevel: TypedContractMethod<[], [bigint], 'view'>;
|
|
351
|
+
encodeWormholeTransceiverInstruction: TypedContractMethod<[
|
|
352
|
+
instruction: IWormholeTransceiver.WormholeTransceiverInstructionStruct
|
|
353
|
+
], [
|
|
354
|
+
string
|
|
355
|
+
], 'view'>;
|
|
356
|
+
gasLimit: TypedContractMethod<[], [bigint], 'view'>;
|
|
357
|
+
getMigratesImmutables: TypedContractMethod<[], [boolean], 'view'>;
|
|
358
|
+
getNttManagerOwner: TypedContractMethod<[], [string], 'view'>;
|
|
359
|
+
getNttManagerToken: TypedContractMethod<[], [string], 'view'>;
|
|
360
|
+
getWormholePeer: TypedContractMethod<[
|
|
361
|
+
chainId: BigNumberish
|
|
362
|
+
], [
|
|
363
|
+
string
|
|
364
|
+
], 'view'>;
|
|
365
|
+
initialize: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
366
|
+
isPaused: TypedContractMethod<[], [boolean], 'view'>;
|
|
367
|
+
isSpecialRelayingEnabled: TypedContractMethod<[
|
|
368
|
+
chainId: BigNumberish
|
|
369
|
+
], [
|
|
370
|
+
boolean
|
|
371
|
+
], 'view'>;
|
|
372
|
+
isVAAConsumed: TypedContractMethod<[hash: BytesLike], [boolean], 'view'>;
|
|
373
|
+
isWormholeEvmChain: TypedContractMethod<[
|
|
374
|
+
chainId: BigNumberish
|
|
375
|
+
], [
|
|
376
|
+
boolean
|
|
377
|
+
], 'view'>;
|
|
378
|
+
isWormholeRelayingEnabled: TypedContractMethod<[
|
|
379
|
+
chainId: BigNumberish
|
|
380
|
+
], [
|
|
381
|
+
boolean
|
|
382
|
+
], 'view'>;
|
|
383
|
+
migrate: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
384
|
+
nttManager: TypedContractMethod<[], [string], 'view'>;
|
|
385
|
+
nttManagerToken: TypedContractMethod<[], [string], 'view'>;
|
|
386
|
+
owner: TypedContractMethod<[], [string], 'view'>;
|
|
387
|
+
parseWormholeTransceiverInstruction: TypedContractMethod<[
|
|
388
|
+
encoded: BytesLike
|
|
389
|
+
], [
|
|
390
|
+
IWormholeTransceiver.WormholeTransceiverInstructionStructOutput
|
|
391
|
+
], 'view'>;
|
|
392
|
+
pauser: TypedContractMethod<[], [string], 'view'>;
|
|
393
|
+
quoteDeliveryPrice: TypedContractMethod<[
|
|
394
|
+
targetChain: BigNumberish,
|
|
395
|
+
instruction: TransceiverStructs.TransceiverInstructionStruct
|
|
396
|
+
], [
|
|
397
|
+
bigint
|
|
398
|
+
], 'view'>;
|
|
399
|
+
receiveMessage: TypedContractMethod<[
|
|
400
|
+
encodedMessage: BytesLike
|
|
401
|
+
], [
|
|
402
|
+
void
|
|
403
|
+
], 'nonpayable'>;
|
|
404
|
+
receiveWormholeMessages: TypedContractMethod<[
|
|
405
|
+
payload: BytesLike,
|
|
406
|
+
additionalMessages: BytesLike[],
|
|
407
|
+
sourceAddress: BytesLike,
|
|
408
|
+
sourceChain: BigNumberish,
|
|
409
|
+
deliveryHash: BytesLike
|
|
410
|
+
], [
|
|
411
|
+
void
|
|
412
|
+
], 'payable'>;
|
|
413
|
+
sendMessage: TypedContractMethod<[
|
|
414
|
+
recipientChain: BigNumberish,
|
|
415
|
+
instruction: TransceiverStructs.TransceiverInstructionStruct,
|
|
416
|
+
nttManagerMessage: BytesLike,
|
|
417
|
+
recipientNttManagerAddress: BytesLike
|
|
418
|
+
], [
|
|
419
|
+
void
|
|
420
|
+
], 'payable'>;
|
|
421
|
+
setIsSpecialRelayingEnabled: TypedContractMethod<[
|
|
422
|
+
chainId: BigNumberish,
|
|
423
|
+
isEnabled: boolean
|
|
424
|
+
], [
|
|
425
|
+
void
|
|
426
|
+
], 'nonpayable'>;
|
|
427
|
+
setIsWormholeEvmChain: TypedContractMethod<[
|
|
428
|
+
chainId: BigNumberish,
|
|
429
|
+
isEvm: boolean
|
|
430
|
+
], [
|
|
431
|
+
void
|
|
432
|
+
], 'nonpayable'>;
|
|
433
|
+
setIsWormholeRelayingEnabled: TypedContractMethod<[
|
|
434
|
+
chainId: BigNumberish,
|
|
435
|
+
isEnabled: boolean
|
|
436
|
+
], [
|
|
437
|
+
void
|
|
438
|
+
], 'nonpayable'>;
|
|
439
|
+
setWormholePeer: TypedContractMethod<[
|
|
440
|
+
peerChainId: BigNumberish,
|
|
441
|
+
peerContract: BytesLike
|
|
442
|
+
], [
|
|
443
|
+
void
|
|
444
|
+
], 'nonpayable'>;
|
|
445
|
+
specialRelayer: TypedContractMethod<[], [string], 'view'>;
|
|
446
|
+
transferOwnership: TypedContractMethod<[
|
|
447
|
+
newOwner: AddressLike
|
|
448
|
+
], [
|
|
449
|
+
void
|
|
450
|
+
], 'nonpayable'>;
|
|
451
|
+
transferPauserCapability: TypedContractMethod<[
|
|
452
|
+
newPauser: AddressLike
|
|
453
|
+
], [
|
|
454
|
+
void
|
|
455
|
+
], 'nonpayable'>;
|
|
456
|
+
transferTransceiverOwnership: TypedContractMethod<[
|
|
457
|
+
newOwner: AddressLike
|
|
458
|
+
], [
|
|
459
|
+
void
|
|
460
|
+
], 'nonpayable'>;
|
|
461
|
+
upgrade: TypedContractMethod<[
|
|
462
|
+
newImplementation: AddressLike
|
|
463
|
+
], [
|
|
464
|
+
void
|
|
465
|
+
], 'nonpayable'>;
|
|
466
|
+
wormhole: TypedContractMethod<[], [string], 'view'>;
|
|
467
|
+
wormholeRelayer: TypedContractMethod<[], [string], 'view'>;
|
|
468
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
469
|
+
getFunction(nameOrSignature: 'consistencyLevel'): TypedContractMethod<[], [bigint], 'view'>;
|
|
470
|
+
getFunction(nameOrSignature: 'encodeWormholeTransceiverInstruction'): TypedContractMethod<[
|
|
471
|
+
instruction: IWormholeTransceiver.WormholeTransceiverInstructionStruct
|
|
472
|
+
], [
|
|
473
|
+
string
|
|
474
|
+
], 'view'>;
|
|
475
|
+
getFunction(nameOrSignature: 'gasLimit'): TypedContractMethod<[], [bigint], 'view'>;
|
|
476
|
+
getFunction(nameOrSignature: 'getMigratesImmutables'): TypedContractMethod<[], [boolean], 'view'>;
|
|
477
|
+
getFunction(nameOrSignature: 'getNttManagerOwner'): TypedContractMethod<[], [string], 'view'>;
|
|
478
|
+
getFunction(nameOrSignature: 'getNttManagerToken'): TypedContractMethod<[], [string], 'view'>;
|
|
479
|
+
getFunction(nameOrSignature: 'getWormholePeer'): TypedContractMethod<[chainId: BigNumberish], [string], 'view'>;
|
|
480
|
+
getFunction(nameOrSignature: 'initialize'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
481
|
+
getFunction(nameOrSignature: 'isPaused'): TypedContractMethod<[], [boolean], 'view'>;
|
|
482
|
+
getFunction(nameOrSignature: 'isSpecialRelayingEnabled'): TypedContractMethod<[chainId: BigNumberish], [boolean], 'view'>;
|
|
483
|
+
getFunction(nameOrSignature: 'isVAAConsumed'): TypedContractMethod<[hash: BytesLike], [boolean], 'view'>;
|
|
484
|
+
getFunction(nameOrSignature: 'isWormholeEvmChain'): TypedContractMethod<[chainId: BigNumberish], [boolean], 'view'>;
|
|
485
|
+
getFunction(nameOrSignature: 'isWormholeRelayingEnabled'): TypedContractMethod<[chainId: BigNumberish], [boolean], 'view'>;
|
|
486
|
+
getFunction(nameOrSignature: 'migrate'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
487
|
+
getFunction(nameOrSignature: 'nttManager'): TypedContractMethod<[], [string], 'view'>;
|
|
488
|
+
getFunction(nameOrSignature: 'nttManagerToken'): TypedContractMethod<[], [string], 'view'>;
|
|
489
|
+
getFunction(nameOrSignature: 'owner'): TypedContractMethod<[], [string], 'view'>;
|
|
490
|
+
getFunction(nameOrSignature: 'parseWormholeTransceiverInstruction'): TypedContractMethod<[
|
|
491
|
+
encoded: BytesLike
|
|
492
|
+
], [
|
|
493
|
+
IWormholeTransceiver.WormholeTransceiverInstructionStructOutput
|
|
494
|
+
], 'view'>;
|
|
495
|
+
getFunction(nameOrSignature: 'pauser'): TypedContractMethod<[], [string], 'view'>;
|
|
496
|
+
getFunction(nameOrSignature: 'quoteDeliveryPrice'): TypedContractMethod<[
|
|
497
|
+
targetChain: BigNumberish,
|
|
498
|
+
instruction: TransceiverStructs.TransceiverInstructionStruct
|
|
499
|
+
], [
|
|
500
|
+
bigint
|
|
501
|
+
], 'view'>;
|
|
502
|
+
getFunction(nameOrSignature: 'receiveMessage'): TypedContractMethod<[encodedMessage: BytesLike], [void], 'nonpayable'>;
|
|
503
|
+
getFunction(nameOrSignature: 'receiveWormholeMessages'): TypedContractMethod<[
|
|
504
|
+
payload: BytesLike,
|
|
505
|
+
additionalMessages: BytesLike[],
|
|
506
|
+
sourceAddress: BytesLike,
|
|
507
|
+
sourceChain: BigNumberish,
|
|
508
|
+
deliveryHash: BytesLike
|
|
509
|
+
], [
|
|
510
|
+
void
|
|
511
|
+
], 'payable'>;
|
|
512
|
+
getFunction(nameOrSignature: 'sendMessage'): TypedContractMethod<[
|
|
513
|
+
recipientChain: BigNumberish,
|
|
514
|
+
instruction: TransceiverStructs.TransceiverInstructionStruct,
|
|
515
|
+
nttManagerMessage: BytesLike,
|
|
516
|
+
recipientNttManagerAddress: BytesLike
|
|
517
|
+
], [
|
|
518
|
+
void
|
|
519
|
+
], 'payable'>;
|
|
520
|
+
getFunction(nameOrSignature: 'setIsSpecialRelayingEnabled'): TypedContractMethod<[
|
|
521
|
+
chainId: BigNumberish,
|
|
522
|
+
isEnabled: boolean
|
|
523
|
+
], [
|
|
524
|
+
void
|
|
525
|
+
], 'nonpayable'>;
|
|
526
|
+
getFunction(nameOrSignature: 'setIsWormholeEvmChain'): TypedContractMethod<[
|
|
527
|
+
chainId: BigNumberish,
|
|
528
|
+
isEvm: boolean
|
|
529
|
+
], [
|
|
530
|
+
void
|
|
531
|
+
], 'nonpayable'>;
|
|
532
|
+
getFunction(nameOrSignature: 'setIsWormholeRelayingEnabled'): TypedContractMethod<[
|
|
533
|
+
chainId: BigNumberish,
|
|
534
|
+
isEnabled: boolean
|
|
535
|
+
], [
|
|
536
|
+
void
|
|
537
|
+
], 'nonpayable'>;
|
|
538
|
+
getFunction(nameOrSignature: 'setWormholePeer'): TypedContractMethod<[
|
|
539
|
+
peerChainId: BigNumberish,
|
|
540
|
+
peerContract: BytesLike
|
|
541
|
+
], [
|
|
542
|
+
void
|
|
543
|
+
], 'nonpayable'>;
|
|
544
|
+
getFunction(nameOrSignature: 'specialRelayer'): TypedContractMethod<[], [string], 'view'>;
|
|
545
|
+
getFunction(nameOrSignature: 'transferOwnership'): TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>;
|
|
546
|
+
getFunction(nameOrSignature: 'transferPauserCapability'): TypedContractMethod<[newPauser: AddressLike], [void], 'nonpayable'>;
|
|
547
|
+
getFunction(nameOrSignature: 'transferTransceiverOwnership'): TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>;
|
|
548
|
+
getFunction(nameOrSignature: 'upgrade'): TypedContractMethod<[
|
|
549
|
+
newImplementation: AddressLike
|
|
550
|
+
], [
|
|
551
|
+
void
|
|
552
|
+
], 'nonpayable'>;
|
|
553
|
+
getFunction(nameOrSignature: 'wormhole'): TypedContractMethod<[], [string], 'view'>;
|
|
554
|
+
getFunction(nameOrSignature: 'wormholeRelayer'): TypedContractMethod<[], [string], 'view'>;
|
|
555
|
+
getEvent(key: 'AdminChanged'): TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
556
|
+
getEvent(key: 'BeaconUpgraded'): TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
557
|
+
getEvent(key: 'Initialized'): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
558
|
+
getEvent(key: 'NotPaused'): TypedContractEvent<NotPausedEvent.InputTuple, NotPausedEvent.OutputTuple, NotPausedEvent.OutputObject>;
|
|
559
|
+
getEvent(key: 'OwnershipTransferred'): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
560
|
+
getEvent(key: 'Paused'): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
561
|
+
getEvent(key: 'PauserTransferred'): TypedContractEvent<PauserTransferredEvent.InputTuple, PauserTransferredEvent.OutputTuple, PauserTransferredEvent.OutputObject>;
|
|
562
|
+
getEvent(key: 'ReceivedMessage'): TypedContractEvent<ReceivedMessageEvent.InputTuple, ReceivedMessageEvent.OutputTuple, ReceivedMessageEvent.OutputObject>;
|
|
563
|
+
getEvent(key: 'ReceivedRelayedMessage'): TypedContractEvent<ReceivedRelayedMessageEvent.InputTuple, ReceivedRelayedMessageEvent.OutputTuple, ReceivedRelayedMessageEvent.OutputObject>;
|
|
564
|
+
getEvent(key: 'RelayingInfo'): TypedContractEvent<RelayingInfoEvent.InputTuple, RelayingInfoEvent.OutputTuple, RelayingInfoEvent.OutputObject>;
|
|
565
|
+
getEvent(key: 'SendTransceiverMessage'): TypedContractEvent<SendTransceiverMessageEvent.InputTuple, SendTransceiverMessageEvent.OutputTuple, SendTransceiverMessageEvent.OutputObject>;
|
|
566
|
+
getEvent(key: 'SetIsSpecialRelayingEnabled'): TypedContractEvent<SetIsSpecialRelayingEnabledEvent.InputTuple, SetIsSpecialRelayingEnabledEvent.OutputTuple, SetIsSpecialRelayingEnabledEvent.OutputObject>;
|
|
567
|
+
getEvent(key: 'SetIsWormholeEvmChain'): TypedContractEvent<SetIsWormholeEvmChainEvent.InputTuple, SetIsWormholeEvmChainEvent.OutputTuple, SetIsWormholeEvmChainEvent.OutputObject>;
|
|
568
|
+
getEvent(key: 'SetIsWormholeRelayingEnabled'): TypedContractEvent<SetIsWormholeRelayingEnabledEvent.InputTuple, SetIsWormholeRelayingEnabledEvent.OutputTuple, SetIsWormholeRelayingEnabledEvent.OutputObject>;
|
|
569
|
+
getEvent(key: 'SetWormholePeer'): TypedContractEvent<SetWormholePeerEvent.InputTuple, SetWormholePeerEvent.OutputTuple, SetWormholePeerEvent.OutputObject>;
|
|
570
|
+
getEvent(key: 'Upgraded'): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
571
|
+
filters: {
|
|
572
|
+
'AdminChanged(address,address)': TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
573
|
+
AdminChanged: TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
574
|
+
'BeaconUpgraded(address)': TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
575
|
+
BeaconUpgraded: TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
576
|
+
'Initialized(uint64)': TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
577
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
578
|
+
'NotPaused(bool)': TypedContractEvent<NotPausedEvent.InputTuple, NotPausedEvent.OutputTuple, NotPausedEvent.OutputObject>;
|
|
579
|
+
NotPaused: TypedContractEvent<NotPausedEvent.InputTuple, NotPausedEvent.OutputTuple, NotPausedEvent.OutputObject>;
|
|
580
|
+
'OwnershipTransferred(address,address)': TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
581
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
582
|
+
'Paused(bool)': TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
583
|
+
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
584
|
+
'PauserTransferred(address,address)': TypedContractEvent<PauserTransferredEvent.InputTuple, PauserTransferredEvent.OutputTuple, PauserTransferredEvent.OutputObject>;
|
|
585
|
+
PauserTransferred: TypedContractEvent<PauserTransferredEvent.InputTuple, PauserTransferredEvent.OutputTuple, PauserTransferredEvent.OutputObject>;
|
|
586
|
+
'ReceivedMessage(bytes32,uint16,bytes32,uint64)': TypedContractEvent<ReceivedMessageEvent.InputTuple, ReceivedMessageEvent.OutputTuple, ReceivedMessageEvent.OutputObject>;
|
|
587
|
+
ReceivedMessage: TypedContractEvent<ReceivedMessageEvent.InputTuple, ReceivedMessageEvent.OutputTuple, ReceivedMessageEvent.OutputObject>;
|
|
588
|
+
'ReceivedRelayedMessage(bytes32,uint16,bytes32)': TypedContractEvent<ReceivedRelayedMessageEvent.InputTuple, ReceivedRelayedMessageEvent.OutputTuple, ReceivedRelayedMessageEvent.OutputObject>;
|
|
589
|
+
ReceivedRelayedMessage: TypedContractEvent<ReceivedRelayedMessageEvent.InputTuple, ReceivedRelayedMessageEvent.OutputTuple, ReceivedRelayedMessageEvent.OutputObject>;
|
|
590
|
+
'RelayingInfo(uint8,uint256)': TypedContractEvent<RelayingInfoEvent.InputTuple, RelayingInfoEvent.OutputTuple, RelayingInfoEvent.OutputObject>;
|
|
591
|
+
RelayingInfo: TypedContractEvent<RelayingInfoEvent.InputTuple, RelayingInfoEvent.OutputTuple, RelayingInfoEvent.OutputObject>;
|
|
592
|
+
'SendTransceiverMessage(uint16,tuple)': TypedContractEvent<SendTransceiverMessageEvent.InputTuple, SendTransceiverMessageEvent.OutputTuple, SendTransceiverMessageEvent.OutputObject>;
|
|
593
|
+
SendTransceiverMessage: TypedContractEvent<SendTransceiverMessageEvent.InputTuple, SendTransceiverMessageEvent.OutputTuple, SendTransceiverMessageEvent.OutputObject>;
|
|
594
|
+
'SetIsSpecialRelayingEnabled(uint16,bool)': TypedContractEvent<SetIsSpecialRelayingEnabledEvent.InputTuple, SetIsSpecialRelayingEnabledEvent.OutputTuple, SetIsSpecialRelayingEnabledEvent.OutputObject>;
|
|
595
|
+
SetIsSpecialRelayingEnabled: TypedContractEvent<SetIsSpecialRelayingEnabledEvent.InputTuple, SetIsSpecialRelayingEnabledEvent.OutputTuple, SetIsSpecialRelayingEnabledEvent.OutputObject>;
|
|
596
|
+
'SetIsWormholeEvmChain(uint16,bool)': TypedContractEvent<SetIsWormholeEvmChainEvent.InputTuple, SetIsWormholeEvmChainEvent.OutputTuple, SetIsWormholeEvmChainEvent.OutputObject>;
|
|
597
|
+
SetIsWormholeEvmChain: TypedContractEvent<SetIsWormholeEvmChainEvent.InputTuple, SetIsWormholeEvmChainEvent.OutputTuple, SetIsWormholeEvmChainEvent.OutputObject>;
|
|
598
|
+
'SetIsWormholeRelayingEnabled(uint16,bool)': TypedContractEvent<SetIsWormholeRelayingEnabledEvent.InputTuple, SetIsWormholeRelayingEnabledEvent.OutputTuple, SetIsWormholeRelayingEnabledEvent.OutputObject>;
|
|
599
|
+
SetIsWormholeRelayingEnabled: TypedContractEvent<SetIsWormholeRelayingEnabledEvent.InputTuple, SetIsWormholeRelayingEnabledEvent.OutputTuple, SetIsWormholeRelayingEnabledEvent.OutputObject>;
|
|
600
|
+
'SetWormholePeer(uint16,bytes32)': TypedContractEvent<SetWormholePeerEvent.InputTuple, SetWormholePeerEvent.OutputTuple, SetWormholePeerEvent.OutputObject>;
|
|
601
|
+
SetWormholePeer: TypedContractEvent<SetWormholePeerEvent.InputTuple, SetWormholePeerEvent.OutputTuple, SetWormholePeerEvent.OutputObject>;
|
|
602
|
+
'Upgraded(address)': TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
603
|
+
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
//# sourceMappingURL=WormholeTransceiver.d.ts.map
|