Skip to content

Implement chain specific permissions for identity #12

@Pessina

Description

@Pessina

Part 2 of #10

Use omni-transaction-rs: https://crates.io/crates/omni-transaction

Execute methods should be able to receive as input an unsigned transaction for the following chains (EVM, BTC, Cosmos) and transform it into the byte array to be signed.

It will enable the AA program to inspect the payload and allow/disallow the transaction signature based on the identity permissions.

Each identity added to the AA will include permissions for execution, such as:

  • Daily transfer limit
  • Whitelisted contracts
  • Whitelisted chains
  • Transaction amount limit

Notes for EVM

  • EVM permissions will have to include contract + abi + inputs, the whitelisted abi has to be stored on the contract for 2 reasons

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions