Metaprotocols

Metaprotocols are the identifiers used to route a command. Each metaprotocol has its own logic handling, and it allows a user to execute a diverse array of solutions. For example, the token metaprotocol exposes transfer, transferFrom and approve actions as modifiers. Application specific metaprotocols can have more advanced logic, such as the tipping metaprotocol which allows for actions like "swap and tip", where a single command executes 2 actions.

A Metaprotocol should be designed as an isolated protocol that executes a smart contract call to solve a specific user intent.

Last updated