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

attributable

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

attributable - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

package.json
{
"name": "attributable",
"version": "0.0.1",
"version": "0.0.2",
"description": "A proposal for on-chain attributes for NFT and other assets",

@@ -18,3 +18,3 @@ "publishConfig": {

},
"author": "",
"author": "Francesco Sullo <francesco@sullo.co>",
"license": "MIT",

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -77,7 +77,2 @@ # Attributable

/**
@notice The comments above refer to an NFT, but the same approach can be used
with other classes of assets.
*/
/**
@dev Emitted when the attributes for an id and a player is set.

@@ -276,8 +271,30 @@ The function must be called by the owner of the asset to authorize a player to set

# Copyright
## Install and usage
To install it, launch
```
npm i -d attributable
```
You may need to install the peer dependencies too, i.e., the OpenZeppelin contracts.
To use it, in your smart contract import it as
```solidity
import "attributable/IAttributable.sol";
import "attributable/IPlayer.sol";
```
Feel free to make a PR to add your contract in the next section:
## Implementations
None, right now. Some coming soon.
## Copyright
(c) 2022, Francesco Sullo <francesco@sullo.co>
# License
## License
MIT

Sorry, the diff of this file is not supported yet

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