-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
What would you like to share?
Add impl on:
dev-kit-js/lib/agent/positionsClaim.ts
Lines 1 to 11 in 872b06e
import { TransactionResponse } from '@ethersproject/abstract-provider' | |
import { FallbackableOverrides } from '../common/utils/execute' | |
import { Provider } from '@ethersproject/abstract-provider' | |
import { UndefinedOr } from '@devprotocol/util-ts' | |
type PositionsClaim = (options: { | |
readonly provider: Provider | |
readonly positionId: number | |
readonly withdrawalAmount: string | |
readonly overrides?: FallbackableOverrides | |
}) => Promise<UndefinedOr<TransactionResponse>> |
Additional information
- This function calls lib/ethereum/lockup/withdrawByPosition.ts on L1.
- This function calls lib/l2/lockup on L2.
- The implementation of these lines should be helpful.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels