package
0.1.2
Repository: https://github.com/statechannels/go-nitro.git
Documentation: pkg.go.dev

# Functions

AddressToDestinaion left-pads the blockchain address with zeros.
Equal returns true if a == b or if both of a and b are nil, and false otherwise.
Gt returns true if a > b, false otherwise.
IsZero returns true if a is zero, false otherwise.
Lt returns true if a < b, false otherwise.
Max returns a if a > b, b otherwise.
Max returns a if a > b, b otherwise.
Sum returns a new Funds object with all of the asset keys from the supplied Funds objects, each having an amount summed across that asset's amount in each input object.

# Type aliases

An ethereum address (20 bytes).
An arbitrary length byte slice.
An ethereum hash (32 bytes).
ConstError is a const-friendly error type.
Destination represents a payable address in go-nitro.
A {tokenAddress: amount} map.
We use a big.Int to represent Solidity's uint256.