Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SablierMethods

Hierarchy

  • SablierMethods

Index

Methods

  • addPauser(account: string): ContractSendMethod
  • createCompoundingStream(recipient: string, deposit: string | number, tokenAddress: string, startTime: number, stopTime: number, senderSharePercentage: number, recipientSharePercentage: number): ContractCallMethod<number>
  • createStream(recipient: string, deposit: string | number, tokenAddress: string, startTime: number, stopTime: number): ContractCallMethod<number>
  • getCompoundingStream(streamId: number): ContractCallMethod<{ 0: string; 1: string; 10: number; 2: number; 3: string; 4: number; 5: number; 6: number; 7: number; 8: number; 9: number }>
  • getStream(streamId: number): ContractCallMethod<{ 0: string; 1: string; 2: number; 3: string; 4: number; 5: number; 6: number; 7: number }>
  • initialize(sender: string): ContractSendMethod
  • interestOf(streamId: number, amount: number): ContractCallMethod<{ 0: number; 1: number; 2: number }>
  • pause(): ContractSendMethod
  • takeEarnings(tokenAddress: string, amount: string | number): ContractSendMethod
  • transferOwnership(newOwner: string): ContractSendMethod
  • unpause(): ContractSendMethod
  • updateFee(feePercentage: number): ContractSendMethod
  • withdrawFromStream(streamId: number, amount: string | number): ContractCallMethod<boolean>

Generated using TypeDoc