canonicalContractAddress
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.22.0
@midnight-ntwrk/compact-runtime / canonicalContractAddress
Function: canonicalContractAddress()
function canonicalContractAddress(x): string;
Returns the lowercase spelling of a contract address, the one decodeContractAddress produces. Every
spelling names the same contract, but per-contract state and the re-entrancy guard are keyed by the
string, so an address must reach them in one spelling.
Parameters
x
unknown
Returns
string