File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ import { UndefinedOr } from '@devprotocol/util-ts'
66type PositionsClaim = ( options : {
77 readonly provider : Provider
88 readonly positionId : number
9- readonly amount : string
9+ readonly withdrawalAmount : string
1010 readonly overrides ?: FallbackableOverrides
1111} ) => Promise < UndefinedOr < TransactionResponse > >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { lockupClients } from './common/clients/lockupClients'
66
77type PositionsCreate = ( options : {
88 readonly provider : Provider
9- readonly propertyAddress : string
9+ readonly destination : string
1010 readonly amount : string
1111 readonly overrides ?: FallbackableOverrides
1212} ) => Promise < UndefinedOr < TransactionResponse > >
@@ -15,8 +15,8 @@ export const positionsCreate: PositionsCreate = async (options) => {
1515 const [ l1 , l2 ] = await lockupClients ( options . provider )
1616
1717 return l1
18- ? l1 . depositToProperty ( options . propertyAddress , options . amount )
18+ ? l1 . depositToProperty ( options . destination , options . amount )
1919 : l2
20- ? l2 . depositToProperty ( options . propertyAddress , options . amount )
20+ ? l2 . depositToProperty ( options . destination , options . amount )
2121 : undefined
2222}
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ import { Positions } from '../ethereum/s-tokens/positions'
44
55type PositionsList = ( options : {
66 readonly provider : Provider
7- readonly propertyAddress ?: string
8- readonly userAddress ?: string
7+ readonly destination ?: string
8+ readonly user ?: string
99} ) => Promise < UndefinedOr < readonly Positions [ ] > >
You can’t perform that action at this time.
0 commit comments