Documentation
¶
Index ¶
- Constants
- func NewSimulatedClient(t *testing.T, chain *SimulatedChain, logger *zerolog.Logger) *seth.Client
- func NewSimulatedClientFactory(logger *zerolog.Logger, ethClient *seth.Client, ...) client.Factory
- type SimulatedChain
- type SimulatedContracts
- type SimulatedEnvironment
- type SimulatedWorkflowRegistry
Constants ¶
View Source
const ( TestAddress = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" TestPrivateKey = "ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" )
Variables ¶
This section is empty.
Functions ¶
func NewSimulatedClient ¶
Types ¶
type SimulatedChain ¶
func NewSimulatedChain ¶
func NewSimulatedChain() *SimulatedChain
func (*SimulatedChain) Close ¶
func (sc *SimulatedChain) Close()
type SimulatedContracts ¶
type SimulatedContracts struct {
WorkflowRegistry SimulatedWorkflowRegistry
}
type SimulatedEnvironment ¶
type SimulatedEnvironment struct {
Chain *SimulatedChain
EthClient *seth.Client
Contracts *SimulatedContracts
}
func NewSimulatedEnvironment ¶
func NewSimulatedEnvironment(t *testing.T) *SimulatedEnvironment
func (*SimulatedEnvironment) Close ¶
func (se *SimulatedEnvironment) Close()
func (*SimulatedEnvironment) NewRuntimeContext ¶
func (se *SimulatedEnvironment) NewRuntimeContext() *runtime.Context
func (*SimulatedEnvironment) NewRuntimeContextWithBufferedOutput ¶
func (se *SimulatedEnvironment) NewRuntimeContextWithBufferedOutput() (*runtime.Context, *bytes.Buffer)
type SimulatedWorkflowRegistry ¶
func DeployWorkflowRegistry ¶
func DeployWorkflowRegistry(t *testing.T, ethClient *seth.Client, chain *SimulatedChain, logger *zerolog.Logger) SimulatedWorkflowRegistry
Click to show internal directories.
Click to hide internal directories.