Skip to content

Commit 460d0ec

Browse files
committed
update multi token ntt abis
1 parent 4c2aeca commit 460d0ec

File tree

3 files changed

+118
-2
lines changed

3 files changed

+118
-2
lines changed

evm/ts/src/ethers-contracts/multiTokenNtt/1_1_0/GmpManager.sol/GmpManager.ts

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ export declare namespace GmpManager {
4646
}
4747

4848
export declare namespace TransceiverRegistry {
49+
export type TransceiverWithIndexStruct = {
50+
transceiver: AddressLike;
51+
index: BigNumberish;
52+
};
53+
54+
export type TransceiverWithIndexStructOutput = [
55+
transceiver: string,
56+
index: bigint
57+
] & { transceiver: string; index: bigint };
58+
4959
export type TransceiverInfoStruct = {
5060
registered: boolean;
5161
enabled: boolean;
@@ -69,7 +79,9 @@ export interface GmpManagerInterface extends Interface {
6979
| "getMigratesImmutables"
7080
| "getPeer"
7181
| "getReceiveTransceiversForChain"
82+
| "getReceiveTransceiversWithIndicesForChain"
7283
| "getSendTransceiversForChain"
84+
| "getSendTransceiversWithIndicesForChain"
7385
| "getThreshold"
7486
| "getTransceiverInfo"
7587
| "getTransceivers"
@@ -158,10 +170,18 @@ export interface GmpManagerInterface extends Interface {
158170
functionFragment: "getReceiveTransceiversForChain",
159171
values: [BigNumberish]
160172
): string;
173+
encodeFunctionData(
174+
functionFragment: "getReceiveTransceiversWithIndicesForChain",
175+
values: [BigNumberish]
176+
): string;
161177
encodeFunctionData(
162178
functionFragment: "getSendTransceiversForChain",
163179
values: [BigNumberish]
164180
): string;
181+
encodeFunctionData(
182+
functionFragment: "getSendTransceiversWithIndicesForChain",
183+
values: [BigNumberish]
184+
): string;
165185
encodeFunctionData(
166186
functionFragment: "getThreshold",
167187
values: [BigNumberish]
@@ -291,10 +311,18 @@ export interface GmpManagerInterface extends Interface {
291311
functionFragment: "getReceiveTransceiversForChain",
292312
data: BytesLike
293313
): Result;
314+
decodeFunctionResult(
315+
functionFragment: "getReceiveTransceiversWithIndicesForChain",
316+
data: BytesLike
317+
): Result;
294318
decodeFunctionResult(
295319
functionFragment: "getSendTransceiversForChain",
296320
data: BytesLike
297321
): Result;
322+
decodeFunctionResult(
323+
functionFragment: "getSendTransceiversWithIndicesForChain",
324+
data: BytesLike
325+
): Result;
298326
decodeFunctionResult(
299327
functionFragment: "getThreshold",
300328
data: BytesLike
@@ -794,12 +822,24 @@ export interface GmpManager extends BaseContract {
794822
"view"
795823
>;
796824

825+
getReceiveTransceiversWithIndicesForChain: TypedContractMethod<
826+
[sourceChain: BigNumberish],
827+
[TransceiverRegistry.TransceiverWithIndexStructOutput[]],
828+
"view"
829+
>;
830+
797831
getSendTransceiversForChain: TypedContractMethod<
798832
[targetChain: BigNumberish],
799833
[string[]],
800834
"view"
801835
>;
802836

837+
getSendTransceiversWithIndicesForChain: TypedContractMethod<
838+
[targetChain: BigNumberish],
839+
[TransceiverRegistry.TransceiverWithIndexStructOutput[]],
840+
"view"
841+
>;
842+
803843
getThreshold: TypedContractMethod<
804844
[sourceChain: BigNumberish],
805845
[bigint],
@@ -996,9 +1036,23 @@ export interface GmpManager extends BaseContract {
9961036
[[string[], bigint] & { transceivers: string[]; threshold: bigint }],
9971037
"view"
9981038
>;
1039+
getFunction(
1040+
nameOrSignature: "getReceiveTransceiversWithIndicesForChain"
1041+
): TypedContractMethod<
1042+
[sourceChain: BigNumberish],
1043+
[TransceiverRegistry.TransceiverWithIndexStructOutput[]],
1044+
"view"
1045+
>;
9991046
getFunction(
10001047
nameOrSignature: "getSendTransceiversForChain"
10011048
): TypedContractMethod<[targetChain: BigNumberish], [string[]], "view">;
1049+
getFunction(
1050+
nameOrSignature: "getSendTransceiversWithIndicesForChain"
1051+
): TypedContractMethod<
1052+
[targetChain: BigNumberish],
1053+
[TransceiverRegistry.TransceiverWithIndexStructOutput[]],
1054+
"view"
1055+
>;
10021056
getFunction(
10031057
nameOrSignature: "getThreshold"
10041058
): TypedContractMethod<[sourceChain: BigNumberish], [bigint], "view">;

0 commit comments

Comments
 (0)