☑️Whitelist smart contract
🌊 Intro
This repository provides an implementation of Whitelist interface proposed in the TZIP-15 written in SmartPy: Python library for constructing Tezos SC and compiled to Michelson code. The contract is migrated from the Lorentz whitelisting contract.
💡 Why a whitelist contract?
🔔 Specifications
UserID
UserIDStorage
big_map (
key = whitelistID: Nat,
value = {
unrestricted: Bool,
allowedWhitelists: set(whitelistID)
})🚀 We use the interface as an on-chain wrapper:
How does our wrapper whitelist SC work?
⬇️ Get the Project:
🔍 EntryPoints (SC methods):
👀 Tests Cases
The smartContract tests are written in smartPy and in JS (with Taquito, Mocha and Chai)
Management entrypoints
Test Output:
Test Output:
Test Output:
Test Output:
Informative entrypoints
Test Output:
Assertion entrypoints
Test Output:
Test Output:
Test Output:
Test Output:
👮 Roles:
🔗 Implementations
Last updated
Was this helpful?