@sentio/sdk 1.13.0 → 1.13.2
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/test/index.d.ts +1 -0
- package/lib/test/index.js +5 -1
- package/lib/test/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/commands/run-create.ts +3 -0
- package/src/test/index.ts +1 -0
- 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,684 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
|
-
BigNumberish,
|
|
8
|
-
BytesLike,
|
|
9
|
-
CallOverrides,
|
|
10
|
-
ContractTransaction,
|
|
11
|
-
Overrides,
|
|
12
|
-
PopulatedTransaction,
|
|
13
|
-
Signer,
|
|
14
|
-
utils,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import type {
|
|
17
|
-
FunctionFragment,
|
|
18
|
-
Result,
|
|
19
|
-
EventFragment,
|
|
20
|
-
} from "@ethersproject/abi";
|
|
21
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
22
|
-
import type {
|
|
23
|
-
TypedEventFilter,
|
|
24
|
-
TypedEvent,
|
|
25
|
-
TypedListener,
|
|
26
|
-
OnEvent,
|
|
27
|
-
PromiseOrValue,
|
|
28
|
-
} from "./common";
|
|
29
|
-
|
|
30
|
-
export interface X2y2Interface extends utils.Interface {
|
|
31
|
-
functions: {
|
|
32
|
-
"NUMBER_PERIODS()": FunctionFragment;
|
|
33
|
-
"PRECISION_FACTOR()": FunctionFragment;
|
|
34
|
-
"START_BLOCK()": FunctionFragment;
|
|
35
|
-
"accTokenPerShare()": FunctionFragment;
|
|
36
|
-
"calculatePendingRewards(address)": FunctionFragment;
|
|
37
|
-
"currentPhase()": FunctionFragment;
|
|
38
|
-
"deposit(uint256)": FunctionFragment;
|
|
39
|
-
"endBlock()": FunctionFragment;
|
|
40
|
-
"harvestAndCompound()": FunctionFragment;
|
|
41
|
-
"lastRewardBlock()": FunctionFragment;
|
|
42
|
-
"rewardPerBlockForOthers()": FunctionFragment;
|
|
43
|
-
"rewardPerBlockForStaking()": FunctionFragment;
|
|
44
|
-
"stakingPeriod(uint256)": FunctionFragment;
|
|
45
|
-
"tokenSplitter()": FunctionFragment;
|
|
46
|
-
"totalAmountStaked()": FunctionFragment;
|
|
47
|
-
"updatePool()": FunctionFragment;
|
|
48
|
-
"userInfo(address)": FunctionFragment;
|
|
49
|
-
"withdraw(uint256)": FunctionFragment;
|
|
50
|
-
"withdrawAll()": FunctionFragment;
|
|
51
|
-
"x2y2Token()": FunctionFragment;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
getFunction(
|
|
55
|
-
nameOrSignatureOrTopic:
|
|
56
|
-
| "NUMBER_PERIODS"
|
|
57
|
-
| "PRECISION_FACTOR"
|
|
58
|
-
| "START_BLOCK"
|
|
59
|
-
| "accTokenPerShare"
|
|
60
|
-
| "calculatePendingRewards"
|
|
61
|
-
| "currentPhase"
|
|
62
|
-
| "deposit"
|
|
63
|
-
| "endBlock"
|
|
64
|
-
| "harvestAndCompound"
|
|
65
|
-
| "lastRewardBlock"
|
|
66
|
-
| "rewardPerBlockForOthers"
|
|
67
|
-
| "rewardPerBlockForStaking"
|
|
68
|
-
| "stakingPeriod"
|
|
69
|
-
| "tokenSplitter"
|
|
70
|
-
| "totalAmountStaked"
|
|
71
|
-
| "updatePool"
|
|
72
|
-
| "userInfo"
|
|
73
|
-
| "withdraw"
|
|
74
|
-
| "withdrawAll"
|
|
75
|
-
| "x2y2Token"
|
|
76
|
-
): FunctionFragment;
|
|
77
|
-
|
|
78
|
-
encodeFunctionData(
|
|
79
|
-
functionFragment: "NUMBER_PERIODS",
|
|
80
|
-
values?: undefined
|
|
81
|
-
): string;
|
|
82
|
-
encodeFunctionData(
|
|
83
|
-
functionFragment: "PRECISION_FACTOR",
|
|
84
|
-
values?: undefined
|
|
85
|
-
): string;
|
|
86
|
-
encodeFunctionData(
|
|
87
|
-
functionFragment: "START_BLOCK",
|
|
88
|
-
values?: undefined
|
|
89
|
-
): string;
|
|
90
|
-
encodeFunctionData(
|
|
91
|
-
functionFragment: "accTokenPerShare",
|
|
92
|
-
values?: undefined
|
|
93
|
-
): string;
|
|
94
|
-
encodeFunctionData(
|
|
95
|
-
functionFragment: "calculatePendingRewards",
|
|
96
|
-
values: [PromiseOrValue<string>]
|
|
97
|
-
): string;
|
|
98
|
-
encodeFunctionData(
|
|
99
|
-
functionFragment: "currentPhase",
|
|
100
|
-
values?: undefined
|
|
101
|
-
): string;
|
|
102
|
-
encodeFunctionData(
|
|
103
|
-
functionFragment: "deposit",
|
|
104
|
-
values: [PromiseOrValue<BigNumberish>]
|
|
105
|
-
): string;
|
|
106
|
-
encodeFunctionData(functionFragment: "endBlock", values?: undefined): string;
|
|
107
|
-
encodeFunctionData(
|
|
108
|
-
functionFragment: "harvestAndCompound",
|
|
109
|
-
values?: undefined
|
|
110
|
-
): string;
|
|
111
|
-
encodeFunctionData(
|
|
112
|
-
functionFragment: "lastRewardBlock",
|
|
113
|
-
values?: undefined
|
|
114
|
-
): string;
|
|
115
|
-
encodeFunctionData(
|
|
116
|
-
functionFragment: "rewardPerBlockForOthers",
|
|
117
|
-
values?: undefined
|
|
118
|
-
): string;
|
|
119
|
-
encodeFunctionData(
|
|
120
|
-
functionFragment: "rewardPerBlockForStaking",
|
|
121
|
-
values?: undefined
|
|
122
|
-
): string;
|
|
123
|
-
encodeFunctionData(
|
|
124
|
-
functionFragment: "stakingPeriod",
|
|
125
|
-
values: [PromiseOrValue<BigNumberish>]
|
|
126
|
-
): string;
|
|
127
|
-
encodeFunctionData(
|
|
128
|
-
functionFragment: "tokenSplitter",
|
|
129
|
-
values?: undefined
|
|
130
|
-
): string;
|
|
131
|
-
encodeFunctionData(
|
|
132
|
-
functionFragment: "totalAmountStaked",
|
|
133
|
-
values?: undefined
|
|
134
|
-
): string;
|
|
135
|
-
encodeFunctionData(
|
|
136
|
-
functionFragment: "updatePool",
|
|
137
|
-
values?: undefined
|
|
138
|
-
): string;
|
|
139
|
-
encodeFunctionData(
|
|
140
|
-
functionFragment: "userInfo",
|
|
141
|
-
values: [PromiseOrValue<string>]
|
|
142
|
-
): string;
|
|
143
|
-
encodeFunctionData(
|
|
144
|
-
functionFragment: "withdraw",
|
|
145
|
-
values: [PromiseOrValue<BigNumberish>]
|
|
146
|
-
): string;
|
|
147
|
-
encodeFunctionData(
|
|
148
|
-
functionFragment: "withdrawAll",
|
|
149
|
-
values?: undefined
|
|
150
|
-
): string;
|
|
151
|
-
encodeFunctionData(functionFragment: "x2y2Token", values?: undefined): string;
|
|
152
|
-
|
|
153
|
-
decodeFunctionResult(
|
|
154
|
-
functionFragment: "NUMBER_PERIODS",
|
|
155
|
-
data: BytesLike
|
|
156
|
-
): Result;
|
|
157
|
-
decodeFunctionResult(
|
|
158
|
-
functionFragment: "PRECISION_FACTOR",
|
|
159
|
-
data: BytesLike
|
|
160
|
-
): Result;
|
|
161
|
-
decodeFunctionResult(
|
|
162
|
-
functionFragment: "START_BLOCK",
|
|
163
|
-
data: BytesLike
|
|
164
|
-
): Result;
|
|
165
|
-
decodeFunctionResult(
|
|
166
|
-
functionFragment: "accTokenPerShare",
|
|
167
|
-
data: BytesLike
|
|
168
|
-
): Result;
|
|
169
|
-
decodeFunctionResult(
|
|
170
|
-
functionFragment: "calculatePendingRewards",
|
|
171
|
-
data: BytesLike
|
|
172
|
-
): Result;
|
|
173
|
-
decodeFunctionResult(
|
|
174
|
-
functionFragment: "currentPhase",
|
|
175
|
-
data: BytesLike
|
|
176
|
-
): Result;
|
|
177
|
-
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
178
|
-
decodeFunctionResult(functionFragment: "endBlock", data: BytesLike): Result;
|
|
179
|
-
decodeFunctionResult(
|
|
180
|
-
functionFragment: "harvestAndCompound",
|
|
181
|
-
data: BytesLike
|
|
182
|
-
): Result;
|
|
183
|
-
decodeFunctionResult(
|
|
184
|
-
functionFragment: "lastRewardBlock",
|
|
185
|
-
data: BytesLike
|
|
186
|
-
): Result;
|
|
187
|
-
decodeFunctionResult(
|
|
188
|
-
functionFragment: "rewardPerBlockForOthers",
|
|
189
|
-
data: BytesLike
|
|
190
|
-
): Result;
|
|
191
|
-
decodeFunctionResult(
|
|
192
|
-
functionFragment: "rewardPerBlockForStaking",
|
|
193
|
-
data: BytesLike
|
|
194
|
-
): Result;
|
|
195
|
-
decodeFunctionResult(
|
|
196
|
-
functionFragment: "stakingPeriod",
|
|
197
|
-
data: BytesLike
|
|
198
|
-
): Result;
|
|
199
|
-
decodeFunctionResult(
|
|
200
|
-
functionFragment: "tokenSplitter",
|
|
201
|
-
data: BytesLike
|
|
202
|
-
): Result;
|
|
203
|
-
decodeFunctionResult(
|
|
204
|
-
functionFragment: "totalAmountStaked",
|
|
205
|
-
data: BytesLike
|
|
206
|
-
): Result;
|
|
207
|
-
decodeFunctionResult(functionFragment: "updatePool", data: BytesLike): Result;
|
|
208
|
-
decodeFunctionResult(functionFragment: "userInfo", data: BytesLike): Result;
|
|
209
|
-
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
210
|
-
decodeFunctionResult(
|
|
211
|
-
functionFragment: "withdrawAll",
|
|
212
|
-
data: BytesLike
|
|
213
|
-
): Result;
|
|
214
|
-
decodeFunctionResult(functionFragment: "x2y2Token", data: BytesLike): Result;
|
|
215
|
-
|
|
216
|
-
events: {
|
|
217
|
-
"Compound(address,uint256)": EventFragment;
|
|
218
|
-
"Deposit(address,uint256,uint256)": EventFragment;
|
|
219
|
-
"NewRewardsPerBlock(uint256,uint256,uint256,uint256)": EventFragment;
|
|
220
|
-
"Withdraw(address,uint256,uint256)": EventFragment;
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
getEvent(nameOrSignatureOrTopic: "Compound"): EventFragment;
|
|
224
|
-
getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment;
|
|
225
|
-
getEvent(nameOrSignatureOrTopic: "NewRewardsPerBlock"): EventFragment;
|
|
226
|
-
getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export interface CompoundEventObject {
|
|
230
|
-
user: string;
|
|
231
|
-
harvestedAmount: BigNumber;
|
|
232
|
-
}
|
|
233
|
-
export type CompoundEvent = TypedEvent<
|
|
234
|
-
[string, BigNumber],
|
|
235
|
-
CompoundEventObject
|
|
236
|
-
>;
|
|
237
|
-
|
|
238
|
-
export type CompoundEventFilter = TypedEventFilter<CompoundEvent>;
|
|
239
|
-
|
|
240
|
-
export interface DepositEventObject {
|
|
241
|
-
user: string;
|
|
242
|
-
amount: BigNumber;
|
|
243
|
-
harvestedAmount: BigNumber;
|
|
244
|
-
}
|
|
245
|
-
export type DepositEvent = TypedEvent<
|
|
246
|
-
[string, BigNumber, BigNumber],
|
|
247
|
-
DepositEventObject
|
|
248
|
-
>;
|
|
249
|
-
|
|
250
|
-
export type DepositEventFilter = TypedEventFilter<DepositEvent>;
|
|
251
|
-
|
|
252
|
-
export interface NewRewardsPerBlockEventObject {
|
|
253
|
-
currentPhase: BigNumber;
|
|
254
|
-
startBlock: BigNumber;
|
|
255
|
-
rewardPerBlockForStaking: BigNumber;
|
|
256
|
-
rewardPerBlockForOthers: BigNumber;
|
|
257
|
-
}
|
|
258
|
-
export type NewRewardsPerBlockEvent = TypedEvent<
|
|
259
|
-
[BigNumber, BigNumber, BigNumber, BigNumber],
|
|
260
|
-
NewRewardsPerBlockEventObject
|
|
261
|
-
>;
|
|
262
|
-
|
|
263
|
-
export type NewRewardsPerBlockEventFilter =
|
|
264
|
-
TypedEventFilter<NewRewardsPerBlockEvent>;
|
|
265
|
-
|
|
266
|
-
export interface WithdrawEventObject {
|
|
267
|
-
user: string;
|
|
268
|
-
amount: BigNumber;
|
|
269
|
-
harvestedAmount: BigNumber;
|
|
270
|
-
}
|
|
271
|
-
export type WithdrawEvent = TypedEvent<
|
|
272
|
-
[string, BigNumber, BigNumber],
|
|
273
|
-
WithdrawEventObject
|
|
274
|
-
>;
|
|
275
|
-
|
|
276
|
-
export type WithdrawEventFilter = TypedEventFilter<WithdrawEvent>;
|
|
277
|
-
|
|
278
|
-
export interface X2y2 extends BaseContract {
|
|
279
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
280
|
-
attach(addressOrName: string): this;
|
|
281
|
-
deployed(): Promise<this>;
|
|
282
|
-
|
|
283
|
-
interface: X2y2Interface;
|
|
284
|
-
|
|
285
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
286
|
-
event: TypedEventFilter<TEvent>,
|
|
287
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
288
|
-
toBlock?: string | number | undefined
|
|
289
|
-
): Promise<Array<TEvent>>;
|
|
290
|
-
|
|
291
|
-
listeners<TEvent extends TypedEvent>(
|
|
292
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
293
|
-
): Array<TypedListener<TEvent>>;
|
|
294
|
-
listeners(eventName?: string): Array<Listener>;
|
|
295
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
296
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
297
|
-
): this;
|
|
298
|
-
removeAllListeners(eventName?: string): this;
|
|
299
|
-
off: OnEvent<this>;
|
|
300
|
-
on: OnEvent<this>;
|
|
301
|
-
once: OnEvent<this>;
|
|
302
|
-
removeListener: OnEvent<this>;
|
|
303
|
-
|
|
304
|
-
functions: {
|
|
305
|
-
NUMBER_PERIODS(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
306
|
-
|
|
307
|
-
PRECISION_FACTOR(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
308
|
-
|
|
309
|
-
START_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
310
|
-
|
|
311
|
-
accTokenPerShare(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
312
|
-
|
|
313
|
-
calculatePendingRewards(
|
|
314
|
-
user: PromiseOrValue<string>,
|
|
315
|
-
overrides?: CallOverrides
|
|
316
|
-
): Promise<[BigNumber]>;
|
|
317
|
-
|
|
318
|
-
currentPhase(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
319
|
-
|
|
320
|
-
deposit(
|
|
321
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
322
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
323
|
-
): Promise<ContractTransaction>;
|
|
324
|
-
|
|
325
|
-
endBlock(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
326
|
-
|
|
327
|
-
harvestAndCompound(
|
|
328
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
329
|
-
): Promise<ContractTransaction>;
|
|
330
|
-
|
|
331
|
-
lastRewardBlock(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
332
|
-
|
|
333
|
-
rewardPerBlockForOthers(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
334
|
-
|
|
335
|
-
rewardPerBlockForStaking(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
336
|
-
|
|
337
|
-
stakingPeriod(
|
|
338
|
-
arg0: PromiseOrValue<BigNumberish>,
|
|
339
|
-
overrides?: CallOverrides
|
|
340
|
-
): Promise<
|
|
341
|
-
[BigNumber, BigNumber, BigNumber] & {
|
|
342
|
-
rewardPerBlockForStaking: BigNumber;
|
|
343
|
-
rewardPerBlockForOthers: BigNumber;
|
|
344
|
-
periodLengthInBlock: BigNumber;
|
|
345
|
-
}
|
|
346
|
-
>;
|
|
347
|
-
|
|
348
|
-
tokenSplitter(overrides?: CallOverrides): Promise<[string]>;
|
|
349
|
-
|
|
350
|
-
totalAmountStaked(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
351
|
-
|
|
352
|
-
updatePool(
|
|
353
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
354
|
-
): Promise<ContractTransaction>;
|
|
355
|
-
|
|
356
|
-
userInfo(
|
|
357
|
-
arg0: PromiseOrValue<string>,
|
|
358
|
-
overrides?: CallOverrides
|
|
359
|
-
): Promise<
|
|
360
|
-
[BigNumber, BigNumber] & { amount: BigNumber; rewardDebt: BigNumber }
|
|
361
|
-
>;
|
|
362
|
-
|
|
363
|
-
withdraw(
|
|
364
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
365
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
366
|
-
): Promise<ContractTransaction>;
|
|
367
|
-
|
|
368
|
-
withdrawAll(
|
|
369
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
370
|
-
): Promise<ContractTransaction>;
|
|
371
|
-
|
|
372
|
-
x2y2Token(overrides?: CallOverrides): Promise<[string]>;
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
NUMBER_PERIODS(overrides?: CallOverrides): Promise<BigNumber>;
|
|
376
|
-
|
|
377
|
-
PRECISION_FACTOR(overrides?: CallOverrides): Promise<BigNumber>;
|
|
378
|
-
|
|
379
|
-
START_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
380
|
-
|
|
381
|
-
accTokenPerShare(overrides?: CallOverrides): Promise<BigNumber>;
|
|
382
|
-
|
|
383
|
-
calculatePendingRewards(
|
|
384
|
-
user: PromiseOrValue<string>,
|
|
385
|
-
overrides?: CallOverrides
|
|
386
|
-
): Promise<BigNumber>;
|
|
387
|
-
|
|
388
|
-
currentPhase(overrides?: CallOverrides): Promise<BigNumber>;
|
|
389
|
-
|
|
390
|
-
deposit(
|
|
391
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
392
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
393
|
-
): Promise<ContractTransaction>;
|
|
394
|
-
|
|
395
|
-
endBlock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
396
|
-
|
|
397
|
-
harvestAndCompound(
|
|
398
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
399
|
-
): Promise<ContractTransaction>;
|
|
400
|
-
|
|
401
|
-
lastRewardBlock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
402
|
-
|
|
403
|
-
rewardPerBlockForOthers(overrides?: CallOverrides): Promise<BigNumber>;
|
|
404
|
-
|
|
405
|
-
rewardPerBlockForStaking(overrides?: CallOverrides): Promise<BigNumber>;
|
|
406
|
-
|
|
407
|
-
stakingPeriod(
|
|
408
|
-
arg0: PromiseOrValue<BigNumberish>,
|
|
409
|
-
overrides?: CallOverrides
|
|
410
|
-
): Promise<
|
|
411
|
-
[BigNumber, BigNumber, BigNumber] & {
|
|
412
|
-
rewardPerBlockForStaking: BigNumber;
|
|
413
|
-
rewardPerBlockForOthers: BigNumber;
|
|
414
|
-
periodLengthInBlock: BigNumber;
|
|
415
|
-
}
|
|
416
|
-
>;
|
|
417
|
-
|
|
418
|
-
tokenSplitter(overrides?: CallOverrides): Promise<string>;
|
|
419
|
-
|
|
420
|
-
totalAmountStaked(overrides?: CallOverrides): Promise<BigNumber>;
|
|
421
|
-
|
|
422
|
-
updatePool(
|
|
423
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
424
|
-
): Promise<ContractTransaction>;
|
|
425
|
-
|
|
426
|
-
userInfo(
|
|
427
|
-
arg0: PromiseOrValue<string>,
|
|
428
|
-
overrides?: CallOverrides
|
|
429
|
-
): Promise<
|
|
430
|
-
[BigNumber, BigNumber] & { amount: BigNumber; rewardDebt: BigNumber }
|
|
431
|
-
>;
|
|
432
|
-
|
|
433
|
-
withdraw(
|
|
434
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
435
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
436
|
-
): Promise<ContractTransaction>;
|
|
437
|
-
|
|
438
|
-
withdrawAll(
|
|
439
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
440
|
-
): Promise<ContractTransaction>;
|
|
441
|
-
|
|
442
|
-
x2y2Token(overrides?: CallOverrides): Promise<string>;
|
|
443
|
-
|
|
444
|
-
callStatic: {
|
|
445
|
-
NUMBER_PERIODS(overrides?: CallOverrides): Promise<BigNumber>;
|
|
446
|
-
|
|
447
|
-
PRECISION_FACTOR(overrides?: CallOverrides): Promise<BigNumber>;
|
|
448
|
-
|
|
449
|
-
START_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
450
|
-
|
|
451
|
-
accTokenPerShare(overrides?: CallOverrides): Promise<BigNumber>;
|
|
452
|
-
|
|
453
|
-
calculatePendingRewards(
|
|
454
|
-
user: PromiseOrValue<string>,
|
|
455
|
-
overrides?: CallOverrides
|
|
456
|
-
): Promise<BigNumber>;
|
|
457
|
-
|
|
458
|
-
currentPhase(overrides?: CallOverrides): Promise<BigNumber>;
|
|
459
|
-
|
|
460
|
-
deposit(
|
|
461
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
462
|
-
overrides?: CallOverrides
|
|
463
|
-
): Promise<void>;
|
|
464
|
-
|
|
465
|
-
endBlock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
466
|
-
|
|
467
|
-
harvestAndCompound(overrides?: CallOverrides): Promise<void>;
|
|
468
|
-
|
|
469
|
-
lastRewardBlock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
470
|
-
|
|
471
|
-
rewardPerBlockForOthers(overrides?: CallOverrides): Promise<BigNumber>;
|
|
472
|
-
|
|
473
|
-
rewardPerBlockForStaking(overrides?: CallOverrides): Promise<BigNumber>;
|
|
474
|
-
|
|
475
|
-
stakingPeriod(
|
|
476
|
-
arg0: PromiseOrValue<BigNumberish>,
|
|
477
|
-
overrides?: CallOverrides
|
|
478
|
-
): Promise<
|
|
479
|
-
[BigNumber, BigNumber, BigNumber] & {
|
|
480
|
-
rewardPerBlockForStaking: BigNumber;
|
|
481
|
-
rewardPerBlockForOthers: BigNumber;
|
|
482
|
-
periodLengthInBlock: BigNumber;
|
|
483
|
-
}
|
|
484
|
-
>;
|
|
485
|
-
|
|
486
|
-
tokenSplitter(overrides?: CallOverrides): Promise<string>;
|
|
487
|
-
|
|
488
|
-
totalAmountStaked(overrides?: CallOverrides): Promise<BigNumber>;
|
|
489
|
-
|
|
490
|
-
updatePool(overrides?: CallOverrides): Promise<void>;
|
|
491
|
-
|
|
492
|
-
userInfo(
|
|
493
|
-
arg0: PromiseOrValue<string>,
|
|
494
|
-
overrides?: CallOverrides
|
|
495
|
-
): Promise<
|
|
496
|
-
[BigNumber, BigNumber] & { amount: BigNumber; rewardDebt: BigNumber }
|
|
497
|
-
>;
|
|
498
|
-
|
|
499
|
-
withdraw(
|
|
500
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
501
|
-
overrides?: CallOverrides
|
|
502
|
-
): Promise<void>;
|
|
503
|
-
|
|
504
|
-
withdrawAll(overrides?: CallOverrides): Promise<void>;
|
|
505
|
-
|
|
506
|
-
x2y2Token(overrides?: CallOverrides): Promise<string>;
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
filters: {
|
|
510
|
-
"Compound(address,uint256)"(
|
|
511
|
-
user?: PromiseOrValue<string> | null,
|
|
512
|
-
harvestedAmount?: null
|
|
513
|
-
): CompoundEventFilter;
|
|
514
|
-
Compound(
|
|
515
|
-
user?: PromiseOrValue<string> | null,
|
|
516
|
-
harvestedAmount?: null
|
|
517
|
-
): CompoundEventFilter;
|
|
518
|
-
|
|
519
|
-
"Deposit(address,uint256,uint256)"(
|
|
520
|
-
user?: PromiseOrValue<string> | null,
|
|
521
|
-
amount?: null,
|
|
522
|
-
harvestedAmount?: null
|
|
523
|
-
): DepositEventFilter;
|
|
524
|
-
Deposit(
|
|
525
|
-
user?: PromiseOrValue<string> | null,
|
|
526
|
-
amount?: null,
|
|
527
|
-
harvestedAmount?: null
|
|
528
|
-
): DepositEventFilter;
|
|
529
|
-
|
|
530
|
-
"NewRewardsPerBlock(uint256,uint256,uint256,uint256)"(
|
|
531
|
-
currentPhase?: PromiseOrValue<BigNumberish> | null,
|
|
532
|
-
startBlock?: null,
|
|
533
|
-
rewardPerBlockForStaking?: null,
|
|
534
|
-
rewardPerBlockForOthers?: null
|
|
535
|
-
): NewRewardsPerBlockEventFilter;
|
|
536
|
-
NewRewardsPerBlock(
|
|
537
|
-
currentPhase?: PromiseOrValue<BigNumberish> | null,
|
|
538
|
-
startBlock?: null,
|
|
539
|
-
rewardPerBlockForStaking?: null,
|
|
540
|
-
rewardPerBlockForOthers?: null
|
|
541
|
-
): NewRewardsPerBlockEventFilter;
|
|
542
|
-
|
|
543
|
-
"Withdraw(address,uint256,uint256)"(
|
|
544
|
-
user?: PromiseOrValue<string> | null,
|
|
545
|
-
amount?: null,
|
|
546
|
-
harvestedAmount?: null
|
|
547
|
-
): WithdrawEventFilter;
|
|
548
|
-
Withdraw(
|
|
549
|
-
user?: PromiseOrValue<string> | null,
|
|
550
|
-
amount?: null,
|
|
551
|
-
harvestedAmount?: null
|
|
552
|
-
): WithdrawEventFilter;
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
estimateGas: {
|
|
556
|
-
NUMBER_PERIODS(overrides?: CallOverrides): Promise<BigNumber>;
|
|
557
|
-
|
|
558
|
-
PRECISION_FACTOR(overrides?: CallOverrides): Promise<BigNumber>;
|
|
559
|
-
|
|
560
|
-
START_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
561
|
-
|
|
562
|
-
accTokenPerShare(overrides?: CallOverrides): Promise<BigNumber>;
|
|
563
|
-
|
|
564
|
-
calculatePendingRewards(
|
|
565
|
-
user: PromiseOrValue<string>,
|
|
566
|
-
overrides?: CallOverrides
|
|
567
|
-
): Promise<BigNumber>;
|
|
568
|
-
|
|
569
|
-
currentPhase(overrides?: CallOverrides): Promise<BigNumber>;
|
|
570
|
-
|
|
571
|
-
deposit(
|
|
572
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
573
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
574
|
-
): Promise<BigNumber>;
|
|
575
|
-
|
|
576
|
-
endBlock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
577
|
-
|
|
578
|
-
harvestAndCompound(
|
|
579
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
580
|
-
): Promise<BigNumber>;
|
|
581
|
-
|
|
582
|
-
lastRewardBlock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
583
|
-
|
|
584
|
-
rewardPerBlockForOthers(overrides?: CallOverrides): Promise<BigNumber>;
|
|
585
|
-
|
|
586
|
-
rewardPerBlockForStaking(overrides?: CallOverrides): Promise<BigNumber>;
|
|
587
|
-
|
|
588
|
-
stakingPeriod(
|
|
589
|
-
arg0: PromiseOrValue<BigNumberish>,
|
|
590
|
-
overrides?: CallOverrides
|
|
591
|
-
): Promise<BigNumber>;
|
|
592
|
-
|
|
593
|
-
tokenSplitter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
594
|
-
|
|
595
|
-
totalAmountStaked(overrides?: CallOverrides): Promise<BigNumber>;
|
|
596
|
-
|
|
597
|
-
updatePool(
|
|
598
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
599
|
-
): Promise<BigNumber>;
|
|
600
|
-
|
|
601
|
-
userInfo(
|
|
602
|
-
arg0: PromiseOrValue<string>,
|
|
603
|
-
overrides?: CallOverrides
|
|
604
|
-
): Promise<BigNumber>;
|
|
605
|
-
|
|
606
|
-
withdraw(
|
|
607
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
608
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
609
|
-
): Promise<BigNumber>;
|
|
610
|
-
|
|
611
|
-
withdrawAll(
|
|
612
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
613
|
-
): Promise<BigNumber>;
|
|
614
|
-
|
|
615
|
-
x2y2Token(overrides?: CallOverrides): Promise<BigNumber>;
|
|
616
|
-
};
|
|
617
|
-
|
|
618
|
-
populateTransaction: {
|
|
619
|
-
NUMBER_PERIODS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
620
|
-
|
|
621
|
-
PRECISION_FACTOR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
622
|
-
|
|
623
|
-
START_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
624
|
-
|
|
625
|
-
accTokenPerShare(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
626
|
-
|
|
627
|
-
calculatePendingRewards(
|
|
628
|
-
user: PromiseOrValue<string>,
|
|
629
|
-
overrides?: CallOverrides
|
|
630
|
-
): Promise<PopulatedTransaction>;
|
|
631
|
-
|
|
632
|
-
currentPhase(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
633
|
-
|
|
634
|
-
deposit(
|
|
635
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
636
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
637
|
-
): Promise<PopulatedTransaction>;
|
|
638
|
-
|
|
639
|
-
endBlock(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
640
|
-
|
|
641
|
-
harvestAndCompound(
|
|
642
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
643
|
-
): Promise<PopulatedTransaction>;
|
|
644
|
-
|
|
645
|
-
lastRewardBlock(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
646
|
-
|
|
647
|
-
rewardPerBlockForOthers(
|
|
648
|
-
overrides?: CallOverrides
|
|
649
|
-
): Promise<PopulatedTransaction>;
|
|
650
|
-
|
|
651
|
-
rewardPerBlockForStaking(
|
|
652
|
-
overrides?: CallOverrides
|
|
653
|
-
): Promise<PopulatedTransaction>;
|
|
654
|
-
|
|
655
|
-
stakingPeriod(
|
|
656
|
-
arg0: PromiseOrValue<BigNumberish>,
|
|
657
|
-
overrides?: CallOverrides
|
|
658
|
-
): Promise<PopulatedTransaction>;
|
|
659
|
-
|
|
660
|
-
tokenSplitter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
661
|
-
|
|
662
|
-
totalAmountStaked(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
663
|
-
|
|
664
|
-
updatePool(
|
|
665
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
666
|
-
): Promise<PopulatedTransaction>;
|
|
667
|
-
|
|
668
|
-
userInfo(
|
|
669
|
-
arg0: PromiseOrValue<string>,
|
|
670
|
-
overrides?: CallOverrides
|
|
671
|
-
): Promise<PopulatedTransaction>;
|
|
672
|
-
|
|
673
|
-
withdraw(
|
|
674
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
675
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
676
|
-
): Promise<PopulatedTransaction>;
|
|
677
|
-
|
|
678
|
-
withdrawAll(
|
|
679
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
680
|
-
): Promise<PopulatedTransaction>;
|
|
681
|
-
|
|
682
|
-
x2y2Token(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
683
|
-
};
|
|
684
|
-
}
|