├── .gas-snapshot ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── assets └── curta-golf.webp ├── foundry.toml ├── script ├── Deploy.s.sol ├── PerlinNoiseTest.s.sol └── metadata │ ├── PrintKingArt.s.sol │ └── PrintParArt.s.sol ├── src ├── CurtaGolf.sol ├── Par.sol ├── interfaces │ ├── ICourse.sol │ ├── ICurtaGolf.sol │ └── IPurityChecker.sol ├── tokens │ ├── KingERC721.sol │ └── ParERC721.sol └── utils │ ├── ABDKMath64x64.sol │ ├── Perlin.sol │ ├── PurityChecker.sol │ ├── metadata │ ├── KingArt.sol │ └── ParArt.sol │ └── mock │ ├── MockCourse.sol │ └── MockCourseSolution.sol └── test ├── CurtaGolf.t.sol ├── Par.t.sol ├── PurityChecker.t.sol ├── mock └── MockCourse.t.sol └── utils └── BaseTest.sol /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/README.md -------------------------------------------------------------------------------- /assets/curta-golf.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/assets/curta-golf.webp -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/foundry.toml -------------------------------------------------------------------------------- /script/Deploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/script/Deploy.s.sol -------------------------------------------------------------------------------- /script/PerlinNoiseTest.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/script/PerlinNoiseTest.s.sol -------------------------------------------------------------------------------- /script/metadata/PrintKingArt.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/script/metadata/PrintKingArt.s.sol -------------------------------------------------------------------------------- /script/metadata/PrintParArt.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/script/metadata/PrintParArt.s.sol -------------------------------------------------------------------------------- /src/CurtaGolf.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/CurtaGolf.sol -------------------------------------------------------------------------------- /src/Par.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/Par.sol -------------------------------------------------------------------------------- /src/interfaces/ICourse.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/interfaces/ICourse.sol -------------------------------------------------------------------------------- /src/interfaces/ICurtaGolf.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/interfaces/ICurtaGolf.sol -------------------------------------------------------------------------------- /src/interfaces/IPurityChecker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/interfaces/IPurityChecker.sol -------------------------------------------------------------------------------- /src/tokens/KingERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/tokens/KingERC721.sol -------------------------------------------------------------------------------- /src/tokens/ParERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/tokens/ParERC721.sol -------------------------------------------------------------------------------- /src/utils/ABDKMath64x64.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/ABDKMath64x64.sol -------------------------------------------------------------------------------- /src/utils/Perlin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/Perlin.sol -------------------------------------------------------------------------------- /src/utils/PurityChecker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/PurityChecker.sol -------------------------------------------------------------------------------- /src/utils/metadata/KingArt.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/metadata/KingArt.sol -------------------------------------------------------------------------------- /src/utils/metadata/ParArt.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/metadata/ParArt.sol -------------------------------------------------------------------------------- /src/utils/mock/MockCourse.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/mock/MockCourse.sol -------------------------------------------------------------------------------- /src/utils/mock/MockCourseSolution.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/src/utils/mock/MockCourseSolution.sol -------------------------------------------------------------------------------- /test/CurtaGolf.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/test/CurtaGolf.t.sol -------------------------------------------------------------------------------- /test/Par.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/test/Par.t.sol -------------------------------------------------------------------------------- /test/PurityChecker.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/test/PurityChecker.t.sol -------------------------------------------------------------------------------- /test/mock/MockCourse.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/test/mock/MockCourse.t.sol -------------------------------------------------------------------------------- /test/utils/BaseTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waterfall-mkt/curta-golf/HEAD/test/utils/BaseTest.sol --------------------------------------------------------------------------------