@sentio/sdk 2.3.6-rc.1 → 2.4.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/tests/aptos.test.js.map +1 -1
- package/lib/eth/account-processor.d.ts +2 -2
- package/lib/eth/account-processor.js +2 -2
- package/lib/eth/account-processor.js.map +1 -1
- package/lib/eth/builtin/eacaggregatorproxy.d.ts +2 -2
- package/lib/eth/builtin/eacaggregatorproxy.js +2 -2
- package/lib/eth/builtin/eacaggregatorproxy.js.map +1 -1
- package/lib/eth/builtin/erc1155.d.ts +2 -2
- package/lib/eth/builtin/erc1155.js +2 -2
- package/lib/eth/builtin/erc1155.js.map +1 -1
- package/lib/eth/builtin/erc20.d.ts +2 -2
- package/lib/eth/builtin/erc20.js +2 -2
- package/lib/eth/builtin/erc20.js.map +1 -1
- package/lib/eth/builtin/erc20bytes.d.ts +2 -2
- package/lib/eth/builtin/erc20bytes.js +2 -2
- package/lib/eth/builtin/erc20bytes.js.map +1 -1
- package/lib/eth/builtin/erc721.d.ts +2 -2
- package/lib/eth/builtin/erc721.js +2 -2
- package/lib/eth/builtin/erc721.js.map +1 -1
- package/lib/eth/builtin/internal/{eacaggregatorproxy_processor.d.ts → eacaggregatorproxy-processor.d.ts} +0 -0
- package/lib/eth/builtin/internal/{eacaggregatorproxy_processor.js → eacaggregatorproxy-processor.js} +1 -1
- package/lib/eth/builtin/internal/{eacaggregatorproxy_processor.js.map → eacaggregatorproxy-processor.js.map} +1 -1
- package/lib/eth/builtin/internal/{eacaggregatorproxy_test-utils.d.ts → eacaggregatorproxy-test-utils.d.ts} +0 -0
- package/lib/eth/builtin/internal/{eacaggregatorproxy_test-utils.js → eacaggregatorproxy-test-utils.js} +2 -2
- package/lib/eth/builtin/internal/{eacaggregatorproxy_test-utils.js.map → eacaggregatorproxy-test-utils.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc1155_processor.d.ts → erc1155-processor.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc1155_processor.js → erc1155-processor.js} +1 -1
- package/lib/eth/builtin/internal/{erc1155_processor.js.map → erc1155-processor.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc1155_test-utils.d.ts → erc1155-test-utils.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc1155_test-utils.js → erc1155-test-utils.js} +2 -2
- package/lib/eth/builtin/internal/{erc1155_test-utils.js.map → erc1155-test-utils.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc20_processor.d.ts → erc20-processor.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc20_processor.js → erc20-processor.js} +1 -1
- package/lib/eth/builtin/internal/{erc20_processor.js.map → erc20-processor.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc20_test-utils.d.ts → erc20-test-utils.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc20_test-utils.js → erc20-test-utils.js} +2 -2
- package/lib/eth/builtin/internal/{erc20_test-utils.js.map → erc20-test-utils.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc20bytes_processor.d.ts → erc20bytes-processor.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc20bytes_processor.js → erc20bytes-processor.js} +1 -1
- package/lib/eth/builtin/internal/{erc20bytes_processor.js.map → erc20bytes-processor.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc20bytes_test-utils.d.ts → erc20bytes-test-utils.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc20bytes_test-utils.js → erc20bytes-test-utils.js} +2 -2
- package/lib/eth/builtin/internal/{erc20bytes_test-utils.js.map → erc20bytes-test-utils.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc721_processor.d.ts → erc721-processor.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc721_processor.js → erc721-processor.js} +1 -1
- package/lib/eth/builtin/internal/{erc721_processor.js.map → erc721-processor.js.map} +1 -1
- package/lib/eth/builtin/internal/{erc721_test-utils.d.ts → erc721-test-utils.d.ts} +0 -0
- package/lib/eth/builtin/internal/{erc721_test-utils.js → erc721-test-utils.js} +2 -2
- package/lib/eth/builtin/internal/{erc721_test-utils.js.map → erc721-test-utils.js.map} +1 -1
- package/lib/eth/builtin/internal/{weth9_processor.d.ts → weth9-processor.d.ts} +0 -0
- package/lib/eth/builtin/internal/{weth9_processor.js → weth9-processor.js} +1 -1
- package/lib/eth/builtin/internal/{weth9_processor.js.map → weth9-processor.js.map} +1 -1
- package/lib/eth/builtin/internal/{weth9_test-utils.d.ts → weth9-test-utils.d.ts} +0 -0
- package/lib/eth/builtin/internal/{weth9_test-utils.js → weth9-test-utils.js} +2 -2
- package/lib/eth/builtin/internal/{weth9_test-utils.js.map → weth9-test-utils.js.map} +1 -1
- package/lib/eth/builtin/weth9.d.ts +2 -2
- package/lib/eth/builtin/weth9.js +2 -2
- package/lib/eth/builtin/weth9.js.map +1 -1
- package/lib/eth/codegen/ethers-sentio.js +2 -2
- package/lib/eth/codegen/ethers-sentio.js.map +1 -1
- package/lib/eth/codegen/file.js +3 -3
- package/lib/eth/codegen/file.js.map +1 -1
- package/lib/eth/generic-processor.test.js.map +1 -1
- package/lib/eth/tests/account.test.d.ts +1 -0
- package/lib/eth/tests/account.test.js.map +1 -0
- package/lib/eth/tests/codegen.test.d.ts +1 -0
- package/lib/eth/tests/codegen.test.js.map +1 -0
- package/lib/eth/tests/erc20-template.test.d.ts +1 -0
- package/lib/eth/tests/erc20-template.test.js.map +1 -0
- package/lib/eth/tests/erc20.d.ts +1 -0
- package/lib/eth/tests/erc20.js +52 -0
- package/lib/eth/tests/erc20.js.map +1 -0
- package/lib/eth/tests/erc20.test.d.ts +1 -0
- package/lib/eth/tests/erc20.test.js.map +1 -0
- package/lib/eth/tests/error-capture.test.d.ts +1 -0
- package/lib/eth/tests/error-capture.test.js.map +1 -0
- package/lib/eth/tests/logger.test.d.ts +1 -0
- package/lib/eth/tests/logger.test.js.map +1 -0
- package/lib/eth/tests/types/anyswaprouter.d.ts +3 -0
- package/lib/eth/tests/types/anyswaprouter.js +7 -0
- package/lib/eth/tests/types/anyswaprouter.js.map +1 -0
- package/lib/eth/tests/types/commitmentpool.d.ts +3 -0
- package/lib/eth/tests/types/commitmentpool.js +7 -0
- package/lib/eth/tests/types/commitmentpool.js.map +1 -0
- package/lib/eth/tests/types/index.d.ts +12 -0
- package/lib/eth/tests/types/index.js +16 -0
- package/lib/eth/tests/types/index.js.map +1 -0
- package/lib/eth/tests/types/internal/AnyswapRouter.d.ts +122 -0
- package/lib/eth/tests/types/internal/AnyswapRouter.js +2 -0
- package/lib/eth/tests/types/internal/AnyswapRouter.js.map +1 -0
- package/lib/eth/tests/types/internal/CommitmentPool.d.ts +176 -0
- package/lib/eth/tests/types/internal/CommitmentPool.js +2 -0
- package/lib/eth/tests/types/internal/CommitmentPool.js.map +1 -0
- package/lib/eth/tests/types/internal/MembershipStakerV3.d.ts +81 -0
- package/lib/eth/tests/types/internal/MembershipStakerV3.js +2 -0
- package/lib/eth/tests/types/internal/MembershipStakerV3.js.map +1 -0
- package/lib/eth/tests/types/internal/Pyth.d.ts +204 -0
- package/lib/eth/tests/types/internal/Pyth.js +2 -0
- package/lib/eth/tests/types/internal/Pyth.js.map +1 -0
- package/lib/eth/tests/types/internal/Seaport.d.ts +350 -0
- package/lib/eth/tests/types/internal/Seaport.js +2 -0
- package/lib/eth/tests/types/internal/Seaport.js.map +1 -0
- package/lib/eth/tests/types/internal/TokenExchange.d.ts +128 -0
- package/lib/eth/tests/types/internal/TokenExchange.js +2 -0
- package/lib/eth/tests/types/internal/TokenExchange.js.map +1 -0
- package/lib/eth/tests/types/internal/anyswaprouter-processor.d.ts +463 -0
- package/lib/eth/tests/types/internal/anyswaprouter-processor.js +425 -0
- package/lib/eth/tests/types/internal/anyswaprouter-processor.js.map +1 -0
- package/lib/eth/tests/types/internal/anyswaprouter-test-utils.d.ts +9 -0
- package/lib/eth/tests/types/internal/anyswaprouter-test-utils.js +124 -0
- package/lib/eth/tests/types/internal/anyswaprouter-test-utils.js.map +1 -0
- package/lib/eth/tests/types/internal/commitmentpool-processor.d.ts +348 -0
- package/lib/eth/tests/types/internal/commitmentpool-processor.js +607 -0
- package/lib/eth/tests/types/internal/commitmentpool-processor.js.map +1 -0
- package/lib/eth/tests/types/internal/commitmentpool-test-utils.d.ts +9 -0
- package/lib/eth/tests/types/internal/commitmentpool-test-utils.js +87 -0
- package/lib/eth/tests/types/internal/commitmentpool-test-utils.js.map +1 -0
- package/lib/eth/tests/types/internal/common.d.ts +10 -0
- package/lib/eth/tests/types/internal/common.js +8 -0
- package/lib/eth/tests/types/internal/common.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.d.ts +988 -0
- package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.js +1269 -0
- package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.d.ts +792 -0
- package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.js +1040 -0
- package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.d.ts +549 -0
- package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.js +721 -0
- package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/Pyth__factory.d.ts +1130 -0
- package/lib/eth/tests/types/internal/factories/Pyth__factory.js +1486 -0
- package/lib/eth/tests/types/internal/factories/Pyth__factory.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/Seaport__factory.d.ts +2018 -0
- package/lib/eth/tests/types/internal/factories/Seaport__factory.js +2610 -0
- package/lib/eth/tests/types/internal/factories/Seaport__factory.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/TokenExchange__factory.d.ts +651 -0
- package/lib/eth/tests/types/internal/factories/TokenExchange__factory.js +853 -0
- package/lib/eth/tests/types/internal/factories/TokenExchange__factory.js.map +1 -0
- package/lib/eth/tests/types/internal/factories/index.d.ts +6 -0
- package/lib/eth/tests/types/internal/factories/index.js +10 -0
- package/lib/eth/tests/types/internal/factories/index.js.map +1 -0
- package/lib/eth/tests/types/internal/index.d.ts +13 -0
- package/lib/eth/tests/types/internal/index.js +8 -0
- package/lib/eth/tests/types/internal/index.js.map +1 -0
- package/lib/eth/tests/types/internal/membershipstakerv3-processor.d.ts +287 -0
- package/lib/eth/tests/types/internal/membershipstakerv3-processor.js +596 -0
- package/lib/eth/tests/types/internal/membershipstakerv3-processor.js.map +1 -0
- package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.d.ts +11 -0
- package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.js +109 -0
- package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.js.map +1 -0
- package/lib/eth/tests/types/internal/pyth-processor.d.ts +422 -0
- package/lib/eth/tests/types/internal/pyth-processor.js +890 -0
- package/lib/eth/tests/types/internal/pyth-processor.js.map +1 -0
- package/lib/eth/tests/types/internal/pyth-test-utils.d.ts +13 -0
- package/lib/eth/tests/types/internal/pyth-test-utils.js +131 -0
- package/lib/eth/tests/types/internal/pyth-test-utils.js.map +1 -0
- package/lib/eth/tests/types/internal/seaport-processor.d.ts +211 -0
- package/lib/eth/tests/types/internal/seaport-processor.js +237 -0
- package/lib/eth/tests/types/internal/seaport-processor.js.map +1 -0
- package/lib/eth/tests/types/internal/seaport-test-utils.d.ts +6 -0
- package/lib/eth/tests/types/internal/seaport-test-utils.js +61 -0
- package/lib/eth/tests/types/internal/seaport-test-utils.js.map +1 -0
- package/lib/eth/tests/types/internal/tokenexchange-processor.d.ts +334 -0
- package/lib/eth/tests/types/internal/tokenexchange-processor.js +667 -0
- package/lib/eth/tests/types/internal/tokenexchange-processor.js.map +1 -0
- package/lib/eth/tests/types/internal/tokenexchange-test-utils.d.ts +13 -0
- package/lib/eth/tests/types/internal/tokenexchange-test-utils.js +149 -0
- package/lib/eth/tests/types/internal/tokenexchange-test-utils.js.map +1 -0
- package/lib/eth/tests/types/membershipstakerv3.d.ts +3 -0
- package/lib/eth/tests/types/membershipstakerv3.js +7 -0
- package/lib/eth/tests/types/membershipstakerv3.js.map +1 -0
- package/lib/eth/tests/types/pyth.d.ts +3 -0
- package/lib/eth/tests/types/pyth.js +7 -0
- package/lib/eth/tests/types/pyth.js.map +1 -0
- package/lib/eth/tests/types/seaport.d.ts +3 -0
- package/lib/eth/tests/types/seaport.js +7 -0
- package/lib/eth/tests/types/seaport.js.map +1 -0
- package/lib/eth/tests/types/tokenexchange.d.ts +3 -0
- package/lib/eth/tests/types/tokenexchange.js +7 -0
- package/lib/eth/tests/types/tokenexchange.js.map +1 -0
- package/lib/solana/builtin/types.d.ts +8 -8
- package/lib/solana/tests/solana.test.js.map +1 -1
- package/lib/sui/sui-processor.js +2 -8
- package/lib/sui/sui-processor.js.map +1 -1
- package/lib/sui/tests/sui.test.js.map +1 -1
- package/lib/sui/utils.d.ts +2 -0
- package/lib/sui/utils.js +11 -0
- package/lib/sui/utils.js.map +1 -0
- package/lib/testing/aptos-facet.d.ts +12 -0
- package/lib/testing/aptos-facet.js +91 -0
- package/lib/testing/aptos-facet.js.map +1 -0
- package/lib/testing/eth-facet.d.ts +27 -0
- package/lib/testing/eth-facet.js +211 -0
- package/lib/testing/eth-facet.js.map +1 -0
- package/lib/testing/solana-facet.d.ts +7 -0
- package/lib/testing/solana-facet.js +22 -0
- package/lib/testing/solana-facet.js.map +1 -0
- package/lib/testing/sui-facet.d.ts +12 -0
- package/lib/testing/sui-facet.js +103 -0
- package/lib/testing/sui-facet.js.map +1 -0
- package/lib/testing/test-processor-server.d.ts +9 -23
- package/lib/testing/test-processor-server.js +13 -227
- package/lib/testing/test-processor-server.js.map +1 -1
- package/lib/utils/dex-price.js +1 -1
- package/lib/utils/dex-price.js.map +1 -1
- package/lib/utils/token.js +1 -1
- package/lib/utils/token.js.map +1 -1
- package/package.json +5 -5
- package/src/eth/account-processor.ts +2 -5
- package/src/eth/builtin/eacaggregatorproxy.ts +2 -2
- package/src/eth/builtin/erc1155.ts +2 -2
- package/src/eth/builtin/erc20.ts +2 -2
- package/src/eth/builtin/erc20bytes.ts +2 -2
- package/src/eth/builtin/erc721.ts +2 -2
- package/src/eth/builtin/internal/{eacaggregatorproxy_processor.ts → eacaggregatorproxy-processor.ts} +0 -0
- package/src/eth/builtin/internal/{eacaggregatorproxy_test-utils.ts → eacaggregatorproxy-test-utils.ts} +1 -1
- package/src/eth/builtin/internal/{erc1155_processor.ts → erc1155-processor.ts} +0 -0
- package/src/eth/builtin/internal/{erc1155_test-utils.ts → erc1155-test-utils.ts} +1 -1
- package/src/eth/builtin/internal/{erc20_processor.ts → erc20-processor.ts} +0 -0
- package/src/eth/builtin/internal/{erc20_test-utils.ts → erc20-test-utils.ts} +1 -1
- package/src/eth/builtin/internal/{erc20bytes_processor.ts → erc20bytes-processor.ts} +0 -0
- package/src/eth/builtin/internal/{erc20bytes_test-utils.ts → erc20bytes-test-utils.ts} +1 -1
- package/src/eth/builtin/internal/{erc721_processor.ts → erc721-processor.ts} +0 -0
- package/src/eth/builtin/internal/{erc721_test-utils.ts → erc721-test-utils.ts} +1 -1
- package/src/eth/builtin/internal/{weth9_processor.ts → weth9-processor.ts} +0 -0
- package/src/eth/builtin/internal/{weth9_test-utils.ts → weth9-test-utils.ts} +1 -1
- package/src/eth/builtin/weth9.ts +2 -2
- package/src/eth/codegen/ethers-sentio.ts +2 -2
- package/src/eth/codegen/file.ts +3 -3
- package/src/eth/tests/abis/eth/CommitmentPool.json +1034 -0
- package/src/eth/tests/abis/eth/MembershipStakerV3.json +706 -0
- package/src/eth/tests/abis/eth/Pyth.json +1471 -0
- package/src/eth/tests/abis/eth/Seaport.json +2595 -0
- package/src/eth/tests/abis/eth/TokenExchange.json +838 -0
- package/src/eth/tests/abis/eth/anyswapRouter.json +490 -0
- package/src/eth/tests/erc20.ts +63 -0
- package/src/eth/tests/types/anyswaprouter.ts +7 -0
- package/src/eth/tests/types/commitmentpool.ts +7 -0
- package/src/eth/tests/types/index.ts +33 -0
- package/src/eth/tests/types/internal/AnyswapRouter.ts +122 -0
- package/src/eth/tests/types/internal/CommitmentPool.ts +208 -0
- package/src/eth/tests/types/internal/MembershipStakerV3.ts +108 -0
- package/src/eth/tests/types/internal/Pyth.ts +246 -0
- package/src/eth/tests/types/internal/Seaport.ts +389 -0
- package/src/eth/tests/types/internal/TokenExchange.ts +142 -0
- package/src/eth/tests/types/internal/anyswaprouter-processor.ts +1396 -0
- package/src/eth/tests/types/internal/anyswaprouter-test-utils.ts +187 -0
- package/src/eth/tests/types/internal/commitmentpool-processor.ts +1575 -0
- package/src/eth/tests/types/internal/commitmentpool-test-utils.ts +150 -0
- package/src/eth/tests/types/internal/common.ts +23 -0
- package/src/eth/tests/types/internal/factories/AnyswapRouter__factory.ts +1278 -0
- package/src/eth/tests/types/internal/factories/CommitmentPool__factory.ts +1049 -0
- package/src/eth/tests/types/internal/factories/MembershipStakerV3__factory.ts +730 -0
- package/src/eth/tests/types/internal/factories/Pyth__factory.ts +1492 -0
- package/src/eth/tests/types/internal/factories/Seaport__factory.ts +2616 -0
- package/src/eth/tests/types/internal/factories/TokenExchange__factory.ts +862 -0
- package/src/eth/tests/types/internal/factories/index.ts +9 -0
- package/src/eth/tests/types/internal/index.ts +16 -0
- package/src/eth/tests/types/internal/membershipstakerv3-processor.ts +1399 -0
- package/src/eth/tests/types/internal/membershipstakerv3-test-utils.ts +188 -0
- package/src/eth/tests/types/internal/pyth-processor.ts +2043 -0
- package/src/eth/tests/types/internal/pyth-test-utils.ts +226 -0
- package/src/eth/tests/types/internal/seaport-processor.ts +678 -0
- package/src/eth/tests/types/internal/seaport-test-utils.ts +100 -0
- package/src/eth/tests/types/internal/tokenexchange-processor.ts +1570 -0
- package/src/eth/tests/types/internal/tokenexchange-test-utils.ts +244 -0
- package/src/eth/tests/types/membershipstakerv3.ts +7 -0
- package/src/eth/tests/types/pyth.ts +7 -0
- package/src/eth/tests/types/seaport.ts +7 -0
- package/src/eth/tests/types/tokenexchange.ts +7 -0
- package/src/sui/sui-processor.ts +2 -7
- package/src/sui/utils.ts +11 -0
- package/src/testing/aptos-facet.ts +111 -0
- package/src/testing/eth-facet.ts +233 -0
- package/src/testing/solana-facet.ts +25 -0
- package/src/testing/sui-facet.ts +119 -0
- package/src/testing/test-processor-server.ts +15 -252
- package/src/utils/dex-price.ts +1 -1
- package/src/utils/token.ts +1 -3
|
@@ -0,0 +1,792 @@
|
|
|
1
|
+
import { Signer, Provider } from "ethers";
|
|
2
|
+
import type { CommitmentPool, CommitmentPoolInterface } from "../CommitmentPool.js";
|
|
3
|
+
export declare class CommitmentPool__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "CommitmentHasBeenSubmitted";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [{
|
|
10
|
+
readonly internalType: "string";
|
|
11
|
+
readonly name: "param";
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
}];
|
|
14
|
+
readonly name: "Duplicated";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "IndexOutOfBound";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [{
|
|
22
|
+
readonly internalType: "string";
|
|
23
|
+
readonly name: "param";
|
|
24
|
+
readonly type: "string";
|
|
25
|
+
}];
|
|
26
|
+
readonly name: "Invalid";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "NewRootIsDuplicated";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [];
|
|
34
|
+
readonly name: "NoteHasBeenSpent";
|
|
35
|
+
readonly type: "error";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "NumInputsGreaterThanZero";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "OnlyOperator";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "OnlyWhitelistedRoller";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "OnlyWhitelistedSender";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "OutputNotesLessThanThree";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "RollupFeeToFew";
|
|
59
|
+
readonly type: "error";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [];
|
|
62
|
+
readonly name: "RollupSizeNotPowerOfTwo";
|
|
63
|
+
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [];
|
|
66
|
+
readonly name: "SanctionedAddress";
|
|
67
|
+
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly name: "TreeHeightLessThanZero";
|
|
71
|
+
readonly type: "error";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "TreeHeightOutOfBounds";
|
|
75
|
+
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "TreeIsFull";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "VerifierUpdatesHasBeenDisabled";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly anonymous: false;
|
|
86
|
+
readonly inputs: readonly [{
|
|
87
|
+
readonly indexed: true;
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "commitment";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "CommitmentIncluded";
|
|
93
|
+
readonly type: "event";
|
|
94
|
+
}, {
|
|
95
|
+
readonly anonymous: false;
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly indexed: true;
|
|
98
|
+
readonly internalType: "uint256";
|
|
99
|
+
readonly name: "commitment";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
}, {
|
|
102
|
+
readonly indexed: false;
|
|
103
|
+
readonly internalType: "uint256";
|
|
104
|
+
readonly name: "rollupFee";
|
|
105
|
+
readonly type: "uint256";
|
|
106
|
+
}, {
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
readonly name: "leafIndex";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
}, {
|
|
112
|
+
readonly indexed: false;
|
|
113
|
+
readonly internalType: "bytes";
|
|
114
|
+
readonly name: "encryptedNote";
|
|
115
|
+
readonly type: "bytes";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "CommitmentQueued";
|
|
118
|
+
readonly type: "event";
|
|
119
|
+
}, {
|
|
120
|
+
readonly anonymous: false;
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly indexed: true;
|
|
123
|
+
readonly internalType: "uint256";
|
|
124
|
+
readonly name: "rootHash";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
}, {
|
|
127
|
+
readonly indexed: true;
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
readonly name: "serialNumber";
|
|
130
|
+
readonly type: "uint256";
|
|
131
|
+
}];
|
|
132
|
+
readonly name: "CommitmentSpent";
|
|
133
|
+
readonly type: "event";
|
|
134
|
+
}, {
|
|
135
|
+
readonly anonymous: false;
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly indexed: false;
|
|
138
|
+
readonly internalType: "bool";
|
|
139
|
+
readonly name: "state";
|
|
140
|
+
readonly type: "bool";
|
|
141
|
+
}];
|
|
142
|
+
readonly name: "RollupWhitelistDisabled";
|
|
143
|
+
readonly type: "event";
|
|
144
|
+
}, {
|
|
145
|
+
readonly anonymous: false;
|
|
146
|
+
readonly inputs: readonly [{
|
|
147
|
+
readonly indexed: false;
|
|
148
|
+
readonly internalType: "bool";
|
|
149
|
+
readonly name: "state";
|
|
150
|
+
readonly type: "bool";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "SanctionsCheckDisabled";
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: false;
|
|
158
|
+
readonly internalType: "contract ISanctionsList";
|
|
159
|
+
readonly name: "sanctions";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}];
|
|
162
|
+
readonly name: "SanctionsList";
|
|
163
|
+
readonly type: "event";
|
|
164
|
+
}, {
|
|
165
|
+
readonly anonymous: false;
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
readonly name: "state";
|
|
170
|
+
readonly type: "bool";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "VerifierUpdateDisabled";
|
|
173
|
+
readonly type: "event";
|
|
174
|
+
}, {
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
readonly name: "_fullPath";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "uint32";
|
|
181
|
+
readonly name: "_rollupSize";
|
|
182
|
+
readonly type: "uint32";
|
|
183
|
+
}];
|
|
184
|
+
readonly name: "_pathIndices";
|
|
185
|
+
readonly outputs: readonly [{
|
|
186
|
+
readonly internalType: "uint256";
|
|
187
|
+
readonly name: "";
|
|
188
|
+
readonly type: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
readonly stateMutability: "pure";
|
|
191
|
+
readonly type: "function";
|
|
192
|
+
}, {
|
|
193
|
+
readonly inputs: readonly [{
|
|
194
|
+
readonly internalType: "address";
|
|
195
|
+
readonly name: "_actor";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
}];
|
|
198
|
+
readonly name: "addEnqueueWhitelist";
|
|
199
|
+
readonly outputs: readonly [];
|
|
200
|
+
readonly stateMutability: "nonpayable";
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
}, {
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "_roller";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}];
|
|
208
|
+
readonly name: "addRollupWhitelist";
|
|
209
|
+
readonly outputs: readonly [];
|
|
210
|
+
readonly stateMutability: "nonpayable";
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
}, {
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly name: "assetType";
|
|
215
|
+
readonly outputs: readonly [{
|
|
216
|
+
readonly internalType: "enum AssetPool.AssetType";
|
|
217
|
+
readonly name: "";
|
|
218
|
+
readonly type: "uint8";
|
|
219
|
+
}];
|
|
220
|
+
readonly stateMutability: "view";
|
|
221
|
+
readonly type: "function";
|
|
222
|
+
}, {
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly internalType: "bytes8";
|
|
225
|
+
readonly name: "c__42ae54c0";
|
|
226
|
+
readonly type: "bytes8";
|
|
227
|
+
}];
|
|
228
|
+
readonly name: "c_42ae54c0";
|
|
229
|
+
readonly outputs: readonly [];
|
|
230
|
+
readonly stateMutability: "pure";
|
|
231
|
+
readonly type: "function";
|
|
232
|
+
}, {
|
|
233
|
+
readonly inputs: readonly [{
|
|
234
|
+
readonly internalType: "bytes8";
|
|
235
|
+
readonly name: "c__9f3d2211";
|
|
236
|
+
readonly type: "bytes8";
|
|
237
|
+
}];
|
|
238
|
+
readonly name: "c_9f3d2211";
|
|
239
|
+
readonly outputs: readonly [];
|
|
240
|
+
readonly stateMutability: "pure";
|
|
241
|
+
readonly type: "function";
|
|
242
|
+
}, {
|
|
243
|
+
readonly inputs: readonly [{
|
|
244
|
+
readonly internalType: "bytes8";
|
|
245
|
+
readonly name: "c__bfaab06f";
|
|
246
|
+
readonly type: "bytes8";
|
|
247
|
+
}];
|
|
248
|
+
readonly name: "c_bfaab06f";
|
|
249
|
+
readonly outputs: readonly [];
|
|
250
|
+
readonly stateMutability: "pure";
|
|
251
|
+
readonly type: "function";
|
|
252
|
+
}, {
|
|
253
|
+
readonly inputs: readonly [{
|
|
254
|
+
readonly internalType: "bytes8";
|
|
255
|
+
readonly name: "c__42ae54c0";
|
|
256
|
+
readonly type: "bytes8";
|
|
257
|
+
}];
|
|
258
|
+
readonly name: "c_false42ae54c0";
|
|
259
|
+
readonly outputs: readonly [{
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
readonly name: "";
|
|
262
|
+
readonly type: "bool";
|
|
263
|
+
}];
|
|
264
|
+
readonly stateMutability: "pure";
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
}, {
|
|
267
|
+
readonly inputs: readonly [{
|
|
268
|
+
readonly internalType: "bytes8";
|
|
269
|
+
readonly name: "c__9f3d2211";
|
|
270
|
+
readonly type: "bytes8";
|
|
271
|
+
}];
|
|
272
|
+
readonly name: "c_false9f3d2211";
|
|
273
|
+
readonly outputs: readonly [{
|
|
274
|
+
readonly internalType: "bool";
|
|
275
|
+
readonly name: "";
|
|
276
|
+
readonly type: "bool";
|
|
277
|
+
}];
|
|
278
|
+
readonly stateMutability: "pure";
|
|
279
|
+
readonly type: "function";
|
|
280
|
+
}, {
|
|
281
|
+
readonly inputs: readonly [{
|
|
282
|
+
readonly internalType: "bytes8";
|
|
283
|
+
readonly name: "c__bfaab06f";
|
|
284
|
+
readonly type: "bytes8";
|
|
285
|
+
}];
|
|
286
|
+
readonly name: "c_falsebfaab06f";
|
|
287
|
+
readonly outputs: readonly [{
|
|
288
|
+
readonly internalType: "bool";
|
|
289
|
+
readonly name: "";
|
|
290
|
+
readonly type: "bool";
|
|
291
|
+
}];
|
|
292
|
+
readonly stateMutability: "pure";
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
}, {
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly internalType: "bytes8";
|
|
297
|
+
readonly name: "c__42ae54c0";
|
|
298
|
+
readonly type: "bytes8";
|
|
299
|
+
}];
|
|
300
|
+
readonly name: "c_true42ae54c0";
|
|
301
|
+
readonly outputs: readonly [{
|
|
302
|
+
readonly internalType: "bool";
|
|
303
|
+
readonly name: "";
|
|
304
|
+
readonly type: "bool";
|
|
305
|
+
}];
|
|
306
|
+
readonly stateMutability: "pure";
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
}, {
|
|
309
|
+
readonly inputs: readonly [{
|
|
310
|
+
readonly internalType: "bytes8";
|
|
311
|
+
readonly name: "c__9f3d2211";
|
|
312
|
+
readonly type: "bytes8";
|
|
313
|
+
}];
|
|
314
|
+
readonly name: "c_true9f3d2211";
|
|
315
|
+
readonly outputs: readonly [{
|
|
316
|
+
readonly internalType: "bool";
|
|
317
|
+
readonly name: "";
|
|
318
|
+
readonly type: "bool";
|
|
319
|
+
}];
|
|
320
|
+
readonly stateMutability: "pure";
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
}, {
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly internalType: "bytes8";
|
|
325
|
+
readonly name: "c__bfaab06f";
|
|
326
|
+
readonly type: "bytes8";
|
|
327
|
+
}];
|
|
328
|
+
readonly name: "c_truebfaab06f";
|
|
329
|
+
readonly outputs: readonly [{
|
|
330
|
+
readonly internalType: "bool";
|
|
331
|
+
readonly name: "";
|
|
332
|
+
readonly type: "bool";
|
|
333
|
+
}];
|
|
334
|
+
readonly stateMutability: "pure";
|
|
335
|
+
readonly type: "function";
|
|
336
|
+
}, {
|
|
337
|
+
readonly inputs: readonly [{
|
|
338
|
+
readonly internalType: "address";
|
|
339
|
+
readonly name: "_newOperator";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
}];
|
|
342
|
+
readonly name: "changeOperator";
|
|
343
|
+
readonly outputs: readonly [];
|
|
344
|
+
readonly stateMutability: "nonpayable";
|
|
345
|
+
readonly type: "function";
|
|
346
|
+
}, {
|
|
347
|
+
readonly inputs: readonly [{
|
|
348
|
+
readonly internalType: "uint32";
|
|
349
|
+
readonly name: "_rollupSize";
|
|
350
|
+
readonly type: "uint32";
|
|
351
|
+
}];
|
|
352
|
+
readonly name: "disableRollupVerifier";
|
|
353
|
+
readonly outputs: readonly [];
|
|
354
|
+
readonly stateMutability: "nonpayable";
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
}, {
|
|
357
|
+
readonly inputs: readonly [{
|
|
358
|
+
readonly internalType: "uint32";
|
|
359
|
+
readonly name: "_numInputs";
|
|
360
|
+
readonly type: "uint32";
|
|
361
|
+
}, {
|
|
362
|
+
readonly internalType: "uint32";
|
|
363
|
+
readonly name: "_numOutputs";
|
|
364
|
+
readonly type: "uint32";
|
|
365
|
+
}];
|
|
366
|
+
readonly name: "disableTransactVerifier";
|
|
367
|
+
readonly outputs: readonly [];
|
|
368
|
+
readonly stateMutability: "nonpayable";
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
}, {
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly internalType: "uint32";
|
|
373
|
+
readonly name: "_rollupSize";
|
|
374
|
+
readonly type: "uint32";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "contract IVerifier";
|
|
377
|
+
readonly name: "_rollupVerifier";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}];
|
|
380
|
+
readonly name: "enableRollupVerifier";
|
|
381
|
+
readonly outputs: readonly [];
|
|
382
|
+
readonly stateMutability: "nonpayable";
|
|
383
|
+
readonly type: "function";
|
|
384
|
+
}, {
|
|
385
|
+
readonly inputs: readonly [{
|
|
386
|
+
readonly internalType: "uint32";
|
|
387
|
+
readonly name: "_numInputs";
|
|
388
|
+
readonly type: "uint32";
|
|
389
|
+
}, {
|
|
390
|
+
readonly internalType: "uint32";
|
|
391
|
+
readonly name: "_numOutputs";
|
|
392
|
+
readonly type: "uint32";
|
|
393
|
+
}, {
|
|
394
|
+
readonly internalType: "contract IVerifier";
|
|
395
|
+
readonly name: "_transactVerifier";
|
|
396
|
+
readonly type: "address";
|
|
397
|
+
}];
|
|
398
|
+
readonly name: "enableTransactVerifier";
|
|
399
|
+
readonly outputs: readonly [];
|
|
400
|
+
readonly stateMutability: "nonpayable";
|
|
401
|
+
readonly type: "function";
|
|
402
|
+
}, {
|
|
403
|
+
readonly inputs: readonly [{
|
|
404
|
+
readonly components: readonly [{
|
|
405
|
+
readonly internalType: "uint256";
|
|
406
|
+
readonly name: "amount";
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
}, {
|
|
409
|
+
readonly internalType: "uint256";
|
|
410
|
+
readonly name: "commitment";
|
|
411
|
+
readonly type: "uint256";
|
|
412
|
+
}, {
|
|
413
|
+
readonly internalType: "uint256";
|
|
414
|
+
readonly name: "executorFee";
|
|
415
|
+
readonly type: "uint256";
|
|
416
|
+
}, {
|
|
417
|
+
readonly internalType: "uint256";
|
|
418
|
+
readonly name: "rollupFee";
|
|
419
|
+
readonly type: "uint256";
|
|
420
|
+
}, {
|
|
421
|
+
readonly internalType: "bytes";
|
|
422
|
+
readonly name: "encryptedNote";
|
|
423
|
+
readonly type: "bytes";
|
|
424
|
+
}];
|
|
425
|
+
readonly internalType: "struct ICommitmentPool.CommitmentRequest";
|
|
426
|
+
readonly name: "_request";
|
|
427
|
+
readonly type: "tuple";
|
|
428
|
+
}, {
|
|
429
|
+
readonly internalType: "address";
|
|
430
|
+
readonly name: "_executor";
|
|
431
|
+
readonly type: "address";
|
|
432
|
+
}];
|
|
433
|
+
readonly name: "enqueue";
|
|
434
|
+
readonly outputs: readonly [];
|
|
435
|
+
readonly stateMutability: "nonpayable";
|
|
436
|
+
readonly type: "function";
|
|
437
|
+
}, {
|
|
438
|
+
readonly inputs: readonly [];
|
|
439
|
+
readonly name: "getCommitmentIncludedCount";
|
|
440
|
+
readonly outputs: readonly [{
|
|
441
|
+
readonly internalType: "uint256";
|
|
442
|
+
readonly name: "";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
}];
|
|
445
|
+
readonly stateMutability: "view";
|
|
446
|
+
readonly type: "function";
|
|
447
|
+
}, {
|
|
448
|
+
readonly inputs: readonly [];
|
|
449
|
+
readonly name: "getMinRollupFee";
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly internalType: "uint256";
|
|
452
|
+
readonly name: "";
|
|
453
|
+
readonly type: "uint256";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "view";
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
}, {
|
|
458
|
+
readonly inputs: readonly [];
|
|
459
|
+
readonly name: "getTreeCapacity";
|
|
460
|
+
readonly outputs: readonly [{
|
|
461
|
+
readonly internalType: "uint256";
|
|
462
|
+
readonly name: "";
|
|
463
|
+
readonly type: "uint256";
|
|
464
|
+
}];
|
|
465
|
+
readonly stateMutability: "view";
|
|
466
|
+
readonly type: "function";
|
|
467
|
+
}, {
|
|
468
|
+
readonly inputs: readonly [{
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "_commitment";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}];
|
|
473
|
+
readonly name: "isHistoricCommitment";
|
|
474
|
+
readonly outputs: readonly [{
|
|
475
|
+
readonly internalType: "bool";
|
|
476
|
+
readonly name: "";
|
|
477
|
+
readonly type: "bool";
|
|
478
|
+
}];
|
|
479
|
+
readonly stateMutability: "view";
|
|
480
|
+
readonly type: "function";
|
|
481
|
+
}, {
|
|
482
|
+
readonly inputs: readonly [{
|
|
483
|
+
readonly internalType: "uint256";
|
|
484
|
+
readonly name: "root";
|
|
485
|
+
readonly type: "uint256";
|
|
486
|
+
}];
|
|
487
|
+
readonly name: "isKnownRoot";
|
|
488
|
+
readonly outputs: readonly [{
|
|
489
|
+
readonly internalType: "bool";
|
|
490
|
+
readonly name: "";
|
|
491
|
+
readonly type: "bool";
|
|
492
|
+
}];
|
|
493
|
+
readonly stateMutability: "view";
|
|
494
|
+
readonly type: "function";
|
|
495
|
+
}, {
|
|
496
|
+
readonly inputs: readonly [];
|
|
497
|
+
readonly name: "isRollupWhitelistDisabled";
|
|
498
|
+
readonly outputs: readonly [{
|
|
499
|
+
readonly internalType: "bool";
|
|
500
|
+
readonly name: "";
|
|
501
|
+
readonly type: "bool";
|
|
502
|
+
}];
|
|
503
|
+
readonly stateMutability: "view";
|
|
504
|
+
readonly type: "function";
|
|
505
|
+
}, {
|
|
506
|
+
readonly inputs: readonly [{
|
|
507
|
+
readonly internalType: "uint256";
|
|
508
|
+
readonly name: "_serialNumber";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}];
|
|
511
|
+
readonly name: "isSpentSerialNumber";
|
|
512
|
+
readonly outputs: readonly [{
|
|
513
|
+
readonly internalType: "bool";
|
|
514
|
+
readonly name: "";
|
|
515
|
+
readonly type: "bool";
|
|
516
|
+
}];
|
|
517
|
+
readonly stateMutability: "view";
|
|
518
|
+
readonly type: "function";
|
|
519
|
+
}, {
|
|
520
|
+
readonly inputs: readonly [];
|
|
521
|
+
readonly name: "isVerifierUpdateDisabled";
|
|
522
|
+
readonly outputs: readonly [{
|
|
523
|
+
readonly internalType: "bool";
|
|
524
|
+
readonly name: "";
|
|
525
|
+
readonly type: "bool";
|
|
526
|
+
}];
|
|
527
|
+
readonly stateMutability: "view";
|
|
528
|
+
readonly type: "function";
|
|
529
|
+
}, {
|
|
530
|
+
readonly inputs: readonly [{
|
|
531
|
+
readonly internalType: "address";
|
|
532
|
+
readonly name: "_actor";
|
|
533
|
+
readonly type: "address";
|
|
534
|
+
}];
|
|
535
|
+
readonly name: "removeEnqueueWhitelist";
|
|
536
|
+
readonly outputs: readonly [];
|
|
537
|
+
readonly stateMutability: "nonpayable";
|
|
538
|
+
readonly type: "function";
|
|
539
|
+
}, {
|
|
540
|
+
readonly inputs: readonly [{
|
|
541
|
+
readonly internalType: "address";
|
|
542
|
+
readonly name: "_roller";
|
|
543
|
+
readonly type: "address";
|
|
544
|
+
}];
|
|
545
|
+
readonly name: "removeRollupWhitelist";
|
|
546
|
+
readonly outputs: readonly [];
|
|
547
|
+
readonly stateMutability: "nonpayable";
|
|
548
|
+
readonly type: "function";
|
|
549
|
+
}, {
|
|
550
|
+
readonly inputs: readonly [{
|
|
551
|
+
readonly components: readonly [{
|
|
552
|
+
readonly components: readonly [{
|
|
553
|
+
readonly components: readonly [{
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
readonly name: "X";
|
|
556
|
+
readonly type: "uint256";
|
|
557
|
+
}, {
|
|
558
|
+
readonly internalType: "uint256";
|
|
559
|
+
readonly name: "Y";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
}];
|
|
562
|
+
readonly internalType: "struct IVerifier.G1Point";
|
|
563
|
+
readonly name: "a";
|
|
564
|
+
readonly type: "tuple";
|
|
565
|
+
}, {
|
|
566
|
+
readonly components: readonly [{
|
|
567
|
+
readonly internalType: "uint256[2]";
|
|
568
|
+
readonly name: "X";
|
|
569
|
+
readonly type: "uint256[2]";
|
|
570
|
+
}, {
|
|
571
|
+
readonly internalType: "uint256[2]";
|
|
572
|
+
readonly name: "Y";
|
|
573
|
+
readonly type: "uint256[2]";
|
|
574
|
+
}];
|
|
575
|
+
readonly internalType: "struct IVerifier.G2Point";
|
|
576
|
+
readonly name: "b";
|
|
577
|
+
readonly type: "tuple";
|
|
578
|
+
}, {
|
|
579
|
+
readonly components: readonly [{
|
|
580
|
+
readonly internalType: "uint256";
|
|
581
|
+
readonly name: "X";
|
|
582
|
+
readonly type: "uint256";
|
|
583
|
+
}, {
|
|
584
|
+
readonly internalType: "uint256";
|
|
585
|
+
readonly name: "Y";
|
|
586
|
+
readonly type: "uint256";
|
|
587
|
+
}];
|
|
588
|
+
readonly internalType: "struct IVerifier.G1Point";
|
|
589
|
+
readonly name: "c";
|
|
590
|
+
readonly type: "tuple";
|
|
591
|
+
}];
|
|
592
|
+
readonly internalType: "struct IVerifier.Proof";
|
|
593
|
+
readonly name: "proof";
|
|
594
|
+
readonly type: "tuple";
|
|
595
|
+
}, {
|
|
596
|
+
readonly internalType: "uint32";
|
|
597
|
+
readonly name: "rollupSize";
|
|
598
|
+
readonly type: "uint32";
|
|
599
|
+
}, {
|
|
600
|
+
readonly internalType: "uint256";
|
|
601
|
+
readonly name: "newRoot";
|
|
602
|
+
readonly type: "uint256";
|
|
603
|
+
}, {
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "leafHash";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly internalType: "struct ICommitmentPool.RollupRequest";
|
|
609
|
+
readonly name: "_request";
|
|
610
|
+
readonly type: "tuple";
|
|
611
|
+
}];
|
|
612
|
+
readonly name: "rollup";
|
|
613
|
+
readonly outputs: readonly [];
|
|
614
|
+
readonly stateMutability: "nonpayable";
|
|
615
|
+
readonly type: "function";
|
|
616
|
+
}, {
|
|
617
|
+
readonly inputs: readonly [];
|
|
618
|
+
readonly name: "sanctionsCheckDisabled";
|
|
619
|
+
readonly outputs: readonly [{
|
|
620
|
+
readonly internalType: "bool";
|
|
621
|
+
readonly name: "";
|
|
622
|
+
readonly type: "bool";
|
|
623
|
+
}];
|
|
624
|
+
readonly stateMutability: "view";
|
|
625
|
+
readonly type: "function";
|
|
626
|
+
}, {
|
|
627
|
+
readonly inputs: readonly [];
|
|
628
|
+
readonly name: "sanctionsList";
|
|
629
|
+
readonly outputs: readonly [{
|
|
630
|
+
readonly internalType: "contract ISanctionsList";
|
|
631
|
+
readonly name: "";
|
|
632
|
+
readonly type: "address";
|
|
633
|
+
}];
|
|
634
|
+
readonly stateMutability: "view";
|
|
635
|
+
readonly type: "function";
|
|
636
|
+
}, {
|
|
637
|
+
readonly inputs: readonly [{
|
|
638
|
+
readonly internalType: "uint256";
|
|
639
|
+
readonly name: "_minRollupFee";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
}];
|
|
642
|
+
readonly name: "setMinRollupFee";
|
|
643
|
+
readonly outputs: readonly [];
|
|
644
|
+
readonly stateMutability: "nonpayable";
|
|
645
|
+
readonly type: "function";
|
|
646
|
+
}, {
|
|
647
|
+
readonly inputs: readonly [{
|
|
648
|
+
readonly internalType: "bool";
|
|
649
|
+
readonly name: "_state";
|
|
650
|
+
readonly type: "bool";
|
|
651
|
+
}];
|
|
652
|
+
readonly name: "setRollupWhitelistDisabled";
|
|
653
|
+
readonly outputs: readonly [];
|
|
654
|
+
readonly stateMutability: "nonpayable";
|
|
655
|
+
readonly type: "function";
|
|
656
|
+
}, {
|
|
657
|
+
readonly inputs: readonly [{
|
|
658
|
+
readonly internalType: "bool";
|
|
659
|
+
readonly name: "_state";
|
|
660
|
+
readonly type: "bool";
|
|
661
|
+
}];
|
|
662
|
+
readonly name: "setSanctionCheckDisabled";
|
|
663
|
+
readonly outputs: readonly [];
|
|
664
|
+
readonly stateMutability: "nonpayable";
|
|
665
|
+
readonly type: "function";
|
|
666
|
+
}, {
|
|
667
|
+
readonly inputs: readonly [{
|
|
668
|
+
readonly internalType: "bool";
|
|
669
|
+
readonly name: "_state";
|
|
670
|
+
readonly type: "bool";
|
|
671
|
+
}];
|
|
672
|
+
readonly name: "setVerifierUpdateDisabled";
|
|
673
|
+
readonly outputs: readonly [];
|
|
674
|
+
readonly stateMutability: "nonpayable";
|
|
675
|
+
readonly type: "function";
|
|
676
|
+
}, {
|
|
677
|
+
readonly inputs: readonly [{
|
|
678
|
+
readonly components: readonly [{
|
|
679
|
+
readonly components: readonly [{
|
|
680
|
+
readonly components: readonly [{
|
|
681
|
+
readonly internalType: "uint256";
|
|
682
|
+
readonly name: "X";
|
|
683
|
+
readonly type: "uint256";
|
|
684
|
+
}, {
|
|
685
|
+
readonly internalType: "uint256";
|
|
686
|
+
readonly name: "Y";
|
|
687
|
+
readonly type: "uint256";
|
|
688
|
+
}];
|
|
689
|
+
readonly internalType: "struct IVerifier.G1Point";
|
|
690
|
+
readonly name: "a";
|
|
691
|
+
readonly type: "tuple";
|
|
692
|
+
}, {
|
|
693
|
+
readonly components: readonly [{
|
|
694
|
+
readonly internalType: "uint256[2]";
|
|
695
|
+
readonly name: "X";
|
|
696
|
+
readonly type: "uint256[2]";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "uint256[2]";
|
|
699
|
+
readonly name: "Y";
|
|
700
|
+
readonly type: "uint256[2]";
|
|
701
|
+
}];
|
|
702
|
+
readonly internalType: "struct IVerifier.G2Point";
|
|
703
|
+
readonly name: "b";
|
|
704
|
+
readonly type: "tuple";
|
|
705
|
+
}, {
|
|
706
|
+
readonly components: readonly [{
|
|
707
|
+
readonly internalType: "uint256";
|
|
708
|
+
readonly name: "X";
|
|
709
|
+
readonly type: "uint256";
|
|
710
|
+
}, {
|
|
711
|
+
readonly internalType: "uint256";
|
|
712
|
+
readonly name: "Y";
|
|
713
|
+
readonly type: "uint256";
|
|
714
|
+
}];
|
|
715
|
+
readonly internalType: "struct IVerifier.G1Point";
|
|
716
|
+
readonly name: "c";
|
|
717
|
+
readonly type: "tuple";
|
|
718
|
+
}];
|
|
719
|
+
readonly internalType: "struct IVerifier.Proof";
|
|
720
|
+
readonly name: "proof";
|
|
721
|
+
readonly type: "tuple";
|
|
722
|
+
}, {
|
|
723
|
+
readonly internalType: "uint256";
|
|
724
|
+
readonly name: "rootHash";
|
|
725
|
+
readonly type: "uint256";
|
|
726
|
+
}, {
|
|
727
|
+
readonly internalType: "uint256[]";
|
|
728
|
+
readonly name: "serialNumbers";
|
|
729
|
+
readonly type: "uint256[]";
|
|
730
|
+
}, {
|
|
731
|
+
readonly internalType: "uint256[]";
|
|
732
|
+
readonly name: "sigHashes";
|
|
733
|
+
readonly type: "uint256[]";
|
|
734
|
+
}, {
|
|
735
|
+
readonly internalType: "bytes32";
|
|
736
|
+
readonly name: "sigPk";
|
|
737
|
+
readonly type: "bytes32";
|
|
738
|
+
}, {
|
|
739
|
+
readonly internalType: "uint256";
|
|
740
|
+
readonly name: "publicAmount";
|
|
741
|
+
readonly type: "uint256";
|
|
742
|
+
}, {
|
|
743
|
+
readonly internalType: "uint256";
|
|
744
|
+
readonly name: "relayerFeeAmount";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
}, {
|
|
747
|
+
readonly internalType: "uint256[]";
|
|
748
|
+
readonly name: "outCommitments";
|
|
749
|
+
readonly type: "uint256[]";
|
|
750
|
+
}, {
|
|
751
|
+
readonly internalType: "uint256[]";
|
|
752
|
+
readonly name: "outRollupFees";
|
|
753
|
+
readonly type: "uint256[]";
|
|
754
|
+
}, {
|
|
755
|
+
readonly internalType: "address";
|
|
756
|
+
readonly name: "publicRecipient";
|
|
757
|
+
readonly type: "address";
|
|
758
|
+
}, {
|
|
759
|
+
readonly internalType: "address";
|
|
760
|
+
readonly name: "relayerAddress";
|
|
761
|
+
readonly type: "address";
|
|
762
|
+
}, {
|
|
763
|
+
readonly internalType: "bytes[]";
|
|
764
|
+
readonly name: "outEncryptedNotes";
|
|
765
|
+
readonly type: "bytes[]";
|
|
766
|
+
}];
|
|
767
|
+
readonly internalType: "struct ICommitmentPool.TransactRequest";
|
|
768
|
+
readonly name: "_request";
|
|
769
|
+
readonly type: "tuple";
|
|
770
|
+
}, {
|
|
771
|
+
readonly internalType: "bytes";
|
|
772
|
+
readonly name: "_signature";
|
|
773
|
+
readonly type: "bytes";
|
|
774
|
+
}];
|
|
775
|
+
readonly name: "transact";
|
|
776
|
+
readonly outputs: readonly [];
|
|
777
|
+
readonly stateMutability: "nonpayable";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
}, {
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly internalType: "contract ISanctionsList";
|
|
782
|
+
readonly name: "_sanction";
|
|
783
|
+
readonly type: "address";
|
|
784
|
+
}];
|
|
785
|
+
readonly name: "updateSanctionsListAddress";
|
|
786
|
+
readonly outputs: readonly [];
|
|
787
|
+
readonly stateMutability: "nonpayable";
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
}];
|
|
790
|
+
static createInterface(): CommitmentPoolInterface;
|
|
791
|
+
static connect(address: string, signerOrProvider: Signer | Provider): CommitmentPool;
|
|
792
|
+
}
|