github.com/ChainSafe/chainbridge-core@v1.4.2/chains/evm/cli/utils/utils.go (about)

     1  package utils
     2  
     3  import (
     4  	"github.com/ChainSafe/chainbridge-core/chains/evm/calls"
     5  	"github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer"
     6  
     7  	"github.com/spf13/cobra"
     8  )
     9  
    10  var UtilsCmd = &cobra.Command{
    11  	Use:   "utils",
    12  	Short: "Set of utility commands",
    13  	Long:  "Set of utility commands",
    14  }
    15  
    16  func init() {
    17  	UtilsCmd.AddCommand(simulateCmd)
    18  	UtilsCmd.AddCommand(hashListCmd)
    19  }
    20  
    21  type GasPricerWithPostConfig interface {
    22  	calls.GasPricer
    23  	SetClient(client evmgaspricer.LondonGasClient)
    24  	SetOpts(opts *evmgaspricer.GasPricerOpts)
    25  }