Comparing version 0.0.3 to 0.0.4
export declare enum AbiType { | ||
BOOL = "bool", | ||
UINT8 = "uint8", | ||
UINT8_ARR = "uint8[]", | ||
UINT256 = "uint256", | ||
INT256 = "int256", | ||
UINT256_ARR = "uint256[]", | ||
BYTES = "bytes", | ||
VOID = "void", | ||
ADDRESS = "address", | ||
ADDRESS_ARR = "address[]", | ||
STRING = "string", | ||
@@ -9,0 +13,0 @@ } |
@@ -8,6 +8,10 @@ "use strict"; | ||
AbiType["UINT8"] = "uint8"; | ||
AbiType["UINT8_ARR"] = "uint8[]"; | ||
AbiType["UINT256"] = "uint256"; | ||
AbiType["INT256"] = "int256"; | ||
AbiType["UINT256_ARR"] = "uint256[]"; | ||
AbiType["BYTES"] = "bytes"; | ||
AbiType["VOID"] = "void"; | ||
AbiType["ADDRESS"] = "address"; | ||
AbiType["ADDRESS_ARR"] = "address[]"; | ||
AbiType["STRING"] = "string"; | ||
@@ -14,0 +18,0 @@ })(AbiType = exports.AbiType || (exports.AbiType = {})); |
@@ -56,3 +56,7 @@ "use strict"; | ||
case abiParser_1.AbiType.UINT256: | ||
case abiParser_1.AbiType.INT256: | ||
return "BigNumber"; | ||
case abiParser_1.AbiType.UINT8_ARR: | ||
case abiParser_1.AbiType.UINT256_ARR: | ||
return "BigNumber[]"; | ||
case abiParser_1.AbiType.VOID: | ||
@@ -63,2 +67,4 @@ return "void"; | ||
return isInput ? "BigNumber | string" : "BigNumber"; | ||
case abiParser_1.AbiType.ADDRESS_ARR: | ||
return isInput ? "BigNumber[] | string[]" : "BigNumber[]"; | ||
case abiParser_1.AbiType.STRING: | ||
@@ -65,0 +71,0 @@ return "string"; |
{ | ||
"name": "typechain", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"license": "MIT", | ||
"repository": "https://github.com/krzkaczor/typechain", | ||
"devDependencies": { | ||
@@ -6,0 +7,0 @@ "@types/chalk": "^0.4.31", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
19652
287
16