Versions in this module Expand all Collapse all v1 v1.133.0 May 22, 2024 Changes in this version type OpConfig + AdminUser *User + NodeUsers []*User + Users []*User + type SimContractTx struct + ABI abi.ABI + Args []interface{} + Chain common.Chain + Contract common.Address + Method string + type User struct + ChainClients map[common.Chain]LiteChainClient + Thorchain thorclient.ThorchainBridge + func NewUser(mnemonic string, constructors map[common.Chain]LiteChainClientConstructor) *User + func (u *User) Acquire() bool + func (u *User) Address(chain common.Chain) common.Address + func (u *User) Name() string + func (u *User) PubKey() common.PubKey + func (u *User) Release() v1.132.0 May 1, 2024 Changes in this version + var ErrTimeout = errors.New("timeout") + type Account struct + ChainClients map[common.Chain]LiteChainClient + Thorchain thorclient.ThorchainBridge + func NewAccount(mnemonic string, constructors map[common.Chain]LiteChainClientConstructor) *Account + func (a *Account) Acquire() bool + func (a *Account) Name() string + func (a *Account) PubKey() common.PubKey + func (a *Account) Release() + type Actor struct + Children map[*Actor]bool + Interval time.Duration + Name string + Ops []Op + Timeout time.Duration + func NewActor(name string) *Actor + func (a *Actor) Append(b *Actor) + func (a *Actor) Execute(c *OpConfig) (err error) + func (a *Actor) Finished() bool + func (a *Actor) InitRoot() + func (a *Actor) Log() *zerolog.Logger + func (a *Actor) Parents() map[*Actor]bool + func (a *Actor) SetLogger(l zerolog.Logger) + func (a *Actor) Start() + func (a *Actor) Started() bool + func (a *Actor) WalkDepthFirst(f func(*Actor) bool) (cont bool) + type LiteChainClient interface + BroadcastTx func([]byte) (string, error) + GetAccount func(_ *common.PubKey) (*common.Account, error) + SignTx func(tx SimTx) ([]byte, error) + type LiteChainClientConstructor func(_ common.Chain, _ *thorclient.Keys) (LiteChainClient, error) + type Op func(config *OpConfig) OpResult + type OpConfig struct + AdminAccount *Account + NodeAccounts []*Account + UserAccounts []*Account + type OpResult struct + Continue bool + Error error + Finish bool + type SimTx struct + Chain common.Chain + Coin common.Coin + Memo string + ToAddress common.Address + type Watcher struct + Fn func(config *OpConfig) error + Interval time.Duration + Name string + func (w *Watcher) Execute(c *OpConfig, l zerolog.Logger) (err error)