@stargatefinance/stg-evm-sdk-v2 1.3.2 → 2.0.1
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 +3 -3
- package/deployments/gensyn-mainnet/CreditMessaging.json +1501 -0
- package/deployments/gensyn-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/gensyn-mainnet/OFTWrapper.json +1506 -0
- package/deployments/gensyn-mainnet/StargateOFTUSDC.json +1978 -0
- package/deployments/gensyn-mainnet/TokenMessaging.json +2475 -0
- package/deployments/gensyn-mainnet/Treasurer.json +450 -0
- package/deployments/moca-mainnet/CreditMessaging.json +1501 -0
- package/deployments/moca-mainnet/FeeLibV1ETH.json +611 -0
- package/deployments/moca-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/moca-mainnet/OFTTokenETH.json +693 -0
- package/deployments/moca-mainnet/OFTWrapper.json +1506 -0
- package/deployments/moca-mainnet/StargateOFTETH.json +1989 -0
- package/deployments/moca-mainnet/StargateOFTUSDC.json +1978 -0
- package/deployments/moca-mainnet/TokenMessaging.json +2475 -0
- package/deployments/moca-mainnet/Treasurer.json +450 -0
- package/dist/deployed/CreditMessaging.cjs +6 -0
- package/dist/deployed/CreditMessaging.cjs.map +1 -1
- package/dist/deployed/CreditMessaging.mjs +6 -0
- package/dist/deployed/CreditMessaging.mjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.cjs +3 -0
- package/dist/deployed/FeeLibV1ETH.cjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.mjs +3 -0
- package/dist/deployed/FeeLibV1ETH.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.cjs +6 -0
- package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.mjs +6 -0
- package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
- package/dist/deployed/OFTTokenETH.cjs +3 -0
- package/dist/deployed/OFTTokenETH.cjs.map +1 -1
- package/dist/deployed/OFTTokenETH.mjs +3 -0
- package/dist/deployed/OFTTokenETH.mjs.map +1 -1
- package/dist/deployed/OFTWrapper.cjs +6 -0
- package/dist/deployed/OFTWrapper.cjs.map +1 -1
- package/dist/deployed/OFTWrapper.mjs +6 -0
- package/dist/deployed/OFTWrapper.mjs.map +1 -1
- package/dist/deployed/StargateOFTETH.cjs +3 -0
- package/dist/deployed/StargateOFTETH.cjs.map +1 -1
- package/dist/deployed/StargateOFTETH.mjs +3 -0
- package/dist/deployed/StargateOFTETH.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.cjs +6 -0
- package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.mjs +6 -0
- package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
- package/dist/deployed/TokenMessaging.cjs +6 -0
- package/dist/deployed/TokenMessaging.cjs.map +1 -1
- package/dist/deployed/TokenMessaging.mjs +6 -0
- package/dist/deployed/TokenMessaging.mjs.map +1 -1
- package/dist/deployed/Treasurer.cjs +6 -0
- package/dist/deployed/Treasurer.cjs.map +1 -1
- package/dist/deployed/Treasurer.mjs +6 -0
- package/dist/deployed/Treasurer.mjs.map +1 -1
- package/dist/deployed/contracts.cjs +45 -0
- package/dist/deployed/contracts.cjs.map +1 -1
- package/dist/deployed/contracts.mjs +45 -0
- package/dist/deployed/contracts.mjs.map +1 -1
- package/dist/deployed/index.cjs +45 -0
- package/dist/deployed/index.cjs.map +1 -1
- package/dist/deployed/index.mjs +45 -0
- package/dist/deployed/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.mts +0 -1943
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.ts +0 -1943
- package/dist/deployed/CreditMessaging.d.mts +0 -1
- package/dist/deployed/CreditMessaging.d.ts +0 -1
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.mts +0 -497
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.ts +0 -497
- package/dist/deployed/FeeLibV1ETH.d.mts +0 -1
- package/dist/deployed/FeeLibV1ETH.d.ts +0 -1
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.mts +0 -352
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.ts +0 -352
- package/dist/deployed/FeeLibV1EURC.d.mts +0 -1
- package/dist/deployed/FeeLibV1EURC.d.ts +0 -1
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.mts +0 -328
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.ts +0 -328
- package/dist/deployed/FeeLibV1METIS.d.mts +0 -1
- package/dist/deployed/FeeLibV1METIS.d.ts +0 -1
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.mts +0 -524
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.ts +0 -524
- package/dist/deployed/FeeLibV1USDC.d.mts +0 -1
- package/dist/deployed/FeeLibV1USDC.d.ts +0 -1
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.mts +0 -468
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.ts +0 -468
- package/dist/deployed/FeeLibV1USDT.d.mts +0 -1
- package/dist/deployed/FeeLibV1USDT.d.ts +0 -1
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.mts +0 -328
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.ts +0 -328
- package/dist/deployed/FeeLibV1mETH.d.mts +0 -1
- package/dist/deployed/FeeLibV1mETH.d.ts +0 -1
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.mts +0 -473
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.ts +0 -473
- package/dist/deployed/OFTTokenETH.d.mts +0 -1
- package/dist/deployed/OFTTokenETH.d.ts +0 -1
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.mts +0 -1364
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.ts +0 -1364
- package/dist/deployed/OFTWrapper.d.mts +0 -1
- package/dist/deployed/OFTWrapper.d.ts +0 -1
- package/dist/deployed/RewardLib-DZPcpNd5.d.mts +0 -115
- package/dist/deployed/RewardLib-DZPcpNd5.d.ts +0 -115
- package/dist/deployed/RewardLib.d.mts +0 -1
- package/dist/deployed/RewardLib.d.ts +0 -1
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.mts +0 -115
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.ts +0 -115
- package/dist/deployed/RewardRegistryLib.d.mts +0 -1
- package/dist/deployed/RewardRegistryLib.d.ts +0 -1
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.mts +0 -308
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.ts +0 -308
- package/dist/deployed/RewardTokenMock.d.mts +0 -1
- package/dist/deployed/RewardTokenMock.d.ts +0 -1
- package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.mts +0 -622
- package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.ts +0 -622
- package/dist/deployed/StargateMultiRewarder.d.mts +0 -1
- package/dist/deployed/StargateMultiRewarder.d.ts +0 -1
- package/dist/deployed/StargateOFTETH-DnpwT3Cg.d.mts +0 -2511
- package/dist/deployed/StargateOFTETH-DnpwT3Cg.d.ts +0 -2511
- package/dist/deployed/StargateOFTETH.d.mts +0 -1
- package/dist/deployed/StargateOFTETH.d.ts +0 -1
- package/dist/deployed/StargateOFTEURC-DKulPApM.d.mts +0 -3683
- package/dist/deployed/StargateOFTEURC-DKulPApM.d.ts +0 -3683
- package/dist/deployed/StargateOFTEURC.d.mts +0 -1
- package/dist/deployed/StargateOFTEURC.d.ts +0 -1
- package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.mts +0 -4995
- package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.ts +0 -4995
- package/dist/deployed/StargateOFTUSDC.d.mts +0 -1
- package/dist/deployed/StargateOFTUSDC.d.ts +0 -1
- package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.mts +0 -2492
- package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.ts +0 -2492
- package/dist/deployed/StargateOFTUSDT.d.mts +0 -1
- package/dist/deployed/StargateOFTUSDT.d.ts +0 -1
- package/dist/deployed/StargatePoolETH-lOsiDbJC.d.mts +0 -1530
- package/dist/deployed/StargatePoolETH-lOsiDbJC.d.ts +0 -1530
- package/dist/deployed/StargatePoolETH.d.mts +0 -1
- package/dist/deployed/StargatePoolETH.d.ts +0 -1
- package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.mts +0 -1582
- package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.ts +0 -1582
- package/dist/deployed/StargatePoolEURC.d.mts +0 -1
- package/dist/deployed/StargatePoolEURC.d.ts +0 -1
- package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.mts +0 -1519
- package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.ts +0 -1519
- package/dist/deployed/StargatePoolMETIS.d.mts +0 -1
- package/dist/deployed/StargatePoolMETIS.d.ts +0 -1
- package/dist/deployed/StargatePoolNative-BKokoo5S.d.mts +0 -1568
- package/dist/deployed/StargatePoolNative-BKokoo5S.d.ts +0 -1568
- package/dist/deployed/StargatePoolNative.d.mts +0 -1
- package/dist/deployed/StargatePoolNative.d.ts +0 -1
- package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.mts +0 -1632
- package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.ts +0 -1632
- package/dist/deployed/StargatePoolUSDC.d.mts +0 -1
- package/dist/deployed/StargatePoolUSDC.d.ts +0 -1
- package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.mts +0 -1627
- package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.ts +0 -1627
- package/dist/deployed/StargatePoolUSDT.d.mts +0 -1
- package/dist/deployed/StargatePoolUSDT.d.ts +0 -1
- package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.mts +0 -1519
- package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.ts +0 -1519
- package/dist/deployed/StargatePoolmETH.d.mts +0 -1
- package/dist/deployed/StargatePoolmETH.d.ts +0 -1
- package/dist/deployed/StargateStaking-BL9axih_.d.mts +0 -459
- package/dist/deployed/StargateStaking-BL9axih_.d.ts +0 -459
- package/dist/deployed/StargateStaking.d.mts +0 -1
- package/dist/deployed/StargateStaking.d.ts +0 -1
- package/dist/deployed/TokenMessaging-DblIo7R9.d.mts +0 -3177
- package/dist/deployed/TokenMessaging-DblIo7R9.d.ts +0 -3177
- package/dist/deployed/TokenMessaging.d.mts +0 -1
- package/dist/deployed/TokenMessaging.d.ts +0 -1
- package/dist/deployed/Treasurer-OOFshPmY.d.mts +0 -453
- package/dist/deployed/Treasurer-OOFshPmY.d.ts +0 -453
- package/dist/deployed/Treasurer.d.mts +0 -1
- package/dist/deployed/Treasurer.d.ts +0 -1
- package/dist/deployed/USDCImpl-DN89Rpdz.d.mts +0 -1124
- package/dist/deployed/USDCImpl-DN89Rpdz.d.ts +0 -1124
- package/dist/deployed/USDCImpl.d.mts +0 -1
- package/dist/deployed/USDCImpl.d.ts +0 -1
- package/dist/deployed/USDCProxy-BsrYumZv.d.mts +0 -141
- package/dist/deployed/USDCProxy-BsrYumZv.d.ts +0 -141
- package/dist/deployed/USDCProxy.d.mts +0 -1
- package/dist/deployed/USDCProxy.d.ts +0 -1
- package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.mts +0 -73
- package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.ts +0 -73
- package/dist/deployed/USDCSignatureLib.d.mts +0 -1
- package/dist/deployed/USDCSignatureLib.d.ts +0 -1
- package/dist/deployed/USDT-DVAQjDdu.d.mts +0 -690
- package/dist/deployed/USDT-DVAQjDdu.d.ts +0 -690
- package/dist/deployed/USDT.d.mts +0 -1
- package/dist/deployed/USDT.d.ts +0 -1
- package/dist/deployed/contracts-BtrnE9gq.d.ts +0 -68
- package/dist/deployed/contracts-CRtAyxkQ.d.mts +0 -68
- package/dist/deployed/contracts.d.mts +0 -31
- package/dist/deployed/contracts.d.ts +0 -31
- package/dist/deployed/index.d.mts +0 -36
- package/dist/deployed/index.d.ts +0 -36
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
declare const addresses: {
|
|
2
|
-
"ethereum-mainnet": string;
|
|
3
|
-
"metis-mainnet": string;
|
|
4
|
-
};
|
|
5
|
-
declare const transactionHashes: {
|
|
6
|
-
"ethereum-mainnet": string;
|
|
7
|
-
"metis-mainnet": string;
|
|
8
|
-
};
|
|
9
|
-
declare const abi0: readonly [{
|
|
10
|
-
readonly inputs: readonly [{
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "_stargate";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}];
|
|
15
|
-
readonly stateMutability: "nonpayable";
|
|
16
|
-
readonly type: "constructor";
|
|
17
|
-
}, {
|
|
18
|
-
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "FeeLib_InvalidFeeConfiguration";
|
|
20
|
-
readonly type: "error";
|
|
21
|
-
}, {
|
|
22
|
-
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "FeeLib_Paused";
|
|
24
|
-
readonly type: "error";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "FeeLib_Unauthorized";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly anonymous: false;
|
|
31
|
-
readonly inputs: readonly [{
|
|
32
|
-
readonly indexed: false;
|
|
33
|
-
readonly internalType: "uint32";
|
|
34
|
-
readonly name: "eid";
|
|
35
|
-
readonly type: "uint32";
|
|
36
|
-
}, {
|
|
37
|
-
readonly components: readonly [{
|
|
38
|
-
readonly internalType: "bool";
|
|
39
|
-
readonly name: "paused";
|
|
40
|
-
readonly type: "bool";
|
|
41
|
-
}, {
|
|
42
|
-
readonly internalType: "uint64";
|
|
43
|
-
readonly name: "zone1UpperBound";
|
|
44
|
-
readonly type: "uint64";
|
|
45
|
-
}, {
|
|
46
|
-
readonly internalType: "uint64";
|
|
47
|
-
readonly name: "zone2UpperBound";
|
|
48
|
-
readonly type: "uint64";
|
|
49
|
-
}, {
|
|
50
|
-
readonly internalType: "uint24";
|
|
51
|
-
readonly name: "zone1FeeMillionth";
|
|
52
|
-
readonly type: "uint24";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "uint24";
|
|
55
|
-
readonly name: "zone2FeeMillionth";
|
|
56
|
-
readonly type: "uint24";
|
|
57
|
-
}, {
|
|
58
|
-
readonly internalType: "uint24";
|
|
59
|
-
readonly name: "zone3FeeMillionth";
|
|
60
|
-
readonly type: "uint24";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "uint24";
|
|
63
|
-
readonly name: "rewardMillionth";
|
|
64
|
-
readonly type: "uint24";
|
|
65
|
-
}];
|
|
66
|
-
readonly indexed: false;
|
|
67
|
-
readonly internalType: "struct FeeConfig";
|
|
68
|
-
readonly name: "config";
|
|
69
|
-
readonly type: "tuple";
|
|
70
|
-
}];
|
|
71
|
-
readonly name: "FeeConfigSet";
|
|
72
|
-
readonly type: "event";
|
|
73
|
-
}, {
|
|
74
|
-
readonly anonymous: false;
|
|
75
|
-
readonly inputs: readonly [{
|
|
76
|
-
readonly indexed: true;
|
|
77
|
-
readonly internalType: "address";
|
|
78
|
-
readonly name: "previousOwner";
|
|
79
|
-
readonly type: "address";
|
|
80
|
-
}, {
|
|
81
|
-
readonly indexed: true;
|
|
82
|
-
readonly internalType: "address";
|
|
83
|
-
readonly name: "newOwner";
|
|
84
|
-
readonly type: "address";
|
|
85
|
-
}];
|
|
86
|
-
readonly name: "OwnershipTransferred";
|
|
87
|
-
readonly type: "event";
|
|
88
|
-
}, {
|
|
89
|
-
readonly anonymous: false;
|
|
90
|
-
readonly inputs: readonly [{
|
|
91
|
-
readonly indexed: false;
|
|
92
|
-
readonly internalType: "uint32";
|
|
93
|
-
readonly name: "eid";
|
|
94
|
-
readonly type: "uint32";
|
|
95
|
-
}, {
|
|
96
|
-
readonly indexed: false;
|
|
97
|
-
readonly internalType: "bool";
|
|
98
|
-
readonly name: "isPaused";
|
|
99
|
-
readonly type: "bool";
|
|
100
|
-
}];
|
|
101
|
-
readonly name: "PausedSet";
|
|
102
|
-
readonly type: "event";
|
|
103
|
-
}, {
|
|
104
|
-
readonly inputs: readonly [{
|
|
105
|
-
readonly components: readonly [{
|
|
106
|
-
readonly internalType: "address";
|
|
107
|
-
readonly name: "sender";
|
|
108
|
-
readonly type: "address";
|
|
109
|
-
}, {
|
|
110
|
-
readonly internalType: "uint32";
|
|
111
|
-
readonly name: "dstEid";
|
|
112
|
-
readonly type: "uint32";
|
|
113
|
-
}, {
|
|
114
|
-
readonly internalType: "uint64";
|
|
115
|
-
readonly name: "amountInSD";
|
|
116
|
-
readonly type: "uint64";
|
|
117
|
-
}, {
|
|
118
|
-
readonly internalType: "uint64";
|
|
119
|
-
readonly name: "deficitSD";
|
|
120
|
-
readonly type: "uint64";
|
|
121
|
-
}, {
|
|
122
|
-
readonly internalType: "bool";
|
|
123
|
-
readonly name: "toOFT";
|
|
124
|
-
readonly type: "bool";
|
|
125
|
-
}, {
|
|
126
|
-
readonly internalType: "bool";
|
|
127
|
-
readonly name: "isTaxi";
|
|
128
|
-
readonly type: "bool";
|
|
129
|
-
}];
|
|
130
|
-
readonly internalType: "struct FeeParams";
|
|
131
|
-
readonly name: "_params";
|
|
132
|
-
readonly type: "tuple";
|
|
133
|
-
}];
|
|
134
|
-
readonly name: "applyFee";
|
|
135
|
-
readonly outputs: readonly [{
|
|
136
|
-
readonly internalType: "uint64";
|
|
137
|
-
readonly name: "amountOutSD";
|
|
138
|
-
readonly type: "uint64";
|
|
139
|
-
}];
|
|
140
|
-
readonly stateMutability: "view";
|
|
141
|
-
readonly type: "function";
|
|
142
|
-
}, {
|
|
143
|
-
readonly inputs: readonly [{
|
|
144
|
-
readonly components: readonly [{
|
|
145
|
-
readonly internalType: "address";
|
|
146
|
-
readonly name: "sender";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly internalType: "uint32";
|
|
150
|
-
readonly name: "dstEid";
|
|
151
|
-
readonly type: "uint32";
|
|
152
|
-
}, {
|
|
153
|
-
readonly internalType: "uint64";
|
|
154
|
-
readonly name: "amountInSD";
|
|
155
|
-
readonly type: "uint64";
|
|
156
|
-
}, {
|
|
157
|
-
readonly internalType: "uint64";
|
|
158
|
-
readonly name: "deficitSD";
|
|
159
|
-
readonly type: "uint64";
|
|
160
|
-
}, {
|
|
161
|
-
readonly internalType: "bool";
|
|
162
|
-
readonly name: "toOFT";
|
|
163
|
-
readonly type: "bool";
|
|
164
|
-
}, {
|
|
165
|
-
readonly internalType: "bool";
|
|
166
|
-
readonly name: "isTaxi";
|
|
167
|
-
readonly type: "bool";
|
|
168
|
-
}];
|
|
169
|
-
readonly internalType: "struct FeeParams";
|
|
170
|
-
readonly name: "_params";
|
|
171
|
-
readonly type: "tuple";
|
|
172
|
-
}];
|
|
173
|
-
readonly name: "applyFeeView";
|
|
174
|
-
readonly outputs: readonly [{
|
|
175
|
-
readonly internalType: "uint64";
|
|
176
|
-
readonly name: "amountOutSD";
|
|
177
|
-
readonly type: "uint64";
|
|
178
|
-
}];
|
|
179
|
-
readonly stateMutability: "view";
|
|
180
|
-
readonly type: "function";
|
|
181
|
-
}, {
|
|
182
|
-
readonly inputs: readonly [{
|
|
183
|
-
readonly internalType: "uint32";
|
|
184
|
-
readonly name: "eid";
|
|
185
|
-
readonly type: "uint32";
|
|
186
|
-
}];
|
|
187
|
-
readonly name: "feeConfigs";
|
|
188
|
-
readonly outputs: readonly [{
|
|
189
|
-
readonly internalType: "bool";
|
|
190
|
-
readonly name: "paused";
|
|
191
|
-
readonly type: "bool";
|
|
192
|
-
}, {
|
|
193
|
-
readonly internalType: "uint64";
|
|
194
|
-
readonly name: "zone1UpperBound";
|
|
195
|
-
readonly type: "uint64";
|
|
196
|
-
}, {
|
|
197
|
-
readonly internalType: "uint64";
|
|
198
|
-
readonly name: "zone2UpperBound";
|
|
199
|
-
readonly type: "uint64";
|
|
200
|
-
}, {
|
|
201
|
-
readonly internalType: "uint24";
|
|
202
|
-
readonly name: "zone1FeeMillionth";
|
|
203
|
-
readonly type: "uint24";
|
|
204
|
-
}, {
|
|
205
|
-
readonly internalType: "uint24";
|
|
206
|
-
readonly name: "zone2FeeMillionth";
|
|
207
|
-
readonly type: "uint24";
|
|
208
|
-
}, {
|
|
209
|
-
readonly internalType: "uint24";
|
|
210
|
-
readonly name: "zone3FeeMillionth";
|
|
211
|
-
readonly type: "uint24";
|
|
212
|
-
}, {
|
|
213
|
-
readonly internalType: "uint24";
|
|
214
|
-
readonly name: "rewardMillionth";
|
|
215
|
-
readonly type: "uint24";
|
|
216
|
-
}];
|
|
217
|
-
readonly stateMutability: "view";
|
|
218
|
-
readonly type: "function";
|
|
219
|
-
}, {
|
|
220
|
-
readonly inputs: readonly [];
|
|
221
|
-
readonly name: "owner";
|
|
222
|
-
readonly outputs: readonly [{
|
|
223
|
-
readonly internalType: "address";
|
|
224
|
-
readonly name: "";
|
|
225
|
-
readonly type: "address";
|
|
226
|
-
}];
|
|
227
|
-
readonly stateMutability: "view";
|
|
228
|
-
readonly type: "function";
|
|
229
|
-
}, {
|
|
230
|
-
readonly inputs: readonly [];
|
|
231
|
-
readonly name: "renounceOwnership";
|
|
232
|
-
readonly outputs: readonly [];
|
|
233
|
-
readonly stateMutability: "nonpayable";
|
|
234
|
-
readonly type: "function";
|
|
235
|
-
}, {
|
|
236
|
-
readonly inputs: readonly [{
|
|
237
|
-
readonly internalType: "uint32";
|
|
238
|
-
readonly name: "_dstEid";
|
|
239
|
-
readonly type: "uint32";
|
|
240
|
-
}, {
|
|
241
|
-
readonly internalType: "uint64";
|
|
242
|
-
readonly name: "_zone1UpperBound";
|
|
243
|
-
readonly type: "uint64";
|
|
244
|
-
}, {
|
|
245
|
-
readonly internalType: "uint64";
|
|
246
|
-
readonly name: "_zone2UpperBound";
|
|
247
|
-
readonly type: "uint64";
|
|
248
|
-
}, {
|
|
249
|
-
readonly internalType: "uint24";
|
|
250
|
-
readonly name: "_zone1FeeMillionth";
|
|
251
|
-
readonly type: "uint24";
|
|
252
|
-
}, {
|
|
253
|
-
readonly internalType: "uint24";
|
|
254
|
-
readonly name: "_zone2FeeMillionth";
|
|
255
|
-
readonly type: "uint24";
|
|
256
|
-
}, {
|
|
257
|
-
readonly internalType: "uint24";
|
|
258
|
-
readonly name: "_zone3FeeMillionth";
|
|
259
|
-
readonly type: "uint24";
|
|
260
|
-
}, {
|
|
261
|
-
readonly internalType: "uint24";
|
|
262
|
-
readonly name: "_rewardMillionth";
|
|
263
|
-
readonly type: "uint24";
|
|
264
|
-
}];
|
|
265
|
-
readonly name: "setFeeConfig";
|
|
266
|
-
readonly outputs: readonly [];
|
|
267
|
-
readonly stateMutability: "nonpayable";
|
|
268
|
-
readonly type: "function";
|
|
269
|
-
}, {
|
|
270
|
-
readonly inputs: readonly [{
|
|
271
|
-
readonly internalType: "uint32";
|
|
272
|
-
readonly name: "_dstEid";
|
|
273
|
-
readonly type: "uint32";
|
|
274
|
-
}, {
|
|
275
|
-
readonly internalType: "bool";
|
|
276
|
-
readonly name: "_isPaused";
|
|
277
|
-
readonly type: "bool";
|
|
278
|
-
}];
|
|
279
|
-
readonly name: "setPaused";
|
|
280
|
-
readonly outputs: readonly [];
|
|
281
|
-
readonly stateMutability: "nonpayable";
|
|
282
|
-
readonly type: "function";
|
|
283
|
-
}, {
|
|
284
|
-
readonly inputs: readonly [];
|
|
285
|
-
readonly name: "stargate";
|
|
286
|
-
readonly outputs: readonly [{
|
|
287
|
-
readonly internalType: "address";
|
|
288
|
-
readonly name: "";
|
|
289
|
-
readonly type: "address";
|
|
290
|
-
}];
|
|
291
|
-
readonly stateMutability: "view";
|
|
292
|
-
readonly type: "function";
|
|
293
|
-
}, {
|
|
294
|
-
readonly inputs: readonly [];
|
|
295
|
-
readonly name: "stargateType";
|
|
296
|
-
readonly outputs: readonly [{
|
|
297
|
-
readonly internalType: "enum StargateType";
|
|
298
|
-
readonly name: "";
|
|
299
|
-
readonly type: "uint8";
|
|
300
|
-
}];
|
|
301
|
-
readonly stateMutability: "view";
|
|
302
|
-
readonly type: "function";
|
|
303
|
-
}, {
|
|
304
|
-
readonly inputs: readonly [{
|
|
305
|
-
readonly internalType: "address";
|
|
306
|
-
readonly name: "newOwner";
|
|
307
|
-
readonly type: "address";
|
|
308
|
-
}];
|
|
309
|
-
readonly name: "transferOwnership";
|
|
310
|
-
readonly outputs: readonly [];
|
|
311
|
-
readonly stateMutability: "nonpayable";
|
|
312
|
-
readonly type: "function";
|
|
313
|
-
}];
|
|
314
|
-
type Abi0 = typeof abi0;
|
|
315
|
-
type Abis = {
|
|
316
|
-
"ethereum-mainnet": Abi0;
|
|
317
|
-
"metis-mainnet": Abi0;
|
|
318
|
-
};
|
|
319
|
-
declare const abis: Abis;
|
|
320
|
-
|
|
321
|
-
declare const FeeLibV1METIS_abis: typeof abis;
|
|
322
|
-
declare const FeeLibV1METIS_addresses: typeof addresses;
|
|
323
|
-
declare const FeeLibV1METIS_transactionHashes: typeof transactionHashes;
|
|
324
|
-
declare namespace FeeLibV1METIS {
|
|
325
|
-
export { FeeLibV1METIS_abis as abis, FeeLibV1METIS_addresses as addresses, FeeLibV1METIS_transactionHashes as transactionHashes };
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export { FeeLibV1METIS as F, addresses as a, abis as b, transactionHashes as t };
|
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
declare const addresses: {
|
|
2
|
-
"ethereum-mainnet": string;
|
|
3
|
-
"metis-mainnet": string;
|
|
4
|
-
};
|
|
5
|
-
declare const transactionHashes: {
|
|
6
|
-
"ethereum-mainnet": string;
|
|
7
|
-
"metis-mainnet": string;
|
|
8
|
-
};
|
|
9
|
-
declare const abi0: readonly [{
|
|
10
|
-
readonly inputs: readonly [{
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "_stargate";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}];
|
|
15
|
-
readonly stateMutability: "nonpayable";
|
|
16
|
-
readonly type: "constructor";
|
|
17
|
-
}, {
|
|
18
|
-
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "FeeLib_InvalidFeeConfiguration";
|
|
20
|
-
readonly type: "error";
|
|
21
|
-
}, {
|
|
22
|
-
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "FeeLib_Paused";
|
|
24
|
-
readonly type: "error";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "FeeLib_Unauthorized";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly anonymous: false;
|
|
31
|
-
readonly inputs: readonly [{
|
|
32
|
-
readonly indexed: false;
|
|
33
|
-
readonly internalType: "uint32";
|
|
34
|
-
readonly name: "eid";
|
|
35
|
-
readonly type: "uint32";
|
|
36
|
-
}, {
|
|
37
|
-
readonly components: readonly [{
|
|
38
|
-
readonly internalType: "bool";
|
|
39
|
-
readonly name: "paused";
|
|
40
|
-
readonly type: "bool";
|
|
41
|
-
}, {
|
|
42
|
-
readonly internalType: "uint64";
|
|
43
|
-
readonly name: "zone1UpperBound";
|
|
44
|
-
readonly type: "uint64";
|
|
45
|
-
}, {
|
|
46
|
-
readonly internalType: "uint64";
|
|
47
|
-
readonly name: "zone2UpperBound";
|
|
48
|
-
readonly type: "uint64";
|
|
49
|
-
}, {
|
|
50
|
-
readonly internalType: "uint24";
|
|
51
|
-
readonly name: "zone1FeeMillionth";
|
|
52
|
-
readonly type: "uint24";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "uint24";
|
|
55
|
-
readonly name: "zone2FeeMillionth";
|
|
56
|
-
readonly type: "uint24";
|
|
57
|
-
}, {
|
|
58
|
-
readonly internalType: "uint24";
|
|
59
|
-
readonly name: "zone3FeeMillionth";
|
|
60
|
-
readonly type: "uint24";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "uint24";
|
|
63
|
-
readonly name: "rewardMillionth";
|
|
64
|
-
readonly type: "uint24";
|
|
65
|
-
}];
|
|
66
|
-
readonly indexed: false;
|
|
67
|
-
readonly internalType: "struct FeeConfig";
|
|
68
|
-
readonly name: "config";
|
|
69
|
-
readonly type: "tuple";
|
|
70
|
-
}];
|
|
71
|
-
readonly name: "FeeConfigSet";
|
|
72
|
-
readonly type: "event";
|
|
73
|
-
}, {
|
|
74
|
-
readonly anonymous: false;
|
|
75
|
-
readonly inputs: readonly [{
|
|
76
|
-
readonly indexed: true;
|
|
77
|
-
readonly internalType: "address";
|
|
78
|
-
readonly name: "previousOwner";
|
|
79
|
-
readonly type: "address";
|
|
80
|
-
}, {
|
|
81
|
-
readonly indexed: true;
|
|
82
|
-
readonly internalType: "address";
|
|
83
|
-
readonly name: "newOwner";
|
|
84
|
-
readonly type: "address";
|
|
85
|
-
}];
|
|
86
|
-
readonly name: "OwnershipTransferred";
|
|
87
|
-
readonly type: "event";
|
|
88
|
-
}, {
|
|
89
|
-
readonly anonymous: false;
|
|
90
|
-
readonly inputs: readonly [{
|
|
91
|
-
readonly indexed: false;
|
|
92
|
-
readonly internalType: "uint32";
|
|
93
|
-
readonly name: "eid";
|
|
94
|
-
readonly type: "uint32";
|
|
95
|
-
}, {
|
|
96
|
-
readonly indexed: false;
|
|
97
|
-
readonly internalType: "bool";
|
|
98
|
-
readonly name: "isPaused";
|
|
99
|
-
readonly type: "bool";
|
|
100
|
-
}];
|
|
101
|
-
readonly name: "PausedSet";
|
|
102
|
-
readonly type: "event";
|
|
103
|
-
}, {
|
|
104
|
-
readonly inputs: readonly [{
|
|
105
|
-
readonly components: readonly [{
|
|
106
|
-
readonly internalType: "address";
|
|
107
|
-
readonly name: "sender";
|
|
108
|
-
readonly type: "address";
|
|
109
|
-
}, {
|
|
110
|
-
readonly internalType: "uint32";
|
|
111
|
-
readonly name: "dstEid";
|
|
112
|
-
readonly type: "uint32";
|
|
113
|
-
}, {
|
|
114
|
-
readonly internalType: "uint64";
|
|
115
|
-
readonly name: "amountInSD";
|
|
116
|
-
readonly type: "uint64";
|
|
117
|
-
}, {
|
|
118
|
-
readonly internalType: "uint64";
|
|
119
|
-
readonly name: "deficitSD";
|
|
120
|
-
readonly type: "uint64";
|
|
121
|
-
}, {
|
|
122
|
-
readonly internalType: "bool";
|
|
123
|
-
readonly name: "toOFT";
|
|
124
|
-
readonly type: "bool";
|
|
125
|
-
}, {
|
|
126
|
-
readonly internalType: "bool";
|
|
127
|
-
readonly name: "isTaxi";
|
|
128
|
-
readonly type: "bool";
|
|
129
|
-
}];
|
|
130
|
-
readonly internalType: "struct FeeParams";
|
|
131
|
-
readonly name: "_params";
|
|
132
|
-
readonly type: "tuple";
|
|
133
|
-
}];
|
|
134
|
-
readonly name: "applyFee";
|
|
135
|
-
readonly outputs: readonly [{
|
|
136
|
-
readonly internalType: "uint64";
|
|
137
|
-
readonly name: "amountOutSD";
|
|
138
|
-
readonly type: "uint64";
|
|
139
|
-
}];
|
|
140
|
-
readonly stateMutability: "view";
|
|
141
|
-
readonly type: "function";
|
|
142
|
-
}, {
|
|
143
|
-
readonly inputs: readonly [{
|
|
144
|
-
readonly components: readonly [{
|
|
145
|
-
readonly internalType: "address";
|
|
146
|
-
readonly name: "sender";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly internalType: "uint32";
|
|
150
|
-
readonly name: "dstEid";
|
|
151
|
-
readonly type: "uint32";
|
|
152
|
-
}, {
|
|
153
|
-
readonly internalType: "uint64";
|
|
154
|
-
readonly name: "amountInSD";
|
|
155
|
-
readonly type: "uint64";
|
|
156
|
-
}, {
|
|
157
|
-
readonly internalType: "uint64";
|
|
158
|
-
readonly name: "deficitSD";
|
|
159
|
-
readonly type: "uint64";
|
|
160
|
-
}, {
|
|
161
|
-
readonly internalType: "bool";
|
|
162
|
-
readonly name: "toOFT";
|
|
163
|
-
readonly type: "bool";
|
|
164
|
-
}, {
|
|
165
|
-
readonly internalType: "bool";
|
|
166
|
-
readonly name: "isTaxi";
|
|
167
|
-
readonly type: "bool";
|
|
168
|
-
}];
|
|
169
|
-
readonly internalType: "struct FeeParams";
|
|
170
|
-
readonly name: "_params";
|
|
171
|
-
readonly type: "tuple";
|
|
172
|
-
}];
|
|
173
|
-
readonly name: "applyFeeView";
|
|
174
|
-
readonly outputs: readonly [{
|
|
175
|
-
readonly internalType: "uint64";
|
|
176
|
-
readonly name: "amountOutSD";
|
|
177
|
-
readonly type: "uint64";
|
|
178
|
-
}];
|
|
179
|
-
readonly stateMutability: "view";
|
|
180
|
-
readonly type: "function";
|
|
181
|
-
}, {
|
|
182
|
-
readonly inputs: readonly [{
|
|
183
|
-
readonly internalType: "uint32";
|
|
184
|
-
readonly name: "eid";
|
|
185
|
-
readonly type: "uint32";
|
|
186
|
-
}];
|
|
187
|
-
readonly name: "feeConfigs";
|
|
188
|
-
readonly outputs: readonly [{
|
|
189
|
-
readonly internalType: "bool";
|
|
190
|
-
readonly name: "paused";
|
|
191
|
-
readonly type: "bool";
|
|
192
|
-
}, {
|
|
193
|
-
readonly internalType: "uint64";
|
|
194
|
-
readonly name: "zone1UpperBound";
|
|
195
|
-
readonly type: "uint64";
|
|
196
|
-
}, {
|
|
197
|
-
readonly internalType: "uint64";
|
|
198
|
-
readonly name: "zone2UpperBound";
|
|
199
|
-
readonly type: "uint64";
|
|
200
|
-
}, {
|
|
201
|
-
readonly internalType: "uint24";
|
|
202
|
-
readonly name: "zone1FeeMillionth";
|
|
203
|
-
readonly type: "uint24";
|
|
204
|
-
}, {
|
|
205
|
-
readonly internalType: "uint24";
|
|
206
|
-
readonly name: "zone2FeeMillionth";
|
|
207
|
-
readonly type: "uint24";
|
|
208
|
-
}, {
|
|
209
|
-
readonly internalType: "uint24";
|
|
210
|
-
readonly name: "zone3FeeMillionth";
|
|
211
|
-
readonly type: "uint24";
|
|
212
|
-
}, {
|
|
213
|
-
readonly internalType: "uint24";
|
|
214
|
-
readonly name: "rewardMillionth";
|
|
215
|
-
readonly type: "uint24";
|
|
216
|
-
}];
|
|
217
|
-
readonly stateMutability: "view";
|
|
218
|
-
readonly type: "function";
|
|
219
|
-
}, {
|
|
220
|
-
readonly inputs: readonly [];
|
|
221
|
-
readonly name: "owner";
|
|
222
|
-
readonly outputs: readonly [{
|
|
223
|
-
readonly internalType: "address";
|
|
224
|
-
readonly name: "";
|
|
225
|
-
readonly type: "address";
|
|
226
|
-
}];
|
|
227
|
-
readonly stateMutability: "view";
|
|
228
|
-
readonly type: "function";
|
|
229
|
-
}, {
|
|
230
|
-
readonly inputs: readonly [];
|
|
231
|
-
readonly name: "renounceOwnership";
|
|
232
|
-
readonly outputs: readonly [];
|
|
233
|
-
readonly stateMutability: "nonpayable";
|
|
234
|
-
readonly type: "function";
|
|
235
|
-
}, {
|
|
236
|
-
readonly inputs: readonly [{
|
|
237
|
-
readonly internalType: "uint32";
|
|
238
|
-
readonly name: "_dstEid";
|
|
239
|
-
readonly type: "uint32";
|
|
240
|
-
}, {
|
|
241
|
-
readonly internalType: "uint64";
|
|
242
|
-
readonly name: "_zone1UpperBound";
|
|
243
|
-
readonly type: "uint64";
|
|
244
|
-
}, {
|
|
245
|
-
readonly internalType: "uint64";
|
|
246
|
-
readonly name: "_zone2UpperBound";
|
|
247
|
-
readonly type: "uint64";
|
|
248
|
-
}, {
|
|
249
|
-
readonly internalType: "uint24";
|
|
250
|
-
readonly name: "_zone1FeeMillionth";
|
|
251
|
-
readonly type: "uint24";
|
|
252
|
-
}, {
|
|
253
|
-
readonly internalType: "uint24";
|
|
254
|
-
readonly name: "_zone2FeeMillionth";
|
|
255
|
-
readonly type: "uint24";
|
|
256
|
-
}, {
|
|
257
|
-
readonly internalType: "uint24";
|
|
258
|
-
readonly name: "_zone3FeeMillionth";
|
|
259
|
-
readonly type: "uint24";
|
|
260
|
-
}, {
|
|
261
|
-
readonly internalType: "uint24";
|
|
262
|
-
readonly name: "_rewardMillionth";
|
|
263
|
-
readonly type: "uint24";
|
|
264
|
-
}];
|
|
265
|
-
readonly name: "setFeeConfig";
|
|
266
|
-
readonly outputs: readonly [];
|
|
267
|
-
readonly stateMutability: "nonpayable";
|
|
268
|
-
readonly type: "function";
|
|
269
|
-
}, {
|
|
270
|
-
readonly inputs: readonly [{
|
|
271
|
-
readonly internalType: "uint32";
|
|
272
|
-
readonly name: "_dstEid";
|
|
273
|
-
readonly type: "uint32";
|
|
274
|
-
}, {
|
|
275
|
-
readonly internalType: "bool";
|
|
276
|
-
readonly name: "_isPaused";
|
|
277
|
-
readonly type: "bool";
|
|
278
|
-
}];
|
|
279
|
-
readonly name: "setPaused";
|
|
280
|
-
readonly outputs: readonly [];
|
|
281
|
-
readonly stateMutability: "nonpayable";
|
|
282
|
-
readonly type: "function";
|
|
283
|
-
}, {
|
|
284
|
-
readonly inputs: readonly [];
|
|
285
|
-
readonly name: "stargate";
|
|
286
|
-
readonly outputs: readonly [{
|
|
287
|
-
readonly internalType: "address";
|
|
288
|
-
readonly name: "";
|
|
289
|
-
readonly type: "address";
|
|
290
|
-
}];
|
|
291
|
-
readonly stateMutability: "view";
|
|
292
|
-
readonly type: "function";
|
|
293
|
-
}, {
|
|
294
|
-
readonly inputs: readonly [];
|
|
295
|
-
readonly name: "stargateType";
|
|
296
|
-
readonly outputs: readonly [{
|
|
297
|
-
readonly internalType: "enum StargateType";
|
|
298
|
-
readonly name: "";
|
|
299
|
-
readonly type: "uint8";
|
|
300
|
-
}];
|
|
301
|
-
readonly stateMutability: "view";
|
|
302
|
-
readonly type: "function";
|
|
303
|
-
}, {
|
|
304
|
-
readonly inputs: readonly [{
|
|
305
|
-
readonly internalType: "address";
|
|
306
|
-
readonly name: "newOwner";
|
|
307
|
-
readonly type: "address";
|
|
308
|
-
}];
|
|
309
|
-
readonly name: "transferOwnership";
|
|
310
|
-
readonly outputs: readonly [];
|
|
311
|
-
readonly stateMutability: "nonpayable";
|
|
312
|
-
readonly type: "function";
|
|
313
|
-
}];
|
|
314
|
-
type Abi0 = typeof abi0;
|
|
315
|
-
type Abis = {
|
|
316
|
-
"ethereum-mainnet": Abi0;
|
|
317
|
-
"metis-mainnet": Abi0;
|
|
318
|
-
};
|
|
319
|
-
declare const abis: Abis;
|
|
320
|
-
|
|
321
|
-
declare const FeeLibV1METIS_abis: typeof abis;
|
|
322
|
-
declare const FeeLibV1METIS_addresses: typeof addresses;
|
|
323
|
-
declare const FeeLibV1METIS_transactionHashes: typeof transactionHashes;
|
|
324
|
-
declare namespace FeeLibV1METIS {
|
|
325
|
-
export { FeeLibV1METIS_abis as abis, FeeLibV1METIS_addresses as addresses, FeeLibV1METIS_transactionHashes as transactionHashes };
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export { FeeLibV1METIS as F, addresses as a, abis as b, transactionHashes as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { b as abis, a as addresses, t as transactionHashes } from './FeeLibV1METIS-B3y8ZOp-.mjs';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { b as abis, a as addresses, t as transactionHashes } from './FeeLibV1METIS-B3y8ZOp-.js';
|