Skip to content

Add EstimateFees function before deploy a workflow #400

@chrisli30

Description

@chrisli30

There should be an estimateFees function like prior to Ethereum transaction submission:

Input should include:

  1. nodes and edges,
  2. createdAt
  3. expireAt
  4. maxExecution

Output should include:

  1. Gas fee estimated based on ContractWrite and LoopNodeContractWrite which will need to pay for EVM transaction fees
  2. Automation fee esitmated based on trigger type and task duration
  3. First-time smart wallet AA contract creation fees.
  4. Any promotion of fee reduction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority Level 1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions