Module brontes_classifier::MakerDssFlash
source · Expand description
Generated by the following Solidity interface…
interface MakerDssFlash {
event Deny(address indexed usr);
event File(bytes32 indexed what, uint256 data);
event FlashLoan(address indexed receiver, address token, uint256 amount, uint256 fee);
event Rely(address indexed usr);
event VatDaiFlashLoan(address indexed receiver, uint256 amount, uint256 fee);
constructor(address daiJoin_);
function CALLBACK_SUCCESS() external view returns (bytes32);
function CALLBACK_SUCCESS_VAT_DAI() external view returns (bytes32);
function dai() external view returns (address);
function daiJoin() external view returns (address);
function deny(address usr) external;
function file(bytes32 what, uint256 data) external;
function flashFee(address token, uint256 amount) external view returns (uint256);
function flashLoan(address receiver, address token, uint256 amount, bytes memory data) external returns (bool);
function max() external view returns (uint256);
function maxFlashLoan(address token) external view returns (uint256);
function rely(address usr) external;
function vat() external view returns (address);
function vatDaiFlashLoan(address receiver, uint256 amount, bytes memory data) external returns (bool);
function wards(address) external view returns (uint256);
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "daiJoin_",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "CALLBACK_SUCCESS",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "CALLBACK_SUCCESS_VAT_DAI",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "dai",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract DaiLike"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "daiJoin",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract DaiJoinLike"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "deny",
"inputs": [
{
"name": "usr",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "file",
"inputs": [
{
"name": "what",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "data",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "flashFee",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "flashLoan",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "contract IERC3156FlashBorrower"
},
{
"name": "token",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "max",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "maxFlashLoan",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "rely",
"inputs": [
{
"name": "usr",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "vat",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract VatLike_4"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "vatDaiFlashLoan",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "contract IVatDaiFlashBorrower"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "wards",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "event",
"name": "Deny",
"inputs": [
{
"name": "usr",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "File",
"inputs": [
{
"name": "what",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "data",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "FlashLoan",
"inputs": [
{
"name": "receiver",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "token",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "fee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Rely",
"inputs": [
{
"name": "usr",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "VatDaiFlashLoan",
"inputs": [
{
"name": "receiver",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "fee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
}
]
Structs§
- Function with signature
CALLBACK_SUCCESS()
and selector0x8237e538
. - Container type for the return parameters of the
CALLBACK_SUCCESS()
function. - Function with signature
CALLBACK_SUCCESS_VAT_DAI()
and selector0x8878e8c7
. - Container type for the return parameters of the
CALLBACK_SUCCESS_VAT_DAI()
function. - Event with signature
Deny(address)
and selector0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b
. - Event with signature
File(bytes32,uint256)
and selector0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7
. - Event with signature
FlashLoan(address,address,uint256,uint256)
and selector0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0
. - Event with signature
Rely(address)
and selector0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60
. - Event with signature
VatDaiFlashLoan(address,uint256,uint256)
and selector0xbca56acc64a74a4c131755895cf7f72fc3f9e39af64241f7ad0f77e86f41ada9
. - Constructor`.
- Function with signature
dai()
and selector0xf4b9fa75
. - Function with signature
daiJoin()
and selector0xc11645bc
. - Container type for the return parameters of the
daiJoin()
function. - Container type for the return parameters of the
dai()
function. - Function with signature
deny(address)
and selector0x9c52a7f1
. - Container type for the return parameters of the
deny(address)
function. - Function with signature
file(bytes32,uint256)
and selector0x29ae8114
. - Container type for the return parameters of the
file(bytes32,uint256)
function. - Function with signature
flashFee(address,uint256)
and selector0xd9d98ce4
. - Container type for the return parameters of the
flashFee(address,uint256)
function. - Function with signature
flashLoan(address,address,uint256,bytes)
and selector0x5cffe9de
. - Container type for the return parameters of the
flashLoan(address,address,uint256,bytes)
function. - Function with signature
max()
and selector0x6ac5db19
. - Function with signature
maxFlashLoan(address)
and selector0x613255ab
. - Container type for the return parameters of the
maxFlashLoan(address)
function. - Container type for the return parameters of the
max()
function. - Function with signature
rely(address)
and selector0x65fae35e
. - Container type for the return parameters of the
rely(address)
function. - Function with signature
vat()
and selector0x36569e77
. - Function with signature
vatDaiFlashLoan(address,uint256,bytes)
and selector0x3f03653f
. - Container type for the return parameters of the
vatDaiFlashLoan(address,uint256,bytes)
function. - Container type for the return parameters of the
vat()
function. - Function with signature
wards(address)
and selector0xbf353dbb
. - Container type for the return parameters of the
wards(address)
function.
Enums§
- Container for all the
MakerDssFlash
function calls. - Container for all the
MakerDssFlash
events.