Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
2
votes
0
answers
359
views
Metamask Error Cannot set properties of undefined (setting 'loadingDefaults')
of the approve function then this below error occurs.
code: -32603
message: "Cannot set properties of undefined (setting 'loadingDefaults')"
I am using React as frontend and web3 for connecting with solidity … Truffle v5.4.14 (core: 5.4.14)
Solidity - 0.8.9 (solc-js)
Node v16.11.0
Web3.js v1.5.3 …
0
votes
1
answer
39
views
How to make secure transactions in contracts - Solidity
If I have a contract deployed to an exchange. From there I (hacker) can download the abi for that contract. So, now I have the abi and let's say I have the address of the owner (victim) as well. So, n …
1
vote
2
answers
542
views
Make msg.sender to remain constant in solidity nested contracts
I have three different contracts. One is a simple contract (ContractA), second is my token contract and the third one is ERC20 Token contract which is inherited in my token contract. So when I make a …
1
vote
1
answer
367
views
Only the owner of the contract can update the smart contract - Solidity
The problem was the data was being saved correctly but when fetching the records solidity was assigning msg.sender to the creator of the contract not the one who sent the transaction. …
0
votes
Accepted
Only the owner of the contract can update the smart contract - Solidity
The problem was the data was being saved correctly but when fetching the records solidity was assigning msg.sender to the creator of the contract not the one who sent the transaction. …