PathrockNetwork Gno Explorer
HomeBlocksTransactionsRealmsPackagesValidators

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/gnoswap/uint256/v1

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
v1
Namespace
gnoswap / uint256
Files
10 (README)(gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/gnoswap/uint256/v1
gno
0.9

Files (10)

  • README.mdmarkdown
  • gnomod.tomltoml
  • arithmetic.gnogno
  • bitwise.gnogno
  • cmp.gnogno
  • conversion.gnogno
  • doc.gnogno
  • fullmath.gnogno
  • mod.gnogno
  • uint256.gnogno
  • doc.gnogno
    1// Package uint256 implements 256-bit unsigned integer arithmetic for GnoSwap.2//3// This package provides a Uint type that represents a 256-bit unsigned integer,4// stored as four uint64 values in little-endian order. The unsuffixed Add, Sub,5// and Mul methods return the low 256 bits; AddOverflow, SubOverflow, and6// MulOverflow additionally report an overflow/underflow flag. MulDiv and7// MulDivRoundingUp panic on a zero denominator or an unrepresentable result;8// the rounding variant also panics if adding one to its result would overflow.9//10// The implementation is optimized for gas efficiency while maintaining11// compatibility with Ethereum's uint256 semantics, ensuring consistent12// behavior across different blockchain environments.13package uint25614

    Functions

    not supported for pure packages by the node (vm/qfuncs)

    Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.