From f149965cfd0f9267370bbde34abe22f549efb6de Mon Sep 17 00:00:00 2001 From: zhouop0 <11733741+zhouop0@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:14:29 +0800 Subject: [PATCH] add claim interface --- internal/api/dispute_game_handler.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/api/dispute_game_handler.go b/internal/api/dispute_game_handler.go index 2824c49..4fd2269 100644 --- a/internal/api/dispute_game_handler.go +++ b/internal/api/dispute_game_handler.go @@ -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" @@ -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