@sentio/sdk 1.13.1 → 1.14.0
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/lib/cli/commands/run-create.js +2 -0
- package/lib/cli/commands/run-create.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +0 -1
- package/lib/gen/processor/protos/processor.js +0 -10
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/meter.js +0 -5
- package/lib/meter.js.map +1 -1
- package/lib/test/metric-utils.js +2 -2
- package/lib/test/metric-utils.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/commands/run-create.ts +3 -0
- package/src/gen/processor/protos/processor.ts +0 -11
- package/src/meter.ts +0 -5
- package/src/test/metric-utils.ts +2 -2
- package/template/package.json +2 -3
- package/template/src/processor.test.ts +1 -1
- package/template/src/processor.ts +20 -16
- package/template/node_modules/@sentio/sdk/lib/base-processor-template.d.ts +0 -27
- package/template/node_modules/@sentio/sdk/lib/base-processor-template.js +0 -80
- package/template/node_modules/@sentio/sdk/lib/base-processor-template.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/base-processor.d.ts +0 -30
- package/template/node_modules/@sentio/sdk/lib/base-processor.js +0 -148
- package/template/node_modules/@sentio/sdk/lib/base-processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/bind-options.d.ts +0 -21
- package/template/node_modules/@sentio/sdk/lib/bind-options.js +0 -42
- package/template/node_modules/@sentio/sdk/lib/bind-options.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/binds.d.ts +0 -10
- package/template/node_modules/@sentio/sdk/lib/binds.js +0 -59
- package/template/node_modules/@sentio/sdk/lib/binds.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20/index.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20/index.js +0 -22
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20/test-utils.d.ts +0 -5
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20/test-utils.js +0 -46
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20/test-utils.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/index.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/index.js +0 -22
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/test-utils.d.ts +0 -4
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/test-utils.js +0 -35
- package/template/node_modules/@sentio/sdk/lib/builtin/erc20bytes/test-utils.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20.d.ts +0 -307
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20Bytes.d.ts +0 -166
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20Bytes.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/ERC20Bytes.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/WETH9.d.ts +0 -221
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/WETH9.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/WETH9.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/common.d.ts +0 -22
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/common.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/common.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20_processor.d.ts +0 -184
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20_processor.js +0 -453
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20_processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20bytes_processor.d.ts +0 -110
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20bytes_processor.js +0 -325
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/erc20bytes_processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20Bytes__factory.d.ts +0 -48
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20Bytes__factory.js +0 -254
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20Bytes__factory.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20__factory.d.ts +0 -42
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20__factory.js +0 -404
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/ERC20__factory.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.d.ts +0 -45
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.js +0 -297
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/index.d.ts +0 -3
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/index.js +0 -13
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/index.d.ts +0 -7
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/index.js +0 -34
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/weth9_processor.d.ts +0 -126
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/weth9_processor.js +0 -361
- package/template/node_modules/@sentio/sdk/lib/builtin/internal/weth9_processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/weth9/index.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/builtin/weth9/index.js +0 -22
- package/template/node_modules/@sentio/sdk/lib/builtin/weth9/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/builtin/weth9/test-utils.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/builtin/weth9/test-utils.js +0 -57
- package/template/node_modules/@sentio/sdk/lib/builtin/weth9/test-utils.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/chain-config.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/chain-config.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/chain-config.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/build.d.ts +0 -4
- package/template/node_modules/@sentio/sdk/lib/cli/build.js +0 -178
- package/template/node_modules/@sentio/sdk/lib/cli/build.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/cli.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/cli/cli.js +0 -163
- package/template/node_modules/@sentio/sdk/lib/cli/cli.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/commands/run-create.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/commands/run-create.js +0 -43
- package/template/node_modules/@sentio/sdk/lib/cli/commands/run-create.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/commands/run-login.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/commands/run-login.js +0 -77
- package/template/node_modules/@sentio/sdk/lib/cli/commands/run-login.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/config.d.ts +0 -16
- package/template/node_modules/@sentio/sdk/lib/cli/config.js +0 -36
- package/template/node_modules/@sentio/sdk/lib/cli/config.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/key.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/cli/key.js +0 -44
- package/template/node_modules/@sentio/sdk/lib/cli/key.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/solana-code-gen.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/cli/solana-code-gen.js +0 -19
- package/template/node_modules/@sentio/sdk/lib/cli/solana-code-gen.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/upload.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/cli/upload.js +0 -85
- package/template/node_modules/@sentio/sdk/lib/cli/upload.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/cli/webpack.config.js +0 -42
- package/template/node_modules/@sentio/sdk/lib/context.d.ts +0 -49
- package/template/node_modules/@sentio/sdk/lib/context.js +0 -93
- package/template/node_modules/@sentio/sdk/lib/context.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/contract-namer.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/contract-namer.js +0 -20
- package/template/node_modules/@sentio/sdk/lib/contract-namer.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/error.d.ts +0 -7
- package/template/node_modules/@sentio/sdk/lib/error.js +0 -43
- package/template/node_modules/@sentio/sdk/lib/error.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/gen/builtin.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/gen/builtin.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/gen/builtin.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/gen/google/protobuf/empty.d.ts +0 -16
- package/template/node_modules/@sentio/sdk/lib/gen/google/protobuf/empty.js +0 -47
- package/template/node_modules/@sentio/sdk/lib/gen/google/protobuf/empty.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/gen/processor/protos/processor.d.ts +0 -666
- package/template/node_modules/@sentio/sdk/lib/gen/processor/protos/processor.js +0 -2837
- package/template/node_modules/@sentio/sdk/lib/gen/processor/protos/processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/generic-processor.d.ts +0 -10
- package/template/node_modules/@sentio/sdk/lib/generic-processor.js +0 -32
- package/template/node_modules/@sentio/sdk/lib/generic-processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/index.d.ts +0 -18
- package/template/node_modules/@sentio/sdk/lib/index.js +0 -63
- package/template/node_modules/@sentio/sdk/lib/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/loader.d.ts +0 -5
- package/template/node_modules/@sentio/sdk/lib/loader.js +0 -30
- package/template/node_modules/@sentio/sdk/lib/loader.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/meter.d.ts +0 -26
- package/template/node_modules/@sentio/sdk/lib/meter.js +0 -131
- package/template/node_modules/@sentio/sdk/lib/meter.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/meter.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/meter.test.js +0 -16
- package/template/node_modules/@sentio/sdk/lib/meter.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/numberish.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/numberish.js +0 -96
- package/template/node_modules/@sentio/sdk/lib/numberish.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/numberish.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/numberish.test.js +0 -70
- package/template/node_modules/@sentio/sdk/lib/numberish.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/processor-runner.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/processor-runner.js +0 -40
- package/template/node_modules/@sentio/sdk/lib/processor-runner.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/processor-state.d.ts +0 -16
- package/template/node_modules/@sentio/sdk/lib/processor-state.js +0 -20
- package/template/node_modules/@sentio/sdk/lib/processor-state.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/promise-or-void.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/promise-or-void.js +0 -3
- package/template/node_modules/@sentio/sdk/lib/promise-or-void.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/provider.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/provider.js +0 -66
- package/template/node_modules/@sentio/sdk/lib/provider.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/release.config.js +0 -31
- package/template/node_modules/@sentio/sdk/lib/service.d.ts +0 -25
- package/template/node_modules/@sentio/sdk/lib/service.js +0 -406
- package/template/node_modules/@sentio/sdk/lib/service.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/index.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/index.js +0 -19
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/spl-token-processor.d.ts +0 -26
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/spl-token-processor.js +0 -138
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/spl-token-processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/types.d.ts +0 -330
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/types.js +0 -203
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/types.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/wormhole-processor.d.ts +0 -18
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/wormhole-processor.js +0 -192
- package/template/node_modules/@sentio/sdk/lib/solana/builtin/wormhole-processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/solana-processor.d.ts +0 -34
- package/template/node_modules/@sentio/sdk/lib/solana-processor.js +0 -95
- package/template/node_modules/@sentio/sdk/lib/solana-processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/codegen.d.ts +0 -4
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/codegen.js +0 -292
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/codegen.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/functions.d.ts +0 -3
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/functions.js +0 -61
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/functions.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/index.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/index.js +0 -51
- package/template/node_modules/@sentio/sdk/lib/target-ethers-sentio/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/codegen.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/codegen.test.js +0 -49
- package/template/node_modules/@sentio/sdk/lib/test/codegen.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20-template.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20-template.js +0 -23
- package/template/node_modules/@sentio/sdk/lib/test/erc20-template.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20-template.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20-template.test.js +0 -37
- package/template/node_modules/@sentio/sdk/lib/test/erc20-template.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20.js +0 -44
- package/template/node_modules/@sentio/sdk/lib/test/erc20.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/erc20.test.js +0 -96
- package/template/node_modules/@sentio/sdk/lib/test/erc20.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/generic-processor.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/generic-processor.test.js +0 -59
- package/template/node_modules/@sentio/sdk/lib/test/generic-processor.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/index.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/test/index.js +0 -8
- package/template/node_modules/@sentio/sdk/lib/test/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/metric-utils.d.ts +0 -6
- package/template/node_modules/@sentio/sdk/lib/test/metric-utils.js +0 -50
- package/template/node_modules/@sentio/sdk/lib/test/metric-utils.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/mirrorworld.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/mirrorworld.js +0 -42
- package/template/node_modules/@sentio/sdk/lib/test/mirrorworld.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/solana.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/solana.test.js +0 -90
- package/template/node_modules/@sentio/sdk/lib/test/solana.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/test-processor-server.d.ts +0 -34
- package/template/node_modules/@sentio/sdk/lib/test/test-processor-server.js +0 -205
- package/template/node_modules/@sentio/sdk/lib/test/test-processor-server.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/test-provider.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/test-provider.js +0 -25
- package/template/node_modules/@sentio/sdk/lib/test/test-provider.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet.d.ts +0 -45
- package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet.js +0 -1396
- package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet_processor.d.ts +0 -107
- package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet_processor.js +0 -105
- package/template/node_modules/@sentio/sdk/lib/test/types/game_wallet_processor.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/wormhole-token-bridge.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/test/wormhole-token-bridge.js +0 -22
- package/template/node_modules/@sentio/sdk/lib/test/wormhole-token-bridge.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/trace.d.ts +0 -35
- package/template/node_modules/@sentio/sdk/lib/trace.js +0 -43
- package/template/node_modules/@sentio/sdk/lib/trace.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/utils/chainmap.d.ts +0 -2
- package/template/node_modules/@sentio/sdk/lib/utils/chainmap.js +0 -98
- package/template/node_modules/@sentio/sdk/lib/utils/chainmap.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/utils/convert.d.ts +0 -5
- package/template/node_modules/@sentio/sdk/lib/utils/convert.js +0 -27
- package/template/node_modules/@sentio/sdk/lib/utils/convert.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/utils/erc20.d.ts +0 -14
- package/template/node_modules/@sentio/sdk/lib/utils/erc20.js +0 -62
- package/template/node_modules/@sentio/sdk/lib/utils/erc20.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/utils/erc20.test.d.ts +0 -1
- package/template/node_modules/@sentio/sdk/lib/utils/erc20.test.js +0 -23
- package/template/node_modules/@sentio/sdk/lib/utils/erc20.test.js.map +0 -1
- package/template/node_modules/@sentio/sdk/lib/utils/index.d.ts +0 -3
- package/template/node_modules/@sentio/sdk/lib/utils/index.js +0 -14
- package/template/node_modules/@sentio/sdk/lib/utils/index.js.map +0 -1
- package/template/node_modules/@sentio/sdk/package.json +0 -78
- package/template/node_modules/@sentio/sdk/src/abis/ERC20.json +0 -174
- package/template/node_modules/@sentio/sdk/src/abis/ERC20Bytes.json +0 -236
- package/template/node_modules/@sentio/sdk/src/abis/WETH9.json +0 -153
- package/template/node_modules/@sentio/sdk/src/base-processor-template.ts +0 -105
- package/template/node_modules/@sentio/sdk/src/base-processor.ts +0 -172
- package/template/node_modules/@sentio/sdk/src/bind-options.ts +0 -41
- package/template/node_modules/@sentio/sdk/src/binds.ts +0 -73
- package/template/node_modules/@sentio/sdk/src/builtin/erc20/index.ts +0 -6
- package/template/node_modules/@sentio/sdk/src/builtin/erc20/test-utils.ts +0 -71
- package/template/node_modules/@sentio/sdk/src/builtin/erc20bytes/index.ts +0 -6
- package/template/node_modules/@sentio/sdk/src/builtin/erc20bytes/test-utils.ts +0 -53
- package/template/node_modules/@sentio/sdk/src/builtin/internal/ERC20.ts +0 -679
- package/template/node_modules/@sentio/sdk/src/builtin/internal/ERC20Bytes.ts +0 -384
- package/template/node_modules/@sentio/sdk/src/builtin/internal/WETH9.ts +0 -480
- package/template/node_modules/@sentio/sdk/src/builtin/internal/common.ts +0 -46
- package/template/node_modules/@sentio/sdk/src/builtin/internal/erc20_processor.ts +0 -762
- package/template/node_modules/@sentio/sdk/src/builtin/internal/erc20bytes_processor.ts +0 -531
- package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/ERC20Bytes__factory.ts +0 -257
- package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/ERC20__factory.ts +0 -404
- package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/WETH9__factory.ts +0 -297
- package/template/node_modules/@sentio/sdk/src/builtin/internal/factories/index.ts +0 -6
- package/template/node_modules/@sentio/sdk/src/builtin/internal/index.ts +0 -10
- package/template/node_modules/@sentio/sdk/src/builtin/internal/weth9_processor.ts +0 -589
- package/template/node_modules/@sentio/sdk/src/builtin/weth9/index.ts +0 -6
- package/template/node_modules/@sentio/sdk/src/builtin/weth9/test-utils.ts +0 -89
- package/template/node_modules/@sentio/sdk/src/chain-config.ts +0 -6
- package/template/node_modules/@sentio/sdk/src/cli/build.ts +0 -196
- package/template/node_modules/@sentio/sdk/src/cli/cli.ts +0 -160
- package/template/node_modules/@sentio/sdk/src/cli/commands/run-create.ts +0 -36
- package/template/node_modules/@sentio/sdk/src/cli/commands/run-login.ts +0 -70
- package/template/node_modules/@sentio/sdk/src/cli/config.ts +0 -45
- package/template/node_modules/@sentio/sdk/src/cli/key.ts +0 -43
- package/template/node_modules/@sentio/sdk/src/cli/solana-code-gen.ts +0 -16
- package/template/node_modules/@sentio/sdk/src/cli/upload.ts +0 -88
- package/template/node_modules/@sentio/sdk/src/cli/webpack.config.js +0 -42
- package/template/node_modules/@sentio/sdk/src/context.ts +0 -103
- package/template/node_modules/@sentio/sdk/src/contract-namer.ts +0 -17
- package/template/node_modules/@sentio/sdk/src/error.ts +0 -45
- package/template/node_modules/@sentio/sdk/src/gen/builtin.ts +0 -22
- package/template/node_modules/@sentio/sdk/src/gen/google/protobuf/empty.ts +0 -70
- package/template/node_modules/@sentio/sdk/src/gen/processor/protos/processor.ts +0 -3626
- package/template/node_modules/@sentio/sdk/src/generic-processor.ts +0 -35
- package/template/node_modules/@sentio/sdk/src/index.ts +0 -21
- package/template/node_modules/@sentio/sdk/src/loader.ts +0 -24
- package/template/node_modules/@sentio/sdk/src/meter.test.ts +0 -16
- package/template/node_modules/@sentio/sdk/src/meter.ts +0 -140
- package/template/node_modules/@sentio/sdk/src/numberish.test.ts +0 -82
- package/template/node_modules/@sentio/sdk/src/numberish.ts +0 -100
- package/template/node_modules/@sentio/sdk/src/processor-runner.ts +0 -46
- package/template/node_modules/@sentio/sdk/src/processor-state.ts +0 -24
- package/template/node_modules/@sentio/sdk/src/promise-or-void.ts +0 -1
- package/template/node_modules/@sentio/sdk/src/provider.ts +0 -74
- package/template/node_modules/@sentio/sdk/src/service.ts +0 -491
- package/template/node_modules/@sentio/sdk/src/solana/builtin/index.ts +0 -2
- package/template/node_modules/@sentio/sdk/src/solana/builtin/spl-token-processor.ts +0 -164
- package/template/node_modules/@sentio/sdk/src/solana/builtin/types.ts +0 -268
- package/template/node_modules/@sentio/sdk/src/solana/builtin/wormhole-processor.ts +0 -178
- package/template/node_modules/@sentio/sdk/src/solana-processor.ts +0 -106
- package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/codegen.ts +0 -315
- package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/functions.ts +0 -68
- package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/index.ts +0 -50
- package/template/node_modules/@sentio/sdk/src/target-ethers-sentio/tsconfig.json +0 -9
- package/template/node_modules/@sentio/sdk/src/test/abis/evm/CommitmentPool.json +0 -1034
- package/template/node_modules/@sentio/sdk/src/test/abis/evm/anyswapRouter.json +0 -490
- package/template/node_modules/@sentio/sdk/src/test/abis/solana/mirrorworld.json +0 -1392
- package/template/node_modules/@sentio/sdk/src/test/codegen.test.ts +0 -29
- package/template/node_modules/@sentio/sdk/src/test/erc20-template.test.ts +0 -37
- package/template/node_modules/@sentio/sdk/src/test/erc20-template.ts +0 -25
- package/template/node_modules/@sentio/sdk/src/test/erc20.test.ts +0 -117
- package/template/node_modules/@sentio/sdk/src/test/erc20.ts +0 -50
- package/template/node_modules/@sentio/sdk/src/test/generic-processor.test.ts +0 -70
- package/template/node_modules/@sentio/sdk/src/test/index.ts +0 -2
- package/template/node_modules/@sentio/sdk/src/test/metric-utils.ts +0 -49
- package/template/node_modules/@sentio/sdk/src/test/mirrorworld.ts +0 -40
- package/template/node_modules/@sentio/sdk/src/test/sentio.yaml +0 -4
- package/template/node_modules/@sentio/sdk/src/test/solana.test.ts +0 -93
- package/template/node_modules/@sentio/sdk/src/test/test-processor-server.ts +0 -258
- package/template/node_modules/@sentio/sdk/src/test/test-provider.ts +0 -25
- package/template/node_modules/@sentio/sdk/src/test/types/game_wallet.ts +0 -1392
- package/template/node_modules/@sentio/sdk/src/test/types/game_wallet_processor.ts +0 -113
- package/template/node_modules/@sentio/sdk/src/test/wormhole-token-bridge.ts +0 -21
- package/template/node_modules/@sentio/sdk/src/trace.ts +0 -86
- package/template/node_modules/@sentio/sdk/src/types/global.d.ts +0 -17
- package/template/node_modules/@sentio/sdk/src/utils/chainmap.ts +0 -95
- package/template/node_modules/@sentio/sdk/src/utils/convert.ts +0 -26
- package/template/node_modules/@sentio/sdk/src/utils/erc20.test.ts +0 -26
- package/template/node_modules/@sentio/sdk/src/utils/erc20.ts +0 -66
- package/template/node_modules/@sentio/sdk/src/utils/index.ts +0 -3
- package/template/node_modules/base-x/LICENSE.md +0 -22
- package/template/node_modules/base-x/README.md +0 -73
- package/template/node_modules/base-x/package.json +0 -46
- package/template/node_modules/base-x/src/index.d.ts +0 -9
- package/template/node_modules/base-x/src/index.js +0 -121
- package/template/node_modules/bs58/CHANGELOG.md +0 -65
- package/template/node_modules/bs58/LICENSE +0 -21
- package/template/node_modules/bs58/README.md +0 -91
- package/template/node_modules/bs58/index.d.ts +0 -5
- package/template/node_modules/bs58/index.js +0 -4
- package/template/node_modules/bs58/package.json +0 -39
- package/template/src/types/internal/X2y2.ts +0 -684
- package/template/src/types/internal/common.ts +0 -46
- package/template/src/types/internal/factories/X2y2__factory.ts +0 -436
- package/template/src/types/internal/factories/index.ts +0 -4
- package/template/src/types/internal/index.ts +0 -6
- package/template/src/types/internal/x2y2_processor.ts +0 -1004
- package/template/src/types/x2y2/index.ts +0 -6
- package/template/src/types/x2y2/test-utils.ts +0 -89
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.WETH9__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
constant: true,
|
|
11
|
-
inputs: [],
|
|
12
|
-
name: "name",
|
|
13
|
-
outputs: [
|
|
14
|
-
{
|
|
15
|
-
name: "",
|
|
16
|
-
type: "string",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
payable: false,
|
|
20
|
-
stateMutability: "view",
|
|
21
|
-
type: "function",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
constant: false,
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
name: "guy",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: "wad",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
name: "approve",
|
|
36
|
-
outputs: [
|
|
37
|
-
{
|
|
38
|
-
name: "",
|
|
39
|
-
type: "bool",
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
payable: false,
|
|
43
|
-
stateMutability: "nonpayable",
|
|
44
|
-
type: "function",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
constant: true,
|
|
48
|
-
inputs: [],
|
|
49
|
-
name: "totalSupply",
|
|
50
|
-
outputs: [
|
|
51
|
-
{
|
|
52
|
-
name: "",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
payable: false,
|
|
57
|
-
stateMutability: "view",
|
|
58
|
-
type: "function",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
constant: false,
|
|
62
|
-
inputs: [
|
|
63
|
-
{
|
|
64
|
-
name: "src",
|
|
65
|
-
type: "address",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
name: "dst",
|
|
69
|
-
type: "address",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: "wad",
|
|
73
|
-
type: "uint256",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
name: "transferFrom",
|
|
77
|
-
outputs: [
|
|
78
|
-
{
|
|
79
|
-
name: "",
|
|
80
|
-
type: "bool",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
payable: false,
|
|
84
|
-
stateMutability: "nonpayable",
|
|
85
|
-
type: "function",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
constant: false,
|
|
89
|
-
inputs: [
|
|
90
|
-
{
|
|
91
|
-
name: "wad",
|
|
92
|
-
type: "uint256",
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
name: "withdraw",
|
|
96
|
-
outputs: [],
|
|
97
|
-
payable: false,
|
|
98
|
-
stateMutability: "nonpayable",
|
|
99
|
-
type: "function",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
constant: true,
|
|
103
|
-
inputs: [],
|
|
104
|
-
name: "decimals",
|
|
105
|
-
outputs: [
|
|
106
|
-
{
|
|
107
|
-
name: "",
|
|
108
|
-
type: "uint8",
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
payable: false,
|
|
112
|
-
stateMutability: "view",
|
|
113
|
-
type: "function",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
constant: true,
|
|
117
|
-
inputs: [
|
|
118
|
-
{
|
|
119
|
-
name: "",
|
|
120
|
-
type: "address",
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
name: "balanceOf",
|
|
124
|
-
outputs: [
|
|
125
|
-
{
|
|
126
|
-
name: "",
|
|
127
|
-
type: "uint256",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
payable: false,
|
|
131
|
-
stateMutability: "view",
|
|
132
|
-
type: "function",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
constant: true,
|
|
136
|
-
inputs: [],
|
|
137
|
-
name: "symbol",
|
|
138
|
-
outputs: [
|
|
139
|
-
{
|
|
140
|
-
name: "",
|
|
141
|
-
type: "string",
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
payable: false,
|
|
145
|
-
stateMutability: "view",
|
|
146
|
-
type: "function",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
constant: false,
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
name: "dst",
|
|
153
|
-
type: "address",
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
name: "wad",
|
|
157
|
-
type: "uint256",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
name: "transfer",
|
|
161
|
-
outputs: [
|
|
162
|
-
{
|
|
163
|
-
name: "",
|
|
164
|
-
type: "bool",
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
payable: false,
|
|
168
|
-
stateMutability: "nonpayable",
|
|
169
|
-
type: "function",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
constant: false,
|
|
173
|
-
inputs: [],
|
|
174
|
-
name: "deposit",
|
|
175
|
-
outputs: [],
|
|
176
|
-
payable: true,
|
|
177
|
-
stateMutability: "payable",
|
|
178
|
-
type: "function",
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
constant: true,
|
|
182
|
-
inputs: [
|
|
183
|
-
{
|
|
184
|
-
name: "",
|
|
185
|
-
type: "address",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: "",
|
|
189
|
-
type: "address",
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
name: "allowance",
|
|
193
|
-
outputs: [
|
|
194
|
-
{
|
|
195
|
-
name: "",
|
|
196
|
-
type: "uint256",
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
payable: false,
|
|
200
|
-
stateMutability: "view",
|
|
201
|
-
type: "function",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
payable: true,
|
|
205
|
-
stateMutability: "payable",
|
|
206
|
-
type: "fallback",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
anonymous: false,
|
|
210
|
-
inputs: [
|
|
211
|
-
{
|
|
212
|
-
indexed: true,
|
|
213
|
-
name: "src",
|
|
214
|
-
type: "address",
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
indexed: true,
|
|
218
|
-
name: "guy",
|
|
219
|
-
type: "address",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
indexed: false,
|
|
223
|
-
name: "wad",
|
|
224
|
-
type: "uint256",
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
name: "Approval",
|
|
228
|
-
type: "event",
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
anonymous: false,
|
|
232
|
-
inputs: [
|
|
233
|
-
{
|
|
234
|
-
indexed: true,
|
|
235
|
-
name: "src",
|
|
236
|
-
type: "address",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
indexed: true,
|
|
240
|
-
name: "dst",
|
|
241
|
-
type: "address",
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
indexed: false,
|
|
245
|
-
name: "wad",
|
|
246
|
-
type: "uint256",
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
name: "Transfer",
|
|
250
|
-
type: "event",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
anonymous: false,
|
|
254
|
-
inputs: [
|
|
255
|
-
{
|
|
256
|
-
indexed: true,
|
|
257
|
-
name: "dst",
|
|
258
|
-
type: "address",
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
indexed: false,
|
|
262
|
-
name: "wad",
|
|
263
|
-
type: "uint256",
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
name: "Deposit",
|
|
267
|
-
type: "event",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
anonymous: false,
|
|
271
|
-
inputs: [
|
|
272
|
-
{
|
|
273
|
-
indexed: true,
|
|
274
|
-
name: "src",
|
|
275
|
-
type: "address",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
indexed: false,
|
|
279
|
-
name: "wad",
|
|
280
|
-
type: "uint256",
|
|
281
|
-
},
|
|
282
|
-
],
|
|
283
|
-
name: "Withdrawal",
|
|
284
|
-
type: "event",
|
|
285
|
-
},
|
|
286
|
-
];
|
|
287
|
-
class WETH9__factory {
|
|
288
|
-
static abi = _abi;
|
|
289
|
-
static createInterface() {
|
|
290
|
-
return new ethers_1.utils.Interface(_abi);
|
|
291
|
-
}
|
|
292
|
-
static connect(address, signerOrProvider) {
|
|
293
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
exports.WETH9__factory = WETH9__factory;
|
|
297
|
-
//# sourceMappingURL=WETH9__factory.js.map
|
package/template/node_modules/@sentio/sdk/lib/builtin/internal/factories/WETH9__factory.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WETH9__factory.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/WETH9__factory.ts"],"names":[],"mappings":"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","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\n\nimport { Contract, Signer, utils } from \"ethers\";\nimport type { Provider } from \"@ethersproject/providers\";\nimport type { WETH9, WETH9Interface } from \"../WETH9\";\n\nconst _abi = [\n {\n constant: true,\n inputs: [],\n name: \"name\",\n outputs: [\n {\n name: \"\",\n type: \"string\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"guy\",\n type: \"address\",\n },\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"approve\",\n outputs: [\n {\n name: \"\",\n type: \"bool\",\n },\n ],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [],\n name: \"totalSupply\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"src\",\n type: \"address\",\n },\n {\n name: \"dst\",\n type: \"address\",\n },\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"transferFrom\",\n outputs: [\n {\n name: \"\",\n type: \"bool\",\n },\n ],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"withdraw\",\n outputs: [],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [],\n name: \"decimals\",\n outputs: [\n {\n name: \"\",\n type: \"uint8\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [\n {\n name: \"\",\n type: \"address\",\n },\n ],\n name: \"balanceOf\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [],\n name: \"symbol\",\n outputs: [\n {\n name: \"\",\n type: \"string\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [\n {\n name: \"dst\",\n type: \"address\",\n },\n {\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"transfer\",\n outputs: [\n {\n name: \"\",\n type: \"bool\",\n },\n ],\n payable: false,\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n constant: false,\n inputs: [],\n name: \"deposit\",\n outputs: [],\n payable: true,\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n constant: true,\n inputs: [\n {\n name: \"\",\n type: \"address\",\n },\n {\n name: \"\",\n type: \"address\",\n },\n ],\n name: \"allowance\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\",\n },\n ],\n payable: false,\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n payable: true,\n stateMutability: \"payable\",\n type: \"fallback\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"src\",\n type: \"address\",\n },\n {\n indexed: true,\n name: \"guy\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Approval\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"src\",\n type: \"address\",\n },\n {\n indexed: true,\n name: \"dst\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Transfer\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"dst\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Deposit\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"src\",\n type: \"address\",\n },\n {\n indexed: false,\n name: \"wad\",\n type: \"uint256\",\n },\n ],\n name: \"Withdrawal\",\n type: \"event\",\n },\n];\n\nexport class WETH9__factory {\n static readonly abi = _abi;\n static createInterface(): WETH9Interface {\n return new utils.Interface(_abi) as WETH9Interface;\n }\n static connect(address: string, signerOrProvider: Signer | Provider): WETH9 {\n return new Contract(address, _abi, signerOrProvider) as WETH9;\n }\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = void 0;
|
|
4
|
-
/* Autogenerated file. Do not edit manually. */
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
var ERC20__factory_1 = require("./ERC20__factory");
|
|
8
|
-
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
9
|
-
var ERC20Bytes__factory_1 = require("./ERC20Bytes__factory");
|
|
10
|
-
Object.defineProperty(exports, "ERC20Bytes__factory", { enumerable: true, get: function () { return ERC20Bytes__factory_1.ERC20Bytes__factory; } });
|
|
11
|
-
var WETH9__factory_1 = require("./WETH9__factory");
|
|
12
|
-
Object.defineProperty(exports, "WETH9__factory", { enumerable: true, get: function () { return WETH9__factory_1.WETH9__factory; } });
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport { ERC20__factory } from \"./ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./WETH9__factory\";\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type { ERC20 } from "./ERC20";
|
|
2
|
-
export type { ERC20Bytes } from "./ERC20Bytes";
|
|
3
|
-
export type { WETH9 } from "./WETH9";
|
|
4
|
-
export * as factories from "./factories";
|
|
5
|
-
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
6
|
-
export { ERC20Bytes__factory } from "./factories/ERC20Bytes__factory";
|
|
7
|
-
export { WETH9__factory } from "./factories/WETH9__factory";
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = exports.factories = void 0;
|
|
27
|
-
exports.factories = __importStar(require("./factories"));
|
|
28
|
-
var ERC20__factory_1 = require("./factories/ERC20__factory");
|
|
29
|
-
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
30
|
-
var ERC20Bytes__factory_1 = require("./factories/ERC20Bytes__factory");
|
|
31
|
-
Object.defineProperty(exports, "ERC20Bytes__factory", { enumerable: true, get: function () { return ERC20Bytes__factory_1.ERC20Bytes__factory; } });
|
|
32
|
-
var WETH9__factory_1 = require("./factories/WETH9__factory");
|
|
33
|
-
Object.defineProperty(exports, "WETH9__factory", { enumerable: true, get: function () { return WETH9__factory_1.WETH9__factory; } });
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/builtin/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,yDAAyC;AACzC,6DAA4D;AAAnD,gHAAA,cAAc,OAAA;AACvB,uEAAsE;AAA7D,0HAAA,mBAAmB,OAAA;AAC5B,6DAA4D;AAAnD,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport type { ERC20 } from \"./ERC20\";\nexport type { ERC20Bytes } from \"./ERC20Bytes\";\nexport type { WETH9 } from \"./WETH9\";\nexport * as factories from \"./factories\";\nexport { ERC20__factory } from \"./factories/ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./factories/ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./factories/WETH9__factory\";\n"]}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { BigNumber, CallOverrides } from "ethers";
|
|
2
|
-
import { Networkish } from "@ethersproject/providers";
|
|
3
|
-
import { BindOptions, BaseProcessor, BaseProcessorTemplate, BoundContractView, Context, ContractView, TypedCallTrace } from "@sentio/sdk";
|
|
4
|
-
import { PromiseOrValue } from "./common";
|
|
5
|
-
import { WETH9 } from "./index";
|
|
6
|
-
import { ApprovalEvent, ApprovalEventFilter, TransferEvent, TransferEventFilter, DepositEvent, DepositEventFilter, WithdrawalEvent, WithdrawalEventFilter } from "./WETH9";
|
|
7
|
-
export interface NameCallObject {
|
|
8
|
-
}
|
|
9
|
-
export declare type NameCallTrace = TypedCallTrace<[], NameCallObject>;
|
|
10
|
-
export interface ApproveCallObject {
|
|
11
|
-
guy: string;
|
|
12
|
-
wad: BigNumber;
|
|
13
|
-
}
|
|
14
|
-
export declare type ApproveCallTrace = TypedCallTrace<[
|
|
15
|
-
string,
|
|
16
|
-
BigNumber
|
|
17
|
-
], ApproveCallObject>;
|
|
18
|
-
export interface TotalSupplyCallObject {
|
|
19
|
-
}
|
|
20
|
-
export declare type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject>;
|
|
21
|
-
export interface TransferFromCallObject {
|
|
22
|
-
src: string;
|
|
23
|
-
dst: string;
|
|
24
|
-
wad: BigNumber;
|
|
25
|
-
}
|
|
26
|
-
export declare type TransferFromCallTrace = TypedCallTrace<[
|
|
27
|
-
string,
|
|
28
|
-
string,
|
|
29
|
-
BigNumber
|
|
30
|
-
], TransferFromCallObject>;
|
|
31
|
-
export interface WithdrawCallObject {
|
|
32
|
-
wad: BigNumber;
|
|
33
|
-
}
|
|
34
|
-
export declare type WithdrawCallTrace = TypedCallTrace<[BigNumber], WithdrawCallObject>;
|
|
35
|
-
export interface DecimalsCallObject {
|
|
36
|
-
}
|
|
37
|
-
export declare type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject>;
|
|
38
|
-
export interface BalanceOfCallObject {
|
|
39
|
-
}
|
|
40
|
-
export declare type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject>;
|
|
41
|
-
export interface SymbolCallObject {
|
|
42
|
-
}
|
|
43
|
-
export declare type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject>;
|
|
44
|
-
export interface TransferCallObject {
|
|
45
|
-
dst: string;
|
|
46
|
-
wad: BigNumber;
|
|
47
|
-
}
|
|
48
|
-
export declare type TransferCallTrace = TypedCallTrace<[
|
|
49
|
-
string,
|
|
50
|
-
BigNumber
|
|
51
|
-
], TransferCallObject>;
|
|
52
|
-
export interface DepositCallObject {
|
|
53
|
-
}
|
|
54
|
-
export declare type DepositCallTrace = TypedCallTrace<[], DepositCallObject>;
|
|
55
|
-
export interface AllowanceCallObject {
|
|
56
|
-
}
|
|
57
|
-
export declare type AllowanceCallTrace = TypedCallTrace<[
|
|
58
|
-
string,
|
|
59
|
-
string
|
|
60
|
-
], AllowanceCallObject>;
|
|
61
|
-
export declare class WETH9ContractView extends ContractView<WETH9> {
|
|
62
|
-
constructor(contract: WETH9);
|
|
63
|
-
name(overrides?: CallOverrides): Promise<string>;
|
|
64
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
65
|
-
decimals(overrides?: CallOverrides): Promise<number>;
|
|
66
|
-
balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
67
|
-
symbol(overrides?: CallOverrides): Promise<string>;
|
|
68
|
-
allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
69
|
-
}
|
|
70
|
-
export declare class WETH9BoundContractView extends BoundContractView<WETH9, WETH9ContractView> {
|
|
71
|
-
name(overrides?: CallOverrides): Promise<string>;
|
|
72
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
73
|
-
decimals(overrides?: CallOverrides): Promise<number>;
|
|
74
|
-
balanceOf(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
75
|
-
symbol(overrides?: CallOverrides): Promise<string>;
|
|
76
|
-
allowance(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
77
|
-
}
|
|
78
|
-
export declare type WETH9Context = Context<WETH9, WETH9BoundContractView>;
|
|
79
|
-
export declare class WETH9ProcessorTemplate extends BaseProcessorTemplate<WETH9, WETH9BoundContractView> {
|
|
80
|
-
bindInternal(options: BindOptions): WETH9Processor;
|
|
81
|
-
onEventApproval(handler: (event: ApprovalEvent, ctx: WETH9Context) => void, filter?: ApprovalEventFilter | ApprovalEventFilter[]): this;
|
|
82
|
-
onEventTransfer(handler: (event: TransferEvent, ctx: WETH9Context) => void, filter?: TransferEventFilter | TransferEventFilter[]): this;
|
|
83
|
-
onEventDeposit(handler: (event: DepositEvent, ctx: WETH9Context) => void, filter?: DepositEventFilter | DepositEventFilter[]): this;
|
|
84
|
-
onEventWithdrawal(handler: (event: WithdrawalEvent, ctx: WETH9Context) => void, filter?: WithdrawalEventFilter | WithdrawalEventFilter[]): this;
|
|
85
|
-
onCallName(handler: (call: NameCallTrace, ctx: WETH9Context) => void): this;
|
|
86
|
-
onCallApprove(handler: (call: ApproveCallTrace, ctx: WETH9Context) => void): this;
|
|
87
|
-
onCallTotalSupply(handler: (call: TotalSupplyCallTrace, ctx: WETH9Context) => void): this;
|
|
88
|
-
onCallTransferFrom(handler: (call: TransferFromCallTrace, ctx: WETH9Context) => void): this;
|
|
89
|
-
onCallWithdraw(handler: (call: WithdrawCallTrace, ctx: WETH9Context) => void): this;
|
|
90
|
-
onCallDecimals(handler: (call: DecimalsCallTrace, ctx: WETH9Context) => void): this;
|
|
91
|
-
onCallBalanceOf(handler: (call: BalanceOfCallTrace, ctx: WETH9Context) => void): this;
|
|
92
|
-
onCallSymbol(handler: (call: SymbolCallTrace, ctx: WETH9Context) => void): this;
|
|
93
|
-
onCallTransfer(handler: (call: TransferCallTrace, ctx: WETH9Context) => void): this;
|
|
94
|
-
onCallDeposit(handler: (call: DepositCallTrace, ctx: WETH9Context) => void): this;
|
|
95
|
-
onCallAllowance(handler: (call: AllowanceCallTrace, ctx: WETH9Context) => void): this;
|
|
96
|
-
}
|
|
97
|
-
export declare class WETH9Processor extends BaseProcessor<WETH9, WETH9BoundContractView> {
|
|
98
|
-
onEventApproval(handler: (event: ApprovalEvent, ctx: WETH9Context) => void, filter?: ApprovalEventFilter | ApprovalEventFilter[]): this;
|
|
99
|
-
onEventTransfer(handler: (event: TransferEvent, ctx: WETH9Context) => void, filter?: TransferEventFilter | TransferEventFilter[]): this;
|
|
100
|
-
onEventDeposit(handler: (event: DepositEvent, ctx: WETH9Context) => void, filter?: DepositEventFilter | DepositEventFilter[]): this;
|
|
101
|
-
onEventWithdrawal(handler: (event: WithdrawalEvent, ctx: WETH9Context) => void, filter?: WithdrawalEventFilter | WithdrawalEventFilter[]): this;
|
|
102
|
-
onCallName(handler: (call: NameCallTrace, ctx: WETH9Context) => void): this;
|
|
103
|
-
onCallApprove(handler: (call: ApproveCallTrace, ctx: WETH9Context) => void): this;
|
|
104
|
-
onCallTotalSupply(handler: (call: TotalSupplyCallTrace, ctx: WETH9Context) => void): this;
|
|
105
|
-
onCallTransferFrom(handler: (call: TransferFromCallTrace, ctx: WETH9Context) => void): this;
|
|
106
|
-
onCallWithdraw(handler: (call: WithdrawCallTrace, ctx: WETH9Context) => void): this;
|
|
107
|
-
onCallDecimals(handler: (call: DecimalsCallTrace, ctx: WETH9Context) => void): this;
|
|
108
|
-
onCallBalanceOf(handler: (call: BalanceOfCallTrace, ctx: WETH9Context) => void): this;
|
|
109
|
-
onCallSymbol(handler: (call: SymbolCallTrace, ctx: WETH9Context) => void): this;
|
|
110
|
-
onCallTransfer(handler: (call: TransferCallTrace, ctx: WETH9Context) => void): this;
|
|
111
|
-
onCallDeposit(handler: (call: DepositCallTrace, ctx: WETH9Context) => void): this;
|
|
112
|
-
onCallAllowance(handler: (call: AllowanceCallTrace, ctx: WETH9Context) => void): this;
|
|
113
|
-
static filters: {
|
|
114
|
-
"Approval(address,address,uint256)"(src?: PromiseOrValue<string> | null | undefined, guy?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): ApprovalEventFilter;
|
|
115
|
-
Approval(src?: PromiseOrValue<string> | null | undefined, guy?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): ApprovalEventFilter;
|
|
116
|
-
"Transfer(address,address,uint256)"(src?: PromiseOrValue<string> | null | undefined, dst?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): TransferEventFilter;
|
|
117
|
-
Transfer(src?: PromiseOrValue<string> | null | undefined, dst?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): TransferEventFilter;
|
|
118
|
-
"Deposit(address,uint256)"(dst?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): DepositEventFilter;
|
|
119
|
-
Deposit(dst?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): DepositEventFilter;
|
|
120
|
-
"Withdrawal(address,uint256)"(src?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): WithdrawalEventFilter;
|
|
121
|
-
Withdrawal(src?: PromiseOrValue<string> | null | undefined, wad?: null | undefined): WithdrawalEventFilter;
|
|
122
|
-
};
|
|
123
|
-
protected CreateBoundContractView(): WETH9BoundContractView;
|
|
124
|
-
static bind(options: BindOptions): WETH9Processor;
|
|
125
|
-
}
|
|
126
|
-
export declare function getWETH9Contract(address: string, network?: Networkish): WETH9ContractView;
|