Skip to main content
Otim Documentation home page
Search...
⌘K
Ask AI
App
Search...
Navigation
Action Contracts
Structure
Documentation
SDK
API Reference
GitHub
Community
Blog
LinkedIn
X
Get Started
Introduction
Use Cases
Concepts
Delegation
Actions & Instructions
Fee Structure
Developers
System Architecture
Overview
Protocol
Overview
Core Contracts
Action Contracts
Overview
Structure
Current Actions
Instruction Flows
Off-chain
Orchestrators
Deployed Addresses
Guides
Resources
Changelog
Security & Audits
Appendix
Glossary
On this page
argumentsHash
execute
Action Contracts
Structure
Each Action contract must implement the
IAction
interface. This interface defines two external functions:
argumentsHash
and
execute
argumentsHash
This function returns the information necessary to construct the signing hash for the Instruction depending on the Action arguments.
execute
The
execute
function contains the actual feature-specific logic and is called during each execution. This function is designed to be lightweight and reusable considering Instructions are designed to be executed many times.
Overview
Current Actions
⌘I