Skip to content

Commit

Permalink
add claim interface
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouop0 committed Aug 9, 2024
1 parent f23443b commit f149965
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/api/dispute_game_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package api
import (
"context"
"fmt"
"math/big"
"net/http"

"github.com/ethereum-optimism/optimism/op-challenger/game/fault/types"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/optimism-java/dispute-explorer/pkg/contract"
"math/big"
"net/http"

"github.com/ethereum-optimism/optimism/op-service/eth"
"github.com/ethereum-optimism/optimism/op-service/predeploys"
Expand Down Expand Up @@ -314,9 +315,9 @@ type CalculateClaim struct {
Position int64 `json:"position"`
}

// @Sumary calculate claim by position
// @Summary calculate claim by position
// @Schemes
// @Description calculate dispute game honest claim by postion
// @Description calculate dispute game honest claim by position
// @Accept json
// @Produce json
// @Success 200
Expand Down

0 comments on commit f149965

Please sign in to comment.