Socket
Socket
Sign inDemoInstall

@eosdt/eosdt-js

Package Overview
Dependencies
46
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345Next

1.3.6

Diff

Changelog

Source

[1.3.6] - 2021-03-30 - No changes

Update just to increment npm version

eosdtadmin
published 1.3.5 •

Changelog

Source

[1.3.5] - 2021-03-29 - Updates for 'pricefeed.eq' contract

A new table 'newrates' was added to 'pricefeed.eq' contract, it contains Equilibrium prices feed data. Previously you could use getRates on BasicPositionsContract to get system rates. This works same as before, but now you can also use getRatesNew. Property rate property would be the same in both old and new TokenRate objects, but TokenRateNew contains more system data.

  • New interface added: TokenRateNew
  • Added method getRatesNew to BasicPositionsContract
eosdtadmin
published 1.3.4 •

Changelog

Source

[1.3.4] - 2021-03-15 - Optional argument is now interface with contract data

Default behavior didn't change. If it is needed to explicitly configure contract - use optional argument. Contract that support optional argument configuration:

  • BasicPositionsContract
  • PositionsContract
  • TokenSwapContract
  • LiquidatorContract
eosdtadmin
published 1.3.3 •

Changelog

Source

[1.3.3] - 2021-03-11 - Optional argument added to main positions contract

Default contract name didn't change. If optional argument is not stated mainnet contract name is used. Contract that now support two networks names:

  • PositionsContract
eosdtadmin
published 1.3.2 •

Changelog

Source

[1.3.2] - 2021-03-11 - Added optional argument for different networks contracts names

Default contracts names didn't change. If optional argument is not stated mainnet contract name is used. Contracts that now support two networks names:

  • TokenSwapContract
  • LiquidatorContract
  • BasicPositionsContract
eosdtadmin
published 1.3.1 •

Changelog

Source

[1.3.1] - 2020-11-05 - Added support for PETH positions contracts

  • EosdtConnector can now construct adapters to work with PETH positions and liquidator contracts. BasicPositionsContract and LiquidatorContract can now be instantiated with PETH as collateral token.
  • Function getPeth added to BalanceGetter
  • Util function amountToAssetString now supports PETH tokens.
eosdtadmin
published 1.3.0 •

eosdtadmin
published 1.2.1 •

Changelog

Source

[1.2.1] - 2020-08-27 - Updated wrappers for 'tokenswap.eq' contract

  • Updated TokenswapContract wrapper. Both methods accept string with prefix "0x", without prefix and with spaces on any side: - transferNut method now doesn't have limitations for Ethereum address in memo - claim method now doesn't have limitations for Ethereum signature in parameters
eosdtadmin
published 1.2.0 •

Changelog

Source

[1.2.0] - 2020-08-19 - Added wrappers for 'tokenswap.eq' contract

and updated liquidator and positions contracts
  • Updated to support liquidator and position contracts changes

  • Liquidator updated interface LiquidatorSettings: field set_aside_rate renamed to tokenswap_rate

  • BasicPositionsContract updated interface PosContractSettings: new field tokenswap_account

  • Added TokenswapContract wrapper and method to create instance of it to EosdtConnector. It is used to interact with contract tokenswap.eq: - getParameters method to get contract parameters - getSettings method to get contract settings - getAllPositions method to get array of all positions created on contract - transferNut method to transfer NUT to contract with Ethereum address in memo - claim method to get back NUT and verify Ethereum signature

  • Tokenswap new interfaces:

    • TokenswapContractParams
    • TokenswapContractSettings
    • TokenswapPositions
eosdtadmin
published 1.1.0 •

Changelog

Source

[1.1.0] - 2020-07-15 - Added wrappers for 'arm.eq' contract

Added ArmContract as an export, added method to create instance of it to EosdtConnector

2345Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc