Skip to content

Commit

Permalink
Add OperatorFilterers
Browse files Browse the repository at this point in the history
  • Loading branch information
danielz-mnx committed Jan 4, 2024
1 parent a721f3d commit fbb27d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sdk/src/contracts/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import { ethers } from 'ethers';

export const NATIVE_TOKEN = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE';
export const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
export const ZERO_BYTES32 = '0x0000000000000000000000000000000000000000000000000000000000000000';
// FIXME[Silas]: decide what to do with this (config/state/drop)
export const IPFS_GATEWAY_PREFIX = 'https://ipfs.aspenft.io/ipfs/';

export const OperatorFilterers = {
noOperator: ethers.utils.solidityKeccak256(['string'], ['NO_OPERATOR']),
openSea: ethers.utils.solidityKeccak256(['string'], ['OPEN_SEA']),
blur: ethers.utils.solidityKeccak256(['string'], ['BLUR']),
};

0 comments on commit fbb27d3

Please sign in to comment.