add absorb script and upgrade script

This commit is contained in:
2026-01-06 15:57:36 +08:00
parent b1b3b07b21
commit eecae142a4
33 changed files with 3614 additions and 3070 deletions

View File

@@ -272,11 +272,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",
@@ -387,11 +382,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",
@@ -704,11 +694,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",
@@ -852,11 +837,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",
@@ -1017,11 +997,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",

View File

@@ -64,11 +64,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",

View File

@@ -315,19 +315,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "borrow",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{

View File

@@ -606,19 +606,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "borrow",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
@@ -949,11 +936,6 @@
"name": "storeFrontPriceFactor",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "trackingIndexScale",
"type": "uint64"
},
{
"internalType": "uint104",
"name": "baseBorrowMin",
@@ -1301,19 +1283,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "trackingIndexScale",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{

View File

@@ -315,19 +315,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "trackingIndexScale",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{

View File

@@ -86,17 +86,6 @@
"name": "ReentrancyGuardReentrantCall",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "SafeERC20FailedOperation",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",