Skip to content

Commit 382d822

Browse files
committed
fix readme
1 parent 9aaabd4 commit 382d822

File tree

3 files changed

+178
-875
lines changed

3 files changed

+178
-875
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ TokenF and NFTF architecture:
1111

1212
Built with [Solarity](https://github.com/dl-solarity), [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts), and aspiration to perfection.
1313

14-
1514
## Application
1615

1716
TokenF is an on-chain framework that enables development, management, and deployment of permissioned ERC-20-compatible and ERC-721-compatible assets on EVM networks. TokenF enables custom rules to be configured for RWA tokens, providing flexible KYC/AML and regulatory compliance checks for the users to abide during interaction with the smart contracts.

examples/equity-token/deploy/2_equity-nft.migration.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import {
1515
LandERC721TransferLimitsModule__factory,
1616
} from "@ethers-v6";
1717

18-
async function setupCoreContracts(deployer: Deployer): Promise<[LandNFT, EquityKYCCompliance, EquityRegulatoryCompliance]> {
18+
async function setupCoreContracts(
19+
deployer: Deployer,
20+
): Promise<[LandNFT, EquityKYCCompliance, EquityRegulatoryCompliance]> {
1921
const nftF = await deployer.deploy(LandNFT__factory);
2022
const kycCompliance = await deployer.deploy(EquityKYCCompliance__factory);
2123
const regulatoryCompliance = await deployer.deploy(EquityRegulatoryCompliance__factory);
@@ -27,13 +29,14 @@ async function setupCoreContracts(deployer: Deployer): Promise<[LandNFT, EquityK
2729

2830
await nftF.__LandNFT_init(regulatoryCompliance, kycCompliance, regulatoryComplianceInitData, kycComplianceInitData);
2931

30-
return [nftF, kycCompliance.attach(nftF) as EquityKYCCompliance, regulatoryCompliance.attach(nftF) as EquityRegulatoryCompliance];
32+
return [
33+
nftF,
34+
kycCompliance.attach(nftF) as EquityKYCCompliance,
35+
regulatoryCompliance.attach(nftF) as EquityRegulatoryCompliance,
36+
];
3137
}
3238

33-
async function setupTransferLimitsModule(
34-
deployer: Deployer,
35-
nftF: LandNFT,
36-
): Promise<LandERC721TransferLimitsModule> {
39+
async function setupTransferLimitsModule(deployer: Deployer, nftF: LandNFT): Promise<LandERC721TransferLimitsModule> {
3740
const transferLimitsModule = await deployer.deploy(LandERC721TransferLimitsModule__factory);
3841
await transferLimitsModule.__LandERC721TransferLimitsModule_init(nftF);
3942

0 commit comments

Comments
 (0)