Versions in this module Expand all Collapse all v1 v1.0.2 May 13, 2021 v1.0.0 Feb 1, 2021 Changes in this version + var ClientContextKey = util.NewKey("common", "ETHClient") + var ContractAddress = util.NewKey("common", "contractAddress") + var DBContextKey = util.NewKey("common", "DB") + var DataProxyKey = util.NewKey("common", "DataServerProxy") + var MasterContractContextKey = util.NewKey("common", "masterContract") + var NewBerryContractContextKey = util.NewKey("common", "newBerryContract") + var NewTransactorContractContextKey = util.NewKey("common", "newTransactorContract") + var PrivateKey = util.NewKey("common", "PrivateKey") + var PublicAddress = util.NewKey("common", "PublicAddress") + var TransactorContractContextKey = util.NewKey("common", "transactorContract") + type ContractInterface interface + AddTip func(requestID *big.Int, amount *big.Int) (*types.Transaction, error) + DidMine func(challenge [32]byte) (bool, error) + NewSubmitSolution func(solution string, requestID [5]*big.Int, value [5]*big.Int) (*types.Transaction, error) + SubmitSolution func(solution string, requestID *big.Int, value *big.Int) (*types.Transaction, error) + type TransactionGeneratorFN func(ctx context.Context, contract ContractInterface) (*types.Transaction, error) + type TransactionSubmitter interface + PrepareTransaction func(ctx context.Context, proxy db.DataServerProxy, ctxName string, ...) error