Versions in this module Expand all Collapse all v0 v0.5.0 Mar 23, 2021 Changes in this version + type Uint256 struct + func BaseDatasizeConst() *Uint256 + func DSPIMinDeposit() *Uint256 + func One() *Uint256 + func Two() *Uint256 + func Zero() *Uint256 + func (u *Uint256) Add(a, b *Uint256) (*Uint256, error) + func (u *Uint256) AddMod(a, b, m *Uint256) (*Uint256, error) + func (u *Uint256) Clone() *Uint256 + func (u *Uint256) Cmp(a *Uint256) int + func (u *Uint256) Div(a, b *Uint256) (*Uint256, error) + func (u *Uint256) Eq(a *Uint256) bool + func (u *Uint256) FromBigInt(a *big.Int) (*Uint256, error) + func (u *Uint256) FromUint32Array(z [8]uint32) error + func (u *Uint256) FromUint64(a uint64) (*Uint256, error) + func (u *Uint256) Gt(a *Uint256) bool + func (u *Uint256) Gte(a *Uint256) bool + func (u *Uint256) Lt(a *Uint256) bool + func (u *Uint256) Lte(a *Uint256) bool + func (u *Uint256) MarshalBinary() ([]byte, error) + func (u *Uint256) MarshalString() (string, error) + func (u *Uint256) Mod(a, m *Uint256) (*Uint256, error) + func (u *Uint256) Mul(a, b *Uint256) (*Uint256, error) + func (u *Uint256) MulMod(a, b, m *Uint256) (*Uint256, error) + func (u *Uint256) SetOne() *Uint256 + func (u *Uint256) SetZero() *Uint256 + func (u *Uint256) String() string + func (u *Uint256) Sub(a, b *Uint256) (*Uint256, error) + func (u *Uint256) ToUint32() (uint32, error) + func (u *Uint256) ToUint32Array() ([8]uint32, error) + func (u *Uint256) ToUint64() (uint64, error) + func (u *Uint256) UnmarshalBinary(data []byte) error + func (u *Uint256) UnmarshalString(s string) error