Skip to content

Commit 27e86d7

Browse files
authored
[ENSIP 19] Update registration flow for SCWs (#2583)
* Update registration flow for SCWs for ensip 19 * Add contract addresses * Remove RegistrarController * update * update
1 parent fe9abc8 commit 27e86d7

File tree

12 files changed

+1230
-545
lines changed

12 files changed

+1230
-545
lines changed
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
export default [
2+
{
3+
type: 'function',
4+
name: 'setName',
5+
inputs: [
6+
{
7+
name: 'name',
8+
type: 'string',
9+
internalType: 'string',
10+
},
11+
],
12+
outputs: [],
13+
stateMutability: 'nonpayable',
14+
},
15+
{
16+
type: 'function',
17+
name: 'setNameForAddr',
18+
inputs: [
19+
{
20+
name: 'addr',
21+
type: 'address',
22+
internalType: 'address',
23+
},
24+
{
25+
name: 'name',
26+
type: 'string',
27+
internalType: 'string',
28+
},
29+
],
30+
outputs: [],
31+
stateMutability: 'nonpayable',
32+
},
33+
{
34+
type: 'function',
35+
name: 'setNameForAddrWithSignature',
36+
inputs: [
37+
{
38+
name: 'addr',
39+
type: 'address',
40+
internalType: 'address',
41+
},
42+
{
43+
name: 'signatureExpiry',
44+
type: 'uint256',
45+
internalType: 'uint256',
46+
},
47+
{
48+
name: 'name',
49+
type: 'string',
50+
internalType: 'string',
51+
},
52+
{
53+
name: 'coinTypes',
54+
type: 'uint256[]',
55+
internalType: 'uint256[]',
56+
},
57+
{
58+
name: 'signature',
59+
type: 'bytes',
60+
internalType: 'bytes',
61+
},
62+
],
63+
outputs: [],
64+
stateMutability: 'nonpayable',
65+
},
66+
{
67+
type: 'function',
68+
name: 'setNameForOwnableWithSignature',
69+
inputs: [
70+
{
71+
name: 'contractAddr',
72+
type: 'address',
73+
internalType: 'address',
74+
},
75+
{
76+
name: 'owner',
77+
type: 'address',
78+
internalType: 'address',
79+
},
80+
{
81+
name: 'signatureExpiry',
82+
type: 'uint256',
83+
internalType: 'uint256',
84+
},
85+
{
86+
name: 'name',
87+
type: 'string',
88+
internalType: 'string',
89+
},
90+
{
91+
name: 'coinTypes',
92+
type: 'uint256[]',
93+
internalType: 'uint256[]',
94+
},
95+
{
96+
name: 'signature',
97+
type: 'bytes',
98+
internalType: 'bytes',
99+
},
100+
],
101+
outputs: [],
102+
stateMutability: 'nonpayable',
103+
},
104+
] as const;

0 commit comments

Comments
 (0)