Skip to content

Commit

Permalink
BAPP-765: ERC1155-v2 support for Basename (#1207)
Browse files Browse the repository at this point in the history
* add address, attestations and hooks for testnet

* around the world
  • Loading branch information
kirkas authored Nov 5, 2024
1 parent dc16fec commit 76c7bc3
Show file tree
Hide file tree
Showing 7 changed files with 250 additions and 193 deletions.
58 changes: 58 additions & 0 deletions apps/web/src/abis/ERC1155DiscountValidatorV2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
export default [
{
type: 'constructor',
inputs: [
{
name: 'token_',
type: 'address',
internalType: 'address',
},
{
name: 'tokenIds',
type: 'uint256[]',
internalType: 'uint256[]',
},
],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'isValidDiscountRegistration',
inputs: [
{
name: 'claimer',
type: 'address',
internalType: 'address',
},
{
name: 'validationData',
type: 'bytes',
internalType: 'bytes',
},
],
outputs: [
{
name: '',
type: 'bool',
internalType: 'bool',
},
],
stateMutability: 'view',
},
{
type: 'error',
name: 'AddressEmptyCode',
inputs: [
{
name: 'target',
type: 'address',
internalType: 'address',
},
],
},
{
type: 'error',
name: 'FailedInnerCall',
inputs: [],
},
] as const;
5 changes: 5 additions & 0 deletions apps/web/src/addresses/usernames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,8 @@ export const TALENT_PROTOCOL_DISCOUNT_VALIDATORS: AddressMap = {
[baseSepolia.id]: '0x8b769A3fbC29AC02344218840602615B6c9200e7',
[base.id]: '0xb16A4f14A9dED9e27F0Fe59Dc907D245769de19E',
};

export const BASE_WORLD_DISCOUNT_VALIDATORS: AddressMap = {
[baseSepolia.id]: '0xFa69f6167F40247fe3EFF2d8375B25C5d7834c48',
[base.id]: '0xfEb00a4EfF372a307fDc556Cf4359f7D679E4d11',
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 76c7bc3

Please sign in to comment.