Standalone

Hardhat Forking

close button

Part III

Mutating Blockchain State

The RubyQuarry contract is deployed on the Sepolia testnet at 0x5Af584A9333b7B1147f955EC510A9DE3898fBc51.

By successfully calling the dig() function, the contract will reveal its hidden treasure.

Your Task

Find the contract’s hidden treasure (i.e. return value of dig()). Then, log your answer into the file output/treasure.json.

Your json file must be a top-level array.

[ "{TREASURE_1}", "{TREASURE_2}", "{TREASURE_3}" ]

Run tests in Questplay

Submit work in Questplay

Your bags are already bulging, but then you discover signs of a forgotten fortune of ruby veins awaiting in the next level down.