-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.20; | ||
|
||
import {RarimoModule} from "@tokenf/contracts/kyc/modules/RarimoModule.sol"; | ||
import {RarimoModule} from "@tokenf/contracts/modules/kyc/RarimoModule.sol"; | ||
|
||
contract EquityRarimoModule is RarimoModule { | ||
function __EquityRarimoModule_init(address tokenF_, address sbt_) external initializer { | ||
__AbstractKYCModule_init(tokenF_); | ||
__AbstractComplianceModule_init(tokenF_); | ||
__RarimoModule_init(sbt_); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/equity-token/contracts/EquityTransferLimitsModule.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.20; | ||
|
||
import {TransferLimitsModule} from "@tokenf/contracts/regulatory/modules/TransferLimitsModule.sol"; | ||
import {TransferLimitsModule} from "@tokenf/contracts/modules/regulatory/TransferLimitsModule.sol"; | ||
|
||
contract EquityTransferLimitsModule is TransferLimitsModule { | ||
function __EquityTransferLimitsModule_init(address tokenF_) external initializer { | ||
__AbstractRegulatoryModule_init(tokenF_); | ||
__AbstractComplianceModule_init(tokenF_); | ||
__TransferLimitsModule_init(1 ether, MAX_TRANSFER_LIMIT); | ||
} | ||
} |