Technical Reference
BesselSolver
Source Revision 0xd421fd41…7d7678
| Property | Value |
|---|---|
| Source Revision | 0xd421fd41917616ebc033303d6a99b3f930f34a2b4bdeee6ded6cf421f47d7678 |
| Source URL | https://raw.githubusercontent.com/busytoby/atropa_pulsechain/33eda7137b010737ca32a37143eb2ba9cc85aeef/solidity/dysnomia/lib/BesselSolver.sol |
| Source commit | 33eda7137b010737ca32a37143eb2ba9cc85aeef |
| Source Status | Source snapshot; source hashes do not establish deployed bytecode equivalence. |
| Compiler | solc 0.8.21; optimizer enabled with 200 runs |
| Compiler Configuration | {"evmVersion":"compiler-default","optimizer":{"enabled":true,"runs":200},"version":"0.8.21+commit.d9974bed.Linux.g++"} |
| Compilation Closure Hash | 0xe4d65f446149726f7214dcf15b4a0d93dc4d2652f7e019b53f3f09a296721d20 |
| Compilation Closure Files | 1 |
| Hash Generated | 2026-09-17T19:13:19.855527+00:00 |
Overview
Section titled “Overview”On-chain numerical solver for half-integer Bessel functions (spherical Bessel J_{n+1/2})
- Kind: Library
- License: MIT
- Solidity: ^0.8.0
- Source:
lib/BesselSolver.sol
Contract addressNot currently resolved
Inheritance Chain (C3 Linearized)
Section titled “Inheritance Chain (C3 Linearized)”No base contracts; this contract has no parents.
Immediate Parents
Section titled “Immediate Parents”None (root of its hierarchy).
State Variables
Section titled “State Variables”| Variable | Type | Visibility | Mutability | Initial Value | NatSpec |
|---|---|---|---|---|---|
SCALE |
int256 |
internal | constant | 1e18 |
Functions
Section titled “Functions”External & Public
Section titled “External & Public”computeHalfBessel
Section titled “computeHalfBessel”computeHalfBesselfunction
function computeHalfBessel(uint256 order, int256 x) public pure returns (int256 result)A callable deployment has not been resolved for this reference.
- Visibility: public
- State Mutability: pure
- Parameters: uint256 order, int256 x
- Returns: int256 result
- NatSpec: Computes J_{order + 1/2}(x) using a 4-term Taylor series expansion.
Compiled ABI
Section titled “Compiled ABI”The compiled ABI below is produced by solc 0.8.21 from the exact source bytes recorded in Source details. Consumers can paste it directly into ethers/web3/viem.
Click to expand JSON ABI
[ { "inputs": [ { "internalType": "uint256", "name": "order", "type": "uint256" }, { "internalType": "int256", "name": "x", "type": "int256" } ], "name": "computeHalfBessel", "outputs": [ { "internalType": "int256", "name": "result", "type": "int256" } ], "stateMutability": "pure", "type": "function" }]