Files
smom-dbis-138/contracts/emoney/interfaces/IAccountWalletRegistry.sol
defiQUG cad927816e
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m20s
CI/CD Pipeline / Security Scanning (push) Successful in 2m48s
CI/CD Pipeline / Lint and Format (push) Failing after 47s
CI/CD Pipeline / Terraform Validation (push) Failing after 28s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 30s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 44s
Validation / validate-genesis (push) Successful in 37s
Validation / validate-terraform (push) Failing after 42s
Validation / validate-kubernetes (push) Failing after 12s
Validation / validate-smart-contracts (push) Failing after 16m44s
Validation / validate-security (push) Failing after 20s
Validation / validate-documentation (push) Failing after 19s
Verify Deployment / Verify Deployment (push) Failing after 1m21s
fix(token-list): align cUSDC_V2/cUSDT_V2 logoURI with registry policy
Use dedicated cusdc_v2/cusdt_v2 SVG paths so GRU token alignment validation passes.
2026-06-30 15:31:55 -07:00

34 lines
1.1 KiB
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
interface IAccountWalletRegistry {
struct WalletLink {
bytes32 walletRefId;
uint64 linkedAt;
bool active;
bytes32 provider; // e.g., "METAMASK", "FIREBLOCKS", "CUSTODY_X"
}
function linkAccountToWallet(bytes32 accountRefId, bytes32 walletRefId, bytes32 provider) external;
function unlinkAccountFromWallet(bytes32 accountRefId, bytes32 walletRefId) external;
function getWallets(bytes32 accountRefId) external view returns (WalletLink[] memory);
function getAccounts(bytes32 walletRefId) external view returns (bytes32[] memory);
function isLinked(bytes32 accountRefId, bytes32 walletRefId) external view returns (bool);
function isActive(bytes32 accountRefId, bytes32 walletRefId) external view returns (bool);
event AccountWalletLinked(
bytes32 indexed accountRefId,
bytes32 indexed walletRefId,
bytes32 provider,
uint64 linkedAt
);
event AccountWalletUnlinked(bytes32 indexed accountRefId, bytes32 indexed walletRefId);
}