[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_legionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_requestId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"_toPart","type":"uint8"}],"name":"AdvancedQuestContinued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_legionId","type":"uint256"},{"components":[{"internalType":"uint256","name":"consumableId","type":"uint256"},{"internalType":"uint256","name":"consumableAmount","type":"uint256"},{"internalType":"uint256","name":"treasureFragmentId","type":"uint256"},{"internalType":"uint256","name":"treasureId","type":"uint256"}],"indexed":false,"internalType":"struct AdvancedQuestingState.AdvancedQuestReward[]","name":"_rewards","type":"tuple[]"}],"name":"AdvancedQuestEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_requestId","type":"uint256"},{"components":[{"internalType":"uint256","name":"legionId","type":"uint256"},{"internalType":"string","name":"zoneName","type":"string"},{"internalType":"uint8","name":"advanceToPart","type":"uint8"},{"internalType":"uint256[]","name":"treasureIds","type":"uint256[]"},{"internalType":"uint256[]","name":"treasureAmounts","type":"uint256[]"}],"indexed":false,"internalType":"struct StartQuestParams","name":"_startQuestParams","type":"tuple"}],"name":"AdvancedQuestStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_legionId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_playerWon","type":"bool"},{"indexed":false,"internalType":"uint8","name":"_numberOfCardsFlipped","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"_numberOfCorruptedCardsRemaining","type":"uint8"}],"name":"TreasureTriadPlayed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_zoneName","type":"string"},{"components":[{"internalType":"uint256","name":"zoneStartTime","type":"uint256"},{"internalType":"enum TreasureCategory","name":"categoryBoost1","type":"uint8"},{"internalType":"enum TreasureCategory","name":"categoryBoost2","type":"uint8"},{"internalType":"enum Constellation","name":"constellation1","type":"uint8"},{"internalType":"enum Constellation","name":"constellation2","type":"uint8"},{"components":[{"internalType":"uint256","name":"zonePartLength","type":"uint256"},{"internalType":"uint256","name":"stasisLength","type":"uint256"},{"internalType":"uint8","name":"stasisBaseRate","type":"uint8"},{"internalType":"uint8","name":"questingLevelRequirement","type":"uint8"},{"internalType":"uint8","name":"questingXpGained","type":"uint8"},{"internalType":"bool","name":"playTreasureTriad","type":"bool"},{"components":[{"internalType":"uint8","name":"baseRateRewardOdds","type":"uint8"},{"internalType":"uint8[][]","name":"generationToRarityToBoost","type":"uint8[][]"},{"internalType":"uint8","name":"boostPerFlippedCard","type":"uint8"},{"components":[{"internalType":"uint256","name":"consumableId","type":"uint256"},{"internalType":"uint256","name":"consumableAmount","type":"uint256"},{"internalType":"uint256","name":"treasureFragmentId","type":"uint256"},{"internalType":"uint8","name":"treasureTier","type":"uint8"},{"internalType":"enum TreasureCategory","name":"treasureCategory","type":"uint8"},{"internalType":"uint8","name":"rewardOdds","type":"uint8"}],"internalType":"struct ZoneRewardOption[]","name":"rewardOptions","type":"tuple[]"}],"internalType":"struct ZoneReward[]","name":"rewards","type":"tuple[]"}],"internalType":"struct ZonePart[]","name":"parts","type":"tuple[]"}],"internalType":"struct ZoneInfo","name":"_zone","type":"tuple"}],"name":"addZone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_legionId","type":"uint256"}],"name":"advanceToPartForLegion","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"areContractsSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"consumable","outputs":[{"internalType":"contract IConsumable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_legionIds","type":"uint256[]"}],"name":"continueAdvancedQuesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_legionId","type":"uint256"}],"name":"currentPartForLegion","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_legionIds","type":"uint256[]"}],"name":"endQuesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_legionId","type":"uint256"}],"name":"endTimeForLegion","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_legionId","type":"uint256"}],"name":"isLegionQuesting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_zoneName","type":"string"}],"name":"isValidZone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legion","outputs":[{"internalType":"contract ILegion","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legionMetadataStore","outputs":[{"internalType":"contract ILegionMetadataStore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_zoneName","type":"string"},{"internalType":"uint8","name":"_partIndex","type":"uint8"}],"name":"lengthForPartOfZone","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_zoneName","type":"string"}],"name":"numberOfPartsInZone","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_legionIds","type":"uint256[]"},{"components":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint256","name":"treasureId","type":"uint256"}],"internalType":"struct UserMove[][]","name":"_playerMoves","type":"tuple[][]"},{"internalType":"bool[]","name":"_endQuestingAfterPlayingIfPossible","type":"bool[]"}],"name":"playTreasureTriad","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"questing","outputs":[{"internalType":"contract IQuesting","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomizer","outputs":[{"internalType":"contract IRandomizer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_randomizerAddress","type":"address"},{"internalType":"address","name":"_questingAddress","type":"address"},{"internalType":"address","name":"_legionAddress","type":"address"},{"internalType":"address","name":"_legionMetadataStoreAddress","type":"address"},{"internalType":"address","name":"_treasureAddress","type":"address"},{"internalType":"address","name":"_consumableAddress","type":"address"},{"internalType":"address","name":"_treasureMetadataStoreAddress","type":"address"},{"internalType":"address","name":"_treasureTriadAddress","type":"address"},{"internalType":"address","name":"_treasureFragmentAddress","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_shouldPause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stasisLengthForCorruptedCard","type":"uint256"}],"name":"setStasisLengthForCorruptedCard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"legionId","type":"uint256"},{"internalType":"string","name":"zoneName","type":"string"},{"internalType":"uint8","name":"advanceToPart","type":"uint8"},{"internalType":"uint256[]","name":"treasureIds","type":"uint256[]"},{"internalType":"uint256[]","name":"treasureAmounts","type":"uint256[]"}],"internalType":"struct StartQuestParams[]","name":"_params","type":"tuple[]"}],"name":"startAdvancedQuesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stasisLengthForCorruptedCard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasure","outputs":[{"internalType":"contract ITreasure","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasureFragment","outputs":[{"internalType":"contract ITreasureFragment","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasureMetadataStore","outputs":[{"internalType":"contract ITreasureMetadataStore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasureTriad","outputs":[{"internalType":"contract ITreasureTriad","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_zoneName","type":"string"},{"internalType":"uint256[]","name":"_partLengths","type":"uint256[]"},{"internalType":"uint256[]","name":"_stasisLengths","type":"uint256[]"}],"name":"updatePartLengthsForZone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"zoneNameToInfo","outputs":[{"internalType":"uint256","name":"zoneStartTime","type":"uint256"},{"internalType":"enum TreasureCategory","name":"categoryBoost1","type":"uint8"},{"internalType":"enum TreasureCategory","name":"categoryBoost2","type":"uint8"},{"internalType":"enum Constellation","name":"constellation1","type":"uint8"},{"internalType":"enum Constellation","name":"constellation2","type":"uint8"}],"stateMutability":"view","type":"function"}]