0.1.3 • Published 2 years ago

libsol v0.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

libsol a usefull solidity usecases library

run the following command in cli in your project location

npm i libsol

  1. Greater number from Array of Multiple Numbers

import GreaterNumber library

import "libsol/libraries/SimpleMath.sol";

using this library into your preoject fil

using SimpleMath for int;

Use the function where you need Will get maxNumber from given _ArrayOfNumbers parameter

int MaxNumber = SimpleMath.GreaterNumber(int[] calldata _ArrayOfNumbers);

  1. Smaller number from Array of Multiple Numbers

Use the function where you need Will get maxNumber from given _ArrayOfNumbers parameter

int MaxNumber = SimpleMath.SmallerNumber(int[] calldata _ArrayOfNumbers);

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago

1.0.0

2 years ago