@defillama/sdk 5.0.130 → 5.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/abi/index.js +3 -3
- package/build/abi/multicall3.js +1 -0
- package/build/providers.json +1 -1
- package/build/util/LlamaProvider.js +6 -6
- package/build/util/indexer.d.ts +1 -1
- package/build/util/indexer.js +16 -4
- package/build/util/removeRedundantRPCs.d.ts +1 -0
- package/build/util/removeRedundantRPCs.js +49 -0
- package/package.json +2 -1
package/build/abi/index.js
CHANGED
|
@@ -41,9 +41,9 @@ const env_1 = require("../util/env");
|
|
|
41
41
|
const nullAddress = '0x0000000000000000000000000000000000000000';
|
|
42
42
|
// https://docs.soliditylang.org/en/latest/abi-spec.html
|
|
43
43
|
const knownTypes = [
|
|
44
|
-
'string', 'address', 'bool',
|
|
45
|
-
'int', 'int8', 'int16', 'int32', 'int64', 'int128', 'int256',
|
|
46
|
-
'uint', 'uint8', 'uint16', 'uint32', 'uint64', 'uint128', 'uint256',
|
|
44
|
+
'string', 'address', 'bool', 'bytes32',
|
|
45
|
+
'int', 'int8', 'int16', 'int24', 'int32', 'int64', 'int96', 'int128', 'int256',
|
|
46
|
+
'uint', 'uint8', 'uint16', 'uint24', 'uint32', 'uint64', 'uint96', 'uint128', 'uint256',
|
|
47
47
|
];
|
|
48
48
|
([...knownTypes]).forEach(i => knownTypes.push(i + '[]')); // support array type for all known types
|
|
49
49
|
function resolveABI(providedAbi) {
|