zellic-audit
Initial commit
f998fcd
raw
history blame
16.3 kB
{
"language": "Solidity",
"sources": {
"contracts/EyeConstants.sol": {
"content": "/* --------------------------------- ******* ----------------------------------- \n THE\n\n ███████╗██╗ ██╗███████╗\n ██╔════╝╚██╗ ██╔╝██╔════╝\n █████╗ ╚████╔╝ █████╗ \n ██╔══╝ ╚██╔╝ ██╔══╝ \n ███████╗ ██║ ███████╗\n ╚══════╝ ╚═╝ ╚══════╝\n FOR ADVENTURERS\n \n .-=++=-.........-=++=- \n .:..:++++++=---------=++++++:.::: \n .=++++----=++-------------===----++++=. \n .+++++=---------------------------=+++++.\n .:-----==------------------------------------:. \n =+++=---------------------------------------=+++= \n +++++=---------------------------------------=++++= \n ====-------------=================-------------===- \n -=-------------=======================-------------=-. \n :+++=----------============ A ============----------=+++:\n ++++++--------======= MAGICAL DEVICE =======---------++++=\n -++=----------============ THAT ============----------=++:\n ------------=========== CONTAINS ==========------------ \n :++=---------============== AN =============----------=++-\n ++++++--------========== ON-CHAIN =========--------++++++\n :+++=----------========== WORLD ==========----------=+++:\n .==-------------=======================-------------=- \n -=====----------===================----------====== \n =+++++---------------------------------------++++++ \n =+++-----------------------------------------+++= \n .-=----===---------------------------===-----:. \n .+++++=---------------------------=+++++. \n .=++++----=++-------------++=----++++=: \n :::.:++++++=----------++++++:.::: \n -=+++-.........-=++=-. \n\n HTTPS://EYEFORADVENTURERS.COM\n ----------------------------------- ******* ---------------------------------- */\n\n//SPDX-License-Identifier: Unlicense\npragma solidity ^0.8.8;\n\ncontract EyeConstants {\n uint16 public constant NAME_PREFIX_COUNT = 69;\n uint16 public constant NAME_SUFFIX_COUNT = 18;\n uint16 public constant ORDER_COUNT = 16;\n uint16 public constant VISION_COUNT = 64;\n uint16 public constant CONDITION_COUNT = 4;\n\n function getConditionCount() external pure returns (uint16) {\n return CONDITION_COUNT;\n }\n\n function getVisionCount() external pure returns (uint16) {\n return VISION_COUNT;\n }\n\n function getNamePrefixCount() external pure returns (uint16) {\n return NAME_PREFIX_COUNT;\n }\n\n function getNameSuffixCount() external pure returns (uint16) {\n return NAME_SUFFIX_COUNT;\n }\n\n function getOrderCount() external pure returns (uint16) {\n return ORDER_COUNT;\n }\n\n function getVisionName(uint256 index)\n external\n pure\n returns (string memory visionName)\n {\n if (index == 0) {\n return \"Catacombs\";\n } else if (index == 1) {\n return \"Lost Realm\";\n } else if (index == 2) {\n return \"The Mist\";\n } else if (index == 3) {\n return \"Riverlands\";\n } else if (index == 4) {\n return \"Star Field\";\n } else if (index == 5) {\n return \"Interface\";\n } else if (index == 6) {\n return \"Pure Stone\";\n } else if (index == 7) {\n return \"Watcher\";\n } else if (index == 8) {\n return \"Grotto\";\n } else if (index == 9) {\n return \"Shrine\";\n } else if (index == 10) {\n return \"Eve\";\n } else if (index == 11) {\n return \"Prison\";\n } else if (index == 12) {\n return \"The Eternal Flame\";\n } else if (index == 13) {\n return \"Dream\";\n } else if (index == 14) {\n return \"Dragonskin\";\n } else if (index == 15) {\n return \"Labyrinth\";\n } else if (index == 16) {\n return \"The Rift\";\n } else if (index == 17) {\n return \"Mana Spirit\";\n } else if (index == 18) {\n return \"The Depths\";\n } else if (index == 19) {\n return \"The Soulless Well\";\n } else if (index == 20) {\n return \"The Mother Grove\";\n } else if (index == 21) {\n return \"Wheel\";\n } else if (index == 22) {\n return \"Willows\";\n } else if (index == 23) {\n return \"True Ice\";\n } else if (index == 24) {\n return \"Deeptides\";\n } else if (index == 25) {\n return \"Holy Mirror\";\n } else if (index == 26) {\n return \"Night Moon\";\n } else if (index == 27) {\n return \"The Origin Oasis\";\n } else if (index == 28) {\n return \"Eternal Orchard\";\n } else if (index == 29) {\n return \"Brightsilk\";\n } else if (index == 30) {\n return \"Endless Landscape\";\n } else if (index == 31) {\n return \"Spectre\";\n } else if (index == 32) {\n return \"Mythic Trees\";\n } else if (index == 33) {\n return \"Vale\";\n } else if (index == 34) {\n return \"Hideout\";\n } else if (index == 35) {\n return \"Graveyard\";\n } else if (index == 36) {\n return \"Altar of the Void\";\n } else if (index == 37) {\n return \"Canvas\";\n } else if (index == 38) {\n return \"Mountain\";\n } else if (index == 39) {\n return \"Ring of Fire\";\n } else if (index == 40) {\n return \"Lair\";\n } else if (index == 41) {\n return \"Demonhide\";\n } else if (index == 42) {\n return \"Maze\";\n } else if (index == 43) {\n return \"Watchtower\";\n } else if (index == 44) {\n return \"Divine Light\";\n } else if (index == 45) {\n return \"Longship\";\n } else if (index == 46) {\n return \"Lagoona\";\n } else if (index == 47) {\n return \"Healtreey\";\n } else if (index == 48) {\n return \"Ancient Cross\";\n } else if (index == 49) {\n return \"Shield\";\n } else if (index == 50) {\n return \"Noctii\";\n } else if (index == 51) {\n return \"Day Star\";\n } else if (index == 52) {\n return \"The Celestial Vertex\";\n } else if (index == 53) {\n return \"Reflection\";\n } else if (index == 54) {\n return \"Fog\";\n } else if (index == 55) {\n return \"Sanctum\";\n } else if (index == 56) {\n return \"A voice whispers through the Mist\";\n } else if (index == 57) {\n return \"All that stands will burn\";\n } else if (index == 58) {\n return \"The forbidden magick of Deriving\";\n } else if (index == 59) {\n return \"An invitation to build\";\n } else if (index == 60) {\n return \"An infinitely-expansive Librarium\";\n } else if (index == 61) {\n return \"XXXXXX\";\n } else if (index == 62) {\n return \"??????\";\n } else if (index == 63) {\n return \"!!!!!!\";\n } else {\n return \"\";\n }\n }\n\n function getNameSuffix(uint256 index)\n external\n pure\n returns (string memory namePrefix)\n {\n if (index == 0) {\n return \"Bane\";\n } else if (index == 1) {\n return \"Root\";\n } else if (index == 2) {\n return \"Bite\";\n } else if (index == 3) {\n return \"Song\";\n } else if (index == 4) {\n return \"Roar\";\n } else if (index == 5) {\n return \"Grasp\";\n } else if (index == 6) {\n return \"Instrument\";\n } else if (index == 7) {\n return \"Glow\";\n } else if (index == 8) {\n return \"Bender\";\n } else if (index == 9) {\n return \"Shadow\";\n } else if (index == 10) {\n return \"Whisper\";\n } else if (index == 11) {\n return \"Shout\";\n } else if (index == 12) {\n return \"Growl\";\n } else if (index == 13) {\n return \"Tear\";\n } else if (index == 14) {\n return \"Peak\";\n } else if (index == 15) {\n return \"Form\";\n } else if (index == 16) {\n return \"Sun\";\n } else if (index == 17) {\n return \"Moon\";\n } else {\n return \"\";\n }\n }\n\n function getNamePrefix(uint256 index)\n external\n pure\n returns (string memory namePrefix)\n {\n if (index == 0) {\n return \"Agony\";\n } else if (index == 1) {\n return \"Apocalypse\";\n } else if (index == 2) {\n return \"Armageddon\";\n } else if (index == 3) {\n return \"Beast\";\n } else if (index == 4) {\n return \"Behemoth\";\n } else if (index == 5) {\n return \"Blight\";\n } else if (index == 6) {\n return \"Blood\";\n } else if (index == 7) {\n return \"Bramble\";\n } else if (index == 8) {\n return \"Brimstone\";\n } else if (index == 9) {\n return \"Brood\";\n } else if (index == 10) {\n return \"Carrion\";\n } else if (index == 11) {\n return \"Cataclysm\";\n } else if (index == 12) {\n return \"Chimeric\";\n } else if (index == 13) {\n return \"Corpse\";\n } else if (index == 14) {\n return \"Corruption\";\n } else if (index == 15) {\n return \"Damnation\";\n } else if (index == 16) {\n return \"Death\";\n } else if (index == 17) {\n return \"Demon\";\n } else if (index == 18) {\n return \"Dire\";\n } else if (index == 19) {\n return \"Dragon\";\n } else if (index == 20) {\n return \"Dread\";\n } else if (index == 21) {\n return \"Doom\";\n } else if (index == 22) {\n return \"Dusk\";\n } else if (index == 23) {\n return \"Eagle\";\n } else if (index == 24) {\n return \"Empyrean\";\n } else if (index == 25) {\n return \"Fate\";\n } else if (index == 26) {\n return \"Foe\";\n } else if (index == 27) {\n return \"Gale\";\n } else if (index == 28) {\n return \"Ghoul\";\n } else if (index == 29) {\n return \"Gloom\";\n } else if (index == 30) {\n return \"Glyph\";\n } else if (index == 31) {\n return \"Golem\";\n } else if (index == 32) {\n return \"Grim\";\n } else if (index == 33) {\n return \"Hate\";\n } else if (index == 34) {\n return \"Havoc\";\n } else if (index == 35) {\n return \"Honour\";\n } else if (index == 36) {\n return \"Horror\";\n } else if (index == 37) {\n return \"Hypnotic\";\n } else if (index == 38) {\n return \"Kraken\";\n } else if (index == 39) {\n return \"Loath\";\n } else if (index == 40) {\n return \"Maelstrom\";\n } else if (index == 41) {\n return \"Mind\";\n } else if (index == 42) {\n return \"Miracle\";\n } else if (index == 43) {\n return \"Morbid\";\n } else if (index == 44) {\n return \"Oblivion\";\n } else if (index == 45) {\n return \"Onslaught\";\n } else if (index == 46) {\n return \"Pain\";\n } else if (index == 47) {\n return \"Pandemonium\";\n } else if (index == 48) {\n return \"Phoenix\";\n } else if (index == 49) {\n return \"Plague\";\n } else if (index == 50) {\n return \"Rage\";\n } else if (index == 51) {\n return \"Rapture\";\n } else if (index == 52) {\n return \"Rune\";\n } else if (index == 53) {\n return \"Skull\";\n } else if (index == 54) {\n return \"Sol\";\n } else if (index == 55) {\n return \"Soul\";\n } else if (index == 56) {\n return \"Sorrow\";\n } else if (index == 57) {\n return \"Spirit\";\n } else if (index == 58) {\n return \"Storm\";\n } else if (index == 59) {\n return \"Tempest\";\n } else if (index == 60) {\n return \"Torment\";\n } else if (index == 61) {\n return \"Vengeance\";\n } else if (index == 62) {\n return \"Victory\";\n } else if (index == 63) {\n return \"Viper\";\n } else if (index == 64) {\n return \"Vortex\";\n } else if (index == 65) {\n return \"Woe\";\n } else if (index == 66) {\n return \"Wrath\";\n } else if (index == 67) {\n return \"Light's\";\n } else if (index == 68) {\n return \"Shimmering\";\n } else {\n return \"\";\n }\n }\n\n function getOrderName(uint256 order)\n external\n pure\n returns (string memory orderName)\n {\n if (order == 0) {\n orderName = \"Power\";\n } else if (order == 1) {\n orderName = \"Giants\";\n } else if (order == 2) {\n orderName = \"Titans\";\n } else if (order == 3) {\n orderName = \"Skill\";\n } else if (order == 4) {\n orderName = \"Perfection\";\n } else if (order == 5) {\n orderName = \"Brilliance\";\n } else if (order == 6) {\n orderName = \"Enlightenment\";\n } else if (order == 7) {\n orderName = \"Protection\";\n } else if (order == 8) {\n orderName = \"Anger\";\n } else if (order == 9) {\n orderName = \"Rage\";\n } else if (order == 10) {\n orderName = \"Fury\";\n } else if (order == 11) {\n orderName = \"Vitriol\";\n } else if (order == 12) {\n orderName = \"the Fox\";\n } else if (order == 13) {\n orderName = \"Detection\";\n } else if (order == 14) {\n orderName = \"Reflection\";\n } else if (order == 15) {\n orderName = \"the Twins\";\n }\n }\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}
}