ConfiguratorLogic

This contract tracks reserve lifecycle events: initialization of reserves, and upgrades of the proxy contracts for aToken, stable debt token, and variable debt token.

Events

  • ATokenUpgraded(asset, proxy, implementation) Emitted when the aToken contract for a reserve is upgraded to a new implementation.

    • asset: The underlying asset of the reserve.

    • proxy: The proxy contract address of the aToken.

    • implementation: The new implementation contract address.


  • ReserveInitialized(asset, aToken, stableDebtToken, variableDebtToken, interestRateStrategyAddress) Emitted when a new reserve is initialized in the protocol.

    • asset: The underlying asset of the reserve.

    • aToken: The address of the aToken contract representing deposits.

    • stableDebtToken: The address of the stable debt token contract.

    • variableDebtToken: The address of the variable debt token contract.

    • interestRateStrategyAddress: The strategy contract managing interest rate models for the reserve.


  • StableDebtTokenUpgraded(asset, proxy, implementation) Emitted when the stable debt token contract for a reserve is upgraded.

    • asset: The underlying asset.

    • proxy: The proxy contract address of the stable debt token.

    • implementation: The new implementation contract address.


  • VariableDebtTokenUpgraded(asset, proxy, implementation) Emitted when the variable debt token contract for a reserve is upgraded.

    • asset: The underlying asset.

    • proxy: The proxy contract address of the variable debt token.

    • implementation: The new implementation contract address.

[
  {
    "anonymous": false,
    "inputs": [
      { "indexed": true, "internalType": "address", "name": "asset", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "proxy", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }
    ],
    "name": "ATokenUpgraded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      { "indexed": true, "internalType": "address", "name": "asset", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "aToken", "type": "address" },
      { "indexed": false, "internalType": "address", "name": "stableDebtToken", "type": "address" },
      { "indexed": false, "internalType": "address", "name": "variableDebtToken", "type": "address" },
      { "indexed": false, "internalType": "address", "name": "interestRateStrategyAddress", "type": "address" }
    ],
    "name": "ReserveInitialized",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      { "indexed": true, "internalType": "address", "name": "asset", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "proxy", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }
    ],
    "name": "StableDebtTokenUpgraded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      { "indexed": true, "internalType": "address", "name": "asset", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "proxy", "type": "address" },
      { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }
    ],
    "name": "VariableDebtTokenUpgraded",
    "type": "event"
  }
]

Last updated

Was this helpful?