mirror of
https://github.com/luxfi/precompile.git
synced 2026-07-27 03:33:45 +00:00
refactor: LXAutoRepay → LXPay (LP-9060)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
// Precompile address (LP-9060 LXLiquid)
|
||||
var liquidAddr = common.HexToAddress(LXAutoRepayAddress)
|
||||
var liquidAddr = common.HexToAddress(LXPayAddress)
|
||||
|
||||
// Storage key prefixes for Liquid state
|
||||
var (
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ var (
|
||||
lxVaultAddr = common.HexToAddress(LXVaultAddress) // LP-9030 LXVault
|
||||
lxPriceAddr = common.HexToAddress(LXPriceAddress) // LP-9040 LXPrice
|
||||
lxLendAddr = common.HexToAddress(LXLendAddress) // LP-9050 LXLend (lending pool)
|
||||
lxLiquidAddr = common.HexToAddress(LXAutoRepayAddress) // LP-9060 LXLiquid (self-repaying loans)
|
||||
lxLiquidAddr = common.HexToAddress(LXPayAddress) // LP-9060 LXLiquid (self-repaying loans)
|
||||
)
|
||||
|
||||
// DEXPrecompile is the singleton instance.
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ const (
|
||||
|
||||
// Lending (LP-905x–906x)
|
||||
LXLendAddress = "0x0000000000000000000000000000000000009050" // LP-9050 LXLend (lending pool)
|
||||
LXAutoRepayAddress = "0x0000000000000000000000000000000000009060" // LP-9060 LXAutoRepay (self-repaying loans)
|
||||
LXPayAddress = "0x0000000000000000000000000000000000009060" // LP-9060 LXPay (self-repaying loans)
|
||||
|
||||
// Liquidation + Transmutation (LP-907x–908x)
|
||||
LXLiquidatorAddress = "0x0000000000000000000000000000000000009070" // LP-9070 LXLiquidator (liquidation engine)
|
||||
|
||||
Reference in New Issue
Block a user