Hi, did anyone encounter a problem: at call minimal proxy contract I got error

Fail with error 'ERC721: transfer to non ERC721Receiver implementer'

but in logic contract receive method exists.

The problem occurs randomly, sometimes work sometimes it does not


P.S.
Network: polygon
Solc: 0.8.x

Mar 31, 2023, 9:40 AM
this one onERC721Received?
Mar 31, 2023, 9:45 AM
Yes method in logic contract exists
Okay thanks, I hope it helps
Mar 31, 2023, 9:54 AM
i resimulated it with higher gas and worked
then no idea
try with hardhat or foundry
uniswap?
share constructor
Mar 31, 2023, 10:17 AM
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}


constructor () {
_taxWallet = payable(_msgSender());
_balances[_msgSender()] = _tTotal;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_isExcludedFromFee[_taxWallet] = true;

uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

emit Transfer(address(0), _msgSender(), _tTotal);
}
Mar 31, 2023, 10:18 AM
two constructor?
wtf
Mar 31, 2023, 10:18 AM
This is Optimus ca
Mar 31, 2023, 10:18 AM
?
Mar 31, 2023, 10:19 AM
https://etherscan.io/token/0x562e362876c8aee4744fc2c6aac8394c312d215d#code
Mar 31, 2023, 10:19 AM
I only see one constructor
Mar 31, 2023, 10:20 AM
Let me check again. Thanks.
Same...
Mar 31, 2023, 10:21 AM
on goerli works
on sepholia no
Mar 31, 2023, 10:23 AM
Yes
You've checked?
Mar 31, 2023, 10:23 AM
yes
on sepolia there is no router at this address 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Mar 31, 2023, 10:24 AM
Then we write off this error on a curved network.
What router then?
So this is the problem I think
Mar 31, 2023, 10:24 AM
noone
Mar 31, 2023, 10:24 AM
Cool. I see.
Thanks.
Do you have an idea why this https://disperse.app write "transaction rejected" on one token in testnet Goerli but another one works fine?
Mar 31, 2023, 11:04 AM
Insufficient balance , less gas wie setup ,
Mar 31, 2023, 11:12 AM
No
How to write here address? In etherescan it is simple but here it needs something else. What?
Mar 31, 2023, 11:28 AM
Which address you want to allow trading for
You can put owner address here even from metamask
Pre trading**
Mar 31, 2023, 11:45 AM

© 2024 Draquery.com All rights reserved.