Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "lib/world-id-example-airdrop"]
path = lib/world-id-example-airdrop
url = https://github.com/worldcoin/world-id-example-airdrop
[submodule "lib/contracts"]
path = lib/contracts
url = https://github.com/thirdweb-dev/contracts
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ src = 'src'
out = 'out'
ffi = true
libs = ['lib']
remappings = ['worldcoin/world-id/=lib/world-id-example-airdrop/src/']
remappings = ['worldcoin/world-id/=lib/world-id-example-airdrop/src/', 'thirdweb-dev/=lib/contracts/contracts/']

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
1 change: 1 addition & 0 deletions lib/contracts
Submodule contracts added at 8452bd
3 changes: 2 additions & 1 deletion src/WLDSplit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import { mathUtils } from './libraries/MathUtils.sol';
import { SafeTransferLib } from 'solmate/utils/SafeTransferLib.sol';
import { ByteHasher } from 'worldcoin/world-id/libraries/ByteHasher.sol';
import { ISemaphore } from 'worldcoin/world-id/interfaces/ISemaphore.sol';
import { ThirdwebContract } from 'thirdweb-dev/ThirdwebContract.sol';

contract WLDSplit {
contract WLDSplit is ThirdwebContract {
using ByteHasher for bytes;

error Unauthorized();
Expand Down