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

@arianee/common-types

Package Overview
Dependencies
Maintainers
9
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arianee/common-types - npm Package Compare versions

Comparing version 0.28.0 to 0.29.0

2

package.json
{
"name": "@arianee/common-types",
"version": "0.28.0",
"version": "0.29.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "tslib": "2.5.0"

@@ -6,1 +6,40 @@ export type Protocol = {

export type ChainType = 'mainnet' | 'testnet';
export type ProtocolDetails = ProtocolDetailsV1 | ProtocolDetailsV2;
export type ProtocolDetailsBase = {
protocolVersion: ProtocolVersion;
chainId: number;
httpProvider: string;
gasStation: string;
};
export type ProtocolVersion = ProtocolV1Versions | ProtocolV2Versions;
export type ProtocolV1Versions = '1' | '1.0' | '1.1' | '1.5';
export type ProtocolV2Versions = '2.0';
export interface ProtocolDetailsV1 extends ProtocolDetailsBase {
protocolVersion: ProtocolV1Versions;
contractAdresses: {
smartAsset: string;
identity: string;
aria: string;
store: string;
creditHistory: string;
whitelist: string;
eventArianee: string;
message: string;
userAction: string;
updateSmartAssets: string;
};
}
export interface ProtocolDetailsV2 extends ProtocolDetailsBase {
protocolVersion: ProtocolV2Versions;
contractAdresses: {
nft: string;
ownershipRegistry: string;
eventHub: string;
messageHub: string;
rulesManager: string;
creditManager: string;
};
nftInterfaces: Record<ProtocolV2NftInterface, boolean>;
}
export type ProtocolV2NftInterface = 'ERC721' | 'SmartAsset' | 'SmartAssetBurnable' | 'SmartAssetRecoverable' | 'SmartAssetSoulbound' | 'SmartAssetUpdatable' | 'SmartAssetURIStorage' | 'SmartAssetURIStorageOverridable';
export type ProtocolDetailsResolver = (slug: string) => Promise<ProtocolDetails>;
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