> For the complete documentation index, see [llms.txt](https://developers.term.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.term.finance/periphery-contracts/blue-sheets/administration.md).

# Administration

### Roles

* [`ADMIN_ROLE`](/access-controls.md): Configure system parameters and blacklist tokens
* [`DEVOPS_ROLE`](/access-controls.md): 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()`
