Observed since 20 Oct, 22:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
General utility module with helper smart contracts.
General utility module with helper smart contracts.
The 0xcert Framework is a free and open-source JavaScript library that provides tools for building powerful decentralized applications. Please refer to the official documentation for more details.
This module is one of the bricks of the 0xcert Framework. It's written with TypeScript and it's actively maintained. The source code is available on GitHub where you can also find our issue tracker.
This module includes Solidity contracts which should be useful for any smart contract project.
safe-math.solThis library includes basic arithmetic operations for unsigned 256-bit integers. This is a modern, gas-efficient implementation which also includes error reporting.
This implementation is based on the openzeppelin-solidity however the documentation and readability of the code is much improved. We hope this will help you to write more error-free code.
Example usage:
pragma solidity ^0.5.6;
import "https://github.com/0xcert/framework/packages/0xcert-ethereum-utils-contracts/src/contracts/math/safe-math.sol";
contract MilitaryStrengthAdder
{
using SafeMath for uint256;
function add(
uint256 _addend1,
uint256 _addend2
)
external
pure
returns (uint256 sum)
{
return _addend1.add(_addend2);
}
}
abilitable.solThis is a permissions model where you may assign different forms of permission on your contract to any address. Typically these permissions will be used to allow administrative tasks on a smart contract.
ownable.sol and claimable.solThese are two ownership models that you can use for any smart contract. Ownable uses a single owner model that can be transferred unilaterally to a new owner. Claimable extends this model to a two-step transfer process, first the existing must send and the new owner must receive, the ownership privilege.
address-utils.solThis allows you to check whether any address is a normal account or if it is a smart contract. Please note that a normal account can become a smart contract (CREATE) and a smart contract can become a normal account (SELFDESTRUCT).
erc165.sol and supports-interface.solERC-165 is a standard for publishing interfaces that your smart contract supports. If you are implementing a standard interface then it is best practice for your contract to identify this with ERC-165. This makes it simple for other contracts to detect how it works so they can cooperate as expected.
By default, the contracts in this package are built for Constantinople EVM. If you would like to use these smart contracts for Wanchain or other blockchains using EVM for a different version, you will need to rebuild them for the desired version.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.1.1Registry latest | 15 Mar 2021 | 14 | |
| 2.1.0 | 14 Jan 2021 | 14 | |
| 2.0.3 | 12 Aug 2020 | 14 | |
| 2.0.2 | 4 May 2020 | 8 | |
| 2.0.1 | 6 Mar 2020 | 8 | |
| 2.0.1-beta0 | 5 Mar 2020 | 8 | |
| 2.0.0 | 2 Mar 2020 | 8 | |
| 2.0.0-beta5 | 22 Feb 2020 | 8 | |
| 2.0.0-beta4 | 19 Feb 2020 | 8 | |
| 2.0.0-beta3 | 5 Feb 2020 | 8 | |
| 2.0.0-beta2 | 30 Jan 2020 | 8 | |
| 2.0.0-beta1 | 20 Jan 2020 | 8 | |
| 2.0.0-beta | 17 Jan 2020 | 8 | |
| 2.0.0-alpha17 | 14 Jan 2020 | 8 | |
| 2.0.0-alpha16 | 13 Jan 2020 | 8 | |
| 2.0.0-alpha15 | 8 Jan 2020 | 8 | |
| 2.0.0-alpha14 | 12 Dec 2019 | 8 | |
| 2.0.0-alpha13 | 6 Dec 2019 | 8 | |
| 2.0.0-alpha12 | 29 Nov 2019 | 8 | |
| 2.0.0-alpha11 | 6 Nov 2019 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6eaa640299f797a23c07513d5ccb2100552db4b7d2b237c90aa7e6f67c35c797