Skip to content

Commit

Permalink
build: Aura and Ichi Liquidator
Browse files Browse the repository at this point in the history
  • Loading branch information
bcbear-gun committed Oct 19, 2023
1 parent 5334d56 commit c456836
Show file tree
Hide file tree
Showing 42 changed files with 9,976 additions and 1,138 deletions.
441 changes: 441 additions & 0 deletions abi/AuraLiquidator.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions abi/AutomationBase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"inputs": [],
"name": "OnlySimulatedBackend",
"type": "error"
}
]
44 changes: 44 additions & 0 deletions abi/AutomationCompatible.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"inputs": [],
"name": "OnlySimulatedBackend",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "checkData",
"type": "bytes"
}
],
"name": "checkUpkeep",
"outputs": [
{
"internalType": "bool",
"name": "upkeepNeeded",
"type": "bool"
},
{
"internalType": "bytes",
"name": "performData",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "performData",
"type": "bytes"
}
],
"name": "performUpkeep",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
39 changes: 39 additions & 0 deletions abi/AutomationCompatibleInterface.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[
{
"inputs": [
{
"internalType": "bytes",
"name": "checkData",
"type": "bytes"
}
],
"name": "checkUpkeep",
"outputs": [
{
"internalType": "bool",
"name": "upkeepNeeded",
"type": "bool"
},
{
"internalType": "bytes",
"name": "performData",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "performData",
"type": "bytes"
}
],
"name": "performUpkeep",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
104 changes: 99 additions & 5 deletions abi/BlueBerryBank.json
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,62 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getBankInfoAll",
"outputs": [
{
"components": [
{
"internalType": "bool",
"name": "isListed",
"type": "bool"
},
{
"internalType": "uint8",
"name": "index",
"type": "uint8"
},
{
"internalType": "address",
"name": "hardVault",
"type": "address"
},
{
"internalType": "address",
"name": "softVault",
"type": "address"
},
{
"internalType": "address",
"name": "bToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "totalShare",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liqThreshold",
"type": "uint256"
}
],
"internalType": "struct IBank.Bank",
"name": "bank",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getCurrentPositionInfo",
Expand Down Expand Up @@ -1148,7 +1204,7 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand All @@ -1167,7 +1223,7 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand Down Expand Up @@ -1266,7 +1322,26 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "positionId",
"type": "uint256"
}
],
"name": "getPositionSpell",
"outputs": [
{
"internalType": "address",
"name": "spell",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
Expand All @@ -1285,7 +1360,7 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand Down Expand Up @@ -1348,7 +1423,7 @@
"type": "bool"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand Down Expand Up @@ -1676,6 +1751,25 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "spells",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
8 changes: 4 additions & 4 deletions abi/CoreOracle.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand Down Expand Up @@ -182,7 +182,7 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand All @@ -208,7 +208,7 @@
"type": "bool"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand All @@ -232,7 +232,7 @@
"type": "bool"
}
],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
Expand Down
101 changes: 101 additions & 0 deletions abi/IBalancerVault.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
[
{
"inputs": [],
"name": "WETH",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -191,5 +204,93 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "bytes32",
"name": "poolId",
"type": "bytes32"
},
{
"internalType": "enum IBalancerVault.SwapKind",
"name": "kind",
"type": "uint8"
},
{
"internalType": "address",
"name": "assetIn",
"type": "address"
},
{
"internalType": "address",
"name": "assetOut",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "userData",
"type": "bytes"
}
],
"internalType": "struct IBalancerVault.SingleSwap",
"name": "singleSwap",
"type": "tuple"
},
{
"components": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "bool",
"name": "fromInternalBalance",
"type": "bool"
},
{
"internalType": "address payable",
"name": "recipient",
"type": "address"
},
{
"internalType": "bool",
"name": "toInternalBalance",
"type": "bool"
}
],
"internalType": "struct IBalancerVault.FundManagement",
"name": "funds",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
}
],
"name": "swap",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "payable",
"type": "function"
}
]
Loading

0 comments on commit c456836

Please sign in to comment.