{
  "name": "acl/token-sharing",
  "version": "1.0.0",
  "description": "Share your encrypted token balance permanently via FHE.allow()",
  "author": "Lab-Z",
  "category": "acl",
  "tags": ["access-control", "permissions", "fhe", "token"],

  "compatibleWith": ["token"],
  "incompatibleWith": [],
  "requires": [],

  "requiresSlots": ["EVENTS", "EXTERNAL_FUNCTIONS", "STATE_VARIABLES"],

  "provides": {
    "functions": ["shareBalance", "hasBalanceAccess", "checkBalanceFHEAccess"],
    "events": ["BalanceAccessGranted"],
    "modifiers": [],
    "stateVariables": ["_balanceAccessList"]
  },

  "exclusive": false,

  "injections": {
    "EVENTS": {
      "content": "file:inject/events.sol",
      "mode": "append",
      "order": 50
    },
    "STATE_VARIABLES": {
      "content": "file:inject/state.sol",
      "mode": "append",
      "order": 50
    },
    "EXTERNAL_FUNCTIONS": {
      "content": "file:inject/functions.sol",
      "mode": "append",
      "order": 50
    }
  }
}
