├── .gitattributes ├── LICENSE.md ├── README.md ├── contracts ├── Migrations.sol ├── array-utils │ ├── AddressArrayUtils.sol │ ├── AddressArrayUtilsContract.sol │ └── UIntArrayUtils.sol └── rationals │ ├── Rational.sol │ └── RationalMath.sol ├── migrations └── 1_initial_migration.js ├── package.json ├── test ├── array-utils │ ├── AddressArrayUtils.test.js │ ├── TestAddressArrayUtils.sol │ ├── TestAddressArrayUtils2.sol │ ├── TestAddressArrayUtils3.sol │ └── TestUIntArrayUtils.sol ├── helpers │ └── assertRevert.js └── rationals │ └── TestRationalMath.sol └── truffle.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/array-utils/AddressArrayUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/contracts/array-utils/AddressArrayUtils.sol -------------------------------------------------------------------------------- /contracts/array-utils/AddressArrayUtilsContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/contracts/array-utils/AddressArrayUtilsContract.sol -------------------------------------------------------------------------------- /contracts/array-utils/UIntArrayUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/contracts/array-utils/UIntArrayUtils.sol -------------------------------------------------------------------------------- /contracts/rationals/Rational.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/contracts/rationals/Rational.sol -------------------------------------------------------------------------------- /contracts/rationals/RationalMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/contracts/rationals/RationalMath.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/package.json -------------------------------------------------------------------------------- /test/array-utils/AddressArrayUtils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/array-utils/AddressArrayUtils.test.js -------------------------------------------------------------------------------- /test/array-utils/TestAddressArrayUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/array-utils/TestAddressArrayUtils.sol -------------------------------------------------------------------------------- /test/array-utils/TestAddressArrayUtils2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/array-utils/TestAddressArrayUtils2.sol -------------------------------------------------------------------------------- /test/array-utils/TestAddressArrayUtils3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/array-utils/TestAddressArrayUtils3.sol -------------------------------------------------------------------------------- /test/array-utils/TestUIntArrayUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/array-utils/TestUIntArrayUtils.sol -------------------------------------------------------------------------------- /test/helpers/assertRevert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/helpers/assertRevert.js -------------------------------------------------------------------------------- /test/rationals/TestRationalMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/test/rationals/TestRationalMath.sol -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptofinlabs/cryptofin-solidity/HEAD/truffle.js --------------------------------------------------------------------------------