Documentation
¶
Overview ¶
Package idconv converts between the SDK's typed uint64 identifiers (types.DataSetID, types.ProviderID, ...) and the *big.Int values used by generated contract bindings.
All conversions go through this package so we have a single, audited location that:
- Uses *big.Int.SetUint64 / IsUint64 / Uint64 (never int64, which would silently wrap for IDs above math.MaxInt64).
- Rejects nil and out-of-range values with clear errors instead of panicking or truncating.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Big ¶
Big returns a fresh *big.Int holding id, using SetUint64 so the full uint64 range round-trips without relying on int64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.