Smart Account Auth Payload
data class SmartAccountAuthPayload(val signers: MutableMap<SmartAccountSigner, ByteArray>, val contextRuleIds: List<UInt>)
Represents the v0.7.0 AuthPayload format used by the OZ smart account contract.
In v0.7.0, the signature payload changed from a Vec-based tuple struct to a Map-based named struct with two fields: context_rule_ids and signers.
Contract representation:
ScVal::Map([
{ key: Symbol("context_rule_ids"), val: Vec([U32(id), ...]) },
{ key: Symbol("signers"), val: Map([{ key: signer.toScVal(), val: Bytes(sig) }, ...]) }
])Content copied to clipboard