signer From Sc Val
Parses a SmartAccountSigner from its SCValXdr representation.
Supported formats:
Vec([Symbol("Delegated"), Address(...)])->DelegatedSignerVec([Symbol("External"), Address(...), Bytes(...)])->ExternalSigner
Return
The parsed SmartAccountSigner.
Parameters
sc Val
The ScVal to parse.
Throws
if the ScVal format is unrecognized.