Add more basic types

This commit is contained in:
Fabio Berger
2018-09-28 11:04:51 +01:00
parent 545472a38f
commit 398b292636

View File

@@ -12,7 +12,7 @@ import { Signature } from './signature';
import { TypeDefinition } from './type_definition';
const basicJsTypes = ['string', 'number', 'undefined', 'null', 'boolean'];
const basicSolidityTypes = ['bytes', 'bytes4', 'uint256', 'address'];
const basicSolidityTypes = ['bytes', 'bytes4', 'bytes32', 'uint8', 'uint256', 'address'];
const defaultProps = {};