Developer Reference
Contract & Imports
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { IERC3643 } from "@erc3643org/erc-3643/contracts/ERC-3643/IERC3643.sol";
import { AggregatorV3Interface } from "@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol";
import { IDinoPrimary } from "./interfaces/IDinoPrimary.sol";
import { IFeeCollector } from "./interfaces/IFeeCollector.sol";
contract DinoPrimary is IDinoPrimary { /* ... */ }State Variables (Public Getters)
IERC3643 public erc3643;
address public issuerSafe;
bool public preminted;
IFeeCollector public ecosystemFeeCollector;
uint256 public nonce;
mapping(address => PaymentToken) public approvedPaymentTokens;Solidity Interface
Investor Functions
subscribe
redeem
Preview Functions (Read-Only Quotes)
previewSubscribeWithExactErc3643
previewSubscribeWithExactToken
previewRedeemWithExactErc3643
previewRedeemWithExactToken
Payment Token Management
addPaymentToken
removePaymentToken
updatePaymentToken
getPaymentTokens / getPaymentTokenCount
Rules Management
updateSubscriptionRules
updateRedemptionRules
subscriptionRules
redemptionRules
Admin Functions
updateIssuerSafe
updatePreminted
Events
Custom Errors (from ErrorsLib)
Last updated