@subql/types-ethereum 3.3.0 → 3.3.1

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/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [3.3.1] - 2024-02-07
10
+ ### Changed
11
+ - Update `@subql/types-core`
12
+
9
13
  ## [3.3.0] - 2024-02-02
10
14
  ### Fixed
11
15
  - Fix Eth datasource miss extend base datasource type, missing `endBlock` in Datasource
@@ -94,7 +98,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
94
98
  - Sync with main sdk (#14)
95
99
 
96
100
  ## [0.1.0] - 2022-10-31
97
- [Unreleased]: https://github.com/subquery/subql-ethereum/compare/types-ethereum/3.3.0...HEAD
101
+ [Unreleased]: https://github.com/subquery/subql-ethereum/compare/types-ethereum/3.3.1...HEAD
102
+ [3.3.1]: https://github.com/subquery/subql-ethereum/compare/types-ethereum/3.3.0...types-ethereum/3.3.1
98
103
  [3.3.0]: https://github.com/subquery/subql-ethereum/compare/types-ethereum/3.2.1...types-ethereum/3.3.0
99
104
  [3.2.1]: https://github.com/subquery/subql-ethereum/compare/types-ethereum/3.2.0...types-ethereum/3.2.1
100
105
  [3.2.0]: https://github.com/subquery/subql-ethereum/compare/types-ethereum/3.1.0...types-ethereum/3.2.0
package/dist/.tsbuildinfo CHANGED
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@ethersproject/bytes/lib/index.d.ts","../../../node_modules/@ethersproject/bignumber/lib/bignumber.d.ts","../../../node_modules/@ethersproject/bignumber/lib/fixednumber.d.ts","../../../node_modules/@ethersproject/bignumber/lib/index.d.ts","../../../node_modules/@ethersproject/networks/lib/types.d.ts","../../../node_modules/@ethersproject/networks/lib/index.d.ts","../../../node_modules/@ethersproject/properties/lib/index.d.ts","../../../node_modules/@ethersproject/transactions/lib/index.d.ts","../../../node_modules/@ethersproject/web/lib/index.d.ts","../../../node_modules/@ethersproject/abstract-provider/lib/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/sonic-boom/types/index.d.ts","../../../node_modules/@types/pino-std-serializers/index.d.ts","../../../node_modules/@types/pino-pretty/index.d.ts","../../../node_modules/@types/pino/index.d.ts","../../../node_modules/@subql/types-core/dist/interfaces.d.ts","../../../node_modules/@subql/types-core/dist/store.d.ts","../../../node_modules/@subql/types-core/dist/global.d.ts","../src/global.ts","../../../node_modules/@subql/types-core/dist/project/versioned/base.d.ts","../../../node_modules/@subql/types-core/dist/project/versioned/v1_0_0/types.d.ts","../../../node_modules/@subql/types-core/dist/project/versioned/v1_0_0/index.d.ts","../../../node_modules/@subql/types-core/dist/project/versioned/index.d.ts","../../../node_modules/@subql/types-core/dist/project/types.d.ts","../../../node_modules/package-json-type/types/index.d.ts","../../../node_modules/@subql/types-core/dist/project/readers/reader.d.ts","../../../node_modules/@subql/types-core/dist/project/readers/index.d.ts","../../../node_modules/@subql/types-core/dist/project/index.d.ts","../../../node_modules/@subql/types-core/dist/multichain/types.d.ts","../../../node_modules/@subql/types-core/dist/multichain/index.d.ts","../../../node_modules/@subql/types-core/dist/index.d.ts","../src/ethereum/interfaces.ts","../src/ethereum/index.ts","../src/interfaces.ts","../src/project.ts","../src/index.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"1fcb8b15db812281d69a3090d488903f9e93033004aef9d8889ca3ad0753a96f","bdf5a95eb0a2dd1d39805bdf51b46ba012bb9b92b2ddaae16219595bba7678a5","9f794a0e8550a03baff865a3961cc22afbd85bc4ba9672bdda036971928f85f4","66a697d1e4cdbf25cdce4644a8085a8563041fa8c7731d4d9f5e8f22e66ba72c","4f1ae3f24125216cf07c5211a3f00d2bb4782d7cc76c0681603f8249f9232ff0","d3fb92a5640f83f7844d60b35317a0f95c27e3658a749d76d218c461ad091668","8bc2cad630da1033c1fd8d7df2bffb18af0da6113bd086a8bbec04a2471a1e00","d1f8bfcd91b284657ef8187c55ace7db91a3c43e642c3f14e54364154932f7e4","f54c92bfcae54f360fe79514746efce4870e4ddabc064e95d406bba291e9f672","175fd7186fa6a70f9db9b270a04a503cae23cf01cb77e3905bac115c38424cf7","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"9c9461d480b1812281abffc647107904970791c170cd0ab97563daa10c6e0171","affectsGlobalScope":true},"c2b5085f47e41d6940bbc5b0d3bd7cc0037c752efb18aecd243c9cf83ad0c0b7","3143a5add0467b83150961ecd33773b561a1207aec727002aa1d70333068eb1b","f87191b7fafe7a0edad375710d99f900e49cef560b66bf309cf3f8e1b7177126","586af7d2abe2f9d59c5e757c370087d6c6baea81b033250f43b8df808d6dfb33",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","e7bee4a6d9bb78afa390b25e0ce97a2f94787a1eb17f0a16e732dcbebba3f3ee","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"ae064ed4f855716b7ff348639ddcd6a6d354a72fae82f506608a7dc9266aa24c","92f019c55b21c939616f6a48f678e714ac7b109444cbbf23ad69310ce66ecbdc","bba259efdf9ab95e0c7d3cc8e99250f56bb6b31d6129efdf733ca4eb1d01feea","97f837637f01e274ada9de388e99b1a5c5a82ae4184f8c924209fe201f4ffc9e","139fd681eff7771a38d0c025d13c7a11c5474f6aab61e01c41511d71496df173","f614c3f61e46ccc2cb58702d5a158338ea57ee09099fde5db4cfc63ed0ce4d74","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","a504c109b872b0e653549bd258eb06584c148c98d79406c7516995865a6d5089","155865f5f76db0996cd5e20cc5760613ea170ee5ad594c1f3d76fcaa05382161","e92852d673c836fc64e10c38640abcd67c463456e5df55723ac699b8e6ab3a8a","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"ec369bb9d97c4dc09dd2a4093b7ca3ba69ad284831fccac8a1977785e9e38ce5","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","aa95cc73ea5315e4f6fc8c6db43d49e3b7de3780cae20a4f1319032809013038","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","6c903bceaf3f3bc04f2d4c7dcd89ce9fb148b3ba0a5f5408d8f6de2b7eecc7ea","504d049d9e550a65466b73ca39da6469ab41786074ea1d16d37c8853f9f6ab2e","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce",{"version":"7d0a3356909df08e5df9af2cfd43e8780f24bb12d07b00daaf7ed2a891fa60e5","affectsGlobalScope":true},"7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"c6c0bd221bb1e94768e94218f8298e47633495529d60cae7d8da9374247a1cf5","172f31b538f6e3f70c2d001d665d5a46c4b043f707ba822b4d906d59bd9c229d","799475c7b67b02267bd548418cd9a29a05c1f6484ae0a44dff74510374cbb585","9fb516ebe85470350609bb6bd3c38181bef2e64970aa2233391d5cb2bb096270","685fbeeffdff5e703820a6328ef0c7b693d398bf8d061e1050e20344f8ddf47a","721f9c1efe58ebbde8a6864354a6b470e8caec9bff6c9bb4dc15de08cf61e836","074520d4022bbfc262bfa127af2d64523d20ad142a2a0bada263cb8a0637299d",{"version":"4d483d742845393c09a0a06f7852193513a6fedaf8a157a5a7fefb996ee183b4","affectsGlobalScope":true},{"version":"3513f82ce7665bef2d1476d57e188f67f7843a5f26813cd07f1baaa7dd6a7e06","signature":"a3eb2d026ec2aaadd7ba15c2abdcd76ac845d82b332dfad2243592485aede88a","affectsGlobalScope":true},"39dea0eda93fa7e0525462b948b0ccd3d9e545b287c703e52e8386fb292a1ce9","d5150716904a2a45020d725f589184e9a6510db3399c534302ce2a6f209a970b","d5c19655468e29f60c871b21e73af8ebc653f736e7123ade916f22c4a5f80ce5","68f7570dc884c1a829a6a38e5b3c01af59e83e6011ddbaf4c5e861519a236965","dffac06521a5bec27273cc2503b867a99ba4f440d65bf12040e8d4e3466368cf","c0d099fc774005fe16f7257c61a877cce150b3fef86f37bd24dd53905ab945be","387a46d7b3cd33bc6b8028c87d828fe77a40a81758c7241bcef0b43e363ab50f","07c6604d5d52a950aa180620253afbd46468f29245b869f20b3c57fa349bbfd2","5cbecb88f92636fc40c1f8f9abb551f8971791ad6e41a0c638124d93c2883010","527db3829bb0fcda67507ab69f542ffd77305e9246111778d14beda0b61a2095","d5c19655468e29f60c871b21e73af8ebc653f736e7123ade916f22c4a5f80ce5","20cc3c8181a86f4261467b86dea08bd08f29f05909b1fd8ecff2bc2ab262f3e4",{"version":"4edb6d5bf32cacfdb6b0cf413cac51270c4793fc2ac2496c7c8305a279aca647","signature":"97a6c61677bc4072330ac062ada90e8db4f0d83551bec466ccf62707a447889f"},{"version":"e7bf05bae3309b0336de2dc3cf86bacbb07615bcd0b222fcef6741667e05b890","signature":"58f19692914291f8da36c98c6668b6798364adab2d3671740360e016d958a3ef"},{"version":"c25d5cb570ea7307c31edeb5b9118dc2cfb813e437f03a9656a4079e1c35b791","signature":"0b2db540f17528a996137ffeac8578055d1a0b3a4a75c73622869605ed417a01"},{"version":"937b128340102cf05f6934179175c13094b349f3aadece2348a3f0d851ecfdc4","signature":"02ced57b4e8784f039bb6336b7136098ff727d793cacc2f1c1997ccbaf8f41f3"},{"version":"0d65a61377f6eea06826adda3414e603a3b600887c86695729c41383d0689d47","signature":"cf628657babed343f39f30b86a436b26c45edf2b722fcf3df07fb326baefc1d0"},"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"inlineSources":true,"module":1,"noImplicitAny":false,"noImplicitThis":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":4,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[42,45,47,48,49,50],[42],[42,43],[43,44],[46],[42,45],[99,100,101],[100,101,112,114],[113],[112],[107,108,111],[110],[109],[107],[108],[104,106],[105],[104,108],[124,129],[122,125],[122,125,126,127],[124],[121,128],[123],[52],[54],[55,60],[56,64,65,72,81],[56,57,64,72],[58,88],[59,60,65,73],[60,81],[61,62,64,72],[62],[63,64],[64],[64,65,66,81,87],[65,66],[64,67,72,81,87],[64,65,67,68,72,81,84,87],[67,69,81,84,87],[52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94],[64,70],[71,87],[62,64,72,81],[73],[74],[54,75],[76,86],[77],[78],[64,79],[79,80,88,90],[64,81],[82],[83],[72,81,84],[85],[72,86],[67,78,87],[88],[81,89],[90],[91],[64,66,81,87,90,92],[81,93],[95,99],[67,95],[64,67,81,95,96,97,98],[64,95],[116],[115],[51,102],[117,118,119],[51,117],[115,117,118]],"referencedMap":[[51,1],[43,2],[44,3],[45,4],[47,5],[49,6],[102,7],[115,8],[114,9],[113,10],[112,11],[111,12],[110,13],[108,14],[104,15],[107,16],[106,17],[105,18],[130,19],[126,20],[128,21],[127,20],[125,22],[129,23],[124,24],[52,25],[54,26],[55,27],[56,28],[57,29],[58,30],[59,31],[60,32],[61,33],[62,34],[63,35],[64,36],[65,37],[66,38],[67,39],[68,40],[69,41],[95,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[76,49],[77,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[92,65],[93,66],[98,67],[97,68],[99,69],[96,70],[117,71],[116,72],[103,73],[120,74],[118,75],[119,76]],"exportedModulesMap":[[51,1],[43,2],[44,3],[45,4],[47,5],[49,6],[102,7],[115,8],[114,9],[113,10],[112,11],[111,12],[110,13],[108,14],[104,15],[107,16],[106,17],[105,18],[130,19],[126,20],[128,21],[127,20],[125,22],[129,23],[124,24],[52,25],[54,26],[55,27],[56,28],[57,29],[58,30],[59,31],[60,32],[61,33],[62,34],[63,35],[64,36],[65,37],[66,38],[67,39],[68,40],[69,41],[95,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[76,49],[77,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[92,65],[93,66],[98,67],[97,68],[99,69],[96,70],[117,71],[116,72],[103,73],[120,74],[118,75],[119,76]],"semanticDiagnosticsPerFile":[51,43,44,45,42,47,46,48,49,50,102,115,100,114,113,112,111,110,108,104,107,106,105,101,130,122,126,128,127,125,129,124,123,52,54,55,56,57,58,59,60,61,62,63,64,65,66,53,94,67,68,69,95,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,98,97,99,121,109,96,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,32,29,30,31,33,7,34,39,40,35,36,37,38,1,41,117,116,103,120,118,119],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@ethersproject/bytes/lib/index.d.ts","../../../node_modules/@ethersproject/bignumber/lib/bignumber.d.ts","../../../node_modules/@ethersproject/bignumber/lib/fixednumber.d.ts","../../../node_modules/@ethersproject/bignumber/lib/index.d.ts","../../../node_modules/@ethersproject/networks/lib/types.d.ts","../../../node_modules/@ethersproject/networks/lib/index.d.ts","../../../node_modules/@ethersproject/properties/lib/index.d.ts","../../../node_modules/@ethersproject/transactions/lib/index.d.ts","../../../node_modules/@ethersproject/web/lib/index.d.ts","../../../node_modules/@ethersproject/abstract-provider/lib/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/sonic-boom/types/index.d.ts","../../../node_modules/@types/pino-std-serializers/index.d.ts","../../../node_modules/@types/pino-pretty/index.d.ts","../../../node_modules/@types/pino/index.d.ts","../../../node_modules/@subql/types-core/dist/interfaces.d.ts","../../../node_modules/@subql/types-core/dist/store.d.ts","../../../node_modules/@subql/types-core/dist/global.d.ts","../src/global.ts","../../../node_modules/@subql/types-core/dist/project/versioned/base.d.ts","../../../node_modules/@subql/types-core/dist/project/versioned/v1_0_0/types.d.ts","../../../node_modules/@subql/types-core/dist/project/versioned/v1_0_0/index.d.ts","../../../node_modules/@subql/types-core/dist/project/versioned/index.d.ts","../../../node_modules/@subql/types-core/dist/project/types.d.ts","../../../node_modules/package-json-type/types/index.d.ts","../../../node_modules/@subql/types-core/dist/project/readers/reader.d.ts","../../../node_modules/@subql/types-core/dist/project/readers/index.d.ts","../../../node_modules/@subql/types-core/dist/project/index.d.ts","../../../node_modules/@subql/types-core/dist/multichain/types.d.ts","../../../node_modules/@subql/types-core/dist/multichain/index.d.ts","../../../node_modules/@subql/types-core/dist/index.d.ts","../src/ethereum/interfaces.ts","../src/ethereum/index.ts","../src/interfaces.ts","../src/project.ts","../src/index.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"1fcb8b15db812281d69a3090d488903f9e93033004aef9d8889ca3ad0753a96f","bdf5a95eb0a2dd1d39805bdf51b46ba012bb9b92b2ddaae16219595bba7678a5","9f794a0e8550a03baff865a3961cc22afbd85bc4ba9672bdda036971928f85f4","66a697d1e4cdbf25cdce4644a8085a8563041fa8c7731d4d9f5e8f22e66ba72c","4f1ae3f24125216cf07c5211a3f00d2bb4782d7cc76c0681603f8249f9232ff0","d3fb92a5640f83f7844d60b35317a0f95c27e3658a749d76d218c461ad091668","8bc2cad630da1033c1fd8d7df2bffb18af0da6113bd086a8bbec04a2471a1e00","d1f8bfcd91b284657ef8187c55ace7db91a3c43e642c3f14e54364154932f7e4","f54c92bfcae54f360fe79514746efce4870e4ddabc064e95d406bba291e9f672","175fd7186fa6a70f9db9b270a04a503cae23cf01cb77e3905bac115c38424cf7","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"9c9461d480b1812281abffc647107904970791c170cd0ab97563daa10c6e0171","affectsGlobalScope":true},"c2b5085f47e41d6940bbc5b0d3bd7cc0037c752efb18aecd243c9cf83ad0c0b7","3143a5add0467b83150961ecd33773b561a1207aec727002aa1d70333068eb1b","f87191b7fafe7a0edad375710d99f900e49cef560b66bf309cf3f8e1b7177126","586af7d2abe2f9d59c5e757c370087d6c6baea81b033250f43b8df808d6dfb33",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","e7bee4a6d9bb78afa390b25e0ce97a2f94787a1eb17f0a16e732dcbebba3f3ee","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"ae064ed4f855716b7ff348639ddcd6a6d354a72fae82f506608a7dc9266aa24c","92f019c55b21c939616f6a48f678e714ac7b109444cbbf23ad69310ce66ecbdc","bba259efdf9ab95e0c7d3cc8e99250f56bb6b31d6129efdf733ca4eb1d01feea","97f837637f01e274ada9de388e99b1a5c5a82ae4184f8c924209fe201f4ffc9e","139fd681eff7771a38d0c025d13c7a11c5474f6aab61e01c41511d71496df173","f614c3f61e46ccc2cb58702d5a158338ea57ee09099fde5db4cfc63ed0ce4d74","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","a504c109b872b0e653549bd258eb06584c148c98d79406c7516995865a6d5089","155865f5f76db0996cd5e20cc5760613ea170ee5ad594c1f3d76fcaa05382161","e92852d673c836fc64e10c38640abcd67c463456e5df55723ac699b8e6ab3a8a","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"ec369bb9d97c4dc09dd2a4093b7ca3ba69ad284831fccac8a1977785e9e38ce5","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","aa95cc73ea5315e4f6fc8c6db43d49e3b7de3780cae20a4f1319032809013038","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","6c903bceaf3f3bc04f2d4c7dcd89ce9fb148b3ba0a5f5408d8f6de2b7eecc7ea","504d049d9e550a65466b73ca39da6469ab41786074ea1d16d37c8853f9f6ab2e","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce",{"version":"7d0a3356909df08e5df9af2cfd43e8780f24bb12d07b00daaf7ed2a891fa60e5","affectsGlobalScope":true},"7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"c6c0bd221bb1e94768e94218f8298e47633495529d60cae7d8da9374247a1cf5","172f31b538f6e3f70c2d001d665d5a46c4b043f707ba822b4d906d59bd9c229d","799475c7b67b02267bd548418cd9a29a05c1f6484ae0a44dff74510374cbb585","9fb516ebe85470350609bb6bd3c38181bef2e64970aa2233391d5cb2bb096270","685fbeeffdff5e703820a6328ef0c7b693d398bf8d061e1050e20344f8ddf47a","721f9c1efe58ebbde8a6864354a6b470e8caec9bff6c9bb4dc15de08cf61e836","074520d4022bbfc262bfa127af2d64523d20ad142a2a0bada263cb8a0637299d",{"version":"4d483d742845393c09a0a06f7852193513a6fedaf8a157a5a7fefb996ee183b4","affectsGlobalScope":true},{"version":"9e983906ada1f527e1818126b3e9f16de86058570640c98923e189127c20efa2","signature":"a3eb2d026ec2aaadd7ba15c2abdcd76ac845d82b332dfad2243592485aede88a","affectsGlobalScope":true},"39dea0eda93fa7e0525462b948b0ccd3d9e545b287c703e52e8386fb292a1ce9","0f6c6497966b2da6774a93f7b92db6682cda221d331313252c5844c7942cdc3e","d5c19655468e29f60c871b21e73af8ebc653f736e7123ade916f22c4a5f80ce5","68f7570dc884c1a829a6a38e5b3c01af59e83e6011ddbaf4c5e861519a236965","dffac06521a5bec27273cc2503b867a99ba4f440d65bf12040e8d4e3466368cf","c0d099fc774005fe16f7257c61a877cce150b3fef86f37bd24dd53905ab945be","387a46d7b3cd33bc6b8028c87d828fe77a40a81758c7241bcef0b43e363ab50f","07c6604d5d52a950aa180620253afbd46468f29245b869f20b3c57fa349bbfd2","5cbecb88f92636fc40c1f8f9abb551f8971791ad6e41a0c638124d93c2883010","527db3829bb0fcda67507ab69f542ffd77305e9246111778d14beda0b61a2095","d5c19655468e29f60c871b21e73af8ebc653f736e7123ade916f22c4a5f80ce5","20cc3c8181a86f4261467b86dea08bd08f29f05909b1fd8ecff2bc2ab262f3e4",{"version":"0ab8d4e7992abc345eff2c145f3102651485d1ace81d09472c54c2d1954e8d48","signature":"97a6c61677bc4072330ac062ada90e8db4f0d83551bec466ccf62707a447889f"},{"version":"994e35a615484c4e66e48a758a94c4ec5f525c858eb462bfaa8de69c007f4d4f","signature":"58f19692914291f8da36c98c6668b6798364adab2d3671740360e016d958a3ef"},{"version":"691e58db67c1e7e71e56adcea216a76de68bdac435d65bc15ea217f74f57b084","signature":"0b2db540f17528a996137ffeac8578055d1a0b3a4a75c73622869605ed417a01"},{"version":"f632f6e5c88e68646119425a73da36acba389f6cdc3873922368855fbd4343f9","signature":"02ced57b4e8784f039bb6336b7136098ff727d793cacc2f1c1997ccbaf8f41f3"},{"version":"a1366b8e42cbf78583552a77e2c07f9929728a4091e7054298de33910d0d1254","signature":"cf628657babed343f39f30b86a436b26c45edf2b722fcf3df07fb326baefc1d0"},"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"inlineSources":true,"module":1,"noImplicitAny":false,"noImplicitThis":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":4,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[42,45,47,48,49,50],[42],[42,43],[43,44],[46],[42,45],[99,100,101],[100,101,112,114],[113],[112],[107,108,111],[110],[109],[107],[108],[104,106],[105],[104,108],[124,129],[122,125],[122,125,126,127],[124],[121,128],[123],[52],[54],[55,60],[56,64,65,72,81],[56,57,64,72],[58,88],[59,60,65,73],[60,81],[61,62,64,72],[62],[63,64],[64],[64,65,66,81,87],[65,66],[64,67,72,81,87],[64,65,67,68,72,81,84,87],[67,69,81,84,87],[52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94],[64,70],[71,87],[62,64,72,81],[73],[74],[54,75],[76,86],[77],[78],[64,79],[79,80,88,90],[64,81],[82],[83],[72,81,84],[85],[72,86],[67,78,87],[88],[81,89],[90],[91],[64,66,81,87,90,92],[81,93],[95,99],[67,95],[64,67,81,95,96,97,98],[64,95],[116],[115],[51,102],[117,118,119],[51,117],[115,117,118]],"referencedMap":[[51,1],[43,2],[44,3],[45,4],[47,5],[49,6],[102,7],[115,8],[114,9],[113,10],[112,11],[111,12],[110,13],[108,14],[104,15],[107,16],[106,17],[105,18],[130,19],[126,20],[128,21],[127,20],[125,22],[129,23],[124,24],[52,25],[54,26],[55,27],[56,28],[57,29],[58,30],[59,31],[60,32],[61,33],[62,34],[63,35],[64,36],[65,37],[66,38],[67,39],[68,40],[69,41],[95,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[76,49],[77,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[92,65],[93,66],[98,67],[97,68],[99,69],[96,70],[117,71],[116,72],[103,73],[120,74],[118,75],[119,76]],"exportedModulesMap":[[51,1],[43,2],[44,3],[45,4],[47,5],[49,6],[102,7],[115,8],[114,9],[113,10],[112,11],[111,12],[110,13],[108,14],[104,15],[107,16],[106,17],[105,18],[130,19],[126,20],[128,21],[127,20],[125,22],[129,23],[124,24],[52,25],[54,26],[55,27],[56,28],[57,29],[58,30],[59,31],[60,32],[61,33],[62,34],[63,35],[64,36],[65,37],[66,38],[67,39],[68,40],[69,41],[95,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[76,49],[77,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[92,65],[93,66],[98,67],[97,68],[99,69],[96,70],[117,71],[116,72],[103,73],[120,74],[118,75],[119,76]],"semanticDiagnosticsPerFile":[51,43,44,45,42,47,46,48,49,50,102,115,100,114,113,112,111,110,108,104,107,106,105,101,130,122,126,128,127,125,129,124,123,52,54,55,56,57,58,59,60,61,62,63,64,65,66,53,94,67,68,69,95,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,98,97,99,121,109,96,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,32,29,30,31,33,7,34,39,40,35,36,37,38,1,41,117,116,103,120,118,119],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.5"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
2
+ // Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
3
3
  // SPDX-License-Identifier: GPL-3.0
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ethereum/index.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;AAEnC,+CAA6B","sourcesContent":["// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nexport * from './interfaces';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ethereum/index.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;AAEnC,+CAA6B","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nexport * from './interfaces';\n"]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
2
+ // Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
3
3
  // SPDX-License-Identifier: GPL-3.0
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  //# sourceMappingURL=interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/ethereum/interfaces.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC","sourcesContent":["// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {BlockFilter} from '@subql/types-core';\n\nexport type EthereumBlockFilter = BlockFilter;\n\n/**\n * Represents a filter for Ethereum Transactions\n * @interface\n * @extends {EthereumTransactionFilter}\n */\nexport interface EthereumTransactionFilter {\n /**\n * The address of sender of the transaction\n * @example\n * from: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n * */\n from?: string;\n /**\n * The to address field within a transaction. This is either the contract address or the recipient if it is an ether transfer.\n * @example\n * to: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n **/\n to?: string;\n /**\n * The function sighash or function signature of the call. This is the first 32bytes of the data field\n * @example\n * function: 'setminimumStakingAmount(uint256 amount)',\n * @example\n * function: null, // This will filter transactions that have no input\n * @example\n * function: '0x, // This will filter transactions that have no input\n * */\n function?: string | null;\n}\n\n/**\n * Represents a filter for Ethereum logs\n * @interface\n * @extends {EthereumLogFilter}\n */\nexport interface EthereumLogFilter {\n /**\n * You can filter by the topics in a log.\n * These can be an address, event signature, null, '!null' or undefined\n * @example\n * topics: ['Transfer(address, address, uint256)'],\n * @example\n * topics: ['Transfer(address, address, uint256)', undefined, '0x220866B1A2219f40e72f5c628B65D54268cA3A9D']\n */\n topics?: Array<string | null | undefined>;\n}\n\nexport interface EthereumResult extends ReadonlyArray<any> {\n readonly [key: string]: any;\n}\n\nexport type FlareResult = EthereumResult;\n\nexport type EthereumBlock = {\n blockExtraData: string;\n difficulty: bigint;\n extDataGasUsed: string;\n extDataHash: string;\n gasLimit: bigint;\n gasUsed: bigint;\n hash: string;\n logs: EthereumLog[];\n logsBloom: string;\n miner: string;\n mixHash: string;\n nonce: string;\n number: number;\n parentHash: string;\n receiptsRoot: string;\n sha3Uncles: string;\n size: bigint;\n stateRoot: string;\n timestamp: bigint;\n totalDifficulty: bigint;\n transactions: EthereumTransaction[];\n transactionsRoot: string;\n uncles: string[];\n baseFeePerGas?: bigint;\n blockGasCost?: bigint;\n};\n\nexport type FlareBlock = EthereumBlock;\n\nexport type EthereumTransaction<T extends EthereumResult = EthereumResult> = {\n blockHash: string;\n blockNumber: number;\n blockTimestamp: bigint;\n from: string;\n gas: bigint;\n gasPrice: bigint;\n hash: string;\n input: string;\n nonce: bigint;\n to: string;\n transactionIndex: bigint;\n value: bigint;\n type: string;\n v: bigint;\n r: string;\n s: string;\n receipt: () => Promise<EthereumReceipt>;\n logs?: EthereumLog[];\n accessList?: string[];\n chainId?: string; // Hex string , example: \"0x1\"\n maxFeePerGas?: bigint;\n maxPriorityFeePerGas?: bigint;\n args?: T;\n};\n\nexport type FlareTransaction<T extends FlareResult = FlareResult> = EthereumTransaction<T>;\n\nexport type EthereumReceipt = {\n blockHash: string;\n blockNumber: number;\n contractAddress: string;\n cumulativeGasUsed: bigint;\n effectiveGasPrice: bigint;\n from: string;\n gasUsed: bigint;\n logs: EthereumLog[];\n logsBloom: string;\n status: boolean;\n to: string;\n transactionHash: string;\n transactionIndex: number;\n type: string;\n};\n\nexport type FlareReceipt = EthereumReceipt;\n\nexport type EthereumLog<T extends EthereumResult = EthereumResult> = {\n address: string;\n topics: string[];\n data: string;\n blockHash: string;\n blockNumber: number;\n transactionHash: string;\n transactionIndex: number;\n logIndex: number;\n removed: boolean;\n args?: T;\n block: EthereumBlock;\n transaction: EthereumTransaction;\n};\n\nexport type FlareLog<T extends FlareResult = FlareResult> = EthereumLog<T>;\n\nexport type LightEthereumLog<T extends EthereumResult = EthereumResult> = Omit<\n EthereumLog<T>,\n 'transaction' | 'block'\n> & {\n block: LightEthereumBlock;\n};\n\nexport type LightEthereumBlock = Omit<EthereumBlock, 'transactions' | 'logs'> & {\n logs: LightEthereumLog[];\n transactions: string[];\n};\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/ethereum/interfaces.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {BlockFilter} from '@subql/types-core';\n\nexport type EthereumBlockFilter = BlockFilter;\n\n/**\n * Represents a filter for Ethereum Transactions\n * @interface\n * @extends {EthereumTransactionFilter}\n */\nexport interface EthereumTransactionFilter {\n /**\n * The address of sender of the transaction\n * @example\n * from: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n * */\n from?: string;\n /**\n * The to address field within a transaction. This is either the contract address or the recipient if it is an ether transfer.\n * @example\n * to: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n **/\n to?: string;\n /**\n * The function sighash or function signature of the call. This is the first 32bytes of the data field\n * @example\n * function: 'setminimumStakingAmount(uint256 amount)',\n * @example\n * function: null, // This will filter transactions that have no input\n * @example\n * function: '0x, // This will filter transactions that have no input\n * */\n function?: string | null;\n}\n\n/**\n * Represents a filter for Ethereum logs\n * @interface\n * @extends {EthereumLogFilter}\n */\nexport interface EthereumLogFilter {\n /**\n * You can filter by the topics in a log.\n * These can be an address, event signature, null, '!null' or undefined\n * @example\n * topics: ['Transfer(address, address, uint256)'],\n * @example\n * topics: ['Transfer(address, address, uint256)', undefined, '0x220866B1A2219f40e72f5c628B65D54268cA3A9D']\n */\n topics?: Array<string | null | undefined>;\n}\n\nexport interface EthereumResult extends ReadonlyArray<any> {\n readonly [key: string]: any;\n}\n\nexport type FlareResult = EthereumResult;\n\nexport type EthereumBlock = {\n blockExtraData: string;\n difficulty: bigint;\n extDataGasUsed: string;\n extDataHash: string;\n gasLimit: bigint;\n gasUsed: bigint;\n hash: string;\n logs: EthereumLog[];\n logsBloom: string;\n miner: string;\n mixHash: string;\n nonce: string;\n number: number;\n parentHash: string;\n receiptsRoot: string;\n sha3Uncles: string;\n size: bigint;\n stateRoot: string;\n timestamp: bigint;\n totalDifficulty: bigint;\n transactions: EthereumTransaction[];\n transactionsRoot: string;\n uncles: string[];\n baseFeePerGas?: bigint;\n blockGasCost?: bigint;\n};\n\nexport type FlareBlock = EthereumBlock;\n\nexport type EthereumTransaction<T extends EthereumResult = EthereumResult> = {\n blockHash: string;\n blockNumber: number;\n blockTimestamp: bigint;\n from: string;\n gas: bigint;\n gasPrice: bigint;\n hash: string;\n input: string;\n nonce: bigint;\n to: string;\n transactionIndex: bigint;\n value: bigint;\n type: string;\n v: bigint;\n r: string;\n s: string;\n receipt: () => Promise<EthereumReceipt>;\n logs?: EthereumLog[];\n accessList?: string[];\n chainId?: string; // Hex string , example: \"0x1\"\n maxFeePerGas?: bigint;\n maxPriorityFeePerGas?: bigint;\n args?: T;\n};\n\nexport type FlareTransaction<T extends FlareResult = FlareResult> = EthereumTransaction<T>;\n\nexport type EthereumReceipt = {\n blockHash: string;\n blockNumber: number;\n contractAddress: string;\n cumulativeGasUsed: bigint;\n effectiveGasPrice: bigint;\n from: string;\n gasUsed: bigint;\n logs: EthereumLog[];\n logsBloom: string;\n status: boolean;\n to: string;\n transactionHash: string;\n transactionIndex: number;\n type: string;\n};\n\nexport type FlareReceipt = EthereumReceipt;\n\nexport type EthereumLog<T extends EthereumResult = EthereumResult> = {\n address: string;\n topics: string[];\n data: string;\n blockHash: string;\n blockNumber: number;\n transactionHash: string;\n transactionIndex: number;\n logIndex: number;\n removed: boolean;\n args?: T;\n block: EthereumBlock;\n transaction: EthereumTransaction;\n};\n\nexport type FlareLog<T extends FlareResult = FlareResult> = EthereumLog<T>;\n\nexport type LightEthereumLog<T extends EthereumResult = EthereumResult> = Omit<\n EthereumLog<T>,\n 'transaction' | 'block'\n> & {\n block: LightEthereumBlock;\n};\n\nexport type LightEthereumBlock = Omit<EthereumBlock, 'transactions' | 'logs'> & {\n logs: LightEthereumLog[];\n transactions: string[];\n};\n"]}
package/dist/global.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
2
+ // Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
3
3
  // SPDX-License-Identifier: GPL-3.0
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  require("@subql/types-core/dist/global");
@@ -1 +1 @@
1
- {"version":3,"file":"global.js","sourceRoot":"","sources":["../src/global.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;AAGnC,yCAAuC","sourcesContent":["// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {Provider} from '@ethersproject/abstract-provider';\nimport '@subql/types-core/dist/global';\n\ndeclare global {\n const api: Provider;\n const unsafeApi: Provider | undefined;\n}\n"]}
1
+ {"version":3,"file":"global.js","sourceRoot":"","sources":["../src/global.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;AAGnC,yCAAuC","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {Provider} from '@ethersproject/abstract-provider';\nimport '@subql/types-core/dist/global';\n\ndeclare global {\n const api: Provider;\n const unsafeApi: Provider | undefined;\n}\n"]}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
2
+ // Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
3
3
  // SPDX-License-Identifier: GPL-3.0
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;AAEnC,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B","sourcesContent":["// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nexport * from './interfaces';\nexport * from './project';\nexport * from './ethereum';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;;;;;;;;;;;;;;AAEnC,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nexport * from './interfaces';\nexport * from './project';\nexport * from './ethereum';\n"]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
2
+ // Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
3
3
  // SPDX-License-Identifier: GPL-3.0
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  //# sourceMappingURL=interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC","sourcesContent":["// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {Block} from '@ethersproject/abstract-provider';\nimport {EthereumBlock, LightEthereumBlock} from './ethereum';\n\nexport interface ApiWrapper {\n init: () => Promise<void>;\n getGenesisHash: () => string;\n getRuntimeChain: () => string;\n getChainId: () => number;\n getSpecName: () => string;\n getFinalizedBlockHeight: () => Promise<number>;\n getBestBlockHeight: () => Promise<number>;\n getBlockByHeightOrHash: (hashOrHeight: number | string) => Promise<Block>;\n fetchBlocks: (bufferBlocks: number[]) => Promise<EthereumBlock[] | LightEthereumBlock[]>; // TODO make sure this is correct\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {Block} from '@ethersproject/abstract-provider';\nimport {EthereumBlock, LightEthereumBlock} from './ethereum';\n\nexport interface ApiWrapper {\n init: () => Promise<void>;\n getGenesisHash: () => string;\n getRuntimeChain: () => string;\n getChainId: () => number;\n getSpecName: () => string;\n getFinalizedBlockHeight: () => Promise<number>;\n getBestBlockHeight: () => Promise<number>;\n getBlockByHeightOrHash: (hashOrHeight: number | string) => Promise<Block>;\n fetchBlocks: (bufferBlocks: number[]) => Promise<EthereumBlock[] | LightEthereumBlock[]>; // TODO make sure this is correct\n}\n"]}
package/dist/project.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
2
+ // Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
3
3
  // SPDX-License-Identifier: GPL-3.0
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.EthereumHandlerKind = exports.EthereumDatasourceKind = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;AA4BnC;;;GAGG;AACH,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC;;OAEG;IACH,sDAA4B,CAAA;AAC9B,CAAC,EALW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAKjC;AAED;;;GAGG;AACH,IAAY,mBAaX;AAbD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,sDAA+B,CAAA;IAC/B;;OAEG;IACH,2DAAoC,CAAA;IACpC;;OAEG;IACH,oDAA6B,CAAA;AAC/B,CAAC,EAbW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAa9B","sourcesContent":["// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {\n BaseTemplateDataSource,\n IProjectNetworkConfig,\n CommonSubqueryProject,\n DictionaryQueryEntry,\n FileReference,\n Processor,\n ProjectManifestV1_0_0,\n BaseDataSource,\n} from '@subql/types-core';\nimport {\n EthereumBlock,\n EthereumBlockFilter,\n EthereumLog,\n EthereumLogFilter,\n EthereumTransaction,\n EthereumTransactionFilter,\n LightEthereumLog,\n} from './ethereum';\nimport {ApiWrapper} from './interfaces';\n\nexport type RuntimeDatasourceTemplate = BaseTemplateDataSource<SubqlRuntimeDatasource>;\nexport type CustomDatasourceTemplate = BaseTemplateDataSource<SubqlCustomDatasource>;\n\nexport type EthereumProjectManifestV1_0_0 = ProjectManifestV1_0_0<SubqlRuntimeDatasource | SubqlCustomDatasource>;\n\n/**\n * Kind of Ethereum datasource.\n * @enum {string}\n */\nexport enum EthereumDatasourceKind {\n /**\n * The runtime kind of Ethereum datasource.\n */\n Runtime = 'ethereum/Runtime',\n}\n\n/**\n * Enum representing the kind of Ethereum handler.\n * @enum {string}\n */\nexport enum EthereumHandlerKind {\n /**\n * Handler for Ethereum blocks.\n */\n Block = 'ethereum/BlockHandler',\n /**\n * Handler for Ethereum transactions.\n */\n Call = 'ethereum/TransactionHandler',\n /**\n * Handler for Ethereum log events.\n */\n Event = 'ethereum/LogHandler',\n}\n\nexport type EthereumRuntimeHandlerInputMap = {\n [EthereumHandlerKind.Block]: EthereumBlock;\n [EthereumHandlerKind.Call]: EthereumTransaction;\n [EthereumHandlerKind.Event]: EthereumLog | LightEthereumLog;\n};\n\ntype EthereumRuntimeFilterMap = {\n [EthereumHandlerKind.Block]: EthereumBlockFilter;\n [EthereumHandlerKind.Event]: EthereumLogFilter;\n [EthereumHandlerKind.Call]: EthereumTransactionFilter;\n};\n\n/**\n * Represents a handler for Ethereum blocks.\n * @type {SubqlCustomHandler<EthereumHandlerKind.Block, EthereumBlockFilter>}\n */\nexport type SubqlBlockHandler = SubqlCustomHandler<EthereumHandlerKind.Block, EthereumBlockFilter>;\n/**\n * Represents a handler for Ethereum transactions.\n * @type {SubqlCustomHandler<EthereumHandlerKind.Call, EthereumTransactionFilter>}\n */\nexport type SubqlCallHandler = SubqlCustomHandler<EthereumHandlerKind.Call, EthereumTransactionFilter>;\n/**\n * Represents a handler for Ethereum logs.\n * @type {SubqlCustomHandler<EthereumHandlerKind.Event, EthereumLogFilter>}\n */\nexport type SubqlEventHandler = SubqlCustomHandler<EthereumHandlerKind.Event, EthereumLogFilter>;\n\n/**\n * Represents a generic custom handler for Ethereum.\n * @interface\n * @template K - The kind of the handler (default: string).\n * @template F - The filter type for the handler (default: Record<string, unknown>).\n */\nexport interface SubqlCustomHandler<K extends string = string, F = Record<string, unknown>> {\n /**\n * The kind of handler. For `ethereum/Runtime` datasources this is either `Block`, `Call` or `Event` kinds.\n * The value of this will determine the filter options as well as the data provided to your handler function\n * @type {EthereumHandlerKind.Block | EthereumHandlerKind.Call | EthereumHandlerKind.Event | string }\n * @example\n * kind: EthereumHandlerKind.Block // Defined with an enum, this is used for runtime datasources\n\n */\n kind: K;\n /**\n * The name of your handler function. This must be defined and exported from your code.\n * @type {string}\n * @example\n * handler: 'handleBlock'\n */\n handler: string;\n /**\n * The filter for the handler. The handler kind will determine the possible filters (optional).\n *\n * @type {F}\n */\n filter?: F;\n}\n\n/**\n * Represents a runtime handler for Ethereum, which can be a block handler, transaction handler, or log handler.\n * @type {SubqlBlockHandler | SubqlCallHandler | SubqlEventHandler}\n */\nexport type SubqlRuntimeHandler = SubqlBlockHandler | SubqlCallHandler | SubqlEventHandler;\n\n/**\n * Represents a handler for Ethereum, which can be a runtime handler or a custom handler with unknown filter type.\n * @type {SubqlRuntimeHandler | SubqlCustomHandler<string, unknown>}\n */\nexport type SubqlHandler = SubqlRuntimeHandler | SubqlCustomHandler<string, unknown>;\n\n/**\n * Represents a filter for Ethereum runtime handlers, which can be a block filter, call filter, or event filter.\n * @type {EthereumBlockFilter | EthereumTransactionFilter | EthereumLogFilter}\n */\nexport type SubqlHandlerFilter = EthereumBlockFilter | EthereumTransactionFilter | EthereumLogFilter;\n\n/**\n * Represents a mapping for Ethereum handlers, extending FileReference.\n * @interface\n * @extends {FileReference}\n */\nexport interface SubqlMapping<T extends SubqlHandler = SubqlHandler> extends FileReference {\n /**\n * An array of handlers associated with the mapping.\n * @type {T[]}\n * @example\n * handlers: [{\n kind: EthereumHandlerKind.Call,\n handler: 'handleTransfer',\n filter: {\n to: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n }\n }]\n */\n handlers: T[];\n}\n\n/**\n * Represents a Ethereum datasource interface with generic parameters.\n * @interface\n * @template M - The mapping type for the datasource.\n */\ninterface ISubqlDatasource<M extends SubqlMapping> extends BaseDataSource {\n /**\n * The kind of the datasource.\n * @type {string}\n * @example\n * kind: 'ethereum/Runtime'\n */\n kind: string;\n /**\n * The starting block number for the datasource. If not specified, 1 will be used (optional).\n * @type {number}\n * @default 1\n */\n startBlock?: number;\n /**\n * The mapping associated with the datasource.\n * This contains the handlers.\n * @type {M}\n */\n mapping: M;\n}\n\nexport interface SubqlEthereumProcessorOptions {\n /**\n * The name of the abi that is provided in the assets\n * This is the abi that will be used to decode transaction or log arguments\n * @example\n * abi: 'erc20',\n * */\n abi?: string;\n /**\n * The specific contract that this datasource should filter.\n * Alternatively this can be left blank and a transaction to filter can be used instead\n * @example\n * address: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n * */\n address?: string;\n}\n\n/**\n * Represents a runtime datasource for Ethereum.\n * @interface\n * @template M - The mapping type for the datasource (default: SubqlMapping<SubqlRuntimeHandler>).\n */\nexport interface SubqlRuntimeDatasource<M extends SubqlMapping<SubqlRuntimeHandler> = SubqlMapping<SubqlRuntimeHandler>>\n extends ISubqlDatasource<M> {\n /**\n * The kind of the datasource, which is `ethereum/Runtime`.\n * @type {EthereumDatasourceKind.Runtime}\n */\n kind: EthereumDatasourceKind.Runtime;\n /**\n * Options to specify details about the contract and its interface\n * @example\n * options: {\n * abi: 'erc20',\n * address: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n * }\n * */\n options?: SubqlEthereumProcessorOptions;\n /**\n * ABI or contract artifact files that are used for decoding.\n * These are used for codegen to generate handler inputs and contract interfaces\n * @example\n * assets: new Map([\n * ['erc721', { file: \"./abis/erc721.json\" }],\n * ['erc1155', { file: \"./abis/erc1155.json\" }],\n * ])\n * */\n assets?: Map<string, FileReference>;\n}\n\nexport type SubqlDatasource = SubqlRuntimeDatasource | SubqlCustomDatasource;\n\nexport type CustomDataSourceAsset = FileReference;\n\nexport interface SubqlCustomDatasource<\n K extends string = string,\n M extends SubqlMapping = SubqlMapping<SubqlCustomHandler>,\n O = any\n> extends ISubqlDatasource<M> {\n kind: K;\n assets: Map<string, CustomDataSourceAsset>;\n options?: SubqlEthereumProcessorOptions;\n processor: Processor<O>;\n}\n\nexport interface HandlerInputTransformer_0_0_0<\n T extends EthereumHandlerKind,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> {\n (input: EthereumRuntimeHandlerInputMap[T], ds: DS, api: ApiWrapper, assets?: Record<string, string>): Promise<E>; // | EthereumBuiltinDataSource\n}\n\nexport interface HandlerInputTransformer_1_0_0<\n T extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> {\n (params: {\n input: EthereumRuntimeHandlerInputMap[T];\n ds: DS;\n filter?: F;\n api: ApiWrapper;\n assets?: Record<string, string>;\n }): Promise<E[]>; // | EthereumBuiltinDataSource\n}\n\nexport type SecondLayerHandlerProcessorArray<\n K extends string,\n F,\n T,\n DS extends SubqlCustomDatasource<K> = SubqlCustomDatasource<K>\n> =\n | SecondLayerHandlerProcessor<EthereumHandlerKind.Block, F, T, DS>\n | SecondLayerHandlerProcessor<EthereumHandlerKind.Call, F, T, DS>\n | SecondLayerHandlerProcessor<EthereumHandlerKind.Event, F, T, DS>;\n\nexport interface SubqlDatasourceProcessor<\n K extends string,\n F,\n DS extends SubqlCustomDatasource<K> = SubqlCustomDatasource<K>,\n P extends Record<string, SecondLayerHandlerProcessorArray<K, F, any, DS>> = Record<\n string,\n SecondLayerHandlerProcessorArray<K, F, any, DS>\n >\n> {\n kind: K;\n validate(ds: DS, assets: Record<string, string>): void;\n dsFilterProcessor(ds: DS, api: ApiWrapper): boolean;\n handlerProcessors: P;\n}\n\ninterface SecondLayerHandlerProcessorBase<\n K extends EthereumHandlerKind,\n F,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> {\n baseHandlerKind: K;\n baseFilter: EthereumRuntimeFilterMap[K] | EthereumRuntimeFilterMap[K][];\n filterValidator: (filter?: F) => void;\n dictionaryQuery?: (filter: F, ds: DS) => DictionaryQueryEntry | undefined;\n}\n\nexport interface SecondLayerHandlerProcessor_0_0_0<\n K extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> extends SecondLayerHandlerProcessorBase<K, F, DS> {\n specVersion: undefined;\n transformer: HandlerInputTransformer_0_0_0<K, E, DS>;\n filterProcessor: (filter: F | undefined, input: EthereumRuntimeHandlerInputMap[K], ds: DS) => boolean;\n}\n\nexport interface SecondLayerHandlerProcessor_1_0_0<\n K extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> extends SecondLayerHandlerProcessorBase<K, F, DS> {\n specVersion: '1.0.0';\n transformer: HandlerInputTransformer_1_0_0<K, F, E, DS>;\n filterProcessor: (params: {filter: F | undefined; input: EthereumRuntimeHandlerInputMap[K]; ds: DS}) => boolean;\n}\n\nexport type SecondLayerHandlerProcessor<\n K extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> = SecondLayerHandlerProcessor_0_0_0<K, F, E, DS> | SecondLayerHandlerProcessor_1_0_0<K, F, E, DS>;\n\n/**\n * Represents a Ethereum subquery network configuration, which is based on the CommonSubqueryNetworkConfig template.\n * @type {IProjectNetworkConfig}\n */\nexport type EthereumNetworkConfig = IProjectNetworkConfig;\n\n/**\n * Represents a Ethereum project configuration based on the CommonSubqueryProject template.\n * @type {CommonSubqueryProject<EthereumNetworkConfig, SubqlDatasource, RuntimeDatasourceTemplate | CustomDatasourceTemplate>}\n */\nexport type EthereumProject<DS extends SubqlDatasource = SubqlRuntimeDatasource> = CommonSubqueryProject<\n EthereumNetworkConfig,\n SubqlRuntimeDatasource | DS,\n BaseTemplateDataSource<SubqlRuntimeDatasource> | BaseTemplateDataSource<DS>\n>;\n"]}
1
+ {"version":3,"file":"project.js","sourceRoot":"","sources":["../src/project.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,mCAAmC;;;AA4BnC;;;GAGG;AACH,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC;;OAEG;IACH,sDAA4B,CAAA;AAC9B,CAAC,EALW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAKjC;AAED;;;GAGG;AACH,IAAY,mBAaX;AAbD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,sDAA+B,CAAA;IAC/B;;OAEG;IACH,2DAAoC,CAAA;IACpC;;OAEG;IACH,oDAA6B,CAAA;AAC/B,CAAC,EAbW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAa9B","sourcesContent":["// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors\n// SPDX-License-Identifier: GPL-3.0\n\nimport {\n BaseTemplateDataSource,\n IProjectNetworkConfig,\n CommonSubqueryProject,\n DictionaryQueryEntry,\n FileReference,\n Processor,\n ProjectManifestV1_0_0,\n BaseDataSource,\n} from '@subql/types-core';\nimport {\n EthereumBlock,\n EthereumBlockFilter,\n EthereumLog,\n EthereumLogFilter,\n EthereumTransaction,\n EthereumTransactionFilter,\n LightEthereumLog,\n} from './ethereum';\nimport {ApiWrapper} from './interfaces';\n\nexport type RuntimeDatasourceTemplate = BaseTemplateDataSource<SubqlRuntimeDatasource>;\nexport type CustomDatasourceTemplate = BaseTemplateDataSource<SubqlCustomDatasource>;\n\nexport type EthereumProjectManifestV1_0_0 = ProjectManifestV1_0_0<SubqlRuntimeDatasource | SubqlCustomDatasource>;\n\n/**\n * Kind of Ethereum datasource.\n * @enum {string}\n */\nexport enum EthereumDatasourceKind {\n /**\n * The runtime kind of Ethereum datasource.\n */\n Runtime = 'ethereum/Runtime',\n}\n\n/**\n * Enum representing the kind of Ethereum handler.\n * @enum {string}\n */\nexport enum EthereumHandlerKind {\n /**\n * Handler for Ethereum blocks.\n */\n Block = 'ethereum/BlockHandler',\n /**\n * Handler for Ethereum transactions.\n */\n Call = 'ethereum/TransactionHandler',\n /**\n * Handler for Ethereum log events.\n */\n Event = 'ethereum/LogHandler',\n}\n\nexport type EthereumRuntimeHandlerInputMap = {\n [EthereumHandlerKind.Block]: EthereumBlock;\n [EthereumHandlerKind.Call]: EthereumTransaction;\n [EthereumHandlerKind.Event]: EthereumLog | LightEthereumLog;\n};\n\ntype EthereumRuntimeFilterMap = {\n [EthereumHandlerKind.Block]: EthereumBlockFilter;\n [EthereumHandlerKind.Event]: EthereumLogFilter;\n [EthereumHandlerKind.Call]: EthereumTransactionFilter;\n};\n\n/**\n * Represents a handler for Ethereum blocks.\n * @type {SubqlCustomHandler<EthereumHandlerKind.Block, EthereumBlockFilter>}\n */\nexport type SubqlBlockHandler = SubqlCustomHandler<EthereumHandlerKind.Block, EthereumBlockFilter>;\n/**\n * Represents a handler for Ethereum transactions.\n * @type {SubqlCustomHandler<EthereumHandlerKind.Call, EthereumTransactionFilter>}\n */\nexport type SubqlCallHandler = SubqlCustomHandler<EthereumHandlerKind.Call, EthereumTransactionFilter>;\n/**\n * Represents a handler for Ethereum logs.\n * @type {SubqlCustomHandler<EthereumHandlerKind.Event, EthereumLogFilter>}\n */\nexport type SubqlEventHandler = SubqlCustomHandler<EthereumHandlerKind.Event, EthereumLogFilter>;\n\n/**\n * Represents a generic custom handler for Ethereum.\n * @interface\n * @template K - The kind of the handler (default: string).\n * @template F - The filter type for the handler (default: Record<string, unknown>).\n */\nexport interface SubqlCustomHandler<K extends string = string, F = Record<string, unknown>> {\n /**\n * The kind of handler. For `ethereum/Runtime` datasources this is either `Block`, `Call` or `Event` kinds.\n * The value of this will determine the filter options as well as the data provided to your handler function\n * @type {EthereumHandlerKind.Block | EthereumHandlerKind.Call | EthereumHandlerKind.Event | string }\n * @example\n * kind: EthereumHandlerKind.Block // Defined with an enum, this is used for runtime datasources\n\n */\n kind: K;\n /**\n * The name of your handler function. This must be defined and exported from your code.\n * @type {string}\n * @example\n * handler: 'handleBlock'\n */\n handler: string;\n /**\n * The filter for the handler. The handler kind will determine the possible filters (optional).\n *\n * @type {F}\n */\n filter?: F;\n}\n\n/**\n * Represents a runtime handler for Ethereum, which can be a block handler, transaction handler, or log handler.\n * @type {SubqlBlockHandler | SubqlCallHandler | SubqlEventHandler}\n */\nexport type SubqlRuntimeHandler = SubqlBlockHandler | SubqlCallHandler | SubqlEventHandler;\n\n/**\n * Represents a handler for Ethereum, which can be a runtime handler or a custom handler with unknown filter type.\n * @type {SubqlRuntimeHandler | SubqlCustomHandler<string, unknown>}\n */\nexport type SubqlHandler = SubqlRuntimeHandler | SubqlCustomHandler<string, unknown>;\n\n/**\n * Represents a filter for Ethereum runtime handlers, which can be a block filter, call filter, or event filter.\n * @type {EthereumBlockFilter | EthereumTransactionFilter | EthereumLogFilter}\n */\nexport type SubqlHandlerFilter = EthereumBlockFilter | EthereumTransactionFilter | EthereumLogFilter;\n\n/**\n * Represents a mapping for Ethereum handlers, extending FileReference.\n * @interface\n * @extends {FileReference}\n */\nexport interface SubqlMapping<T extends SubqlHandler = SubqlHandler> extends FileReference {\n /**\n * An array of handlers associated with the mapping.\n * @type {T[]}\n * @example\n * handlers: [{\n kind: EthereumHandlerKind.Call,\n handler: 'handleTransfer',\n filter: {\n to: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n }\n }]\n */\n handlers: T[];\n}\n\n/**\n * Represents a Ethereum datasource interface with generic parameters.\n * @interface\n * @template M - The mapping type for the datasource.\n */\ninterface ISubqlDatasource<M extends SubqlMapping> extends BaseDataSource {\n /**\n * The kind of the datasource.\n * @type {string}\n * @example\n * kind: 'ethereum/Runtime'\n */\n kind: string;\n /**\n * The starting block number for the datasource. If not specified, 1 will be used (optional).\n * @type {number}\n * @default 1\n */\n startBlock?: number;\n /**\n * The mapping associated with the datasource.\n * This contains the handlers.\n * @type {M}\n */\n mapping: M;\n}\n\nexport interface SubqlEthereumProcessorOptions {\n /**\n * The name of the abi that is provided in the assets\n * This is the abi that will be used to decode transaction or log arguments\n * @example\n * abi: 'erc20',\n * */\n abi?: string;\n /**\n * The specific contract that this datasource should filter.\n * Alternatively this can be left blank and a transaction to filter can be used instead\n * @example\n * address: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n * */\n address?: string;\n}\n\n/**\n * Represents a runtime datasource for Ethereum.\n * @interface\n * @template M - The mapping type for the datasource (default: SubqlMapping<SubqlRuntimeHandler>).\n */\nexport interface SubqlRuntimeDatasource<M extends SubqlMapping<SubqlRuntimeHandler> = SubqlMapping<SubqlRuntimeHandler>>\n extends ISubqlDatasource<M> {\n /**\n * The kind of the datasource, which is `ethereum/Runtime`.\n * @type {EthereumDatasourceKind.Runtime}\n */\n kind: EthereumDatasourceKind.Runtime;\n /**\n * Options to specify details about the contract and its interface\n * @example\n * options: {\n * abi: 'erc20',\n * address: '0x220866B1A2219f40e72f5c628B65D54268cA3A9D',\n * }\n * */\n options?: SubqlEthereumProcessorOptions;\n /**\n * ABI or contract artifact files that are used for decoding.\n * These are used for codegen to generate handler inputs and contract interfaces\n * @example\n * assets: new Map([\n * ['erc721', { file: \"./abis/erc721.json\" }],\n * ['erc1155', { file: \"./abis/erc1155.json\" }],\n * ])\n * */\n assets?: Map<string, FileReference>;\n}\n\nexport type SubqlDatasource = SubqlRuntimeDatasource | SubqlCustomDatasource;\n\nexport type CustomDataSourceAsset = FileReference;\n\nexport interface SubqlCustomDatasource<\n K extends string = string,\n M extends SubqlMapping = SubqlMapping<SubqlCustomHandler>,\n O = any\n> extends ISubqlDatasource<M> {\n kind: K;\n assets: Map<string, CustomDataSourceAsset>;\n options?: SubqlEthereumProcessorOptions;\n processor: Processor<O>;\n}\n\nexport interface HandlerInputTransformer_0_0_0<\n T extends EthereumHandlerKind,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> {\n (input: EthereumRuntimeHandlerInputMap[T], ds: DS, api: ApiWrapper, assets?: Record<string, string>): Promise<E>; // | EthereumBuiltinDataSource\n}\n\nexport interface HandlerInputTransformer_1_0_0<\n T extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> {\n (params: {\n input: EthereumRuntimeHandlerInputMap[T];\n ds: DS;\n filter?: F;\n api: ApiWrapper;\n assets?: Record<string, string>;\n }): Promise<E[]>; // | EthereumBuiltinDataSource\n}\n\nexport type SecondLayerHandlerProcessorArray<\n K extends string,\n F,\n T,\n DS extends SubqlCustomDatasource<K> = SubqlCustomDatasource<K>\n> =\n | SecondLayerHandlerProcessor<EthereumHandlerKind.Block, F, T, DS>\n | SecondLayerHandlerProcessor<EthereumHandlerKind.Call, F, T, DS>\n | SecondLayerHandlerProcessor<EthereumHandlerKind.Event, F, T, DS>;\n\nexport interface SubqlDatasourceProcessor<\n K extends string,\n F,\n DS extends SubqlCustomDatasource<K> = SubqlCustomDatasource<K>,\n P extends Record<string, SecondLayerHandlerProcessorArray<K, F, any, DS>> = Record<\n string,\n SecondLayerHandlerProcessorArray<K, F, any, DS>\n >\n> {\n kind: K;\n validate(ds: DS, assets: Record<string, string>): void;\n dsFilterProcessor(ds: DS, api: ApiWrapper): boolean;\n handlerProcessors: P;\n}\n\ninterface SecondLayerHandlerProcessorBase<\n K extends EthereumHandlerKind,\n F,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> {\n baseHandlerKind: K;\n baseFilter: EthereumRuntimeFilterMap[K] | EthereumRuntimeFilterMap[K][];\n filterValidator: (filter?: F) => void;\n dictionaryQuery?: (filter: F, ds: DS) => DictionaryQueryEntry | undefined;\n}\n\nexport interface SecondLayerHandlerProcessor_0_0_0<\n K extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> extends SecondLayerHandlerProcessorBase<K, F, DS> {\n specVersion: undefined;\n transformer: HandlerInputTransformer_0_0_0<K, E, DS>;\n filterProcessor: (filter: F | undefined, input: EthereumRuntimeHandlerInputMap[K], ds: DS) => boolean;\n}\n\nexport interface SecondLayerHandlerProcessor_1_0_0<\n K extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> extends SecondLayerHandlerProcessorBase<K, F, DS> {\n specVersion: '1.0.0';\n transformer: HandlerInputTransformer_1_0_0<K, F, E, DS>;\n filterProcessor: (params: {filter: F | undefined; input: EthereumRuntimeHandlerInputMap[K]; ds: DS}) => boolean;\n}\n\nexport type SecondLayerHandlerProcessor<\n K extends EthereumHandlerKind,\n F,\n E,\n DS extends SubqlCustomDatasource = SubqlCustomDatasource\n> = SecondLayerHandlerProcessor_0_0_0<K, F, E, DS> | SecondLayerHandlerProcessor_1_0_0<K, F, E, DS>;\n\n/**\n * Represents a Ethereum subquery network configuration, which is based on the CommonSubqueryNetworkConfig template.\n * @type {IProjectNetworkConfig}\n */\nexport type EthereumNetworkConfig = IProjectNetworkConfig;\n\n/**\n * Represents a Ethereum project configuration based on the CommonSubqueryProject template.\n * @type {CommonSubqueryProject<EthereumNetworkConfig, SubqlDatasource, RuntimeDatasourceTemplate | CustomDatasourceTemplate>}\n */\nexport type EthereumProject<DS extends SubqlDatasource = SubqlRuntimeDatasource> = CommonSubqueryProject<\n EthereumNetworkConfig,\n SubqlRuntimeDatasource | DS,\n BaseTemplateDataSource<SubqlRuntimeDatasource> | BaseTemplateDataSource<DS>\n>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@subql/types-ethereum",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/subquery/subql",
6
6
  "repository": "github:subquery/subql",
@@ -18,6 +18,6 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@ethersproject/abstract-provider": "^5.6.1",
21
- "@subql/types-core": "^0.4.0"
21
+ "@subql/types-core": "^0.5.0"
22
22
  }
23
23
  }