everscale-inpage-provider icon indicating copy to clipboard operation
everscale-inpage-provider copied to clipboard

Proposal: Add support for uintX/intX in steps of 1 for AbiParamKindUint/AbiParamKindInt

Open mnill opened this issue 2 years ago • 2 comments
trafficstars

https://github.com/broxus/everscale-inpage-provider/blob/c4bc35d930afbbb853223f716a923f8a1085056e/src/models.ts#L363

Sine 0.52.0 solidity "Supported uintX/intX in steps of 1: uint1, uint2, uint3 ... uint256"

https://github.com/tonlabs/TON-Solidity-Compiler/blob/6953ed5deec19ab6c41259879d10e73ab9643e42/Changelog_TON.md#0520-2021-11-15

Please consider adding support for these types.

mnill avatar May 31 '23 09:05 mnill

These types were originally fully described in this library, but the IDE was crying in pain from that. Unusual integer types are supported by the underlying implementation, there are just some problems with the number of string variants for that type.

However, I will try to return it, thanks for the request.

Rexagon avatar May 31 '23 12:05 Rexagon

May be you can support something like first 32 bits. It will be usefull for short indexes in hashmaps.

mnill avatar May 31 '23 14:05 mnill