Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m11s
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m4s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 31s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 29s
Verify Deployment / Verify Deployment (push) Failing after 57s
Relay router, reserve system, oracle publisher, token-aggregation compliance middleware, and Monad deployment scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
1.1 KiB
Solidity
33 lines
1.1 KiB
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.20;
|
|
|
|
/// @notice Minimal account-wallet registry interface for smart-account compile stubs.
|
|
interface IAccountWalletRegistry {
|
|
struct WalletLink {
|
|
bytes32 walletRefId;
|
|
uint64 linkedAt;
|
|
bool active;
|
|
bytes32 provider;
|
|
}
|
|
|
|
event AccountWalletLinked(
|
|
bytes32 indexed accountRefId,
|
|
bytes32 indexed walletRefId,
|
|
bytes32 provider,
|
|
uint64 linkedAt
|
|
);
|
|
event AccountWalletUnlinked(bytes32 indexed accountRefId, bytes32 indexed walletRefId);
|
|
|
|
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);
|
|
}
|