UNPKG
@deliquifiedlabs/uniswapx-sdk
Version:
latest (5.1.5)
5.1.5
5.1.4
SDK for the UniswapX protocol
github.com/Deliquified/sdks
Deliquified/sdks
@deliquifiedlabs/uniswapx-sdk
/
dist
/
src
/
utils
/
dutchDecay.d.ts
9 lines
(8 loc)
•
286 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
BigNumber
}
from
"ethers"
;
export
interface
DutchDecayConfig
{
startAmount
:
BigNumber
;
endAmount
:
BigNumber
;
decayStartTime
:
number
;
decayEndTime
:
number
; }
export
declare
function
getDecayedAmount
(
config
:
DutchDecayConfig
,
atTime
?:
number
):
BigNumber
;