Skip to content

Commit c879642

Browse files
authored
Merge pull request #570 from VenusProtocol/feat/VEN-3257
[VEN-3257]: Add WBTC and USDT0 markets to the Core pool / Unichain
2 parents 9437b94 + 071102d commit c879642

12 files changed

+6317
-0
lines changed
Lines changed: 314 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,314 @@
1+
[
2+
{
3+
"inputs": [
4+
{ "internalType": "contract ILayerZeroEndpoint", "name": "lzEndpoint_", "type": "address" },
5+
{ "internalType": "address", "name": "accessControlManager_", "type": "address" }
6+
],
7+
"stateMutability": "nonpayable",
8+
"type": "constructor"
9+
},
10+
{ "inputs": [], "name": "ZeroAddressNotAllowed", "type": "error" },
11+
{
12+
"anonymous": false,
13+
"inputs": [
14+
{ "indexed": true, "internalType": "uint256", "name": "proposalId", "type": "uint256" },
15+
{ "indexed": false, "internalType": "bytes32", "name": "executionHash", "type": "bytes32" }
16+
],
17+
"name": "ClearPayload",
18+
"type": "event"
19+
},
20+
{
21+
"anonymous": false,
22+
"inputs": [
23+
{ "indexed": true, "internalType": "uint16", "name": "remoteChainId", "type": "uint16" },
24+
{ "indexed": false, "internalType": "uint256", "name": "proposalId", "type": "uint256" },
25+
{ "indexed": false, "internalType": "bytes", "name": "payload", "type": "bytes" }
26+
],
27+
"name": "ExecuteRemoteProposal",
28+
"type": "event"
29+
},
30+
{
31+
"anonymous": false,
32+
"inputs": [
33+
{ "indexed": true, "internalType": "address", "name": "receiver", "type": "address" },
34+
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }
35+
],
36+
"name": "FallbackWithdraw",
37+
"type": "event"
38+
},
39+
{
40+
"anonymous": false,
41+
"inputs": [
42+
{ "indexed": true, "internalType": "address", "name": "oldAccessControlManager", "type": "address" },
43+
{ "indexed": true, "internalType": "address", "name": "newAccessControlManager", "type": "address" }
44+
],
45+
"name": "NewAccessControlManager",
46+
"type": "event"
47+
},
48+
{
49+
"anonymous": false,
50+
"inputs": [
51+
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
52+
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
53+
],
54+
"name": "OwnershipTransferred",
55+
"type": "event"
56+
},
57+
{
58+
"anonymous": false,
59+
"inputs": [{ "indexed": false, "internalType": "address", "name": "account", "type": "address" }],
60+
"name": "Paused",
61+
"type": "event"
62+
},
63+
{
64+
"anonymous": false,
65+
"inputs": [
66+
{ "indexed": true, "internalType": "uint16", "name": "chainId", "type": "uint16" },
67+
{ "indexed": false, "internalType": "uint256", "name": "oldMaxLimit", "type": "uint256" },
68+
{ "indexed": false, "internalType": "uint256", "name": "newMaxLimit", "type": "uint256" }
69+
],
70+
"name": "SetMaxDailyLimit",
71+
"type": "event"
72+
},
73+
{
74+
"anonymous": false,
75+
"inputs": [
76+
{ "indexed": true, "internalType": "uint16", "name": "remoteChainId", "type": "uint16" },
77+
{ "indexed": false, "internalType": "bytes", "name": "oldRemoteAddress", "type": "bytes" },
78+
{ "indexed": false, "internalType": "bytes", "name": "newRemoteAddress", "type": "bytes" }
79+
],
80+
"name": "SetTrustedRemoteAddress",
81+
"type": "event"
82+
},
83+
{
84+
"anonymous": false,
85+
"inputs": [
86+
{ "indexed": true, "internalType": "uint256", "name": "proposalId", "type": "uint256" },
87+
{ "indexed": true, "internalType": "uint16", "name": "remoteChainId", "type": "uint16" },
88+
{ "indexed": false, "internalType": "bytes", "name": "payload", "type": "bytes" },
89+
{ "indexed": false, "internalType": "bytes", "name": "adapterParams", "type": "bytes" },
90+
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" },
91+
{ "indexed": false, "internalType": "bytes", "name": "reason", "type": "bytes" }
92+
],
93+
"name": "StorePayload",
94+
"type": "event"
95+
},
96+
{
97+
"anonymous": false,
98+
"inputs": [{ "indexed": true, "internalType": "uint16", "name": "chainId", "type": "uint16" }],
99+
"name": "TrustedRemoteRemoved",
100+
"type": "event"
101+
},
102+
{
103+
"anonymous": false,
104+
"inputs": [{ "indexed": false, "internalType": "address", "name": "account", "type": "address" }],
105+
"name": "Unpaused",
106+
"type": "event"
107+
},
108+
{
109+
"inputs": [],
110+
"name": "LZ_ENDPOINT",
111+
"outputs": [{ "internalType": "contract ILayerZeroEndpoint", "name": "", "type": "address" }],
112+
"stateMutability": "view",
113+
"type": "function"
114+
},
115+
{
116+
"inputs": [],
117+
"name": "accessControlManager",
118+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
119+
"stateMutability": "view",
120+
"type": "function"
121+
},
122+
{
123+
"inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
124+
"name": "chainIdToLast24HourCommandsSent",
125+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
126+
"stateMutability": "view",
127+
"type": "function"
128+
},
129+
{
130+
"inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
131+
"name": "chainIdToLast24HourWindowStart",
132+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
133+
"stateMutability": "view",
134+
"type": "function"
135+
},
136+
{
137+
"inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
138+
"name": "chainIdToLastProposalSentTimestamp",
139+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
140+
"stateMutability": "view",
141+
"type": "function"
142+
},
143+
{
144+
"inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
145+
"name": "chainIdToMaxDailyLimit",
146+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
147+
"stateMutability": "view",
148+
"type": "function"
149+
},
150+
{
151+
"inputs": [
152+
{ "internalType": "uint16", "name": "remoteChainId_", "type": "uint16" },
153+
{ "internalType": "bytes", "name": "payload_", "type": "bytes" },
154+
{ "internalType": "bool", "name": "useZro_", "type": "bool" },
155+
{ "internalType": "bytes", "name": "adapterParams_", "type": "bytes" }
156+
],
157+
"name": "estimateFees",
158+
"outputs": [
159+
{ "internalType": "uint256", "name": "", "type": "uint256" },
160+
{ "internalType": "uint256", "name": "", "type": "uint256" }
161+
],
162+
"stateMutability": "view",
163+
"type": "function"
164+
},
165+
{
166+
"inputs": [
167+
{ "internalType": "uint16", "name": "remoteChainId_", "type": "uint16" },
168+
{ "internalType": "bytes", "name": "payload_", "type": "bytes" },
169+
{ "internalType": "bytes", "name": "adapterParams_", "type": "bytes" },
170+
{ "internalType": "address", "name": "zroPaymentAddress_", "type": "address" }
171+
],
172+
"name": "execute",
173+
"outputs": [],
174+
"stateMutability": "payable",
175+
"type": "function"
176+
},
177+
{
178+
"inputs": [
179+
{ "internalType": "address", "name": "to_", "type": "address" },
180+
{ "internalType": "uint256", "name": "pId_", "type": "uint256" },
181+
{ "internalType": "uint16", "name": "remoteChainId_", "type": "uint16" },
182+
{ "internalType": "bytes", "name": "payload_", "type": "bytes" },
183+
{ "internalType": "bytes", "name": "adapterParams_", "type": "bytes" },
184+
{ "internalType": "uint256", "name": "originalValue_", "type": "uint256" }
185+
],
186+
"name": "fallbackWithdraw",
187+
"outputs": [],
188+
"stateMutability": "nonpayable",
189+
"type": "function"
190+
},
191+
{
192+
"inputs": [
193+
{ "internalType": "uint16", "name": "version_", "type": "uint16" },
194+
{ "internalType": "uint16", "name": "chainId_", "type": "uint16" },
195+
{ "internalType": "uint256", "name": "configType_", "type": "uint256" }
196+
],
197+
"name": "getConfig",
198+
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
199+
"stateMutability": "view",
200+
"type": "function"
201+
},
202+
{
203+
"inputs": [],
204+
"name": "owner",
205+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
206+
"stateMutability": "view",
207+
"type": "function"
208+
},
209+
{ "inputs": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
210+
{
211+
"inputs": [],
212+
"name": "paused",
213+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
214+
"stateMutability": "view",
215+
"type": "function"
216+
},
217+
{
218+
"inputs": [],
219+
"name": "proposalCount",
220+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
221+
"stateMutability": "view",
222+
"type": "function"
223+
},
224+
{
225+
"inputs": [{ "internalType": "uint16", "name": "remoteChainId_", "type": "uint16" }],
226+
"name": "removeTrustedRemote",
227+
"outputs": [],
228+
"stateMutability": "nonpayable",
229+
"type": "function"
230+
},
231+
{ "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
232+
{
233+
"inputs": [
234+
{ "internalType": "uint256", "name": "pId_", "type": "uint256" },
235+
{ "internalType": "uint16", "name": "remoteChainId_", "type": "uint16" },
236+
{ "internalType": "bytes", "name": "payload_", "type": "bytes" },
237+
{ "internalType": "bytes", "name": "adapterParams_", "type": "bytes" },
238+
{ "internalType": "address", "name": "zroPaymentAddress_", "type": "address" },
239+
{ "internalType": "uint256", "name": "originalValue_", "type": "uint256" }
240+
],
241+
"name": "retryExecute",
242+
"outputs": [],
243+
"stateMutability": "payable",
244+
"type": "function"
245+
},
246+
{
247+
"inputs": [{ "internalType": "address", "name": "accessControlManager_", "type": "address" }],
248+
"name": "setAccessControlManager",
249+
"outputs": [],
250+
"stateMutability": "nonpayable",
251+
"type": "function"
252+
},
253+
{
254+
"inputs": [
255+
{ "internalType": "uint16", "name": "version_", "type": "uint16" },
256+
{ "internalType": "uint16", "name": "chainId_", "type": "uint16" },
257+
{ "internalType": "uint256", "name": "configType_", "type": "uint256" },
258+
{ "internalType": "bytes", "name": "config_", "type": "bytes" }
259+
],
260+
"name": "setConfig",
261+
"outputs": [],
262+
"stateMutability": "nonpayable",
263+
"type": "function"
264+
},
265+
{
266+
"inputs": [
267+
{ "internalType": "uint16", "name": "chainId_", "type": "uint16" },
268+
{ "internalType": "uint256", "name": "limit_", "type": "uint256" }
269+
],
270+
"name": "setMaxDailyLimit",
271+
"outputs": [],
272+
"stateMutability": "nonpayable",
273+
"type": "function"
274+
},
275+
{
276+
"inputs": [{ "internalType": "uint16", "name": "version_", "type": "uint16" }],
277+
"name": "setSendVersion",
278+
"outputs": [],
279+
"stateMutability": "nonpayable",
280+
"type": "function"
281+
},
282+
{
283+
"inputs": [
284+
{ "internalType": "uint16", "name": "remoteChainId_", "type": "uint16" },
285+
{ "internalType": "bytes", "name": "newRemoteAddress_", "type": "bytes" }
286+
],
287+
"name": "setTrustedRemoteAddress",
288+
"outputs": [],
289+
"stateMutability": "nonpayable",
290+
"type": "function"
291+
},
292+
{
293+
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
294+
"name": "storedExecutionHashes",
295+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
296+
"stateMutability": "view",
297+
"type": "function"
298+
},
299+
{
300+
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
301+
"name": "transferOwnership",
302+
"outputs": [],
303+
"stateMutability": "nonpayable",
304+
"type": "function"
305+
},
306+
{
307+
"inputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
308+
"name": "trustedRemoteLookup",
309+
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
310+
"stateMutability": "view",
311+
"type": "function"
312+
},
313+
{ "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }
314+
]

0 commit comments

Comments
 (0)