mirror of
https://github.com/luxfhe/example-dapps.git
synced 2026-10-30 18:13:32 +00:00
A rebrand renamed third-party names it did not own. @luxfhe-fhe/relayer-sdk and @luxfhe-fhe/oracle-solidity were never published, and @fhevm/solidity ships config/ZamaConfig.sol, not LuxConfig.sol, so nothing installed and no contract compiled. The overrides now say what the lockfile already resolved (@zama-fhe/relayer-sdk ^0.3.0-8, @zama-fhe/oracle-solidity ^0.2.0), and the relayer bundle loads from cdn.zama.org, the host that serves it. Co-authored-by: Hanzo Dev <[email protected]>
15 lines
624 B
Solidity
15 lines
624 B
Solidity
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
pragma solidity ^0.8.27;
|
|
|
|
import {ZamaEthereumConfig} from "@fhevm/solidity/config/ZamaConfig.sol";
|
|
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
|
|
import {ERC7984ERC20Wrapper, ERC7984} from "openzeppelin-confidential-contracts/contracts/token/ERC7984/extensions/ERC7984ERC20Wrapper.sol";
|
|
|
|
contract ERC7984ERC20WrapperMock is ERC7984ERC20Wrapper, ZamaEthereumConfig {
|
|
constructor(
|
|
IERC20 token,
|
|
string memory name,
|
|
string memory symbol,
|
|
string memory uri
|
|
) ERC7984ERC20Wrapper(token) ERC7984(name, symbol, uri) {}
|
|
} |