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.
1
vote
0
answers
16
views
How can I call a function from another contract with it's reference | TypeError: contract.fu...
I've two smart contracts in my hardhat environment, really small. They are given below:
contract Parent {
Child[] public domainRegistries;
function createChild() public returns (Child) {
…
0
votes
1
answer
55
views
solidity contract creation factory contract method is being called, but new contract is not ...
I have two seperate contracts:
SuperAdmin.sol
User.sol
And they look like this:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import ". … (address) {
address newUser = User(adminAddress).getAddress();
users.push(newUser);
return newUser;
}
}
And the other contract, looks like this:
// SPDX-License-Identifier: MIT
pragma solidity …
1
vote
0
answers
67
views
org.web3j.protocol.exceptions.TransactionException: {"stack":"TXRejectedError: Exceeds block...
I'm trying to communicate with my deployed contract using web3j. First I should let you know that I have 0 experience in web3j, I'm using it for the first time.
Goal: I wanted to simply call that addN …
3
votes
2
answers
6k
views
ParserError: Expected primary expression - address payable - payable()
I have pragma solidity ^0.5.16; …