Skip to content

Commit 4072101

Browse files
committed
reintroduce support for dynamic types
1 parent 25fe8cb commit 4072101

File tree

1 file changed

+263
-0
lines changed

1 file changed

+263
-0
lines changed
Lines changed: 263 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"internalType": "uint256",
6+
"name": "_chainId",
7+
"type": "uint256"
8+
}
9+
],
10+
"stateMutability": "nonpayable",
11+
"type": "constructor"
12+
}, {
13+
"inputs": [],
14+
"name": "InvalidShortString",
15+
"type": "error"
16+
}, {
17+
"inputs": [
18+
{
19+
"internalType": "string",
20+
"name": "str",
21+
"type": "string"
22+
}
23+
],
24+
"name": "StringTooLong",
25+
"type": "error"
26+
}, {
27+
"anonymous": false,
28+
"inputs": [],
29+
"name": "EIP712DomainChanged",
30+
"type": "event"
31+
}, {
32+
"anonymous": false,
33+
"inputs": [
34+
{
35+
"indexed": true,
36+
"internalType": "address",
37+
"name": "previousOwner",
38+
"type": "address"
39+
}, {
40+
"indexed": true,
41+
"internalType": "address",
42+
"name": "newOwner",
43+
"type": "address"
44+
}
45+
],
46+
"name": "OwnershipTransferred",
47+
"type": "event"
48+
}, {
49+
"inputs": [],
50+
"name": "chainId",
51+
"outputs": [
52+
{
53+
"internalType": "uint256",
54+
"name": "",
55+
"type": "uint256"
56+
}
57+
],
58+
"stateMutability": "view",
59+
"type": "function"
60+
}, {
61+
"inputs": [],
62+
"name": "eip712Domain",
63+
"outputs": [
64+
{
65+
"internalType": "bytes1",
66+
"name": "fields",
67+
"type": "bytes1"
68+
}, {
69+
"internalType": "string",
70+
"name": "name",
71+
"type": "string"
72+
}, {
73+
"internalType": "string",
74+
"name": "version",
75+
"type": "string"
76+
}, {
77+
"internalType": "uint256",
78+
"name": "chainId",
79+
"type": "uint256"
80+
}, {
81+
"internalType": "address",
82+
"name": "verifyingContract",
83+
"type": "address"
84+
}, {
85+
"internalType": "bytes32",
86+
"name": "salt",
87+
"type": "bytes32"
88+
}, {
89+
"internalType": "uint256[]",
90+
"name": "extensions",
91+
"type": "uint256[]"
92+
}
93+
],
94+
"stateMutability": "view",
95+
"type": "function"
96+
}, {
97+
"inputs": [
98+
{
99+
"components": [
100+
{
101+
"internalType": "address",
102+
"name": "from",
103+
"type": "address"
104+
}, {
105+
"internalType": "address",
106+
"name": "to",
107+
"type": "address"
108+
}, {
109+
"internalType": "uint256",
110+
"name": "value",
111+
"type": "uint256"
112+
}, {
113+
"internalType": "uint256",
114+
"name": "gas",
115+
"type": "uint256"
116+
}, {
117+
"internalType": "uint256",
118+
"name": "nonce",
119+
"type": "uint256"
120+
}, {
121+
"internalType": "bytes",
122+
"name": "data",
123+
"type": "bytes"
124+
}
125+
],
126+
"internalType": "struct SereshForwarder.ForwardRequest",
127+
"name": "req",
128+
"type": "tuple"
129+
}, {
130+
"internalType": "bytes32",
131+
"name": "sigR",
132+
"type": "bytes32"
133+
}, {
134+
"internalType": "bytes32",
135+
"name": "sigS",
136+
"type": "bytes32"
137+
}, {
138+
"internalType": "uint8",
139+
"name": "sigV",
140+
"type": "uint8"
141+
}
142+
],
143+
"name": "execute",
144+
"outputs": [
145+
{
146+
"internalType": "bool",
147+
"name": "",
148+
"type": "bool"
149+
}, {
150+
"internalType": "bytes",
151+
"name": "",
152+
"type": "bytes"
153+
}
154+
],
155+
"stateMutability": "payable",
156+
"type": "function"
157+
}, {
158+
"inputs": [
159+
{
160+
"internalType": "address",
161+
"name": "from",
162+
"type": "address"
163+
}
164+
],
165+
"name": "getNonce",
166+
"outputs": [
167+
{
168+
"internalType": "uint256",
169+
"name": "",
170+
"type": "uint256"
171+
}
172+
],
173+
"stateMutability": "view",
174+
"type": "function"
175+
}, {
176+
"inputs": [],
177+
"name": "owner",
178+
"outputs": [
179+
{
180+
"internalType": "address",
181+
"name": "",
182+
"type": "address"
183+
}
184+
],
185+
"stateMutability": "view",
186+
"type": "function"
187+
}, {
188+
"inputs": [],
189+
"name": "renounceOwnership",
190+
"outputs": [],
191+
"stateMutability": "nonpayable",
192+
"type": "function"
193+
}, {
194+
"inputs": [
195+
{
196+
"internalType": "address",
197+
"name": "newOwner",
198+
"type": "address"
199+
}
200+
],
201+
"name": "transferOwnership",
202+
"outputs": [],
203+
"stateMutability": "nonpayable",
204+
"type": "function"
205+
}, {
206+
"inputs": [
207+
{
208+
"components": [
209+
{
210+
"internalType": "address",
211+
"name": "from",
212+
"type": "address"
213+
}, {
214+
"internalType": "address",
215+
"name": "to",
216+
"type": "address"
217+
}, {
218+
"internalType": "uint256",
219+
"name": "value",
220+
"type": "uint256"
221+
}, {
222+
"internalType": "uint256",
223+
"name": "gas",
224+
"type": "uint256"
225+
}, {
226+
"internalType": "uint256",
227+
"name": "nonce",
228+
"type": "uint256"
229+
}, {
230+
"internalType": "bytes",
231+
"name": "data",
232+
"type": "bytes"
233+
}
234+
],
235+
"internalType": "struct SereshForwarder.ForwardRequest",
236+
"name": "req",
237+
"type": "tuple"
238+
}, {
239+
"internalType": "bytes32",
240+
"name": "sigR",
241+
"type": "bytes32"
242+
}, {
243+
"internalType": "bytes32",
244+
"name": "sigS",
245+
"type": "bytes32"
246+
}, {
247+
"internalType": "uint8",
248+
"name": "sigV",
249+
"type": "uint8"
250+
}
251+
],
252+
"name": "verify",
253+
"outputs": [
254+
{
255+
"internalType": "bool",
256+
"name": "",
257+
"type": "bool"
258+
}
259+
],
260+
"stateMutability": "view",
261+
"type": "function"
262+
}
263+
]

0 commit comments

Comments
 (0)