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:
23
contracts/dbis/IDBISTypes.sol
Normal file
23
contracts/dbis/IDBISTypes.sol
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user