Administration
Roles
ADMIN_ROLE
: Configure system parameters and blacklist tokensDEVOPS_ROLE
: Handle contract upgrades
Configurable Parameters
Discount rate markup (capped at 2%)
Minimum listing amounts per token
RepoToken blacklist status
DiscountRateAdapter address
Events and Monitoring
The system uses a dedicated event emitter contract (RepoTokenLinkedListEventEmitter
) to track all system activity:
Core Events
NewListing(uint256 listingId, address seller, address repoToken, uint256 amount)
Purchase(uint256 listingId, address buyer, address seller, address repoToken, uint256 amount, address purchaseToken, uint256 cost)
ListingCancelled(uint256 listingId, address seller, uint256 amount)
System Events
DiscountRateAdapterUpdated(address oldAdapter, address newAdapter)
RepoTokenBlacklistUpdated(address repoToken, bool blacklisted)
MinListingAmountUpdated(uint256 oldAmount, uint256 newAmount)
Paused()
/Unpaused()
Last updated