Constructor
# new Sablier(options)
Sablier Object for decentralized escrow payments
Parameters:
Name | Type | Description |
---|---|---|
options |
Sablier~Options
|
Type Definitions
Object
# getCompoundingStreamType
Properties:
Name | Type | Description |
---|---|---|
sender |
address
|
|
recipient |
address
|
|
deposit |
uint256
|
|
tokenAddress |
address
|
|
startTime |
uint256
|
|
stopTime |
uint256
|
|
remainingBalance |
uint256
|
|
ratePerSecond |
uint256
|
|
exchangeRateInitial |
uint256
|
|
senderSharePercentage |
uint256
|
|
recipientSharePercentage |
uint256
|
Object
# getStreamType
Properties:
Name | Type | Description |
---|---|---|
sender |
address
|
|
recipient |
address
|
|
deposit |
uint256
|
|
tokenAddress |
address
|
|
startTime |
uint256
|
|
stopTime |
uint256
|
|
remainingBalance |
uint256
|
|
ratePerSecond |
uint256
|
Object
# interestOfType
Properties:
Name | Type | Description |
---|---|---|
senderInterest |
uint256
|
|
recipientInterest |
uint256
|
|
sablierInterest |
uint256
|