For the complete documentation index, see llms.txt. This page is also available as Markdown.

ProtocolShareReserve

ProtocolShareReserve

Contract used to store and distribute the reserves generated in the markets.

Solidity API

enum Schema {
  PROTOCOL_RESERVES,
  ADDITIONAL_REVENUE
}
struct DistributionConfig {
  enum ProtocolShareReserve.Schema schema;
  uint16 percentage;
  address destination;
}

CORE_POOL_COMPTROLLER

address of core pool comptroller contract

address CORE_POOL_COMPTROLLER

WBNB

address of WBNB contract


vBNB

address of vBNB contract


poolRegistry

address of pool registry contract


assetsReserves

comptroller => asset => schema => balance


totalAssetReserve

asset => balance


distributionTargets

configuration for different income distribution targets


Last updated