Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.25 KB

testCase.md

File metadata and controls

19 lines (10 loc) · 1.25 KB

@metamask-institutional/defi-adapters / testCase

Module: testCase

Table of contents

Type Aliases

Type Aliases

TestCase

Ƭ TestCase: { key?: string ; chainId: Chain } & { method: "positions" ; input: { userAddress: string } ; blockNumber?: number } | { method: "profits" ; input: { userAddress: string ; timePeriod?: TimePeriod } ; blockNumber?: number } | { method: "deposits" ; input: { userAddress: string ; fromBlock: number ; toBlock: number ; protocolTokenAddress: string ; productId: string ; tokenId?: string } } | { method: "withdrawals" ; input: { userAddress: string ; fromBlock: number ; toBlock: number ; protocolTokenAddress: string ; productId: string ; tokenId?: string } } | { method: "prices" ; blockNumber?: number ; filterProtocolToken?: string } | { method: "tvl" ; blockNumber?: number } | { method: "apy" ; blockNumber?: number } | { method: "apr" ; blockNumber?: number }

Defined in

testCase.ts:4