Token state check with Y (#468)

* Token state check with Y

* remove backwards compat for v1
This commit is contained in:
callebtc
2024-03-12 15:53:18 +01:00
committed by GitHub
parent 4f52973908
commit 150195d66a
9 changed files with 99 additions and 88 deletions

View File

@@ -486,7 +486,7 @@ class PostSplitResponse_Very_Deprecated(BaseModel):
class PostCheckStateRequest(BaseModel):
secrets: List[str] = Field(..., max_items=settings.mint_max_request_length)
Ys: List[str] = Field(..., max_items=settings.mint_max_request_length)
class SpentState(Enum):
@@ -499,7 +499,7 @@ class SpentState(Enum):
class ProofState(BaseModel):
secret: str
Y: str
state: SpentState
witness: Optional[str] = None