github.com/tacshi/go-ethereum@v0.0.0-20230616113857-84a434e20921/arbitrum/arbos_interface.go (about)

     1  package arbitrum
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/tacshi/go-ethereum/arbitrum_types"
     7  	"github.com/tacshi/go-ethereum/core"
     8  	"github.com/tacshi/go-ethereum/core/types"
     9  )
    10  
    11  type ArbInterface interface {
    12  	PublishTransaction(ctx context.Context, tx *types.Transaction, options *arbitrum_types.ConditionalOptions) error
    13  	BlockChain() *core.BlockChain
    14  	ArbNode() interface{}
    15  }