├── .gitignore ├── .prettierignore ├── Anchor.toml ├── Cargo.lock ├── Cargo.toml ├── README.md ├── migrations └── deploy.ts ├── package.json ├── programs └── solciv │ ├── Cargo.toml │ ├── Xargo.toml │ └── src │ ├── consts.rs │ ├── errors.rs │ ├── instructions │ ├── city.rs │ ├── game.rs │ ├── mint.rs │ ├── mod.rs │ ├── npc.rs │ ├── player.rs │ ├── science.rs │ └── unit.rs │ ├── lib.rs │ ├── state │ ├── city_buildings.rs │ ├── game_state.rs │ ├── mod.rs │ ├── resources_economy.rs │ ├── science.rs │ └── units_combat.rs │ └── utils.rs ├── sec3-report.pdf ├── tests └── solciv.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .anchor 3 | .DS_Store 4 | target 5 | **/*.rs.bk 6 | node_modules 7 | test-ledger 8 | .yarn 9 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/.prettierignore -------------------------------------------------------------------------------- /Anchor.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/Anchor.toml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/README.md -------------------------------------------------------------------------------- /migrations/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/migrations/deploy.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/package.json -------------------------------------------------------------------------------- /programs/solciv/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/Cargo.toml -------------------------------------------------------------------------------- /programs/solciv/Xargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/Xargo.toml -------------------------------------------------------------------------------- /programs/solciv/src/consts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/consts.rs -------------------------------------------------------------------------------- /programs/solciv/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/errors.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/city.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/city.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/game.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/game.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/mint.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/mint.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/mod.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/npc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/npc.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/player.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/player.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/science.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/science.rs -------------------------------------------------------------------------------- /programs/solciv/src/instructions/unit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/instructions/unit.rs -------------------------------------------------------------------------------- /programs/solciv/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/lib.rs -------------------------------------------------------------------------------- /programs/solciv/src/state/city_buildings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/state/city_buildings.rs -------------------------------------------------------------------------------- /programs/solciv/src/state/game_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/state/game_state.rs -------------------------------------------------------------------------------- /programs/solciv/src/state/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/state/mod.rs -------------------------------------------------------------------------------- /programs/solciv/src/state/resources_economy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/state/resources_economy.rs -------------------------------------------------------------------------------- /programs/solciv/src/state/science.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/state/science.rs -------------------------------------------------------------------------------- /programs/solciv/src/state/units_combat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/state/units_combat.rs -------------------------------------------------------------------------------- /programs/solciv/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/programs/solciv/src/utils.rs -------------------------------------------------------------------------------- /sec3-report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/sec3-report.pdf -------------------------------------------------------------------------------- /tests/solciv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/tests/solciv.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/proxycapital/solana-civ/HEAD/yarn.lock --------------------------------------------------------------------------------