Skip to content

Commit 76c7bc3

Browse files
authored
BAPP-765: ERC1155-v2 support for Basename (base#1207)
* add address, attestations and hooks for testnet * around the world
1 parent dc16fec commit 76c7bc3

File tree

7 files changed

+250
-193
lines changed

7 files changed

+250
-193
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
export default [
2+
{
3+
type: 'constructor',
4+
inputs: [
5+
{
6+
name: 'token_',
7+
type: 'address',
8+
internalType: 'address',
9+
},
10+
{
11+
name: 'tokenIds',
12+
type: 'uint256[]',
13+
internalType: 'uint256[]',
14+
},
15+
],
16+
stateMutability: 'nonpayable',
17+
},
18+
{
19+
type: 'function',
20+
name: 'isValidDiscountRegistration',
21+
inputs: [
22+
{
23+
name: 'claimer',
24+
type: 'address',
25+
internalType: 'address',
26+
},
27+
{
28+
name: 'validationData',
29+
type: 'bytes',
30+
internalType: 'bytes',
31+
},
32+
],
33+
outputs: [
34+
{
35+
name: '',
36+
type: 'bool',
37+
internalType: 'bool',
38+
},
39+
],
40+
stateMutability: 'view',
41+
},
42+
{
43+
type: 'error',
44+
name: 'AddressEmptyCode',
45+
inputs: [
46+
{
47+
name: 'target',
48+
type: 'address',
49+
internalType: 'address',
50+
},
51+
],
52+
},
53+
{
54+
type: 'error',
55+
name: 'FailedInnerCall',
56+
inputs: [],
57+
},
58+
] as const;

apps/web/src/addresses/usernames.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,8 @@ export const TALENT_PROTOCOL_DISCOUNT_VALIDATORS: AddressMap = {
9696
[baseSepolia.id]: '0x8b769A3fbC29AC02344218840602615B6c9200e7',
9797
[base.id]: '0xb16A4f14A9dED9e27F0Fe59Dc907D245769de19E',
9898
};
99+
100+
export const BASE_WORLD_DISCOUNT_VALIDATORS: AddressMap = {
101+
[baseSepolia.id]: '0xFa69f6167F40247fe3EFF2d8375B25C5d7834c48',
102+
[base.id]: '0xfEb00a4EfF372a307fDc556Cf4359f7D679E4d11',
103+
};
Lines changed: 20 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)