Questions tagged [clone]
The clone tag has no usage guidance.
20
questions
0
votes
0
answers
19
views
factory implementation etherscan verification
I have a contract and its factory. The factory allows cloning of the contract through EIP-1167.
Although I can deploy the factory and verify it easily on etherscan: hardhat verify --network <...
0
votes
1
answer
34
views
Clone a Smart Contract
I'm an artist trying to publish his own contract. I don't have solidarity knowledge, but I can read/understand codes in general. So I found this collection minted yesterday: https://etherscan.io/...
0
votes
0
answers
41
views
If I use the cloning pattern to launch erc721s, will it list on exchanges like a normal contract?
Hey I'm looking at implementing a basic minimal clone of an ERC721 contract (using the openzepplin cloning implementation), and I was wondering if it would make any difference in how the tokens are ...
0
votes
0
answers
46
views
Implementing a clone factory for a custom Uniswap vault
I want to implement a clone factory for my uniswap vault. It is already deployed but I am fine to update it before deploying it again as the "master" contract from which the clones are made....
0
votes
0
answers
172
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 ...
1
vote
1
answer
82
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
1
answer
112
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
0
answers
32
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
2
answers
70
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 ...
1
vote
1
answer
59
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
1
answer
977
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
0
answers
167
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
1
answer
56
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
1
answer
51
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
0
answers
148
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
0
answers
37
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
1
answer
1k
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
1
answer
538
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
1
answer
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
1
answer
1k
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 ...