- 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.
24 lines
586 B
Solidity
24 lines
586 B
Solidity
// 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;
|
|
}
|
|
}
|