Module: BorrowTransaction

Transaction modules

Methods

(static) borrowCBS(wallet, amount, TokenName) → {object}

Use borrowCBS transaction function

Parameters:
Name Type Description
wallet object

pass wallet

amount Number

Amount of token

TokenName string

Token Name

Returns:
  • return message
Type
object

(static) depositCBS(wallet, amount, TokenName) → {object}

Use depositCBS transaction function

Parameters:
Name Type Description
wallet object

pass wallet

amount Number

Amount of token

TokenName string

Token Name

Returns:
  • return message
Type
object

(static) repayCBS(wallet, amount, TokenName) → {object}

Use repayCBS transaction function

Parameters:
Name Type Description
wallet object

pass wallet

amount Number

Amount of token

TokenName string

Token Name

Returns:
  • return message
Type
object

(static) withdrawCBS(wallet, amount, TokenName) → {object}

Use withdrawCBS transaction function

Parameters:
Name Type Description
wallet object

pass wallet

amount Number

Amount of token

TokenName string

Token Name

Returns:
  • return message
Type
object