Questions tagged [clone]

The tag has no usage guidance.

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

Consequtive Cloning via Clone proxy of the OpenZeppelin

I have used the Clone proxy of the OpenZeppelin in my smart contract letting it somehow duplicate itself whenever running the clone function. However, by clicking my clone function I am given the ...
0
votes
0answers
12 views

Add custom Ethereum network to gnosis-safe [closed]

We are operating Ethereum clone project and would like to add our network to gnosis-safe web. Is there any official process? Thanks. Jeffrey
1
vote
1answer
33 views

Cloning while providing arguments for construction function

I am trying to clone my contract by using Clones.sol from OpenZeppelin. The cloning procedure is successful, although I cannot pass them my desired arguments which should be provided for construction ...
0
votes
1answer
40 views

How to test clone contract functions?

I have a clonable contract which I'm passing to the clone factory contract and I'm trying to access the functions inside it but for some reason only the view functions work. this.nft = await NFT....
0
votes
0answers
19 views

Unable to display APR value while forking Pankcakeswap on testnet

I have Forked PancakeSwap on Bsc Testnet successfully. I have even added the Farm feature which works as well but the only problem is that the APR value doesn't get displayed on the FarmCard. I have ...
0
votes
2answers
35 views

Somebody created a clone of my ERC20 token on the binance.mainnet - is this common?

I am not sure why, but when I googled my project I noted that an ERC20 token with the exact same name as mine was created on the binance mainnet and has even been traded/exchanged on pancake v2 I ...
0
votes
0answers
30 views

How can i create a new blockchain based on the ethereum source code? (cloning ethereum) [duplicate]

If someone will guide me how to change those things, i will tip him with $10 via PayPal. so please me your PayPal email address in your answer! All i need to change is: the name of the network the ...
1
vote
1answer
44 views

Updating multiple cloned contracts

A quick question: if a contract factory has generated quite a bunch of contracts by cloning, and one parameter is desired to be updated across all such cloned contracts, what is the best approach for ...
1
vote
1answer
437 views

Calculate deterministic address with Create2 when cloning contract with Factory pattern

There is an existing unanswered question from another author with the same problem, I am creating a more detailed one with the hopes both can be closed. I have a solidity contract based on the ideas ...
0
votes
0answers
93 views

Smart Contract - How to Copy or Clone it?

All - Could someone tell me if it is possible to copy or obtain a smart contract code that has been proven to work on the blockchain in the past. I have a block number and the smart contract address, ...
0
votes
1answer
41 views

full stack dapp clone example elastic supply algorithmic stablecoin

I'm new to vyper (but have some python experience), I would like to clone a very simple dapp to have a look at the full stack of an ethereum dapp from back end (write compile and deploy a simple ...
0
votes
1answer
36 views

Can a Quorum network be cloned?

I wanted to know if a Private Protected Network be cloned/replicated to have a backup of the network, which would be helpful in times of network failure.
2
votes
0answers
138 views

How i can calculate deterministic address from contract clone (create2) [duplicate]

Is there any way to calculate the deterministic address of a contract cloned by a Factory through create2? I have this contract Factory contract ForwarderFactory { function cloneForwarder(address ...
1
vote
0answers
25 views

Verify but keep coding hidden

Can I verify my Smart Contract on Etherscan but still hide the coding to prevent others from cloning the smart contract?
3
votes
1answer
634 views

Clone factory and constructor arguments

In my project I'm using an EIP-1167-enabled Clone Factory: function createClone(address target) external returns (address result) { bytes20 targetBytes = bytes20(target); assembly { let ...
1
vote
1answer
495 views

No web3.min.js while download Zip file from Github

I am following a youtube tutorial to make a simple dApp. In this tutorial he is telling to get Web3 from GitHub. I downloaded the Zip of Web3 from the GitHub and i get following folders and file after ...
1
vote
1answer
1k views

What is cheapest way of creating clone of existing smart contract's

I do need to deploy a lot of similar smart contracts. With Solidity it's quite easy, but expensive :( I'm doing: contract One { ... } contract Builder { function create(uint8 amount) public ...
1
vote
1answer
761 views

How do I clone a struct in solidity?

I want to be able to trigger runTest() and return false. I'd need to clone the struct at some point but I'm not sure how to do it in solidity. I thought passing it to another function as memory would ...