Documentation ¶
Index ¶
- Constants
- type Config
- type MEVless
- func (m *MEVless) Charge() uint64
- func (m *MEVless) CheckTxn(stxn *types.SignedTxn) error
- func (m *MEVless) HandleSubscribe()
- func (m *MEVless) OrderCommitment(blockNum common.BlockNum) error
- func (m *MEVless) OrderTx(ctx *context.WriteContext) error
- func (m *MEVless) Pack(blockNum common.BlockNum, numLimit uint64) ([]*types.SignedTxn, error)
- func (m *MEVless) PackFor(blockNum common.BlockNum, numLimit uint64, filter func(*types.SignedTxn) bool) ([]*types.SignedTxn, error)
- func (m *MEVless) StartBroadcasting()
- func (m *MEVless) SubscribeOrderCommitment(w http.ResponseWriter, r *http.Request)
- func (m *MEVless) VerifyBlock(block *types.Block) error
- type OrderCommitment
- type TxOrder
Constants ¶
View Source
const Prefix = "MEVless_"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PackNumber uint64 `toml:"pack_number"` Addr string `toml:"addr"` Charge uint64 `toml:"charge"` DbPath string `toml:"db_path"` }
func DefaultCfg ¶
func DefaultCfg() *Config
type MEVless ¶
func NewMEVless ¶
func (*MEVless) HandleSubscribe ¶
func (m *MEVless) HandleSubscribe()
func (*MEVless) OrderCommitment ¶
wrCall.params = "MEVless_(TxnHash)"
func (*MEVless) StartBroadcasting ¶
func (m *MEVless) StartBroadcasting()
func (*MEVless) SubscribeOrderCommitment ¶
func (m *MEVless) SubscribeOrderCommitment(w http.ResponseWriter, r *http.Request)
type OrderCommitment ¶
Click to show internal directories.
Click to hide internal directories.