how do initialize a struct containing the array of struct? it gives me error unimplemented feature
struct Auction {
address creator;
address nftAddress;
uint256 tokenId;
uint256 tokenQuantity;
uint256 timestamp;
uint8 royalty;
Bid[] bids;
}
how do I initialize this and push struct object to an array?
Jun 7, 2021, 3:10 PM
new Bid[](0) works?
Jun 7, 2021, 3:13 PM
tried same, but gives unimplemented feature from memory to storage
Jun 7, 2021, 3:13 PM