0

I am a beginner.

I would like to 3 mappings

I know 2 mapping looks like this:

mapping (address => mapping (address => uint256)) public allowed;

and my question is: is 3 mappings look like this ?

mapping (address => mapping (address => mapping (address => uint256))) public allowed;

anyone can answer my question I will be appreciated

4

This seems to be working.

But you can test it out on your own with your specific use-case in remix.

  • Please mark as answer if it fixed your problem. – Niklas Feurstein Aug 20 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.