package
0.0.2-migrate-evm
Repository: https://github.com/scalarorg/scalar-core.git
Documentation: pkg.go.dev
# Functions
AccAddr generates a random cosmos address.
Bools returns a random bool generator that adheres to the given ratio of true to false values.
Bytes returns a random slice of bytes of the specified length.
BytesBetween returns a random byte slice of random length in the given limits (upper exclusive).
Coin returns a random sdk.Coin.
Context generates a random Context data structure.
Denom returns a random denom string (max exclusive).
Distr generates a new probability distribution with n states of random probability.
Duration returns a positive pseudo-random time.Duration.
HexStr returns a random hex string of given length.
HexStrings returns a random hex string generator that produces hex strings with given length.
I64Between returns a random integer between lower (inclusive) and upper (exclusive).
I64GenBetween returns a random integer generator for numbers between lower (inclusive) and upper (exclusive).
IntBetween returns a random integer between lower (inclusive) and upper (exclusive).
NormalizedStr creates a random normalized string of the provided length.
NormalizedStrBetween creates a random normalized string in the provided range (exclusive uper limit).
NormalizeString normalizes a string as NFKC.
Of returns a random item from the given slice.
PInt64Gen returns a random integer generator for positive integers.
PosI64 returns a positive pseudo-random integer.
Str returns a random string of given length.
StrBetween returns a random string of random length in the given limits (upper exclusive).
Strings returns a random string generator that produces strings from the default alphabet of random length in the given limits (upper limit exclusive).
No description provided by the author
UintBetween returns a random integer between lower (inclusive) and upper (exclusive).
ValAddr generates a random validator address.
# Structs
BoolGen represents an random bool generator.
DistinctStrGen represents an random string generator which returns distinct strings.
DistrGen represents a probability distribution that can be sampled.
I64Gen represents an random integer generator to generate a sequence of integers with the same properties.
StringGen represents an random string generator.