feat: Introduce MINTER_ROLE for minting control in CompliantFiatToken

- Added MINTER_ROLE constant to manage minting permissions.
- Updated mint function to restrict access to addresses with MINTER_ROLE, enhancing security and compliance.
- Granted MINTER_ROLE to the initial owner during contract deployment.
This commit is contained in:
defiQUG
2026-03-02 14:22:35 -08:00
parent af4152ac14
commit d36a8947b2
14 changed files with 1290 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IDBISTypes {
enum FundsStatus { ON_LEDGER_FINAL, OFF_LEDGER_FINAL }
enum AssetClass { GRU_M00, GRU_M0, GRU_M1 }
struct MintAuth {
bytes32 messageId;
bytes32 isoType;
bytes32 isoHash;
bytes32 accountingRef;
FundsStatus fundsStatus;
bytes32 corridor;
AssetClass assetClass;
address[] recipients;
uint256[] amounts;
uint64 notBefore;
uint64 expiresAt;
uint256 chainId;
address verifyingContract;
}
}