In Truffle's documentation, it says
DeployedAddresses.sol is how Truffle identifies and stores the addresses of contracts published to the blockchain via
How does this file work, and what does it look like? If I publish an
Adoption contract, how does Truffle know that the word
truffle console refers to that contract?