Documentation ¶
Index ¶
- func Abs[T int | int64](a T) T
- func AddAdminIfNecessary(ctx context.Context, thorchain *tc.Thorchain) error
- func Arb(t *testing.T, ctx context.Context, thorchain *tc.Thorchain, ...) (users []ibc.Wallet, err error)
- func DualLp(t *testing.T, ctx context.Context, thorchain *tc.Thorchain, exoChain ibc.Chain) (thorUser ibc.Wallet, exoUser ibc.Wallet, err error)
- func DualSwap(t *testing.T, ctx context.Context, thorchain *tc.Thorchain, srcChain ibc.Chain, ...) error
- func GetAndFundTestUsers(t *testing.T, ctx context.Context, keyNamePrefix string, chains ...ibc.Chain) ([]ibc.Wallet, error)
- func Min[T int | uint | int64 | uint64](a, b T) T
- func PollForBalanceChange(ctx context.Context, chain ibc.Chain, deltaBlocks int64, ...) error
- func PollForEjectedSaver(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, ...) (tc.Saver, error)
- func PollForPool(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, ...) error
- func PollForPoolSuspended(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, ...) error
- func PollForSaver(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, ...) (tc.Saver, error)
- func PollOutboundSigned(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, txHash string) (any, error)
- func PollSwapCompleted(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, txHash string) (any, error)
- func Ragnarok(t *testing.T, ctx context.Context, thorchain *tc.Thorchain, exoChain ibc.Chain, ...) error
- func Saver(t *testing.T, ctx context.Context, thorchain *tc.Thorchain, exoChain ibc.Chain) (exoUser ibc.Wallet, err error)
- func SaverEject(t *testing.T, ctx context.Context, mimirLock *sync.Mutex, ...) (exoUser ibc.Wallet, err error)
- func SingleSwap(t *testing.T, ctx context.Context, thorchain *tc.Thorchain, srcChain ibc.Chain, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAdminIfNecessary ¶
func GetAndFundTestUsers ¶
func PollForBalanceChange ¶
func PollForBalanceChange(ctx context.Context, chain ibc.Chain, deltaBlocks int64, balance ibc.WalletAmount) error
PollForBalanceChaqnge polls until the balance changes
func PollForEjectedSaver ¶
func PollForEjectedSaver(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, asset common.Asset, exoUser ibc.Wallet) (tc.Saver, error)
PollForEjectedSaver polls until the saver no longer found
func PollForPool ¶
func PollForPool(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, asset common.Asset) error
PollForPool polls until the pool is found and funded
func PollForPoolSuspended ¶
func PollForPoolSuspended(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, exoAsset common.Asset) error
PollForPoolSuspended polls until the pool is gone or suspended
func PollForSaver ¶
func PollForSaver(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, asset common.Asset, exoUser ibc.Wallet) (tc.Saver, error)
PollForSaver polls until the saver is found
func PollOutboundSigned ¶
func PollOutboundSigned(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, txHash string) (any, error)
PollOutboundSigned polls until the swap is completed and outbound has been signed
func PollSwapCompleted ¶
func PollSwapCompleted(ctx context.Context, thorchain *tc.Thorchain, deltaBlocks int64, txHash string) (any, error)
PollSwapCompleted polls until the swap is completed
func SaverEject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.