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

@onchain-id/solidity

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onchain-id/solidity - npm Package Versions

2345

2.2.2-beta2

Diff

intech-kevin
published 2.2.2-beta1 •

intech-kevin
published 2.2.1 •

Changelog

Source

[2.2.1]

Changed

  • Replaced the storage slot used for ImplementationAuthority on the proxies, to avoid conflict with ERC-1822 on block explorers. By using the same storage slot, the explorers were identifying this proxy as an ERC-1822, while it's a different implementation here, the storage slot is not used to store the address of the implementation but the address to ImplementationAuthority contract that references the implementation
intech-kevin
published 2.2.0 •

Changelog

Source

[2.2.0]

Added

  • Identities are now required to implement the standardized function isClaimValid(IIdentity _identity, uint256 claimTopic, bytes calldata sig, bytes calldata data) external view returns (bool), used for self-attested claims (_identity is the address of the Identity contract).
  • Implemented the isClaimValid function in the Identity contract.
  • IdFactory now implements the implementationAuthority() getter.
intech-kevin
published 2.1.0 •

Changelog

Source

[2.1.0]

Added

  • Implemented a new contract Gateway to interact with the IdFactory. The Gateway contract allows individual accounts (being EOA or contracts) to deploy identities for their own address as a salt. To deploy using a custom salt, a signature from an approved signer is required.
  • Implemented a new base contract Verifier to be extended by contract requiring identity verification based on claims and trusted issuers.
intech-kevin
published 2.1.0-beta3 •

intech-kevin
published 2.1.0-beta2 •

intech-kevin
published 2.1.0-beta1 •

intech-kevin
published 2.0.1 •

Changelog

Source

[2.0.1]

Added

  • added method createIdentityWithManagementKeys() that allows the factory to issue identities with multiple management keys.
  • tests for the createIdentityWithManagementKeys() method
intech-kevin
published 2.0.0 •

Changelog

Source

[2.0.0]

Version 2.0.0 Audited by Hacken, more details here

Breaking changes

Deprecation Notice

  • ClaimIssuer revokeClaim is now deprecated, usage of revokeClaimBySignature(bytes signature) is preferred.

Added

  • Add typechain-types (targeting ethers v5).
  • Add tests cases for execute and approve methods.
  • Add method revokeClaimBySignature(bytes signature) in ClaimIssuer, prefer using this method instead of the now deprecated revokeClaim method.
  • Add checks on ClaimIssuer to prevent revoking an already revoked claim.
  • Added Factory for ONCHAINIDs

Updated

  • Switch development tooling to hardhat.
  • Implemented tests for hardhat (using fixture for faster testing time).
  • Prevent calling approve method with a non-request execute nonce (added a require on executionNone).
  • Update NatSpec of execute and approve methods.
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