sora2-network icon indicating copy to clipboard operation
sora2-network copied to clipboard

[Tech]: Add mechanism for external regulation for assets operations

Open vovac12 opened this issue 9 months ago • 1 comments

Problem statement

We want to support regulated assets

Description

Currently we work with permissions pallet directly, but to make assets regulation for extensible we should move all checks to Config trait associated type

Definition of Done

  • [ ] Add trait for assets operations regulation
  • [ ] Move permissions pallet logic used in assets pallet to this trait

Requirements

  • New trait should be implemented for tuples like (A, B)
  • New trait should contain method for each assets operation like mint, burn, transfer, etc.

vovac12 avatar Apr 26 '24 14:04 vovac12