Questions tagged [code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How to get the source code of more than 5000 smart contracts using the etherscan.io API

At https://etherscan.io/contractsVerified?filter=opensourcelicense are the addresses of the last 10,000 smart contracts. However, there are many more. I want to get the OpenSourceCode of contracts for ...
0 votes
1 answer
7 views

solidity doubt error unknown [closed]

ParserError: Expected pragma, import directive or contract/interface/library/struct/enum/constant/function definition. --> contracts/college.sol:104:1: | 104 | } | ^
1 vote
1 answer
16 views

Where can I find how the Ethereum protocol calculates transaction fees, supply issuance, and other key components?

I would like to learn how different components of the Ethereum protocol are calculated. Where can see how these and other elements? Is there a code database that a final code source that I can refer ...
1 vote
0 answers
26 views

how import in remix smart contract without source code?

I am trying to call a fallback function on a smart contract that has not verified contract source code, How can I do this? Thanks in advance
  • 31
0 votes
0 answers
28 views

How to execute Meta (gasless) Transaction in python?

I have performed transfer function but I am unable to find from where to get SigR SigS SigV that are required in the transaction I have two transaction one is successful and other is failed 1 - https:/...
  • 1
0 votes
1 answer
42 views

Can I put html code as an onChain NFT?

Can I put html code as an on-chain NFT? I don't want the NFT to be an image, I would like it to hold html code. e.g the NFT will be Hello world
2 votes
2 answers
259 views

how to Get All tokens against a specific Walllet Addresse?

Is It Possible to get All tokens against a specific wallet Address , whether it is deployed on a ethereum blockchain , solna , polygone or whatever ?
0 votes
0 answers
29 views

Does address.code return runtime or creation code

You have three options to retrieve bytecode: type(C).runtimeCode which returns the runtime code of a contract, type(C).creationCode which returns the creation code of a contract and address.code which ...
  • 29
0 votes
0 answers
10 views

Gnosis safe not letting transfer of tokesn

I have an issue with a safe that is a mutli sig and i have a token contract on there that it will not let me send any of the tokens it lets me and my others confirm it but on the execute function it ...
0 votes
0 answers
679 views

TypeError: Operator * not compatible with types int256 and uint256 --> contracts

Fairly new at this so there's probably an obvious answer. I was just playing around with an interest bearing contract. this below works out fine: uint interestPerSecond = _interest * (_amount / 1e16); ...
0 votes
1 answer
72 views

Store addresses in bytes variable

I need help with storing a bytes value. contract StoreBytes { bytes public addresses; function addMe() external { // TODO Add msg.sender to addresses. } } What I want is that msg....
  • 663