# @truffle/solidity-utils

> Utilities for Solidity contracts

Latest version **1.3.29** (published 2020-12-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @truffle/solidity-utils
pnpm add @truffle/solidity-utils
yarn add @truffle/solidity-utils
bun add @truffle/solidity-utils
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.3.29 |
| Published | 2020-12-03 |
| First published | 2019-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 14.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13909 |
| Author | Tim Coulter |
| Maintainers | seesemichaelj, fainashalts, eggplantzzz, haltman, gnidan |
| Keywords | ethereum, truffle, solidity, contracts |

## Links

- npm: https://www.npmjs.com/package/@truffle/solidity-utils
- Repository: https://github.com/trufflesuite/truffle/tree/master/packages/solidity-utils
- Homepage: https://github.com/trufflesuite/truffle/tree/master/packages/solidity-utils#readme
- Issues: https://github.com/trufflesuite/truffle/issues
- npm.io page: https://npm.io/package/@truffle/solidity-utils

## Dependencies (5)

- [debug](https://npm.io/package/debug.md) ^4.1.1
- [json-pointer](https://npm.io/package/json-pointer.md) ^0.6.0
- [@truffle/codec](https://npm.io/package/@truffle/codec.md) ^0.9.1
- [node-interval-tree](https://npm.io/package/node-interval-tree.md) ^1.3.3
- [@truffle/code-utils](https://npm.io/package/@truffle/code-utils.md) ^1.2.22

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.3.29 (latest) — 2020-12-03
- 1.3.23-abi-utils.0 (abi-utils) — 2020-10-12
- 1.3.13-save-intermediate.1 (save-intermediate) — 2020-07-31
- 1.3.10-next.0 (next) — 2020-07-09
- 1.3.2-tezos.1 (tezos) — 2020-04-14
- 1.2.9-alphaTez.9 (alphaTez) — 2020-02-13
- 1.3.0-ens-events.0 (ens-events) — 2019-09-27
- 1.3.28 — 2020-11-28
- 1.3.27 — 2020-11-19
- 1.3.26 — 2020-11-12
- 1.3.25 — 2020-11-06
- 1.3.24 — 2020-10-22
- 1.3.23 — 2020-10-15
- 1.3.22 — 2020-10-09
- 1.3.21 — 2020-10-02
- … 49 more at https://npm.io/package/@truffle/solidity-utils/versions

## README

# @truffle/solidity-utils
Utilities for solidity contracts

# API

### ordered_abi(file_path, abi, contract_name, callback)

Given a path to a file, an abi, and a contract name, return a restructured abi where the functions are ordered in the exact order they appear in the source file.

TODO: Example

###

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