Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

polymath-core

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polymath-core - npm Package Versions

2

2.0.0

Diff

bakii_agl
published 1.4.0 •

Changelog

Source

v1.4.0

1.4.0 13-08-18

Added

  • USDTieredSTO module added as a new STO type. Allows to raise with multiple tiers while pegging price to USD. The USDTieredSTO contract gets the USD to POLY/ETH rate from the STR which contains references to pricing oracles.
  • Added PolyOracle to get POLY/USD price for the USDTieredSTO.
  • Added MakerDAOOracle to get ETH/USD price for the USDTieredSTO.
  • Added CLI for USDTieredSTO.
  • Scripts for monitoring Oracles' status.
  • Scripts for monitoring Polymath stats (Tokens registered, tokens deployed, STOs launched).
  • Test cases for 1.4.1 migration
  • STR Migration script
  • Encrypted API Key for CMC queries in PolyOracle

Changed

  • Modified CappedSTOFactory to comply with minor interface changes in iSTO. It now uses a mapping named fundRaiseType to specify the fundraise type (ETH / POLY)
  • Remove endData update from unpause function
  • Allow custom tokens to be added when STR is paused
  • PolyOracle does not revert on out of order callbacks (silently ignores instead)
  • Removed USDTieredSTO > STR dependency by moving oracle registry to PolymathRegistry

Fixed

  • Modified function name in TickerRegistry and SecurityTokenRegistry from changePolyRegisterationFee to changePolyRegistrationFee. Event name is modified too from LogChangePolyRegisterationFee to LogChangePolyRegistrationFee
  • Minor CLI fixes
  • Change in the datastructure of SymbolDetails new variable expiredTimestamp introduced and change the variable name timestamp to registeredTimestamp in Tickerregistry.sol #192.
  • Rounding edge cases in USDTieredSTO.sol that could have reverted valid transactions
  • Bug in ManualApprovalTransferManager that allowed anyone to reduce anyone's transfer allowance

=======

bakii_agl
published 1.3.3 •

bakii_agl
published 1.3.2 •

bakii_agl
published 1.3.1 •

bakii_agl
published 1.3.0 •

Changelog

Source

v1.3.0

1.3.0 25-07-18

Added

  • Implemented finishedIssuerMinting / finishedSTOMinting. The former permanently forbids the issuer from minting tokens. The latter permanently forbids STO modules from minting tokens.
  • Added registry of registries. Contracts should point to the registry which acts as a proxy and delegates to the corresponding registry contract.
  • Added ModifyWhitelistMulti to Percentage Transfer Manager.
  • Add the Transfer event in the getTokens function call of PolyTokenFaucet.sol.
  • Introduce the _valid flag in the event of LogModifyWhitelist in PercentageTransferManager.sol

Changed

  • Removed _locked parameter from modules. This was only used on STOs to allow the issuer to indicate they would not be minting more tokens after the STO (since it wouldn't be possible to remove it), but now we have the finishedSTOMinting flag that they can use to indicate so in a more transparent way.
bakii_agl
published 1.2.3 •

bakii_agl
published 1.2.2 •

bakii_agl
published 1.2.1 •

Changelog

Source

v1.2.1

1.2.1 27-06-18

Added

  • Further minting can be forbids on the Issuer level and the STO level using the functions finishMintingIssuer(),finishMintingSTO().
  • modifyWhitelistMulti added in PercentageTransferManager contract.

##Changed

  • Added extra parameter to TransferManager.verifyTransfer to indicate whether the call is part of a transfer or not.

Removed

  • Logic of module locking is removed and also removes the _locked parameter.
  • Remove finishMinting() function from the SecurityToken contract.
bakii_agl
published 1.2.0 •

Changelog

Source

v1.2.0

1.2.0 22-05-18

Added

  • ERC20DividendCheckpoint module added for on-chain dividend ERC20 payments
  • EtherDividendCheckpoint module added for on-chain dividend ETH payments
  • Iterable list of investors available on-chain
  • STOs are pausable now. It is facilated by using the Pausable contract.
  • ManualApprovalTransferManager - allows approval or blocking of explicit address pairs for transfers.
  • Module Factories now allow their owner to set 3 types of fees: Setup fee, Usage fee, Monthly fee.
  • Added Checkpoint feature to token. This allows the issuer to create snapshots of the token's balances and totalSupply to be used for casting votes or distributing dividends. Created CLI to demo this feature.
  • Further minting is forbidden by adding one additional check for mintingFinished flag. Issuer can stop minting by calling the finishMinting() function.
  • Issuer can prevent addresses from participating in the STO. To facilitate this, _canBuyFromSTO has been added to modifyWhitelist function.
  • Added multi-mint feature.
  • Event LogGenerateModuleFromFactory emitted at the level of ModuleFactory to log the creation of the module using the respective module factory.
  • Added registration fee of 250 POLY for registering ticker or security token with registry contracts, fee can be changed using changePolyRegistrationFee.
  • Added ReclaimTokens contract to handle retrieving ERC20 Tokens sent to our contracts.
  • Added Pausable feature to registry functions registerTicker, generateSecurityToken, registerModule, addCustomSecurityToken.
  • Added Registry contract to handle upgradability functionality with a function to change the reference address between registry contracts.
  • POLY faucet CLI is added in demo.
  • getDividendIndex() is introduced in ERC20DividendCheckpoint & EtherDividendCheckpoint contract.

Changed

  • Added extra parameter to TransferManager.verifyTransfer to indicate whether the call is part of a transfer or not.
  • Added a new return type to verifyTransfer methods called FORCE_VALID which would override any INVALID returned by TransferManagers if needed. For example, this could be used if we wanted the Manual Approval TM to force a transfer to happen even if the CountTM said that the 2000 investor cap had been reached.
  • Burning tokens now respects TransferManagers and investorCount.
  • Updated CLI with MultiMint process.
  • Change the setupCost of cappedSTOFactory from 0 POLY to 20K POLY.
  • Add one more parameter called the _owner in the addCustomSecurityToken().
  • Change _addModule in SecurityToken.sol to get MR address from STR contract.
  • Update CLI with POLY payments.

Removed

  • ExchangeTransferManagerFactory and ExchangeTransferManager is removed from repository.
2
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc