elrond-wasm-rs
elrond-wasm-rs copied to clipboard
add control changes function in system sc proxy
The function "controlChanges" is missing in the system sc proxy
I will update with the property "canTransferNFTCreateRole" when the PR 812 is merged.
The PR #812 has been merged, so I added the "canTransferNFTCreateRole" in the properties for the controlChanges
The implementation looks good, but it is somewhat inconsistent with the rest of the system SC proxy. We use structs instead of lists of property-value pairs everywhere else.
I would create another struct that holds optionals instead of just booleans. Then we could pass that structure to controlChanges. To avoid code duplication, we can also integrate it everywhere else in the proxy as an intermediary step.
Would you like to do it, or should I take it over? It is doesn't take me long