Technical Reference
MockAtropaMath
Source Revision 0x99bea518…15c802
| Property | Value |
|---|---|
| Source Revision | 0x99bea51886a86b91c7f526e539cca82ba0f9abcc1292cbe20b2b8f5a5215c802 |
| Source URL | https://raw.githubusercontent.com/busytoby/atropa_pulsechain/b45f10f0073c00d153546b876561065d3f77b3b4/solidity/dysnomia/Mocks.sol |
| Source commit | b45f10f0073c00d153546b876561065d3f77b3b4 |
| Source Status | Archived source snapshot; this does 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 | 0x8c602605b2002742c1efbae54754ec65eafaa2c79a841f26d1990a45132c5af0 |
| Compilation Closure Files | 1 |
| Hash Generated | 2026-08-22T00:06:01Z |
Overview
Section titled “Overview”- Kind: Contract
- License: Sharia
- Solidity: ^0.8.21
- Source:
Mocks.sol
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).
Functions
Section titled “Functions”External & Public
Section titled “External & Public”modExp
Section titled “modExp”modExpfunction
function modExp(uint256 _b, uint256 _e, uint256 _m) external pure returns (uint256)- Visibility: external
- State Mutability: pure
- Parameters: uint256 _b, uint256 _e, uint256 _m
- Returns: uint256
Random
Section titled “Random”Randomfunction
function Random() external pure returns (uint64)- Visibility: external
- State Mutability: pure
- Returns: uint64
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": [], "name": "Random", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_b", "type": "uint256" }, { "internalType": "uint256", "name": "_e", "type": "uint256" }, { "internalType": "uint256", "name": "_m", "type": "uint256" } ], "name": "modExp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }]