SafeMath (SafeMath.sol)
PreviousFactory for deploying GeneralTransferManager module (TrackedRedemptionFactory.sol)NextUSDTiered STO module Proxy (SecurityTokenProxy.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
SafeMath
Unsigned math operations with safety checks that revert on error
Multiplies two unsigned integers, reverts on overflow.
Arguments
Name
Type
Description
a
uint256
b
uint256
Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
Arguments
Name
Type
Description
a
uint256
b
uint256
Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
Arguments
Name
Type
Description
a
uint256
b
uint256
Adds two unsigned integers, reverts on overflow.
Arguments
Name
Type
Description
a
uint256
b
uint256
Divides two unsigned integers and returns the remainder (unsigned integer modulo), reverts when dividing by zero.
Arguments
Name
Type
Description
a
uint256
b
uint256