Does anyone know a way to whitelist efficiently in a smart contract?
Jan 23, 2021, 12:04 PM
depends on what efficiency you are aiming for. using address->bool mapping is definetely more efficient than storing whitelisted addresses in the array
Jan 23, 2021, 12:12 PM