⚡AgentExecutor
Overview
Contract Address
Execution Context
struct ExecutionContext {
address agent;
bytes32 taskId;
address requester;
uint256 gasLimit;
uint256 value;
uint256 timestamp;
ExecutionStatus status;
bytes result;
}
enum ExecutionStatus {
Pending,
Success,
Failed,
Reverted
}Main Functions
Authorize Agent
Execute Task
Get Execution Details
Check Agent Authorization
Get Agent Execution Count
Admin Functions
Revoke Agent
Update Execution Fee
Update Max Gas Limit
Withdraw Fees
Events
ExecutionQueued
ExecutionCompleted
AgentAuthorized
AgentRevoked
Complete Example
Security Features
See Also
Last updated

