@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
87 lines (86 loc) • 1.71 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "holder",
"type": "address"
},
{
"internalType": "uint256",
"name": "oldBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "newBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "providerSupply",
"type": "uint256"
}
],
"name": "handleBalanceUpdate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "holder",
"type": "address"
},
{
"internalType": "uint256",
"name": "oldBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "newBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "providerSupply",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "scaleRay",
"type": "uint256"
}
],
"name": "handleScaledBalanceUpdate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "isScaledBalanceUpdateNeeded",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]