mintFertilizers maybe revert if account data contains contract address
Fertilizer is ERC1155 token.
mintFertilizers call beanstalkMint. beanstalkMint call _safeMint.
_safeMint will check if account has onERC1155Received interface. If account hasn't onERC1155Received interface, mint will revert.
So if Fertilizers contains contract address which hasn't onERC1155Received interface, mintFertilizers will revert.
This dune query shows holders of fertilizer have 9 contract address. The contract address in mainnet could be different from L2 (have different bytecodes). We can't make sure the contract address which has onERC1155Received interface in mainnet has onERC1155Received interface in L2s.
If the input of mintFertilizers contains contract address which hasn't onERC1155Received interface, mintFertilizers could revert.
mintFertilizers could revert if account data contains contract address which hasn't onERC1155Received interface
manual
Delete the contract address data in the input of mintFertilizers.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.