-
I have a question , i started compiling codes from github and that's the only way i was able to surpass the error of compiled_code.json , ever since i copied and pasted the code, it doesnt give me the error anymore however i try to print(abi) and it says INFO: Could jnot find files for the given patttern(s). "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "addPerson",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"name": "nameToFavoriteNumber",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "people",
"outputs": [
{
"internalType": "uint256",
"name": "favoriteNumber",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_favoriteNumber",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
] it gives me all this and i dont understand why i cant get all the data they way patrick had deployed it and it instantly gave all the data in the terminal. happy holidays |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @slime956 this is because how you are managing the info, the ABI data is transformed to a JSON file on compiling, so it's important to know where exactly is the print statement, could you share it please? |
Beta Was this translation helpful? Give feedback.
Hello @slime956 this is because how you are managing the info, the ABI data is transformed to a JSON file on compiling, so it's important to know where exactly is the print statement, could you share it please?