Wildcat Protocol Documentation
  • The Wildcat Protocol
  • Overview
    • The Elevator Pitch
    • Whitepaper
    • FAQs
  • Using Wildcat
    • Terminology
    • Onboarding
    • Day-To-Day Usage
      • Borrowers
      • Lenders
      • Market Access Via Policies/Hooks
      • The Sentinel
    • Protocol Usage Fees
    • Delinquency
  • Technical Overview
    • Security/Developer Dives
      • The Scale Factor
      • Core Behaviour
      • V1 -> V2 Changelog
      • Known Issues
      • Hooks
        • How Hooks Work
        • Access Control Hooks
        • Fixed Term Loan Hooks
    • Function/Event Signatures
      • /access
        • AccessControlHooks.sol
        • IRoleProvider.sol
        • MarketConstraintHooks.sol
      • /interfaces
        • IHooks.sol
        • IMarketEventsAndErrors.sol
        • IWildcatArchController.sol
        • IWildcatSanctionsEscrow.sol
        • IWildcatSanctionsSentinel.sol
      • /market
        • WildcatMarketConfig.sol
        • WildcatMarketToken.sol
        • WildcatMarketWithdrawals.sol
        • WildcatMarketBase.sol
      • /spherex
        • ISphereXEngine.sol
        • ISphereXProtectedRegisteredBase.sol
        • SphereXConfig.sol
      • HooksFactory.sol
      • IHooksFactory.sol
      • WildcatArchController.sol
      • WildcatSanctionsEscrow.sol
      • WildcatSanctionsSentinel.sol
    • Protocol Structs
    • Contract Deployments
  • Security Measures
    • Code Security Reviews
    • SphereX Protection
    • Bug Bounty Program
  • Legal
    • Wildcat Terms Of Use
    • Risk Disclosure Statement
    • Template MLA
    • Privacy Policy
Powered by GitBook
On this page
  1. Miscellaneous
  2. DEPRECATED DOCUMENTATION
  3. V1 Component Overview
  4. Wildcat Market Overview

Events

Transfer

event Transfer(address indexed from, address indexed to, uint256 value);

Logs the transfer of the market token.

Approval

event Approval(address indexed owner, address indexed spender, uint256 value);

Logs changes in allowance with the market token.

MaxTotalSupplyUpdated

event MaxTotalSupplyUpdated(uint256 assets);

Logs changes to the maximum total supply of the market token.

AnnualInterestBipsUpdated

event AnnualInterestBipsUpdated(uint256 annualInterestBipsUpdated);

Logs changes to the APR bips.

LiquidityCoverageRatioUpdated

event LiquidityCoverageRatioUpdated(uint256 liquidityCoverageRatioUpdated);

Logs changes to the liquidity coverage ratio

Deposit

event Deposit(address indexed account, uint256 assetAmount, uint256 scaledAmount);

Logs deposits to the market.

Borrow

event Borrow(uint256 assetAmount);

Logs borrows from the market.

MarketClosed

event MarketClosed(uint256 timestamp);

Logs the closure of a market.

FeesCollected

event FeesCollected(uint256 assets);

Logs the collection of fees.

StateUpdated

event StateUpdated(uint256 scaleFactor, bool isDelinquent);

Logs changes to the market state.

ScaleFactorUpdated

event ScaleFactorUpdated(
    uint256 scaleFactor,
    uint256 baseInterestRay,
    uint256 delinquencyFeeRay,
    uint256 protocolFee
);

Logs changes to the scale factor.

AuthorizationStatusUpdated

event AuthorizationStatusUpdated(address indexed account, AuthRole role);

Logs changes to an account's authorization.

WithdrawalBatchExpired

event WithdrawalBatchExpired(
    uint256 expiry,
    uint256 scaledTotalAmount,
    uint256 scaledAmountBurned,
    uint256 normalizedAmountPaid
);

Logs withdrawal batch expiration on market state changes.

WithdrawalBatchCreated

event WithdrawalBatchCreated(uint256 expiry);

Logs the creation of a withdrawal batch.

WithdrawalBatchClosed

event WithdrawalBatchClosed(uint256 expiry);

Logs the closure of a withdrawal batch.

WithdrawalBatchPayment

event WithdrawalBatchPayment(
    uint256 expiry,
    uint256 scaledAmountBurned,
    uint256 normalizedAmountPaid
);

Logs the payment of a withdrawal batch.

WithdrawalQueued

event WithdrawalQueued(uint256 expiry, address account, uint256 scaledAmount);

Logs queued withdrawals.

WithdrawalExecuted

event WithdrawalExecuted(uint256 expiry, address account, uint256 normalizedAmount);

Logs the execution of a withdrawal.

MarketDeployed

event MarketDeployed(address indexed controller, address indexed underlying, address market)

Logs the deployment of a new market.

Last updated 1 year ago