InstantLayer Contract
InstantLayer is Symmio’s meta-transaction router, built to allow Party A and Party B participants to submit pre-signed operations for gas-free execution. It securely bridges off-chain intent signing with on-chain execution through EIP-712 signatures and structured batching.
The contract also supports workflow templates, where predefined sequences of operations can be reused with dynamic inputs.
Key Features
EIP-712 meta-tx support with salt-based replay protection
Nonce ordering for increased signature safety
Result chaining between template steps
Standalone batch execution for unrelated ops
Operator & admin roles for access control
Instant-mode toggling for Party A automation
Core Functions
🔹 Registration
function registerPartyB(address partyB) external;
function unregisterPartyB(address partyB) external;Manages execution privileges for Party B actors. Assigns or revokes OPERATOR_ROLE.
function registerMultiAccount(address multi) external;
function unregisterMultiAccount(address multi) external;Whitelists or removes a MultiAccount contract.
🔹 Template Management
Creates a reusable operation sequence (workflow template). Assigns a sequential templateId.
Enables or disables existing templates without removing them.
🔹 Execution
Executes a template-based workflow. Verifies all signatures and steps. Allows result chaining between operations. Fully reverts on failure.
Executes unrelated, independently signed operations in a batch. All must succeed.
🔹 Signature Utilities
Returns the EIP-712 domain-separated hash that off-chain signers must sign.
Exposes the domain separator used in signature generation.
Last updated
