Module brontes_classifier::DodoDSPPool
source · Expand description
Generated by the following Solidity interface…
interface DodoDSPPool {
type RState is uint8;
struct PMMState {
uint256 i;
uint256 K;
uint256 B;
uint256 Q;
uint256 B0;
uint256 Q0;
RState R;
}
event Approval(address indexed owner, address indexed spender, uint256 amount);
event Burn(address indexed user, uint256 value);
event BuyShares(address to, uint256 increaseShares, uint256 totalShares);
event DODOFlashLoan(address borrower, address assetTo, uint256 baseAmount, uint256 quoteAmount);
event DODOSwap(address fromToken, address toToken, uint256 fromAmount, uint256 toAmount, address trader, address receiver);
event Mint(address indexed user, uint256 value);
event RChange(RState newRState);
event SellShares(address payer, address to, uint256 decreaseShares, uint256 totalShares);
event Transfer(address indexed from, address indexed to, uint256 amount);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external view returns (bytes32);
function _BASE_PRICE_CUMULATIVE_LAST_() external view returns (uint256);
function _BASE_RESERVE_() external view returns (uint112);
function _BASE_TARGET_() external view returns (uint112);
function _BASE_TOKEN_() external view returns (address);
function _BLOCK_TIMESTAMP_LAST_() external view returns (uint32);
function _IS_OPEN_TWAP_() external view returns (bool);
function _I_() external view returns (uint256);
function _K_() external view returns (uint256);
function _LP_FEE_RATE_() external view returns (uint256);
function _MAINTAINER_() external view returns (address);
function _MT_FEE_RATE_MODEL_() external view returns (address);
function _QUOTE_RESERVE_() external view returns (uint112);
function _QUOTE_TARGET_() external view returns (uint112);
function _QUOTE_TOKEN_() external view returns (address);
function _RState_() external view returns (uint32);
function addressToShortString(address _addr) external pure returns (string memory);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function balanceOf(address owner) external view returns (uint256 balance);
function buyShares(address to) external returns (uint256 shares, uint256 baseInput, uint256 quoteInput);
function correctRState() external;
function decimals() external view returns (uint8);
function flashLoan(uint256 baseAmount, uint256 quoteAmount, address assetTo, bytes memory data) external;
function getBaseInput() external view returns (uint256 input);
function getMidPrice() external view returns (uint256 midPrice);
function getPMMState() external view returns (PMMState memory state);
function getPMMStateForCall() external view returns (uint256 i, uint256 K, uint256 B, uint256 Q, uint256 B0, uint256 Q0, uint256 R);
function getQuoteInput() external view returns (uint256 input);
function getUserFeeRate(address user) external view returns (uint256 lpFeeRate, uint256 mtFeeRate);
function getVaultReserve() external view returns (uint256 baseReserve, uint256 quoteReserve);
function init(address maintainer, address baseTokenAddress, address quoteTokenAddress, uint256 lpFeeRate, address mtFeeRateModel, uint256 i, uint256 k, bool isOpenTWAP) external;
function name() external view returns (string memory);
function nonces(address) external view returns (uint256);
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
function querySellBase(address trader, uint256 payBaseAmount) external view returns (uint256 receiveQuoteAmount, uint256 mtFee, RState newRState, uint256 newBaseTarget);
function querySellQuote(address trader, uint256 payQuoteAmount) external view returns (uint256 receiveBaseAmount, uint256 mtFee, RState newRState, uint256 newQuoteTarget);
function sellBase(address to) external returns (uint256 receiveQuoteAmount);
function sellQuote(address to) external returns (uint256 receiveBaseAmount);
function sellShares(uint256 shareAmount, address to, uint256 baseMinAmount, uint256 quoteMinAmount, bytes memory data, uint256 deadline) external returns (uint256 baseAmount, uint256 quoteAmount);
function symbol() external view returns (string memory);
function sync() external;
function totalSupply() external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function transferFrom(address from, address to, uint256 amount) external returns (bool);
function version() external pure returns (string memory);
}
…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "DOMAIN_SEPARATOR",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "PERMIT_TYPEHASH",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_BASE_PRICE_CUMULATIVE_LAST_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_BASE_RESERVE_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint112",
"internalType": "uint112"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_BASE_TARGET_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint112",
"internalType": "uint112"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_BASE_TOKEN_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IERC20"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_BLOCK_TIMESTAMP_LAST_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_IS_OPEN_TWAP_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_I_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_K_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_LP_FEE_RATE_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_MAINTAINER_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_MT_FEE_RATE_MODEL_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IFeeRateModel"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_QUOTE_RESERVE_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint112",
"internalType": "uint112"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_QUOTE_TARGET_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint112",
"internalType": "uint112"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_QUOTE_TOKEN_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IERC20"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "_RState_",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "addressToShortString",
"inputs": [
{
"name": "_addr",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "allowance",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "approve",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "balanceOf",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "balance",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "buyShares",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "shares",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "baseInput",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "quoteInput",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "correctRState",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "decimals",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "flashLoan",
"inputs": [
{
"name": "baseAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "quoteAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "assetTo",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getBaseInput",
"inputs": [],
"outputs": [
{
"name": "input",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMidPrice",
"inputs": [],
"outputs": [
{
"name": "midPrice",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPMMState",
"inputs": [],
"outputs": [
{
"name": "state",
"type": "tuple",
"internalType": "struct PMMPricing.PMMState",
"components": [
{
"name": "i",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "K",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "B",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "Q",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "B0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "Q0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "R",
"type": "uint8",
"internalType": "enum PMMPricing.RState"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPMMStateForCall",
"inputs": [],
"outputs": [
{
"name": "i",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "K",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "B",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "Q",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "B0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "Q0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "R",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getQuoteInput",
"inputs": [],
"outputs": [
{
"name": "input",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getUserFeeRate",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "lpFeeRate",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mtFeeRate",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getVaultReserve",
"inputs": [],
"outputs": [
{
"name": "baseReserve",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "quoteReserve",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "init",
"inputs": [
{
"name": "maintainer",
"type": "address",
"internalType": "address"
},
{
"name": "baseTokenAddress",
"type": "address",
"internalType": "address"
},
{
"name": "quoteTokenAddress",
"type": "address",
"internalType": "address"
},
{
"name": "lpFeeRate",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mtFeeRateModel",
"type": "address",
"internalType": "address"
},
{
"name": "i",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "k",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "isOpenTWAP",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "name",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "nonces",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "permit",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "deadline",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "v",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "r",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "querySellBase",
"inputs": [
{
"name": "trader",
"type": "address",
"internalType": "address"
},
{
"name": "payBaseAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "receiveQuoteAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mtFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "newRState",
"type": "uint8",
"internalType": "enum PMMPricing.RState"
},
{
"name": "newBaseTarget",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "querySellQuote",
"inputs": [
{
"name": "trader",
"type": "address",
"internalType": "address"
},
{
"name": "payQuoteAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "receiveBaseAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mtFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "newRState",
"type": "uint8",
"internalType": "enum PMMPricing.RState"
},
{
"name": "newQuoteTarget",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "sellBase",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "receiveQuoteAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "sellQuote",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "receiveBaseAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "sellShares",
"inputs": [
{
"name": "shareAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "baseMinAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "quoteMinAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "deadline",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "baseAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "quoteAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "symbol",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "sync",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "totalSupply",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "transfer",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferFrom",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "version",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"type": "event",
"name": "Approval",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Burn",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "BuyShares",
"inputs": [
{
"name": "to",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "increaseShares",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "totalShares",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DODOFlashLoan",
"inputs": [
{
"name": "borrower",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "assetTo",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "baseAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "quoteAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DODOSwap",
"inputs": [
{
"name": "fromToken",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "toToken",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "fromAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "toAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "trader",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "receiver",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Mint",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RChange",
"inputs": [
{
"name": "newRState",
"type": "uint8",
"indexed": false,
"internalType": "enum PMMPricing.RState"
}
],
"anonymous": false
},
{
"type": "event",
"name": "SellShares",
"inputs": [
{
"name": "payer",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "decreaseShares",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "totalShares",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Transfer",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
}
]
Structs§
- Event with signature
Approval(address,address,uint256)and selector0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925. - Event with signature
Burn(address,uint256)and selector0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5. - Event with signature
BuyShares(address,uint256,uint256)and selector0x1c172440bdebb59cd92a7f08f4227903a3305ab6f880cb25f93eddb66843a102. - Event with signature
DODOFlashLoan(address,address,uint256,uint256)and selector0x0b82e93068db15abd9fbb2682c65462ea8a0a10582dce93a5664818e296f54eb. - Event with signature
DODOSwap(address,address,uint256,uint256,address,address)and selector0xc2c0245e056d5fb095f04cd6373bc770802ebd1e6c918eb78fdef843cdb37b0f. - Function with signature
DOMAIN_SEPARATOR()and selector0x3644e515. - Container type for the return parameters of the
DOMAIN_SEPARATOR()function. - Event with signature
Mint(address,uint256)and selector0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885. - Function with signature
PERMIT_TYPEHASH()and selector0x30adf81f. - Container type for the return parameters of the
PERMIT_TYPEHASH()function. - Event with signature
RChange(uint8)and selector0xdf176ad18be4f9f32efaa32f06e9d1175476504739a745f1399a6d3fa4b75917. - Event with signature
SellShares(address,address,uint256,uint256)and selector0x55caccde83781f39bfc1296eff45655b6496729443a7d48958b18b3b685600a5. - Event with signature
Transfer(address,address,uint256)and selector0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef. - Function with signature
_BASE_PRICE_CUMULATIVE_LAST_()and selector0xfe24cb7f. - Container type for the return parameters of the
_BASE_PRICE_CUMULATIVE_LAST_()function. - Function with signature
_BASE_RESERVE_()and selector0x7d721504. - Container type for the return parameters of the
_BASE_RESERVE_()function. - Function with signature
_BASE_TARGET_()and selector0xe539ef49. - Container type for the return parameters of the
_BASE_TARGET_()function. - Function with signature
_BASE_TOKEN_()and selector0x4a248d2a. - Container type for the return parameters of the
_BASE_TOKEN_()function. - Function with signature
_BLOCK_TIMESTAMP_LAST_()and selector0x880a4d87. - Container type for the return parameters of the
_BLOCK_TIMESTAMP_LAST_()function. - Function with signature
_IS_OPEN_TWAP_()and selector0x2df6cb48. - Container type for the return parameters of the
_IS_OPEN_TWAP_()function. - Function with signature
_I_()and selector0xf811d692. - Container type for the return parameters of the
_I_()function. - Function with signature
_K_()and selector0xec2fd46d. - Container type for the return parameters of the
_K_()function. - Function with signature
_LP_FEE_RATE_()and selector0xab44a7a3. - Container type for the return parameters of the
_LP_FEE_RATE_()function. - Function with signature
_MAINTAINER_()and selector0x4322ec83. - Container type for the return parameters of the
_MAINTAINER_()function. - Function with signature
_MT_FEE_RATE_MODEL_()and selector0xf6b06e70. - Container type for the return parameters of the
_MT_FEE_RATE_MODEL_()function. - Function with signature
_QUOTE_RESERVE_()and selector0xbbf5ce78. - Container type for the return parameters of the
_QUOTE_RESERVE_()function. - Function with signature
_QUOTE_TARGET_()and selector0x77f58657. - Container type for the return parameters of the
_QUOTE_TARGET_()function. - Function with signature
_QUOTE_TOKEN_()and selector0xd4b97046. - Container type for the return parameters of the
_QUOTE_TOKEN_()function. - Function with signature
_RState_()and selector0xbf357dae. - Container type for the return parameters of the
_RState_()function. - Function with signature
addressToShortString(address)and selector0x17101940. - Container type for the return parameters of the
addressToShortString(address)function. - Function with signature
allowance(address,address)and selector0xdd62ed3e. - Container type for the return parameters of the
allowance(address,address)function. - Function with signature
approve(address,uint256)and selector0x095ea7b3. - Container type for the return parameters of the
approve(address,uint256)function. - Function with signature
balanceOf(address)and selector0x70a08231. - Container type for the return parameters of the
balanceOf(address)function. - Function with signature
buyShares(address)and selector0x4c85b425. - Container type for the return parameters of the
buyShares(address)function. - Function with signature
correctRState()and selector0x73d74cf8. - Container type for the return parameters of the
correctRState()function. - Function with signature
decimals()and selector0x313ce567. - Container type for the return parameters of the
decimals()function. - Function with signature
flashLoan(uint256,uint256,address,bytes)and selector0xd0a494e4. - Container type for the return parameters of the
flashLoan(uint256,uint256,address,bytes)function. - Function with signature
getBaseInput()and selector0x65f6fcbb. - Container type for the return parameters of the
getBaseInput()function. - Function with signature
getMidPrice()and selector0xee27c689. - Container type for the return parameters of the
getMidPrice()function. - Function with signature
getPMMState()and selector0xa382d1b9. - Function with signature
getPMMStateForCall()and selector0xfd1ed7e9. - Container type for the return parameters of the
getPMMStateForCall()function. - Container type for the return parameters of the
getPMMState()function. - Function with signature
getQuoteInput()and selector0x71f9100c. - Container type for the return parameters of the
getQuoteInput()function. - Function with signature
getUserFeeRate(address)and selector0x44096609. - Container type for the return parameters of the
getUserFeeRate(address)function. - Function with signature
getVaultReserve()and selector0x36223ce9. - Container type for the return parameters of the
getVaultReserve()function. - Function with signature
init(address,address,address,uint256,address,uint256,uint256,bool)and selector0x5039972a. - Container type for the return parameters of the
init(address,address,address,uint256,address,uint256,uint256,bool)function. - Function with signature
name()and selector0x06fdde03. - Container type for the return parameters of the
name()function. - Function with signature
nonces(address)and selector0x7ecebe00. - Container type for the return parameters of the
nonces(address)function. - Function with signature
permit(address,address,uint256,uint256,uint8,bytes32,bytes32)and selector0xd505accf. - Container type for the return parameters of the
permit(address,address,uint256,uint256,uint8,bytes32,bytes32)function. - Function with signature
querySellBase(address,uint256)and selector0x79a04876. - Container type for the return parameters of the
querySellBase(address,uint256)function. - Function with signature
querySellQuote(address,uint256)and selector0x66410a21. - Container type for the return parameters of the
querySellQuote(address,uint256)function. - Function with signature
sellBase(address)and selector0xbd6015b4. - Container type for the return parameters of the
sellBase(address)function. - Function with signature
sellQuote(address)and selector0xdd93f59a. - Container type for the return parameters of the
sellQuote(address)function. - Function with signature
sellShares(uint256,address,uint256,uint256,bytes,uint256)and selector0xb56ceaa6. - Container type for the return parameters of the
sellShares(uint256,address,uint256,uint256,bytes,uint256)function. - Function with signature
symbol()and selector0x95d89b41. - Container type for the return parameters of the
symbol()function. - Function with signature
sync()and selector0xfff6cae9. - Container type for the return parameters of the
sync()function. - Function with signature
totalSupply()and selector0x18160ddd. - Container type for the return parameters of the
totalSupply()function. - Function with signature
transfer(address,uint256)and selector0xa9059cbb. - Function with signature
transferFrom(address,address,uint256)and selector0x23b872dd. - Container type for the return parameters of the
transferFrom(address,address,uint256)function. - Container type for the return parameters of the
transfer(address,uint256)function. - Function with signature
version()and selector0x54fd4d50. - Container type for the return parameters of the
version()function.
Enums§
- Container for all the
DodoDSPPoolfunction calls. - Container for all the
DodoDSPPoolevents.