Skip to content

Commit 13c7ba4

Browse files
jhilaire-circlezzhang-circle
authored andcommitted
feat(CCTPE-1860): add ABIs for V2.1 with standard fee switch (#71)
## Summary Added the new ABIs for CCTP V2 with standard fee switch circlefin/evm-cctp-contracts-private@2f9a2ba ## Detail - pulled ABIs from bakery container image ( i.e. curl http://localhost:${ABI_PORT}/abi/cctp-v2/TokenMessengerV2 > v2.1/TokenMessengerV2.json ) - added the new ABIs for CCTP V2 with standard fee switch to folder v2.1 ## Testing Verified that only ABI of BaseTokenMessengerV2 and TokenMessengerV2 are different from V2. --- **CCTPE-1860:** <https://circlepay.atlassian.net/browse/CCTPE-1860>
1 parent 3d9d38f commit 13c7ba4

9 files changed

+4127
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[
2+
{
3+
"type": "function",
4+
"name": "addressToBytes32",
5+
"inputs": [
6+
{
7+
"name": "addr",
8+
"type": "address",
9+
"internalType": "address"
10+
}
11+
],
12+
"outputs": [
13+
{
14+
"name": "",
15+
"type": "bytes32",
16+
"internalType": "bytes32"
17+
}
18+
],
19+
"stateMutability": "pure"
20+
},
21+
{
22+
"type": "function",
23+
"name": "bytes32ToAddress",
24+
"inputs": [
25+
{
26+
"name": "_buf",
27+
"type": "bytes32",
28+
"internalType": "bytes32"
29+
}
30+
],
31+
"outputs": [
32+
{
33+
"name": "",
34+
"type": "address",
35+
"internalType": "address"
36+
}
37+
],
38+
"stateMutability": "pure"
39+
}
40+
]
Lines changed: 284 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,284 @@
1+
[
2+
{
3+
"type": "constructor",
4+
"inputs": [],
5+
"stateMutability": "nonpayable"
6+
},
7+
{
8+
"type": "function",
9+
"name": "acceptOwnership",
10+
"inputs": [],
11+
"outputs": [],
12+
"stateMutability": "nonpayable"
13+
},
14+
{
15+
"type": "function",
16+
"name": "attesterManager",
17+
"inputs": [],
18+
"outputs": [
19+
{
20+
"name": "",
21+
"type": "address",
22+
"internalType": "address"
23+
}
24+
],
25+
"stateMutability": "view"
26+
},
27+
{
28+
"type": "function",
29+
"name": "disableAttester",
30+
"inputs": [
31+
{
32+
"name": "attester",
33+
"type": "address",
34+
"internalType": "address"
35+
}
36+
],
37+
"outputs": [],
38+
"stateMutability": "nonpayable"
39+
},
40+
{
41+
"type": "function",
42+
"name": "enableAttester",
43+
"inputs": [
44+
{
45+
"name": "newAttester",
46+
"type": "address",
47+
"internalType": "address"
48+
}
49+
],
50+
"outputs": [],
51+
"stateMutability": "nonpayable"
52+
},
53+
{
54+
"type": "function",
55+
"name": "getEnabledAttester",
56+
"inputs": [
57+
{
58+
"name": "index",
59+
"type": "uint256",
60+
"internalType": "uint256"
61+
}
62+
],
63+
"outputs": [
64+
{
65+
"name": "",
66+
"type": "address",
67+
"internalType": "address"
68+
}
69+
],
70+
"stateMutability": "view"
71+
},
72+
{
73+
"type": "function",
74+
"name": "getNumEnabledAttesters",
75+
"inputs": [],
76+
"outputs": [
77+
{
78+
"name": "",
79+
"type": "uint256",
80+
"internalType": "uint256"
81+
}
82+
],
83+
"stateMutability": "view"
84+
},
85+
{
86+
"type": "function",
87+
"name": "isEnabledAttester",
88+
"inputs": [
89+
{
90+
"name": "attester",
91+
"type": "address",
92+
"internalType": "address"
93+
}
94+
],
95+
"outputs": [
96+
{
97+
"name": "",
98+
"type": "bool",
99+
"internalType": "bool"
100+
}
101+
],
102+
"stateMutability": "view"
103+
},
104+
{
105+
"type": "function",
106+
"name": "owner",
107+
"inputs": [],
108+
"outputs": [
109+
{
110+
"name": "",
111+
"type": "address",
112+
"internalType": "address"
113+
}
114+
],
115+
"stateMutability": "view"
116+
},
117+
{
118+
"type": "function",
119+
"name": "pendingOwner",
120+
"inputs": [],
121+
"outputs": [
122+
{
123+
"name": "",
124+
"type": "address",
125+
"internalType": "address"
126+
}
127+
],
128+
"stateMutability": "view"
129+
},
130+
{
131+
"type": "function",
132+
"name": "setSignatureThreshold",
133+
"inputs": [
134+
{
135+
"name": "newSignatureThreshold",
136+
"type": "uint256",
137+
"internalType": "uint256"
138+
}
139+
],
140+
"outputs": [],
141+
"stateMutability": "nonpayable"
142+
},
143+
{
144+
"type": "function",
145+
"name": "signatureThreshold",
146+
"inputs": [],
147+
"outputs": [
148+
{
149+
"name": "",
150+
"type": "uint256",
151+
"internalType": "uint256"
152+
}
153+
],
154+
"stateMutability": "view"
155+
},
156+
{
157+
"type": "function",
158+
"name": "transferOwnership",
159+
"inputs": [
160+
{
161+
"name": "newOwner",
162+
"type": "address",
163+
"internalType": "address"
164+
}
165+
],
166+
"outputs": [],
167+
"stateMutability": "nonpayable"
168+
},
169+
{
170+
"type": "function",
171+
"name": "updateAttesterManager",
172+
"inputs": [
173+
{
174+
"name": "newAttesterManager",
175+
"type": "address",
176+
"internalType": "address"
177+
}
178+
],
179+
"outputs": [],
180+
"stateMutability": "nonpayable"
181+
},
182+
{
183+
"type": "event",
184+
"name": "AttesterDisabled",
185+
"inputs": [
186+
{
187+
"name": "attester",
188+
"type": "address",
189+
"indexed": true,
190+
"internalType": "address"
191+
}
192+
],
193+
"anonymous": false
194+
},
195+
{
196+
"type": "event",
197+
"name": "AttesterEnabled",
198+
"inputs": [
199+
{
200+
"name": "attester",
201+
"type": "address",
202+
"indexed": true,
203+
"internalType": "address"
204+
}
205+
],
206+
"anonymous": false
207+
},
208+
{
209+
"type": "event",
210+
"name": "AttesterManagerUpdated",
211+
"inputs": [
212+
{
213+
"name": "previousAttesterManager",
214+
"type": "address",
215+
"indexed": true,
216+
"internalType": "address"
217+
},
218+
{
219+
"name": "newAttesterManager",
220+
"type": "address",
221+
"indexed": true,
222+
"internalType": "address"
223+
}
224+
],
225+
"anonymous": false
226+
},
227+
{
228+
"type": "event",
229+
"name": "OwnershipTransferStarted",
230+
"inputs": [
231+
{
232+
"name": "previousOwner",
233+
"type": "address",
234+
"indexed": true,
235+
"internalType": "address"
236+
},
237+
{
238+
"name": "newOwner",
239+
"type": "address",
240+
"indexed": true,
241+
"internalType": "address"
242+
}
243+
],
244+
"anonymous": false
245+
},
246+
{
247+
"type": "event",
248+
"name": "OwnershipTransferred",
249+
"inputs": [
250+
{
251+
"name": "previousOwner",
252+
"type": "address",
253+
"indexed": true,
254+
"internalType": "address"
255+
},
256+
{
257+
"name": "newOwner",
258+
"type": "address",
259+
"indexed": true,
260+
"internalType": "address"
261+
}
262+
],
263+
"anonymous": false
264+
},
265+
{
266+
"type": "event",
267+
"name": "SignatureThresholdUpdated",
268+
"inputs": [
269+
{
270+
"name": "oldSignatureThreshold",
271+
"type": "uint256",
272+
"indexed": false,
273+
"internalType": "uint256"
274+
},
275+
{
276+
"name": "newSignatureThreshold",
277+
"type": "uint256",
278+
"indexed": false,
279+
"internalType": "uint256"
280+
}
281+
],
282+
"anonymous": false
283+
}
284+
]

0 commit comments

Comments
 (0)