@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
157 lines (156 loc) • 3.06 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "enum AutolockMode",
"name": "mode",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint32",
"name": "lockDuration",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint224",
"name": "param",
"type": "uint224"
}
],
"name": "RewardAutolockConfigured",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"internalType": "uint32",
"name": "lockDuration",
"type": "uint32"
}
],
"name": "autolockAccumulateTill",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maxAmount",
"type": "uint256"
},
{
"internalType": "uint32",
"name": "lockDuration",
"type": "uint32"
}
],
"name": "autolockAccumulateUnderlying",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "autolockDefault",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "minAmount",
"type": "uint256"
},
{
"internalType": "uint32",
"name": "lockDuration",
"type": "uint32"
}
],
"name": "autolockKeepUpBalance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "autolockOf",
"outputs": [
{
"internalType": "enum AutolockMode",
"name": "mode",
"type": "uint8"
},
{
"internalType": "uint32",
"name": "lockDuration",
"type": "uint32"
},
{
"internalType": "uint256",
"name": "param",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "minLockDuration",
"type": "uint32"
}
],
"name": "autolockProlongate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "autolockStop",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "isAutolockEnabled",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]