Hello,
I am using the Defender Admin with a custom function defined below but I got the following message:
Unsupported function. Currently Defender only supports functions with address, uint, int, boolean, string, non-nested structs and non-nested array arguments.
here is the code:
function create(address _externalAccount, uint256 _supply, LibShare.share[] memory _shares, bytes calldata _data)
For your information, here is the structure:
mapping (uint256 => LibShare.Share[]) public shares;
library LibShare { struct share { address payable account; uint32 value; }}
Is that what you consider a nested structure? It's just an array of a custom structure? Is there a way for Defender to support such type of data? I read somewhere on the website that I should contact OZ' support for such issue.
Thanks in advance.