Documentation
¶
Index ¶
- type Address
- type Balance
- func (b Balance) Add(other Balance) Balance
- func (b Balance) Equal(other Balance) bool
- func (b Balance) GreaterThan(other Balance) bool
- func (b Balance) LessThan(other Balance) bool
- func (b Balance) LogValue() slog.Value
- func (b Balance) Mul(f float64) Balance
- func (b Balance) Sub(other Balance) Balance
- type ChainID
- type InvocationResult
- type Key
- type ReadInvocation
- type WriteInvocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balance ¶
func NewBalance ¶
NewBalance creates a new Balance from a big.Int
func (Balance) GreaterThan ¶
GreaterThan returns true if this balance is greater than other
func (Balance) LogValue ¶
LogValue implements slog.LogValuer to format Balance in the most readable unit
type InvocationResult ¶
type Key ¶
type Key = *ecdsa.PrivateKey
type WriteInvocation ¶
type WriteInvocation[T any] interface { ReadInvocation[T] Send(ctx context.Context) InvocationResult }
Click to show internal directories.
Click to hide internal directories.