Replies: 2 comments 3 replies
-
Make sure the capitalization |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have tried to identify where the bug comes from and it seems that when I I hope this helps to understand why this is happening. Here is the constants.js if it can be helpfull export const contractAddress = "0xe7f1725e7734ce288f8367e1bb143e90bb3f0512"
export const ABI = [
{
inputs: [
{
internalType: "address",
name: "priceFeedAddress",
type: "address",
},
],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [],
name: "FundMe__NotOwner",
type: "error",
},
{
inputs: [],
name: "MINIMUM_USD",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "cheaperWithdraw",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "fund",
outputs: [],
stateMutability: "payable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "fundingAddress",
type: "address",
},
],
name: "getAddressToAmountFunded",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "index",
type: "uint256",
},
],
name: "getFunders",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getOwner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getPriceFeed",
outputs: [
{
internalType: "contract AggregatorV3Interface",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "s_priceFeed",
outputs: [
{
internalType: "contract AggregatorV3Interface",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
] |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I am stuck in this error that I can't seem to understand. I have the index.js setup with the ethers, abi and contract address imports and I have the connect function and the fund function.And in my index.html file i have the connectButton and the fundButton. But when I try to interact with them in my local port nothing happens...
Here is my index.js:
And here is my index.html:
Any help would be highly appreciated, please let me know if you need me to provide any more information.
Beta Was this translation helpful? Give feedback.
All reactions