test

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	AddressKey1 = "A58856F0FD53BF058B4909A21AEC019107BA6"
	AddressKey2 = "A58856F0FD53BF058B4909A21AEC019107BA7"
	AddressKey3 = "A58856F0FD53BF058B4909A21AEC019107BA9"
)

Constants for test scripts only .

Variables

This section is empty.

Functions

func CreateTestApp

func CreateTestApp(isCheckTx bool) (*sifapp.SifchainApp, sdk.Context)

CreateTestApp returns context and app with params set on account keeper

func CreateTestAppClp

func CreateTestAppClp(isCheckTx bool) (sdk.Context, *sifapp.SifchainApp)

func GenerateAddress

func GenerateAddress(key string) sdk.AccAddress

func GeneratePoolsAndLPs

func GeneratePoolsAndLPs(keeper clpkeeper.Keeper, ctx sdk.Context, tokens []string) ([]types.Pool, []types.LiquidityProvider)

func GenerateRandomLP

func GenerateRandomLP(numberOfLp int) []types.LiquidityProvider

func GenerateRandomPool

func GenerateRandomPool(numberOfPools int) []types.Pool

func GenerateWhitelistAddress

func GenerateWhitelistAddress(key string) sdk.AccAddress

func TrimFirstRune

func TrimFirstRune(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL