Skip to content

[FEATURE]: Add orchestrator pre deposits for native tokens #333

Description

@howydev

Feature Summary

Porto currently does a call with value for each payment incurring ~7k gas per intent

Timeline

Feature (medium term)

Security Considerations

n/a

Proposed Solution

Various implementations to consider here:

  1. selfdestruct reduces cost to 5k per instance instead of 7k. Also doesn't trigger fallbacks, so we do not need to think about griefs
  2. 4337 predeposit architecture would help reduce gas in the app sponsored case by roughly ~4-5k gas, but increase self-pay gas by ~2-3k
  3. 4337 predeposit architecture without fallback-deposit logic would avoid the 2-3k self-pay gas hit

Gas Considerations

No response

Implementation Notes

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions