# @laborx/solidity-shared-contracts

> Specifies contracts shared between libraries

Latest version **1.0.3** (published 2019-10-22) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @laborx/solidity-shared-contracts
pnpm add @laborx/solidity-shared-contracts
yarn add @laborx/solidity-shared-contracts
bun add @laborx/solidity-shared-contracts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-10-22 |
| First published | 2019-04-12 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 54.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | LaborX PTY |
| Maintainers | alesanro, aliaksei.hiatsevich, be1box, mike.chronobank, ozalexo |

## Links

- npm: https://www.npmjs.com/package/@laborx/solidity-shared-contracts
- Repository: https://gitlab.chronobank.io:SmartContracts/solidity-libs
- Homepage: https://gitlab.chronobank.io/SmartContracts/solidity-libs/blob/master/contracts/shared/README.md
- Issues: https://gitlab.chronobank.io/SmartContracts/solidity-libs/issues
- npm.io page: https://npm.io/package/@laborx/solidity-shared-contracts

## Dependencies (1)

- [@truffle-types/typescript-types](https://npm.io/package/@truffle-types/typescript-types.md) ~0.1.9

## Recent versions

- 1.0.3 (latest) — 2019-10-22
- 1.0.2 — 2019-06-05
- 1.0.1 — 2019-05-02
- 1.0.0 — 2019-04-12

## README

# Shared smart contracts [![Build Status](https://travis-ci.org/ChronoBank/solidity-shared-lib.svg?branch=master)](https://travis-ci.org/ChronoBank/solidity-shared-lib) [![Coverage Status](https://coveralls.io/repos/github/ChronoBank/solidity-shared-lib/badge.svg?branch=master)](https://coveralls.io/github/ChronoBank/solidity-shared-lib?branch=master)

Part of [LaborX project](https://github.com/ChronoBank). Contains a list of basic smart contracts and interfaces that should be at hands for every developer.

- **ERC20Interface** - describes an interface for ERC20 token standard;
- [**Owned**](#owned) - provides a smart contract that is owned by its creator and allows to transfer an ownership in different ways (immediately or with pending timeout).

## Installation

Organized as npm package this smart contracts could be easily added to a project by

```bash
npm install -s solidity-shared-lib
```

## Usage

Right before you decided to use them add this library to package dependencies and import any contract according to this pattern, for example:

```javascript
import "solidity-shared-lib/contracts/Owned.sol";
```

## Details

### Owned

This smart contract besides pinning a contract owner also allows to withdraw any tokens or ether that were mistakenly transferred to a contract (only for contract owner).

---
_Source: https://npm.io/package/@laborx/solidity-shared-contracts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
