core-artifacts
Version:
Consist artifacts of the maple protocol
81 lines (80 loc) • 4.6 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "LateFeeCalc",
"sourceName": "contracts/core/late-fee-calculator/v1/LateFeeCalc.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_lateFee",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "calcType",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "interest",
"type": "uint256"
}
],
"name": "getLateFee",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "lateFee",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a060405234801561001057600080fd5b506040516103173803806103178339818101604052602081101561003357600080fd5b50516080526080516102c26100556000398060bb528060eb52506102c26000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806306fdde03146100515780633f4de62f1461006b57806353b7e0e5146100735780639d8ae44614610090575b600080fd5b6100596100ae565b60408051918252519081900360200190f35b6100596100b9565b6100596004803603602081101561008957600080fd5b50356100dd565b610098610127565b6040805160ff9092168252519081900360200190f35b631193105560e21b81565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610121612710610115847f000000000000000000000000000000000000000000000000000000000000000063ffffffff61012c16565b9063ffffffff61018c16565b92915050565b600b81565b60008261013b57506000610121565b8282028284828161014857fe5b04146101855760405162461bcd60e51b815260040180806020018281038252602181526020018061026c6021913960400191505060405180910390fd5b9392505050565b600061018583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836102555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161026157fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212206f47f4a407ac94378f472cf3348e2f36ff72096569804414b2a69376f65979a864736f6c634300060b0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806306fdde03146100515780633f4de62f1461006b57806353b7e0e5146100735780639d8ae44614610090575b600080fd5b6100596100ae565b60408051918252519081900360200190f35b6100596100b9565b6100596004803603602081101561008957600080fd5b50356100dd565b610098610127565b6040805160ff9092168252519081900360200190f35b631193105560e21b81565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610121612710610115847f000000000000000000000000000000000000000000000000000000000000000063ffffffff61012c16565b9063ffffffff61018c16565b92915050565b600b81565b60008261013b57506000610121565b8282028284828161014857fe5b04146101855760405162461bcd60e51b815260040180806020018281038252602181526020018061026c6021913960400191505060405180910390fd5b9392505050565b600061018583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836102555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161026157fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212206f47f4a407ac94378f472cf3348e2f36ff72096569804414b2a69376f65979a864736f6c634300060b0033",
"linkReferences": {},
"deployedLinkReferences": {}
}