Versions in this module Expand all Collapse all v0 v0.13.0 Feb 25, 2025 Changes in this version + type Call = solvernet.Call + type CallGotFormatter struct + func (CallGotFormatter) Got(got any) string + type CallMatcher struct + Name string + Selector []byte + To common.Address + func (m CallMatcher) Matches(x any) bool + func (m CallMatcher) String() string + type ChainClass string + const ClassDevent + const ClassMainnet + const ClassTestnet + type CheckRequest = types.CheckRequest + type CheckResponse = types.CheckResponse type Config + APIAddr string + FeatureFlags feature.Flags + type Deposit = solvernet.Deposit + type Expense = solvernet.Expense + type FillOriginData = solvernet.FillOriginData + type JSONErrorResponse = types.JSONErrorResponse + type JSONResponse = types.JSONResponse + type MockClients struct + func (m MockClients) Client(t *testing.T, chainID uint64) *mock.MockClient + func (m MockClients) Finish(t *testing.T) + type Order struct + DestinationChainID uint64 + DestinationSettler common.Address + FillInstruction bindings.IERC7683FillInstruction + FillOriginData []byte + ID OrderID + MaxSpent []bindings.IERC7683Output + MinReceived []bindings.IERC7683Output + SourceChainID uint64 + Status solvernet.OrderStatus + UpdatedBy common.Address + func (o Order) ParsedFillOriginData() (FillOriginData, error) + type OrderData = bindings.SolverNetOrderData + type OrderID = solvernet.OrderID + type OrderResolved = solvernet.OrderResolved + type OrderState = solvernet.OrderState + type Payment struct + Amount *big.Int + Token Token + type QuoteRequest = types.QuoteRequest + type QuoteResponse = types.QuoteResponse + type QuoteUnit = types.QuoteUnit + type RejectionError struct + Err error + Reason rejectReason + func (r *RejectionError) Error() string + type Token struct + Address common.Address + ChainClass ChainClass + ChainID uint64 + IsMock bool + MaxSpend *big.Int + MinSpend *big.Int + func (t Token) IsNative() bool + func (t Token) IsOMNI() bool + type Tokens []Token + func AllTokens() Tokens + func (ts Tokens) Find(chainID uint64, addr common.Address) (Token, bool) + func (ts Tokens) ForChain(chainID uint64) Tokens v0.12.0 Jan 7, 2025 Changes in this version type Config + LoadGenPrivKey string + SolverPrivKey string v0.11.0 Nov 25, 2024 Changes in this version + var File_solver_app_solver_proto protoreflect.FileDescriptor + func Run(ctx context.Context, cfg Config) error + func WriteConfigTOML(cfg Config, logCfg log.Config, path string) error + type Config struct + DBDir string + MonitoringAddr string + Network netconf.ID + PrivateKey string + RPCEndpoints xchain.RPCEndpoints + func DefaultConfig() Config + type Cursor struct + BlockHeight uint64 + ChainId uint64 + ConfLevel uint32 + func (*Cursor) Descriptor() ([]byte, []int) + func (*Cursor) ProtoMessage() + func (x *Cursor) GetBlockHeight() uint64 + func (x *Cursor) GetChainId() uint64 + func (x *Cursor) GetConfLevel() uint32 + func (x *Cursor) ProtoReflect() protoreflect.Message + func (x *Cursor) Reset() + func (x *Cursor) String() string + type CursorChainIdConfLevelIndexKey struct + func (this CursorChainIdConfLevelIndexKey) WithChainId(chain_id uint64) CursorChainIdConfLevelIndexKey + func (this CursorChainIdConfLevelIndexKey) WithChainIdConfLevel(chain_id uint64, conf_level uint32) CursorChainIdConfLevelIndexKey + type CursorIndexKey interface + type CursorIterator struct + func (i CursorIterator) Value() (*Cursor, error) + type CursorPrimaryKey = CursorChainIdConfLevelIndexKey + type CursorTable interface + Delete func(ctx context.Context, cursor *Cursor) error + DeleteBy func(ctx context.Context, prefixKey CursorIndexKey) error + DeleteRange func(ctx context.Context, from, to CursorIndexKey) error + Get func(ctx context.Context, chain_id uint64, conf_level uint32) (*Cursor, error) + Has func(ctx context.Context, chain_id uint64, conf_level uint32) (found bool, err error) + Insert func(ctx context.Context, cursor *Cursor) error + List func(ctx context.Context, prefixKey CursorIndexKey, opts ...ormlist.Option) (CursorIterator, error) + ListRange func(ctx context.Context, from, to CursorIndexKey, opts ...ormlist.Option) (CursorIterator, error) + Save func(ctx context.Context, cursor *Cursor) error + Update func(ctx context.Context, cursor *Cursor) error + func NewCursorTable(db ormtable.Schema) (CursorTable, error) + type Definition struct + InboxAddress common.Address + InboxDeployHeights map[uint64]uint64 + OutboxAddress common.Address + type SolverStore interface + CursorTable func() CursorTable + func NewSolverStore(db ormtable.Schema) (SolverStore, error)