Skip to content

Commit 8b0aa09

Browse files
committed
ci: regen evm bindings
1 parent b9a4973 commit 8b0aa09

File tree

42 files changed

+1586
-1119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1586
-1119
lines changed

ci_tests/evm_binding/IRateLimiter.ts

+6-20
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,22 @@ import type {
2020
OnEvent,
2121
} from "./common";
2222

23-
export type TrimmedAmountStruct = {
24-
amount: BigNumberish;
25-
decimals: BigNumberish;
26-
};
27-
28-
export type TrimmedAmountStructOutput = [BigNumber, number] & {
29-
amount: BigNumber;
30-
decimals: number;
31-
};
32-
3323
export declare namespace IRateLimiter {
3424
export type InboundQueuedTransferStruct = {
35-
amount: TrimmedAmountStruct;
25+
amount: BigNumberish;
3626
txTimestamp: BigNumberish;
3727
recipient: string;
3828
};
3929

4030
export type InboundQueuedTransferStructOutput = [
41-
TrimmedAmountStructOutput,
31+
BigNumber,
4232
BigNumber,
4333
string
44-
] & {
45-
amount: TrimmedAmountStructOutput;
46-
txTimestamp: BigNumber;
47-
recipient: string;
48-
};
34+
] & { amount: BigNumber; txTimestamp: BigNumber; recipient: string };
4935

5036
export type OutboundQueuedTransferStruct = {
5137
recipient: BytesLike;
52-
amount: TrimmedAmountStruct;
38+
amount: BigNumberish;
5339
txTimestamp: BigNumberish;
5440
recipientChain: BigNumberish;
5541
sender: string;
@@ -58,14 +44,14 @@ export declare namespace IRateLimiter {
5844

5945
export type OutboundQueuedTransferStructOutput = [
6046
string,
61-
TrimmedAmountStructOutput,
47+
BigNumber,
6248
BigNumber,
6349
number,
6450
string,
6551
string
6652
] & {
6753
recipient: string;
68-
amount: TrimmedAmountStructOutput;
54+
amount: BigNumber;
6955
txTimestamp: BigNumber;
7056
recipientChain: number;
7157
sender: string;

ci_tests/evm_binding/MockNttManager.sol/MockNttManagerContract.ts

+12-26
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@ import type {
2727
OnEvent,
2828
} from "../common";
2929

30-
export type TrimmedAmountStruct = {
31-
amount: BigNumberish;
32-
decimals: BigNumberish;
33-
};
34-
35-
export type TrimmedAmountStructOutput = [BigNumber, number] & {
36-
amount: BigNumber;
37-
decimals: number;
38-
};
39-
4030
export declare namespace TransceiverStructs {
4131
export type NttManagerMessageStruct = {
4232
id: BytesLike;
@@ -63,40 +53,36 @@ export declare namespace TransceiverStructs {
6353

6454
export declare namespace IRateLimiter {
6555
export type RateLimitParamsStruct = {
66-
limit: TrimmedAmountStruct;
67-
currentCapacity: TrimmedAmountStruct;
56+
limit: BigNumberish;
57+
currentCapacity: BigNumberish;
6858
lastTxTimestamp: BigNumberish;
6959
};
7060

7161
export type RateLimitParamsStructOutput = [
72-
TrimmedAmountStructOutput,
73-
TrimmedAmountStructOutput,
62+
BigNumber,
63+
BigNumber,
7464
BigNumber
7565
] & {
76-
limit: TrimmedAmountStructOutput;
77-
currentCapacity: TrimmedAmountStructOutput;
66+
limit: BigNumber;
67+
currentCapacity: BigNumber;
7868
lastTxTimestamp: BigNumber;
7969
};
8070

8171
export type InboundQueuedTransferStruct = {
82-
amount: TrimmedAmountStruct;
72+
amount: BigNumberish;
8373
txTimestamp: BigNumberish;
8474
recipient: string;
8575
};
8676

8777
export type InboundQueuedTransferStructOutput = [
88-
TrimmedAmountStructOutput,
78+
BigNumber,
8979
BigNumber,
9080
string
91-
] & {
92-
amount: TrimmedAmountStructOutput;
93-
txTimestamp: BigNumber;
94-
recipient: string;
95-
};
81+
] & { amount: BigNumber; txTimestamp: BigNumber; recipient: string };
9682

9783
export type OutboundQueuedTransferStruct = {
9884
recipient: BytesLike;
99-
amount: TrimmedAmountStruct;
85+
amount: BigNumberish;
10086
txTimestamp: BigNumberish;
10187
recipientChain: BigNumberish;
10288
sender: string;
@@ -105,14 +91,14 @@ export declare namespace IRateLimiter {
10591

10692
export type OutboundQueuedTransferStructOutput = [
10793
string,
108-
TrimmedAmountStructOutput,
94+
BigNumber,
10995
BigNumber,
11096
number,
11197
string,
11298
string
11399
] & {
114100
recipient: string;
115-
amount: TrimmedAmountStructOutput;
101+
amount: BigNumber;
116102
txTimestamp: BigNumber;
117103
recipientChain: number;
118104
sender: string;

0 commit comments

Comments
 (0)