Expand description
Generated by the following Solidity interface…
interface DecimalFloat {
type Float is bytes32;
error CoefficientOverflow(int256 signedCoefficient, int256 exponent);
error DivisionByZero(int256 signedCoefficient, int256 exponent);
error ExponentOverflow(int256 signedCoefficient, int256 exponent);
error ExponentUnderflow(int256 signedCoefficient, int256 exponent);
error FixedDecimalOverflow(int256 signedCoefficient, int256 exponent, uint8 decimals);
error Log10Negative(int256 signedCoefficient, int256 exponent);
error Log10Zero();
error LogTablesNotDeployed(address tablesAddress, bytes32 expectedCodehash, bytes32 actualCodehash);
error LossyConversionFromFloat(int256 signedCoefficient, int256 exponent);
error LossyConversionToFloat(int256 signedCoefficient, int256 exponent);
error MaximizeOverflow(int256 signedCoefficient, int256 exponent);
error MulDivOverflow(uint256 x, uint256 y, uint256 denominator);
error NegativeFixedDecimalConversion(int256 signedCoefficient, int256 exponent);
error PowNegativeBase(int256 signedCoefficient, int256 exponent);
error ScientificMinNotLessThanMax(Float scientificMin, Float scientificMax);
error UnformatableExponent(int256 exponent);
error WithTargetExponentOverflow(int256 signedCoefficient, int256 exponent, int256 targetExponent);
error ZeroNegativePower(Float b);
error ZeroStringStartPointer();
constructor();
function FORMAT_DEFAULT_SCIENTIFIC_MAX() external view returns (Float);
function FORMAT_DEFAULT_SCIENTIFIC_MIN() external view returns (Float);
function abs(Float a) external pure returns (Float);
function add(Float a, Float b) external pure returns (Float);
function ceil(Float a) external pure returns (Float);
function div(Float a, Float b) external pure returns (Float);
function e() external pure returns (Float);
function eq(Float a, Float b) external pure returns (bool);
function floor(Float a) external pure returns (Float);
function format(Float a, bool scientific) external pure returns (string memory);
function format(Float a) external pure returns (string memory);
function format(Float a, Float scientificMin, Float scientificMax) external pure returns (string memory);
function frac(Float a) external pure returns (Float);
function fromFixedDecimalLossless(uint256 value, uint8 decimals) external pure returns (Float);
function fromFixedDecimalLossy(uint256 value, uint8 decimals) external pure returns (Float, bool);
function gt(Float a, Float b) external pure returns (bool);
function gte(Float a, Float b) external pure returns (bool);
function integer(Float a) external pure returns (Float);
function inv(Float a) external pure returns (Float);
function isZero(Float a) external pure returns (bool);
function log10(Float a) external view returns (Float);
function lt(Float a, Float b) external pure returns (bool);
function lte(Float a, Float b) external pure returns (bool);
function max(Float a, Float b) external pure returns (Float);
function maxNegativeValue() external pure returns (Float);
function maxPositiveValue() external pure returns (Float);
function min(Float a, Float b) external pure returns (Float);
function minNegativeValue() external pure returns (Float);
function minPositiveValue() external pure returns (Float);
function minus(Float a) external pure returns (Float);
function mul(Float a, Float b) external pure returns (Float);
function parse(string memory str) external pure returns (bytes4, Float);
function pow(Float a, Float b) external view returns (Float);
function pow10(Float a) external view returns (Float);
function sqrt(Float a) external view returns (Float);
function sub(Float a, Float b) external pure returns (Float);
function toFixedDecimalLossless(Float float, uint8 decimals) external pure returns (uint256);
function toFixedDecimalLossy(Float float, uint8 decimals) external pure returns (uint256, bool);
function zero() external pure returns (Float);
}…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "FORMAT_DEFAULT_SCIENTIFIC_MAX",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "FORMAT_DEFAULT_SCIENTIFIC_MIN",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "abs",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "add",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "ceil",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "div",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "e",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "eq",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "floor",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "format",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "scientific",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "format",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "format",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "scientificMin",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "scientificMax",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "frac",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "fromFixedDecimalLossless",
"inputs": [
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "decimals",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "fromFixedDecimalLossy",
"inputs": [
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "decimals",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "gt",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "gte",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "integer",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "inv",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "isZero",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "log10",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "lt",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "lte",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "max",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "maxNegativeValue",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "maxPositiveValue",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "min",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "minNegativeValue",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "minPositiveValue",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "minus",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "mul",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "parse",
"inputs": [
{
"name": "str",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "pow",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "pow10",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "sqrt",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "sub",
"inputs": [
{
"name": "a",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "toFixedDecimalLossless",
"inputs": [
{
"name": "float",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "decimals",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "toFixedDecimalLossy",
"inputs": [
{
"name": "float",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "decimals",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "zero",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "Float"
}
],
"stateMutability": "pure"
},
{
"type": "error",
"name": "CoefficientOverflow",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "DivisionByZero",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "ExponentOverflow",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "ExponentUnderflow",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "FixedDecimalOverflow",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
},
{
"name": "decimals",
"type": "uint8",
"internalType": "uint8"
}
]
},
{
"type": "error",
"name": "Log10Negative",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "Log10Zero",
"inputs": []
},
{
"type": "error",
"name": "LogTablesNotDeployed",
"inputs": [
{
"name": "tablesAddress",
"type": "address",
"internalType": "address"
},
{
"name": "expectedCodehash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "actualCodehash",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"type": "error",
"name": "LossyConversionFromFloat",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "LossyConversionToFloat",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "MaximizeOverflow",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "MulDivOverflow",
"inputs": [
{
"name": "x",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "y",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "denominator",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "NegativeFixedDecimalConversion",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "PowNegativeBase",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "ScientificMinNotLessThanMax",
"inputs": [
{
"name": "scientificMin",
"type": "bytes32",
"internalType": "Float"
},
{
"name": "scientificMax",
"type": "bytes32",
"internalType": "Float"
}
]
},
{
"type": "error",
"name": "UnformatableExponent",
"inputs": [
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "WithTargetExponentOverflow",
"inputs": [
{
"name": "signedCoefficient",
"type": "int256",
"internalType": "int256"
},
{
"name": "exponent",
"type": "int256",
"internalType": "int256"
},
{
"name": "targetExponent",
"type": "int256",
"internalType": "int256"
}
]
},
{
"type": "error",
"name": "ZeroNegativePower",
"inputs": [
{
"name": "b",
"type": "bytes32",
"internalType": "Float"
}
]
},
{
"type": "error",
"name": "ZeroStringStartPointer",
"inputs": []
}
]Structs§
- Coefficient
Overflow - Custom error with signature
CoefficientOverflow(int256,int256)and selector0x22c9f7bb. - Division
ByZero - Custom error with signature
DivisionByZero(int256,int256)and selector0x7a97930f. - Exponent
Overflow - Custom error with signature
ExponentOverflow(int256,int256)and selector0xd556b111. - Exponent
Underflow - Custom error with signature
ExponentUnderflow(int256,int256)and selector0x8eba4d07. - FORMAT_
DEFAULT_ SCIENTIFIC_ MAXCall - Function with signature
FORMAT_DEFAULT_SCIENTIFIC_MAX()and selector0x9b4afd99. - FORMAT_
DEFAULT_ SCIENTIFIC_ MAXReturn - Container type for the return parameters of the
FORMAT_DEFAULT_SCIENTIFIC_MAX()function. - FORMAT_
DEFAULT_ SCIENTIFIC_ MINCall - Function with signature
FORMAT_DEFAULT_SCIENTIFIC_MIN()and selector0xd35273a7. - FORMAT_
DEFAULT_ SCIENTIFIC_ MINReturn - Container type for the return parameters of the
FORMAT_DEFAULT_SCIENTIFIC_MIN()function. - Fixed
Decimal Overflow - Custom error with signature
FixedDecimalOverflow(int256,int256,uint8)and selector0xc849483b. - Float
- Log10
Negative - Custom error with signature
Log10Negative(int256,int256)and selector0x5d3fd4db. - Log10
Zero - Custom error with signature
Log10Zero()and selector0x561fc7b5. - LogTables
NotDeployed - Custom error with signature
LogTablesNotDeployed(address,bytes32,bytes32)and selector0x489687f8. - Lossy
Conversion From Float - Custom error with signature
LossyConversionFromFloat(int256,int256)and selector0x05e47678. - Lossy
Conversion ToFloat - Custom error with signature
LossyConversionToFloat(int256,int256)and selector0xc4717966. - Maximize
Overflow - Custom error with signature
MaximizeOverflow(int256,int256)and selector0x05e51ecb. - MulDiv
Overflow - Custom error with signature
MulDivOverflow(uint256,uint256,uint256)and selector0x6c59da12. - Negative
Fixed Decimal Conversion - Custom error with signature
NegativeFixedDecimalConversion(int256,int256)and selector0x4a7d166b. - PowNegative
Base - Custom error with signature
PowNegativeBase(int256,int256)and selector0xcceba0f1. - Scientific
MinNot Less Than Max - Custom error with signature
ScientificMinNotLessThanMax(bytes32,bytes32)and selector0x3be5bf94. - Unformatable
Exponent - Custom error with signature
UnformatableExponent(int256)and selector0xe44c72b0. - With
Target Exponent Overflow - Custom error with signature
WithTargetExponentOverflow(int256,int256,int256)and selector0x1d5d6d10. - Zero
Negative Power - Custom error with signature
ZeroNegativePower(bytes32)and selector0x8be82972. - Zero
String Start Pointer - Custom error with signature
ZeroStringStartPointer()and selector0xda6966d4. - absCall
- Function with signature
abs(bytes32)and selector0x81a82272. - absReturn
- Container type for the return parameters of the
abs(bytes32)function. - addCall
- Function with signature
add(bytes32,bytes32)and selector0xd1de592a. - addReturn
- Container type for the return parameters of the
add(bytes32,bytes32)function. - ceil
Call - Function with signature
ceil(bytes32)and selector0x719cd99d. - ceil
Return - Container type for the return parameters of the
ceil(bytes32)function. - constructor
Call - Constructor`.
- divCall
- Function with signature
div(bytes32,bytes32)and selector0x30297400. - divReturn
- Container type for the return parameters of the
div(bytes32,bytes32)function. - eCall
- Function with signature
e()and selector0xffae15ba. - eReturn
- Container type for the return parameters of the
e()function. - eqCall
- Function with signature
eq(bytes32,bytes32)and selector0x3447c030. - eqReturn
- Container type for the return parameters of the
eq(bytes32,bytes32)function. - floor
Call - Function with signature
floor(bytes32)and selector0x5ca0e7a4. - floor
Return - Container type for the return parameters of the
floor(bytes32)function. - format_
0Call - Function with signature
format(bytes32,bool)and selector0x371493ce. - format_
0Return - Container type for the return parameters of the
format(bytes32,bool)function. - format_
1Call - Function with signature
format(bytes32)and selector0xa100a3d9. - format_
1Return - Container type for the return parameters of the
format(bytes32)function. - format_
2Call - Function with signature
format(bytes32,bytes32,bytes32)and selector0xe5526ecd. - format_
2Return - Container type for the return parameters of the
format(bytes32,bytes32,bytes32)function. - frac
Call - Function with signature
frac(bytes32)and selector0x28fa1f01. - frac
Return - Container type for the return parameters of the
frac(bytes32)function. - from
Fixed Decimal Lossless Call - Function with signature
fromFixedDecimalLossless(uint256,uint8)and selector0x3b3bd868. - from
Fixed Decimal Lossless Return - Container type for the return parameters of the
fromFixedDecimalLossless(uint256,uint8)function. - from
Fixed Decimal Lossy Call - Function with signature
fromFixedDecimalLossy(uint256,uint8)and selector0xe75f991f. - from
Fixed Decimal Lossy Return - Container type for the return parameters of the
fromFixedDecimalLossy(uint256,uint8)function. - gtCall
- Function with signature
gt(bytes32,bytes32)and selector0x8dc29807. - gtReturn
- Container type for the return parameters of the
gt(bytes32,bytes32)function. - gteCall
- Function with signature
gte(bytes32,bytes32)and selector0x73bfb283. - gteReturn
- Container type for the return parameters of the
gte(bytes32,bytes32)function. - integer
Call - Function with signature
integer(bytes32)and selector0xe0db5888. - integer
Return - Container type for the return parameters of the
integer(bytes32)function. - invCall
- Function with signature
inv(bytes32)and selector0x04327dc5. - invReturn
- Container type for the return parameters of the
inv(bytes32)function. - isZero
Call - Function with signature
isZero(bytes32)and selector0xdd646917. - isZero
Return - Container type for the return parameters of the
isZero(bytes32)function. - log10
Call - Function with signature
log10(bytes32)and selector0x25388350. - log10
Return - Container type for the return parameters of the
log10(bytes32)function. - ltCall
- Function with signature
lt(bytes32,bytes32)and selector0xd102b4d3. - ltReturn
- Container type for the return parameters of the
lt(bytes32,bytes32)function. - lteCall
- Function with signature
lte(bytes32,bytes32)and selector0x81f7e2f5. - lteReturn
- Container type for the return parameters of the
lte(bytes32,bytes32)function. - maxCall
- Function with signature
max(bytes32,bytes32)and selector0x078b665b. - maxNegative
Value Call - Function with signature
maxNegativeValue()and selector0x602c35fc. - maxNegative
Value Return - Container type for the return parameters of the
maxNegativeValue()function. - maxPositive
Value Call - Function with signature
maxPositiveValue()and selector0xcb09682b. - maxPositive
Value Return - Container type for the return parameters of the
maxPositiveValue()function. - maxReturn
- Container type for the return parameters of the
max(bytes32,bytes32)function. - minCall
- Function with signature
min(bytes32,bytes32)and selector0xa90d041a. - minNegative
Value Call - Function with signature
minNegativeValue()and selector0xcde72ef3. - minNegative
Value Return - Container type for the return parameters of the
minNegativeValue()function. - minPositive
Value Call - Function with signature
minPositiveValue()and selector0xa19684b7. - minPositive
Value Return - Container type for the return parameters of the
minPositiveValue()function. - minReturn
- Container type for the return parameters of the
min(bytes32,bytes32)function. - minus
Call - Function with signature
minus(bytes32)and selector0xd3d6ffa8. - minus
Return - Container type for the return parameters of the
minus(bytes32)function. - mulCall
- Function with signature
mul(bytes32,bytes32)and selector0x96ce1ec7. - mulReturn
- Container type for the return parameters of the
mul(bytes32,bytes32)function. - parse
Call - Function with signature
parse(string)and selector0xbc62d8d8. - parse
Return - Container type for the return parameters of the
parse(string)function. - pow10
Call - Function with signature
pow10(bytes32)and selector0x1ee62f11. - pow10
Return - Container type for the return parameters of the
pow10(bytes32)function. - powCall
- Function with signature
pow(bytes32,bytes32)and selector0x3004fa41. - powReturn
- Container type for the return parameters of the
pow(bytes32,bytes32)function. - sqrt
Call - Function with signature
sqrt(bytes32)and selector0x146e82ad. - sqrt
Return - Container type for the return parameters of the
sqrt(bytes32)function. - subCall
- Function with signature
sub(bytes32,bytes32)and selector0x41aa0080. - subReturn
- Container type for the return parameters of the
sub(bytes32,bytes32)function. - toFixed
Decimal Lossless Call - Function with signature
toFixedDecimalLossless(bytes32,uint8)and selector0x5b23771d. - toFixed
Decimal Lossless Return - Container type for the return parameters of the
toFixedDecimalLossless(bytes32,uint8)function. - toFixed
Decimal Lossy Call - Function with signature
toFixedDecimalLossy(bytes32,uint8)and selector0x0b6429bc. - toFixed
Decimal Lossy Return - Container type for the return parameters of the
toFixedDecimalLossy(bytes32,uint8)function. - zero
Call - Function with signature
zero()and selector0xbc1b392d. - zero
Return - Container type for the return parameters of the
zero()function.
Enums§
- Decimal
Float Calls - Container for all the
DecimalFloatfunction calls. - Decimal
Float Errors - Container for all the
DecimalFloatcustom errors.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.