This is an example of how you would invoke the MCT storage available to a contract.
Things to note:
Line 15 and 19 the "".ToScriptHash() call should work, but could be replaced with the actual ScriptHash instead.
The object that is being sent to all the different MCT calls may need to be wrapped such that it is not sending just the raw object but either a single or two item array along with the operation.
The Type for get_mct may also need to be adjusted if it just returns the key:value pair and not just value, if that is the case the type would likely be object[]. Would also require change for value and owner checks.
This is an example of how you would invoke the MCT storage available to a contract. Things to note:
"".ToScriptHash()
call should work, but could be replaced with the actual ScriptHash instead.get_mct
may also need to be adjusted if it just returns the key:value pair and not just value, if that is the case the type would likely beobject[]
. Would also require change for value and owner checks.