├── .gas-snapshot ├── .github └── workflows │ ├── ci.yml │ └── deploy.yml ├── .gitignore ├── .gitmodules ├── .markdownlintrc ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── audits ├── Hats_Audit_Report_Sherlock.pdf └── TrustSecurity_HatsProtocol_v02.pdf ├── book.toml ├── example.env ├── foundry.toml ├── funding.json ├── lcov.info ├── lib ├── ERC1155 │ └── ERC1155.sol └── utils │ └── Auth.sol ├── remappings.txt ├── script └── Hats.s.sol ├── src ├── Hats.sol ├── HatsIdUtilities.sol └── Interfaces │ ├── HatsErrors.sol │ ├── HatsEvents.sol │ ├── IHats.sol │ ├── IHatsEligibility.sol │ ├── IHatsIdUtilities.sol │ └── IHatsToggle.sol └── test ├── Hats.t.sol ├── HatsIdUtils.t.sol ├── HatsTestSetup.t.sol ├── LinkableHatsIdUtilities.sol └── LongStrings.sol /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/.gitmodules -------------------------------------------------------------------------------- /.markdownlintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/.markdownlintrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/README.md -------------------------------------------------------------------------------- /audits/Hats_Audit_Report_Sherlock.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/audits/Hats_Audit_Report_Sherlock.pdf -------------------------------------------------------------------------------- /audits/TrustSecurity_HatsProtocol_v02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/audits/TrustSecurity_HatsProtocol_v02.pdf -------------------------------------------------------------------------------- /book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/book.toml -------------------------------------------------------------------------------- /example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/example.env -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/foundry.toml -------------------------------------------------------------------------------- /funding.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/funding.json -------------------------------------------------------------------------------- /lcov.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/lcov.info -------------------------------------------------------------------------------- /lib/ERC1155/ERC1155.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/lib/ERC1155/ERC1155.sol -------------------------------------------------------------------------------- /lib/utils/Auth.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/lib/utils/Auth.sol -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/remappings.txt -------------------------------------------------------------------------------- /script/Hats.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/script/Hats.s.sol -------------------------------------------------------------------------------- /src/Hats.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Hats.sol -------------------------------------------------------------------------------- /src/HatsIdUtilities.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/HatsIdUtilities.sol -------------------------------------------------------------------------------- /src/Interfaces/HatsErrors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Interfaces/HatsErrors.sol -------------------------------------------------------------------------------- /src/Interfaces/HatsEvents.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Interfaces/HatsEvents.sol -------------------------------------------------------------------------------- /src/Interfaces/IHats.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Interfaces/IHats.sol -------------------------------------------------------------------------------- /src/Interfaces/IHatsEligibility.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Interfaces/IHatsEligibility.sol -------------------------------------------------------------------------------- /src/Interfaces/IHatsIdUtilities.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Interfaces/IHatsIdUtilities.sol -------------------------------------------------------------------------------- /src/Interfaces/IHatsToggle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/src/Interfaces/IHatsToggle.sol -------------------------------------------------------------------------------- /test/Hats.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/test/Hats.t.sol -------------------------------------------------------------------------------- /test/HatsIdUtils.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/test/HatsIdUtils.t.sol -------------------------------------------------------------------------------- /test/HatsTestSetup.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/test/HatsTestSetup.t.sol -------------------------------------------------------------------------------- /test/LinkableHatsIdUtilities.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/test/LinkableHatsIdUtilities.sol -------------------------------------------------------------------------------- /test/LongStrings.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hats-Protocol/hats-protocol/HEAD/test/LongStrings.sol --------------------------------------------------------------------------------