@snowbridge/contract-types 0.1.47-alpha.8 → 0.1.48-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{IGateway.d.ts → IGateway.sol/IGatewayV1.d.ts} +28 -90
- package/dist/IGateway.sol/IGatewayV1.d.ts.map +1 -0
- package/dist/IGateway.sol/IGatewayV2.d.ts +340 -0
- package/dist/IGateway.sol/IGatewayV2.d.ts.map +1 -0
- package/dist/IGateway.sol/IGatewayV2.js +2 -0
- package/dist/IGateway.sol/index.d.ts +3 -0
- package/dist/IGateway.sol/index.d.ts.map +1 -0
- package/dist/IGateway.sol/index.js +2 -0
- package/dist/factories/BeefyClient__factory.d.ts +1 -1
- package/dist/factories/BeefyClient__factory.js +1 -1
- package/dist/factories/{IGateway__factory.d.ts → IGateway.sol/IGatewayV1__factory.d.ts} +32 -70
- package/dist/factories/IGateway.sol/IGatewayV1__factory.d.ts.map +1 -0
- package/dist/factories/{IGateway__factory.js → IGateway.sol/IGatewayV1__factory.js} +33 -82
- package/dist/factories/IGateway.sol/IGatewayV2__factory.d.ts +407 -0
- package/dist/factories/IGateway.sol/IGatewayV2__factory.d.ts.map +1 -0
- package/dist/factories/IGateway.sol/IGatewayV2__factory.js +533 -0
- package/dist/factories/IGateway.sol/index.d.ts +3 -0
- package/dist/factories/IGateway.sol/index.d.ts.map +1 -0
- package/dist/factories/IGateway.sol/index.js +10 -0
- package/dist/factories/index.d.ts +1 -1
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +35 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/package.json +1 -1
- package/.turbo/turbo-build.log +0 -42
- package/dist/IGateway.d.ts.map +0 -1
- package/dist/factories/IGateway__factory.d.ts.map +0 -1
- /package/dist/{IGateway.js → IGateway.sol/IGatewayV1.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
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 "
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common";
|
|
3
3
|
export type MultiAddressStruct = {
|
|
4
4
|
kind: BigNumberish;
|
|
5
5
|
data: BytesLike;
|
|
@@ -130,14 +130,13 @@ export declare namespace Verification {
|
|
|
130
130
|
leafProofOrder: bigint;
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
export interface
|
|
134
|
-
getFunction(nameOrSignature: "agentOf" | "channelNoncesOf" | "channelOperatingModeOf" | "depositEther" | "
|
|
135
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
133
|
+
export interface IGatewayV1Interface extends Interface {
|
|
134
|
+
getFunction(nameOrSignature: "agentOf" | "channelNoncesOf" | "channelOperatingModeOf" | "depositEther" | "isTokenRegistered" | "operatingMode" | "pricingParameters" | "queryForeignTokenID" | "quoteRegisterTokenFee" | "quoteSendTokenFee" | "registerToken" | "sendToken" | "submitV1" | "tokenAddressOf"): FunctionFragment;
|
|
135
|
+
getEvent(nameOrSignatureOrTopic: "AgentFundsWithdrawn" | "Deposited" | "InboundMessageDispatched" | "OutboundMessageAccepted" | "PricingParametersChanged" | "TokenSent" | "TokenTransferFeesChanged"): EventFragment;
|
|
136
136
|
encodeFunctionData(functionFragment: "agentOf", values: [BytesLike]): string;
|
|
137
137
|
encodeFunctionData(functionFragment: "channelNoncesOf", values: [BytesLike]): string;
|
|
138
138
|
encodeFunctionData(functionFragment: "channelOperatingModeOf", values: [BytesLike]): string;
|
|
139
139
|
encodeFunctionData(functionFragment: "depositEther", values?: undefined): string;
|
|
140
|
-
encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
|
|
141
140
|
encodeFunctionData(functionFragment: "isTokenRegistered", values: [AddressLike]): string;
|
|
142
141
|
encodeFunctionData(functionFragment: "operatingMode", values?: undefined): string;
|
|
143
142
|
encodeFunctionData(functionFragment: "pricingParameters", values?: undefined): string;
|
|
@@ -153,11 +152,11 @@ export interface IGatewayInterface extends Interface {
|
|
|
153
152
|
BigNumberish
|
|
154
153
|
]): string;
|
|
155
154
|
encodeFunctionData(functionFragment: "submitV1", values: [InboundMessageStruct, BytesLike[], Verification.ProofStruct]): string;
|
|
155
|
+
encodeFunctionData(functionFragment: "tokenAddressOf", values: [BytesLike]): string;
|
|
156
156
|
decodeFunctionResult(functionFragment: "agentOf", data: BytesLike): Result;
|
|
157
157
|
decodeFunctionResult(functionFragment: "channelNoncesOf", data: BytesLike): Result;
|
|
158
158
|
decodeFunctionResult(functionFragment: "channelOperatingModeOf", data: BytesLike): Result;
|
|
159
159
|
decodeFunctionResult(functionFragment: "depositEther", data: BytesLike): Result;
|
|
160
|
-
decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
|
|
161
160
|
decodeFunctionResult(functionFragment: "isTokenRegistered", data: BytesLike): Result;
|
|
162
161
|
decodeFunctionResult(functionFragment: "operatingMode", data: BytesLike): Result;
|
|
163
162
|
decodeFunctionResult(functionFragment: "pricingParameters", data: BytesLike): Result;
|
|
@@ -167,35 +166,23 @@ export interface IGatewayInterface extends Interface {
|
|
|
167
166
|
decodeFunctionResult(functionFragment: "registerToken", data: BytesLike): Result;
|
|
168
167
|
decodeFunctionResult(functionFragment: "sendToken", data: BytesLike): Result;
|
|
169
168
|
decodeFunctionResult(functionFragment: "submitV1", data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: "tokenAddressOf", data: BytesLike): Result;
|
|
170
170
|
}
|
|
171
|
-
export declare namespace
|
|
172
|
-
type InputTuple = [
|
|
173
|
-
|
|
171
|
+
export declare namespace AgentFundsWithdrawnEvent {
|
|
172
|
+
type InputTuple = [
|
|
173
|
+
agentID: BytesLike,
|
|
174
|
+
recipient: AddressLike,
|
|
175
|
+
amount: BigNumberish
|
|
176
|
+
];
|
|
177
|
+
type OutputTuple = [
|
|
178
|
+
agentID: string,
|
|
179
|
+
recipient: string,
|
|
180
|
+
amount: bigint
|
|
181
|
+
];
|
|
174
182
|
interface OutputObject {
|
|
175
183
|
agentID: string;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
179
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
180
|
-
type Log = TypedEventLog<Event>;
|
|
181
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
182
|
-
}
|
|
183
|
-
export declare namespace ChannelCreatedEvent {
|
|
184
|
-
type InputTuple = [channelID: BytesLike];
|
|
185
|
-
type OutputTuple = [channelID: string];
|
|
186
|
-
interface OutputObject {
|
|
187
|
-
channelID: string;
|
|
188
|
-
}
|
|
189
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
190
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
191
|
-
type Log = TypedEventLog<Event>;
|
|
192
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
193
|
-
}
|
|
194
|
-
export declare namespace ChannelUpdatedEvent {
|
|
195
|
-
type InputTuple = [channelID: BytesLike];
|
|
196
|
-
type OutputTuple = [channelID: string];
|
|
197
|
-
interface OutputObject {
|
|
198
|
-
channelID: string;
|
|
184
|
+
recipient: string;
|
|
185
|
+
amount: bigint;
|
|
199
186
|
}
|
|
200
187
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
201
188
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -214,18 +201,6 @@ export declare namespace DepositedEvent {
|
|
|
214
201
|
type Log = TypedEventLog<Event>;
|
|
215
202
|
type LogDescription = TypedLogDescription<Event>;
|
|
216
203
|
}
|
|
217
|
-
export declare namespace ForeignTokenRegisteredEvent {
|
|
218
|
-
type InputTuple = [tokenID: BytesLike, token: AddressLike];
|
|
219
|
-
type OutputTuple = [tokenID: string, token: string];
|
|
220
|
-
interface OutputObject {
|
|
221
|
-
tokenID: string;
|
|
222
|
-
token: string;
|
|
223
|
-
}
|
|
224
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
225
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
226
|
-
type Log = TypedEventLog<Event>;
|
|
227
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
228
|
-
}
|
|
229
204
|
export declare namespace InboundMessageDispatchedEvent {
|
|
230
205
|
type InputTuple = [
|
|
231
206
|
channelID: BytesLike,
|
|
@@ -250,17 +225,6 @@ export declare namespace InboundMessageDispatchedEvent {
|
|
|
250
225
|
type Log = TypedEventLog<Event>;
|
|
251
226
|
type LogDescription = TypedLogDescription<Event>;
|
|
252
227
|
}
|
|
253
|
-
export declare namespace OperatingModeChangedEvent {
|
|
254
|
-
type InputTuple = [mode: BigNumberish];
|
|
255
|
-
type OutputTuple = [mode: bigint];
|
|
256
|
-
interface OutputObject {
|
|
257
|
-
mode: bigint;
|
|
258
|
-
}
|
|
259
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
260
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
261
|
-
type Log = TypedEventLog<Event>;
|
|
262
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
263
|
-
}
|
|
264
228
|
export declare namespace OutboundMessageAcceptedEvent {
|
|
265
229
|
type InputTuple = [
|
|
266
230
|
channelID: BytesLike,
|
|
@@ -295,17 +259,6 @@ export declare namespace PricingParametersChangedEvent {
|
|
|
295
259
|
type Log = TypedEventLog<Event>;
|
|
296
260
|
type LogDescription = TypedLogDescription<Event>;
|
|
297
261
|
}
|
|
298
|
-
export declare namespace TokenRegistrationSentEvent {
|
|
299
|
-
type InputTuple = [token: AddressLike];
|
|
300
|
-
type OutputTuple = [token: string];
|
|
301
|
-
interface OutputObject {
|
|
302
|
-
token: string;
|
|
303
|
-
}
|
|
304
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
305
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
306
|
-
type Log = TypedEventLog<Event>;
|
|
307
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
308
|
-
}
|
|
309
262
|
export declare namespace TokenSentEvent {
|
|
310
263
|
type InputTuple = [
|
|
311
264
|
token: AddressLike,
|
|
@@ -343,10 +296,10 @@ export declare namespace TokenTransferFeesChangedEvent {
|
|
|
343
296
|
type Log = TypedEventLog<Event>;
|
|
344
297
|
type LogDescription = TypedLogDescription<Event>;
|
|
345
298
|
}
|
|
346
|
-
export interface
|
|
347
|
-
connect(runner?: ContractRunner | null):
|
|
299
|
+
export interface IGatewayV1 extends BaseContract {
|
|
300
|
+
connect(runner?: ContractRunner | null): IGatewayV1;
|
|
348
301
|
waitForDeployment(): Promise<this>;
|
|
349
|
-
interface:
|
|
302
|
+
interface: IGatewayV1Interface;
|
|
350
303
|
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
351
304
|
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
352
305
|
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
@@ -368,7 +321,6 @@ export interface IGateway extends BaseContract {
|
|
|
368
321
|
bigint
|
|
369
322
|
], "view">;
|
|
370
323
|
depositEther: TypedContractMethod<[], [void], "payable">;
|
|
371
|
-
implementation: TypedContractMethod<[], [string], "view">;
|
|
372
324
|
isTokenRegistered: TypedContractMethod<[
|
|
373
325
|
token: AddressLike
|
|
374
326
|
], [
|
|
@@ -406,12 +358,12 @@ export interface IGateway extends BaseContract {
|
|
|
406
358
|
], [
|
|
407
359
|
void
|
|
408
360
|
], "nonpayable">;
|
|
361
|
+
tokenAddressOf: TypedContractMethod<[tokenID: BytesLike], [string], "view">;
|
|
409
362
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
410
363
|
getFunction(nameOrSignature: "agentOf"): TypedContractMethod<[agentID: BytesLike], [string], "view">;
|
|
411
364
|
getFunction(nameOrSignature: "channelNoncesOf"): TypedContractMethod<[channelID: BytesLike], [[bigint, bigint]], "view">;
|
|
412
365
|
getFunction(nameOrSignature: "channelOperatingModeOf"): TypedContractMethod<[channelID: BytesLike], [bigint], "view">;
|
|
413
366
|
getFunction(nameOrSignature: "depositEther"): TypedContractMethod<[], [void], "payable">;
|
|
414
|
-
getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
|
|
415
367
|
getFunction(nameOrSignature: "isTokenRegistered"): TypedContractMethod<[token: AddressLike], [boolean], "view">;
|
|
416
368
|
getFunction(nameOrSignature: "operatingMode"): TypedContractMethod<[], [bigint], "view">;
|
|
417
369
|
getFunction(nameOrSignature: "pricingParameters"): TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
@@ -441,43 +393,29 @@ export interface IGateway extends BaseContract {
|
|
|
441
393
|
], [
|
|
442
394
|
void
|
|
443
395
|
], "nonpayable">;
|
|
444
|
-
|
|
445
|
-
getEvent(key: "
|
|
446
|
-
getEvent(key: "ChannelUpdated"): TypedContractEvent<ChannelUpdatedEvent.InputTuple, ChannelUpdatedEvent.OutputTuple, ChannelUpdatedEvent.OutputObject>;
|
|
396
|
+
getFunction(nameOrSignature: "tokenAddressOf"): TypedContractMethod<[tokenID: BytesLike], [string], "view">;
|
|
397
|
+
getEvent(key: "AgentFundsWithdrawn"): TypedContractEvent<AgentFundsWithdrawnEvent.InputTuple, AgentFundsWithdrawnEvent.OutputTuple, AgentFundsWithdrawnEvent.OutputObject>;
|
|
447
398
|
getEvent(key: "Deposited"): TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
|
|
448
|
-
getEvent(key: "ForeignTokenRegistered"): TypedContractEvent<ForeignTokenRegisteredEvent.InputTuple, ForeignTokenRegisteredEvent.OutputTuple, ForeignTokenRegisteredEvent.OutputObject>;
|
|
449
399
|
getEvent(key: "InboundMessageDispatched"): TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
|
|
450
|
-
getEvent(key: "OperatingModeChanged"): TypedContractEvent<OperatingModeChangedEvent.InputTuple, OperatingModeChangedEvent.OutputTuple, OperatingModeChangedEvent.OutputObject>;
|
|
451
400
|
getEvent(key: "OutboundMessageAccepted"): TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
|
|
452
401
|
getEvent(key: "PricingParametersChanged"): TypedContractEvent<PricingParametersChangedEvent.InputTuple, PricingParametersChangedEvent.OutputTuple, PricingParametersChangedEvent.OutputObject>;
|
|
453
|
-
getEvent(key: "TokenRegistrationSent"): TypedContractEvent<TokenRegistrationSentEvent.InputTuple, TokenRegistrationSentEvent.OutputTuple, TokenRegistrationSentEvent.OutputObject>;
|
|
454
402
|
getEvent(key: "TokenSent"): TypedContractEvent<TokenSentEvent.InputTuple, TokenSentEvent.OutputTuple, TokenSentEvent.OutputObject>;
|
|
455
403
|
getEvent(key: "TokenTransferFeesChanged"): TypedContractEvent<TokenTransferFeesChangedEvent.InputTuple, TokenTransferFeesChangedEvent.OutputTuple, TokenTransferFeesChangedEvent.OutputObject>;
|
|
456
404
|
filters: {
|
|
457
|
-
"
|
|
458
|
-
|
|
459
|
-
"ChannelCreated(bytes32)": TypedContractEvent<ChannelCreatedEvent.InputTuple, ChannelCreatedEvent.OutputTuple, ChannelCreatedEvent.OutputObject>;
|
|
460
|
-
ChannelCreated: TypedContractEvent<ChannelCreatedEvent.InputTuple, ChannelCreatedEvent.OutputTuple, ChannelCreatedEvent.OutputObject>;
|
|
461
|
-
"ChannelUpdated(bytes32)": TypedContractEvent<ChannelUpdatedEvent.InputTuple, ChannelUpdatedEvent.OutputTuple, ChannelUpdatedEvent.OutputObject>;
|
|
462
|
-
ChannelUpdated: TypedContractEvent<ChannelUpdatedEvent.InputTuple, ChannelUpdatedEvent.OutputTuple, ChannelUpdatedEvent.OutputObject>;
|
|
405
|
+
"AgentFundsWithdrawn(bytes32,address,uint256)": TypedContractEvent<AgentFundsWithdrawnEvent.InputTuple, AgentFundsWithdrawnEvent.OutputTuple, AgentFundsWithdrawnEvent.OutputObject>;
|
|
406
|
+
AgentFundsWithdrawn: TypedContractEvent<AgentFundsWithdrawnEvent.InputTuple, AgentFundsWithdrawnEvent.OutputTuple, AgentFundsWithdrawnEvent.OutputObject>;
|
|
463
407
|
"Deposited(address,uint256)": TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
|
|
464
408
|
Deposited: TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
|
|
465
|
-
"ForeignTokenRegistered(bytes32,address)": TypedContractEvent<ForeignTokenRegisteredEvent.InputTuple, ForeignTokenRegisteredEvent.OutputTuple, ForeignTokenRegisteredEvent.OutputObject>;
|
|
466
|
-
ForeignTokenRegistered: TypedContractEvent<ForeignTokenRegisteredEvent.InputTuple, ForeignTokenRegisteredEvent.OutputTuple, ForeignTokenRegisteredEvent.OutputObject>;
|
|
467
409
|
"InboundMessageDispatched(bytes32,uint64,bytes32,bool)": TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
|
|
468
410
|
InboundMessageDispatched: TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
|
|
469
|
-
"OperatingModeChanged(uint8)": TypedContractEvent<OperatingModeChangedEvent.InputTuple, OperatingModeChangedEvent.OutputTuple, OperatingModeChangedEvent.OutputObject>;
|
|
470
|
-
OperatingModeChanged: TypedContractEvent<OperatingModeChangedEvent.InputTuple, OperatingModeChangedEvent.OutputTuple, OperatingModeChangedEvent.OutputObject>;
|
|
471
411
|
"OutboundMessageAccepted(bytes32,uint64,bytes32,bytes)": TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
|
|
472
412
|
OutboundMessageAccepted: TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
|
|
473
413
|
"PricingParametersChanged()": TypedContractEvent<PricingParametersChangedEvent.InputTuple, PricingParametersChangedEvent.OutputTuple, PricingParametersChangedEvent.OutputObject>;
|
|
474
414
|
PricingParametersChanged: TypedContractEvent<PricingParametersChangedEvent.InputTuple, PricingParametersChangedEvent.OutputTuple, PricingParametersChangedEvent.OutputObject>;
|
|
475
|
-
"TokenRegistrationSent(address)": TypedContractEvent<TokenRegistrationSentEvent.InputTuple, TokenRegistrationSentEvent.OutputTuple, TokenRegistrationSentEvent.OutputObject>;
|
|
476
|
-
TokenRegistrationSent: TypedContractEvent<TokenRegistrationSentEvent.InputTuple, TokenRegistrationSentEvent.OutputTuple, TokenRegistrationSentEvent.OutputObject>;
|
|
477
415
|
"TokenSent(address,address,uint32,tuple,uint128)": TypedContractEvent<TokenSentEvent.InputTuple, TokenSentEvent.OutputTuple, TokenSentEvent.OutputObject>;
|
|
478
416
|
TokenSent: TypedContractEvent<TokenSentEvent.InputTuple, TokenSentEvent.OutputTuple, TokenSentEvent.OutputObject>;
|
|
479
417
|
"TokenTransferFeesChanged()": TypedContractEvent<TokenTransferFeesChangedEvent.InputTuple, TokenTransferFeesChangedEvent.OutputTuple, TokenTransferFeesChangedEvent.OutputObject>;
|
|
480
418
|
TokenTransferFeesChanged: TypedContractEvent<TokenTransferFeesChangedEvent.InputTuple, TokenTransferFeesChangedEvent.OutputTuple, TokenTransferFeesChangedEvent.OutputObject>;
|
|
481
419
|
};
|
|
482
420
|
}
|
|
483
|
-
//# sourceMappingURL=
|
|
421
|
+
//# sourceMappingURL=IGatewayV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGatewayV1.d.ts","sourceRoot":"","sources":["../../src/IGateway.sol/IGatewayV1.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACpB,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,kBAAkB,GAAG;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAEzE,MAAM,MAAM,wBAAwB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,YAAY,CAAC;IACpB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,SAAS,CAAC;IAClB,cAAc,EAAE,YAAY,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,YAAY,CAAC;IACrB,EAAE,EAAE,SAAS,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG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Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common";
|
|
3
|
+
export type CommandStruct = {
|
|
4
|
+
kind: BigNumberish;
|
|
5
|
+
gas: BigNumberish;
|
|
6
|
+
payload: BytesLike;
|
|
7
|
+
};
|
|
8
|
+
export type CommandStructOutput = [
|
|
9
|
+
kind: bigint,
|
|
10
|
+
gas: bigint,
|
|
11
|
+
payload: string
|
|
12
|
+
] & {
|
|
13
|
+
kind: bigint;
|
|
14
|
+
gas: bigint;
|
|
15
|
+
payload: string;
|
|
16
|
+
};
|
|
17
|
+
export type InboundMessageStruct = {
|
|
18
|
+
origin: BytesLike;
|
|
19
|
+
nonce: BigNumberish;
|
|
20
|
+
topic: BytesLike;
|
|
21
|
+
commands: CommandStruct[];
|
|
22
|
+
};
|
|
23
|
+
export type InboundMessageStructOutput = [
|
|
24
|
+
origin: string,
|
|
25
|
+
nonce: bigint,
|
|
26
|
+
topic: string,
|
|
27
|
+
commands: CommandStructOutput[]
|
|
28
|
+
] & {
|
|
29
|
+
origin: string;
|
|
30
|
+
nonce: bigint;
|
|
31
|
+
topic: string;
|
|
32
|
+
commands: CommandStructOutput[];
|
|
33
|
+
};
|
|
34
|
+
export type AssetStruct = {
|
|
35
|
+
kind: BigNumberish;
|
|
36
|
+
data: BytesLike;
|
|
37
|
+
};
|
|
38
|
+
export type AssetStructOutput = [kind: bigint, data: string] & {
|
|
39
|
+
kind: bigint;
|
|
40
|
+
data: string;
|
|
41
|
+
};
|
|
42
|
+
export type XcmStruct = {
|
|
43
|
+
kind: BigNumberish;
|
|
44
|
+
data: BytesLike;
|
|
45
|
+
};
|
|
46
|
+
export type XcmStructOutput = [kind: bigint, data: string] & {
|
|
47
|
+
kind: bigint;
|
|
48
|
+
data: string;
|
|
49
|
+
};
|
|
50
|
+
export type PayloadStruct = {
|
|
51
|
+
origin: AddressLike;
|
|
52
|
+
assets: AssetStruct[];
|
|
53
|
+
xcm: XcmStruct;
|
|
54
|
+
claimer: BytesLike;
|
|
55
|
+
value: BigNumberish;
|
|
56
|
+
executionFee: BigNumberish;
|
|
57
|
+
relayerFee: BigNumberish;
|
|
58
|
+
};
|
|
59
|
+
export type PayloadStructOutput = [
|
|
60
|
+
origin: string,
|
|
61
|
+
assets: AssetStructOutput[],
|
|
62
|
+
xcm: XcmStructOutput,
|
|
63
|
+
claimer: string,
|
|
64
|
+
value: bigint,
|
|
65
|
+
executionFee: bigint,
|
|
66
|
+
relayerFee: bigint
|
|
67
|
+
] & {
|
|
68
|
+
origin: string;
|
|
69
|
+
assets: AssetStructOutput[];
|
|
70
|
+
xcm: XcmStructOutput;
|
|
71
|
+
claimer: string;
|
|
72
|
+
value: bigint;
|
|
73
|
+
executionFee: bigint;
|
|
74
|
+
relayerFee: bigint;
|
|
75
|
+
};
|
|
76
|
+
export declare namespace Verification {
|
|
77
|
+
type DigestItemStruct = {
|
|
78
|
+
kind: BigNumberish;
|
|
79
|
+
consensusEngineID: BytesLike;
|
|
80
|
+
data: BytesLike;
|
|
81
|
+
};
|
|
82
|
+
type DigestItemStructOutput = [
|
|
83
|
+
kind: bigint,
|
|
84
|
+
consensusEngineID: string,
|
|
85
|
+
data: string
|
|
86
|
+
] & {
|
|
87
|
+
kind: bigint;
|
|
88
|
+
consensusEngineID: string;
|
|
89
|
+
data: string;
|
|
90
|
+
};
|
|
91
|
+
type ParachainHeaderStruct = {
|
|
92
|
+
parentHash: BytesLike;
|
|
93
|
+
number: BigNumberish;
|
|
94
|
+
stateRoot: BytesLike;
|
|
95
|
+
extrinsicsRoot: BytesLike;
|
|
96
|
+
digestItems: Verification.DigestItemStruct[];
|
|
97
|
+
};
|
|
98
|
+
type ParachainHeaderStructOutput = [
|
|
99
|
+
parentHash: string,
|
|
100
|
+
number: bigint,
|
|
101
|
+
stateRoot: string,
|
|
102
|
+
extrinsicsRoot: string,
|
|
103
|
+
digestItems: Verification.DigestItemStructOutput[]
|
|
104
|
+
] & {
|
|
105
|
+
parentHash: string;
|
|
106
|
+
number: bigint;
|
|
107
|
+
stateRoot: string;
|
|
108
|
+
extrinsicsRoot: string;
|
|
109
|
+
digestItems: Verification.DigestItemStructOutput[];
|
|
110
|
+
};
|
|
111
|
+
type HeadProofStruct = {
|
|
112
|
+
pos: BigNumberish;
|
|
113
|
+
width: BigNumberish;
|
|
114
|
+
proof: BytesLike[];
|
|
115
|
+
};
|
|
116
|
+
type HeadProofStructOutput = [
|
|
117
|
+
pos: bigint,
|
|
118
|
+
width: bigint,
|
|
119
|
+
proof: string[]
|
|
120
|
+
] & {
|
|
121
|
+
pos: bigint;
|
|
122
|
+
width: bigint;
|
|
123
|
+
proof: string[];
|
|
124
|
+
};
|
|
125
|
+
type MMRLeafPartialStruct = {
|
|
126
|
+
version: BigNumberish;
|
|
127
|
+
parentNumber: BigNumberish;
|
|
128
|
+
parentHash: BytesLike;
|
|
129
|
+
nextAuthoritySetID: BigNumberish;
|
|
130
|
+
nextAuthoritySetLen: BigNumberish;
|
|
131
|
+
nextAuthoritySetRoot: BytesLike;
|
|
132
|
+
};
|
|
133
|
+
type MMRLeafPartialStructOutput = [
|
|
134
|
+
version: bigint,
|
|
135
|
+
parentNumber: bigint,
|
|
136
|
+
parentHash: string,
|
|
137
|
+
nextAuthoritySetID: bigint,
|
|
138
|
+
nextAuthoritySetLen: bigint,
|
|
139
|
+
nextAuthoritySetRoot: string
|
|
140
|
+
] & {
|
|
141
|
+
version: bigint;
|
|
142
|
+
parentNumber: bigint;
|
|
143
|
+
parentHash: string;
|
|
144
|
+
nextAuthoritySetID: bigint;
|
|
145
|
+
nextAuthoritySetLen: bigint;
|
|
146
|
+
nextAuthoritySetRoot: string;
|
|
147
|
+
};
|
|
148
|
+
type ProofStruct = {
|
|
149
|
+
header: Verification.ParachainHeaderStruct;
|
|
150
|
+
headProof: Verification.HeadProofStruct;
|
|
151
|
+
leafPartial: Verification.MMRLeafPartialStruct;
|
|
152
|
+
leafProof: BytesLike[];
|
|
153
|
+
leafProofOrder: BigNumberish;
|
|
154
|
+
};
|
|
155
|
+
type ProofStructOutput = [
|
|
156
|
+
header: Verification.ParachainHeaderStructOutput,
|
|
157
|
+
headProof: Verification.HeadProofStructOutput,
|
|
158
|
+
leafPartial: Verification.MMRLeafPartialStructOutput,
|
|
159
|
+
leafProof: string[],
|
|
160
|
+
leafProofOrder: bigint
|
|
161
|
+
] & {
|
|
162
|
+
header: Verification.ParachainHeaderStructOutput;
|
|
163
|
+
headProof: Verification.HeadProofStructOutput;
|
|
164
|
+
leafPartial: Verification.MMRLeafPartialStructOutput;
|
|
165
|
+
leafProof: string[];
|
|
166
|
+
leafProofOrder: bigint;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
export interface IGatewayV2Interface extends Interface {
|
|
170
|
+
getFunction(nameOrSignature: "agentOf" | "isTokenRegistered" | "operatingMode" | "v2_createAgent" | "v2_isDispatched" | "v2_outboundNonce" | "v2_registerToken" | "v2_sendMessage" | "v2_submit"): FunctionFragment;
|
|
171
|
+
getEvent(nameOrSignatureOrTopic: "AgentCreated" | "InboundMessageDispatched" | "OutboundMessageAccepted"): EventFragment;
|
|
172
|
+
encodeFunctionData(functionFragment: "agentOf", values: [BytesLike]): string;
|
|
173
|
+
encodeFunctionData(functionFragment: "isTokenRegistered", values: [AddressLike]): string;
|
|
174
|
+
encodeFunctionData(functionFragment: "operatingMode", values?: undefined): string;
|
|
175
|
+
encodeFunctionData(functionFragment: "v2_createAgent", values: [BytesLike]): string;
|
|
176
|
+
encodeFunctionData(functionFragment: "v2_isDispatched", values: [BigNumberish]): string;
|
|
177
|
+
encodeFunctionData(functionFragment: "v2_outboundNonce", values?: undefined): string;
|
|
178
|
+
encodeFunctionData(functionFragment: "v2_registerToken", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
179
|
+
encodeFunctionData(functionFragment: "v2_sendMessage", values: [BytesLike, BytesLike[], BytesLike, BigNumberish, BigNumberish]): string;
|
|
180
|
+
encodeFunctionData(functionFragment: "v2_submit", values: [
|
|
181
|
+
InboundMessageStruct,
|
|
182
|
+
BytesLike[],
|
|
183
|
+
Verification.ProofStruct,
|
|
184
|
+
BytesLike
|
|
185
|
+
]): string;
|
|
186
|
+
decodeFunctionResult(functionFragment: "agentOf", data: BytesLike): Result;
|
|
187
|
+
decodeFunctionResult(functionFragment: "isTokenRegistered", data: BytesLike): Result;
|
|
188
|
+
decodeFunctionResult(functionFragment: "operatingMode", data: BytesLike): Result;
|
|
189
|
+
decodeFunctionResult(functionFragment: "v2_createAgent", data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: "v2_isDispatched", data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: "v2_outboundNonce", data: BytesLike): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: "v2_registerToken", data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(functionFragment: "v2_sendMessage", data: BytesLike): Result;
|
|
194
|
+
decodeFunctionResult(functionFragment: "v2_submit", data: BytesLike): Result;
|
|
195
|
+
}
|
|
196
|
+
export declare namespace AgentCreatedEvent {
|
|
197
|
+
type InputTuple = [agentID: BytesLike, agent: AddressLike];
|
|
198
|
+
type OutputTuple = [agentID: string, agent: string];
|
|
199
|
+
interface OutputObject {
|
|
200
|
+
agentID: string;
|
|
201
|
+
agent: string;
|
|
202
|
+
}
|
|
203
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
204
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
205
|
+
type Log = TypedEventLog<Event>;
|
|
206
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
207
|
+
}
|
|
208
|
+
export declare namespace InboundMessageDispatchedEvent {
|
|
209
|
+
type InputTuple = [
|
|
210
|
+
nonce: BigNumberish,
|
|
211
|
+
topic: BytesLike,
|
|
212
|
+
success: boolean,
|
|
213
|
+
rewardAddress: BytesLike
|
|
214
|
+
];
|
|
215
|
+
type OutputTuple = [
|
|
216
|
+
nonce: bigint,
|
|
217
|
+
topic: string,
|
|
218
|
+
success: boolean,
|
|
219
|
+
rewardAddress: string
|
|
220
|
+
];
|
|
221
|
+
interface OutputObject {
|
|
222
|
+
nonce: bigint;
|
|
223
|
+
topic: string;
|
|
224
|
+
success: boolean;
|
|
225
|
+
rewardAddress: string;
|
|
226
|
+
}
|
|
227
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
228
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
229
|
+
type Log = TypedEventLog<Event>;
|
|
230
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
231
|
+
}
|
|
232
|
+
export declare namespace OutboundMessageAcceptedEvent {
|
|
233
|
+
type InputTuple = [nonce: BigNumberish, payload: PayloadStruct];
|
|
234
|
+
type OutputTuple = [nonce: bigint, payload: PayloadStructOutput];
|
|
235
|
+
interface OutputObject {
|
|
236
|
+
nonce: bigint;
|
|
237
|
+
payload: PayloadStructOutput;
|
|
238
|
+
}
|
|
239
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
240
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
241
|
+
type Log = TypedEventLog<Event>;
|
|
242
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
243
|
+
}
|
|
244
|
+
export interface IGatewayV2 extends BaseContract {
|
|
245
|
+
connect(runner?: ContractRunner | null): IGatewayV2;
|
|
246
|
+
waitForDeployment(): Promise<this>;
|
|
247
|
+
interface: IGatewayV2Interface;
|
|
248
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
249
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
250
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
251
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
252
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
253
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
254
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
255
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
256
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
257
|
+
agentOf: TypedContractMethod<[agentID: BytesLike], [string], "view">;
|
|
258
|
+
isTokenRegistered: TypedContractMethod<[
|
|
259
|
+
token: AddressLike
|
|
260
|
+
], [
|
|
261
|
+
boolean
|
|
262
|
+
], "view">;
|
|
263
|
+
operatingMode: TypedContractMethod<[], [bigint], "view">;
|
|
264
|
+
v2_createAgent: TypedContractMethod<[id: BytesLike], [void], "nonpayable">;
|
|
265
|
+
v2_isDispatched: TypedContractMethod<[
|
|
266
|
+
nonce: BigNumberish
|
|
267
|
+
], [
|
|
268
|
+
boolean
|
|
269
|
+
], "view">;
|
|
270
|
+
v2_outboundNonce: TypedContractMethod<[], [bigint], "view">;
|
|
271
|
+
v2_registerToken: TypedContractMethod<[
|
|
272
|
+
token: AddressLike,
|
|
273
|
+
network: BigNumberish,
|
|
274
|
+
executionFee: BigNumberish,
|
|
275
|
+
relayerFee: BigNumberish
|
|
276
|
+
], [
|
|
277
|
+
void
|
|
278
|
+
], "payable">;
|
|
279
|
+
v2_sendMessage: TypedContractMethod<[
|
|
280
|
+
xcm: BytesLike,
|
|
281
|
+
assets: BytesLike[],
|
|
282
|
+
claimer: BytesLike,
|
|
283
|
+
executionFee: BigNumberish,
|
|
284
|
+
relayerFee: BigNumberish
|
|
285
|
+
], [
|
|
286
|
+
void
|
|
287
|
+
], "payable">;
|
|
288
|
+
v2_submit: TypedContractMethod<[
|
|
289
|
+
message: InboundMessageStruct,
|
|
290
|
+
leafProof: BytesLike[],
|
|
291
|
+
headerProof: Verification.ProofStruct,
|
|
292
|
+
rewardAddress: BytesLike
|
|
293
|
+
], [
|
|
294
|
+
void
|
|
295
|
+
], "nonpayable">;
|
|
296
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
297
|
+
getFunction(nameOrSignature: "agentOf"): TypedContractMethod<[agentID: BytesLike], [string], "view">;
|
|
298
|
+
getFunction(nameOrSignature: "isTokenRegistered"): TypedContractMethod<[token: AddressLike], [boolean], "view">;
|
|
299
|
+
getFunction(nameOrSignature: "operatingMode"): TypedContractMethod<[], [bigint], "view">;
|
|
300
|
+
getFunction(nameOrSignature: "v2_createAgent"): TypedContractMethod<[id: BytesLike], [void], "nonpayable">;
|
|
301
|
+
getFunction(nameOrSignature: "v2_isDispatched"): TypedContractMethod<[nonce: BigNumberish], [boolean], "view">;
|
|
302
|
+
getFunction(nameOrSignature: "v2_outboundNonce"): TypedContractMethod<[], [bigint], "view">;
|
|
303
|
+
getFunction(nameOrSignature: "v2_registerToken"): TypedContractMethod<[
|
|
304
|
+
token: AddressLike,
|
|
305
|
+
network: BigNumberish,
|
|
306
|
+
executionFee: BigNumberish,
|
|
307
|
+
relayerFee: BigNumberish
|
|
308
|
+
], [
|
|
309
|
+
void
|
|
310
|
+
], "payable">;
|
|
311
|
+
getFunction(nameOrSignature: "v2_sendMessage"): TypedContractMethod<[
|
|
312
|
+
xcm: BytesLike,
|
|
313
|
+
assets: BytesLike[],
|
|
314
|
+
claimer: BytesLike,
|
|
315
|
+
executionFee: BigNumberish,
|
|
316
|
+
relayerFee: BigNumberish
|
|
317
|
+
], [
|
|
318
|
+
void
|
|
319
|
+
], "payable">;
|
|
320
|
+
getFunction(nameOrSignature: "v2_submit"): TypedContractMethod<[
|
|
321
|
+
message: InboundMessageStruct,
|
|
322
|
+
leafProof: BytesLike[],
|
|
323
|
+
headerProof: Verification.ProofStruct,
|
|
324
|
+
rewardAddress: BytesLike
|
|
325
|
+
], [
|
|
326
|
+
void
|
|
327
|
+
], "nonpayable">;
|
|
328
|
+
getEvent(key: "AgentCreated"): TypedContractEvent<AgentCreatedEvent.InputTuple, AgentCreatedEvent.OutputTuple, AgentCreatedEvent.OutputObject>;
|
|
329
|
+
getEvent(key: "InboundMessageDispatched"): TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
|
|
330
|
+
getEvent(key: "OutboundMessageAccepted"): TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
|
|
331
|
+
filters: {
|
|
332
|
+
"AgentCreated(bytes32,address)": TypedContractEvent<AgentCreatedEvent.InputTuple, AgentCreatedEvent.OutputTuple, AgentCreatedEvent.OutputObject>;
|
|
333
|
+
AgentCreated: TypedContractEvent<AgentCreatedEvent.InputTuple, AgentCreatedEvent.OutputTuple, AgentCreatedEvent.OutputObject>;
|
|
334
|
+
"InboundMessageDispatched(uint64,bytes32,bool,bytes32)": TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
|
|
335
|
+
InboundMessageDispatched: TypedContractEvent<InboundMessageDispatchedEvent.InputTuple, InboundMessageDispatchedEvent.OutputTuple, InboundMessageDispatchedEvent.OutputObject>;
|
|
336
|
+
"OutboundMessageAccepted(uint64,tuple)": TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
|
|
337
|
+
OutboundMessageAccepted: TypedContractEvent<OutboundMessageAcceptedEvent.InputTuple, OutboundMessageAcceptedEvent.OutputTuple, OutboundMessageAcceptedEvent.OutputObject>;
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
//# sourceMappingURL=IGatewayV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGatewayV2.d.ts","sourceRoot":"","sources":["../../src/IGateway.sol/IGatewayV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACpB,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,YAAY,CAAC;IACnB,GAAG,EAAE,YAAY,CAAC;IAClB,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,MAAM;CAChB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,M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