@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,1130 @@
|
|
|
1
|
+
import { Signer, Provider } from "ethers";
|
|
2
|
+
import type { Pyth, PythInterface } from "../Pyth.js";
|
|
3
|
+
export declare class Pyth__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly stateMutability: "nonpayable";
|
|
7
|
+
readonly type: "constructor";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [];
|
|
10
|
+
readonly name: "InsufficientFee";
|
|
11
|
+
readonly type: "error";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [];
|
|
14
|
+
readonly name: "InvalidArgument";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "InvalidGovernanceDataSource";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "InvalidGovernanceMessage";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "InvalidGovernanceTarget";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "InvalidUpdateData";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [];
|
|
34
|
+
readonly name: "InvalidUpdateDataSource";
|
|
35
|
+
readonly type: "error";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "InvalidWormholeVaa";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "NoFreshUpdate";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "OldGovernanceMessage";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "PriceFeedNotFound";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "PriceFeedNotFoundWithinRange";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "StalePrice";
|
|
59
|
+
readonly type: "error";
|
|
60
|
+
}, {
|
|
61
|
+
readonly anonymous: false;
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly indexed: false;
|
|
64
|
+
readonly internalType: "address";
|
|
65
|
+
readonly name: "previousAdmin";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
}, {
|
|
68
|
+
readonly indexed: false;
|
|
69
|
+
readonly internalType: "address";
|
|
70
|
+
readonly name: "newAdmin";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}];
|
|
73
|
+
readonly name: "AdminChanged";
|
|
74
|
+
readonly type: "event";
|
|
75
|
+
}, {
|
|
76
|
+
readonly anonymous: false;
|
|
77
|
+
readonly inputs: readonly [{
|
|
78
|
+
readonly indexed: false;
|
|
79
|
+
readonly internalType: "uint16";
|
|
80
|
+
readonly name: "chainId";
|
|
81
|
+
readonly type: "uint16";
|
|
82
|
+
}, {
|
|
83
|
+
readonly indexed: false;
|
|
84
|
+
readonly internalType: "uint64";
|
|
85
|
+
readonly name: "sequenceNumber";
|
|
86
|
+
readonly type: "uint64";
|
|
87
|
+
}];
|
|
88
|
+
readonly name: "BatchPriceFeedUpdate";
|
|
89
|
+
readonly type: "event";
|
|
90
|
+
}, {
|
|
91
|
+
readonly anonymous: false;
|
|
92
|
+
readonly inputs: readonly [{
|
|
93
|
+
readonly indexed: true;
|
|
94
|
+
readonly internalType: "address";
|
|
95
|
+
readonly name: "beacon";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
}];
|
|
98
|
+
readonly name: "BeaconUpgraded";
|
|
99
|
+
readonly type: "event";
|
|
100
|
+
}, {
|
|
101
|
+
readonly anonymous: false;
|
|
102
|
+
readonly inputs: readonly [{
|
|
103
|
+
readonly indexed: false;
|
|
104
|
+
readonly internalType: "address";
|
|
105
|
+
readonly name: "oldImplementation";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
}, {
|
|
108
|
+
readonly indexed: false;
|
|
109
|
+
readonly internalType: "address";
|
|
110
|
+
readonly name: "newImplementation";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
}];
|
|
113
|
+
readonly name: "ContractUpgraded";
|
|
114
|
+
readonly type: "event";
|
|
115
|
+
}, {
|
|
116
|
+
readonly anonymous: false;
|
|
117
|
+
readonly inputs: readonly [{
|
|
118
|
+
readonly components: readonly [{
|
|
119
|
+
readonly internalType: "uint16";
|
|
120
|
+
readonly name: "chainId";
|
|
121
|
+
readonly type: "uint16";
|
|
122
|
+
}, {
|
|
123
|
+
readonly internalType: "bytes32";
|
|
124
|
+
readonly name: "emitterAddress";
|
|
125
|
+
readonly type: "bytes32";
|
|
126
|
+
}];
|
|
127
|
+
readonly indexed: false;
|
|
128
|
+
readonly internalType: "struct PythInternalStructs.DataSource[]";
|
|
129
|
+
readonly name: "oldDataSources";
|
|
130
|
+
readonly type: "tuple[]";
|
|
131
|
+
}, {
|
|
132
|
+
readonly components: readonly [{
|
|
133
|
+
readonly internalType: "uint16";
|
|
134
|
+
readonly name: "chainId";
|
|
135
|
+
readonly type: "uint16";
|
|
136
|
+
}, {
|
|
137
|
+
readonly internalType: "bytes32";
|
|
138
|
+
readonly name: "emitterAddress";
|
|
139
|
+
readonly type: "bytes32";
|
|
140
|
+
}];
|
|
141
|
+
readonly indexed: false;
|
|
142
|
+
readonly internalType: "struct PythInternalStructs.DataSource[]";
|
|
143
|
+
readonly name: "newDataSources";
|
|
144
|
+
readonly type: "tuple[]";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "DataSourcesSet";
|
|
147
|
+
readonly type: "event";
|
|
148
|
+
}, {
|
|
149
|
+
readonly anonymous: false;
|
|
150
|
+
readonly inputs: readonly [{
|
|
151
|
+
readonly indexed: false;
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
readonly name: "oldFee";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}, {
|
|
156
|
+
readonly indexed: false;
|
|
157
|
+
readonly internalType: "uint256";
|
|
158
|
+
readonly name: "newFee";
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
}];
|
|
161
|
+
readonly name: "FeeSet";
|
|
162
|
+
readonly type: "event";
|
|
163
|
+
}, {
|
|
164
|
+
readonly anonymous: false;
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly components: readonly [{
|
|
167
|
+
readonly internalType: "uint16";
|
|
168
|
+
readonly name: "chainId";
|
|
169
|
+
readonly type: "uint16";
|
|
170
|
+
}, {
|
|
171
|
+
readonly internalType: "bytes32";
|
|
172
|
+
readonly name: "emitterAddress";
|
|
173
|
+
readonly type: "bytes32";
|
|
174
|
+
}];
|
|
175
|
+
readonly indexed: false;
|
|
176
|
+
readonly internalType: "struct PythInternalStructs.DataSource";
|
|
177
|
+
readonly name: "oldDataSource";
|
|
178
|
+
readonly type: "tuple";
|
|
179
|
+
}, {
|
|
180
|
+
readonly components: readonly [{
|
|
181
|
+
readonly internalType: "uint16";
|
|
182
|
+
readonly name: "chainId";
|
|
183
|
+
readonly type: "uint16";
|
|
184
|
+
}, {
|
|
185
|
+
readonly internalType: "bytes32";
|
|
186
|
+
readonly name: "emitterAddress";
|
|
187
|
+
readonly type: "bytes32";
|
|
188
|
+
}];
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "struct PythInternalStructs.DataSource";
|
|
191
|
+
readonly name: "newDataSource";
|
|
192
|
+
readonly type: "tuple";
|
|
193
|
+
}, {
|
|
194
|
+
readonly indexed: false;
|
|
195
|
+
readonly internalType: "uint64";
|
|
196
|
+
readonly name: "initialSequence";
|
|
197
|
+
readonly type: "uint64";
|
|
198
|
+
}];
|
|
199
|
+
readonly name: "GovernanceDataSourceSet";
|
|
200
|
+
readonly type: "event";
|
|
201
|
+
}, {
|
|
202
|
+
readonly anonymous: false;
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly indexed: true;
|
|
205
|
+
readonly internalType: "address";
|
|
206
|
+
readonly name: "previousOwner";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
}, {
|
|
209
|
+
readonly indexed: true;
|
|
210
|
+
readonly internalType: "address";
|
|
211
|
+
readonly name: "newOwner";
|
|
212
|
+
readonly type: "address";
|
|
213
|
+
}];
|
|
214
|
+
readonly name: "OwnershipTransferred";
|
|
215
|
+
readonly type: "event";
|
|
216
|
+
}, {
|
|
217
|
+
readonly anonymous: false;
|
|
218
|
+
readonly inputs: readonly [{
|
|
219
|
+
readonly indexed: true;
|
|
220
|
+
readonly internalType: "bytes32";
|
|
221
|
+
readonly name: "id";
|
|
222
|
+
readonly type: "bytes32";
|
|
223
|
+
}, {
|
|
224
|
+
readonly indexed: false;
|
|
225
|
+
readonly internalType: "uint64";
|
|
226
|
+
readonly name: "publishTime";
|
|
227
|
+
readonly type: "uint64";
|
|
228
|
+
}, {
|
|
229
|
+
readonly indexed: false;
|
|
230
|
+
readonly internalType: "int64";
|
|
231
|
+
readonly name: "price";
|
|
232
|
+
readonly type: "int64";
|
|
233
|
+
}, {
|
|
234
|
+
readonly indexed: false;
|
|
235
|
+
readonly internalType: "uint64";
|
|
236
|
+
readonly name: "conf";
|
|
237
|
+
readonly type: "uint64";
|
|
238
|
+
}];
|
|
239
|
+
readonly name: "PriceFeedUpdate";
|
|
240
|
+
readonly type: "event";
|
|
241
|
+
}, {
|
|
242
|
+
readonly anonymous: false;
|
|
243
|
+
readonly inputs: readonly [{
|
|
244
|
+
readonly indexed: true;
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly name: "implementation";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}];
|
|
249
|
+
readonly name: "Upgraded";
|
|
250
|
+
readonly type: "event";
|
|
251
|
+
}, {
|
|
252
|
+
readonly anonymous: false;
|
|
253
|
+
readonly inputs: readonly [{
|
|
254
|
+
readonly indexed: false;
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly name: "oldValidPeriod";
|
|
257
|
+
readonly type: "uint256";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly name: "newValidPeriod";
|
|
262
|
+
readonly type: "uint256";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "ValidPeriodSet";
|
|
265
|
+
readonly type: "event";
|
|
266
|
+
}, {
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly name: "chainId";
|
|
269
|
+
readonly outputs: readonly [{
|
|
270
|
+
readonly internalType: "uint16";
|
|
271
|
+
readonly name: "";
|
|
272
|
+
readonly type: "uint16";
|
|
273
|
+
}];
|
|
274
|
+
readonly stateMutability: "view";
|
|
275
|
+
readonly type: "function";
|
|
276
|
+
}, {
|
|
277
|
+
readonly inputs: readonly [{
|
|
278
|
+
readonly internalType: "bytes";
|
|
279
|
+
readonly name: "encodedVM";
|
|
280
|
+
readonly type: "bytes";
|
|
281
|
+
}];
|
|
282
|
+
readonly name: "executeGovernanceInstruction";
|
|
283
|
+
readonly outputs: readonly [];
|
|
284
|
+
readonly stateMutability: "nonpayable";
|
|
285
|
+
readonly type: "function";
|
|
286
|
+
}, {
|
|
287
|
+
readonly inputs: readonly [{
|
|
288
|
+
readonly internalType: "bytes32";
|
|
289
|
+
readonly name: "id";
|
|
290
|
+
readonly type: "bytes32";
|
|
291
|
+
}];
|
|
292
|
+
readonly name: "getEmaPrice";
|
|
293
|
+
readonly outputs: readonly [{
|
|
294
|
+
readonly components: readonly [{
|
|
295
|
+
readonly internalType: "int64";
|
|
296
|
+
readonly name: "price";
|
|
297
|
+
readonly type: "int64";
|
|
298
|
+
}, {
|
|
299
|
+
readonly internalType: "uint64";
|
|
300
|
+
readonly name: "conf";
|
|
301
|
+
readonly type: "uint64";
|
|
302
|
+
}, {
|
|
303
|
+
readonly internalType: "int32";
|
|
304
|
+
readonly name: "expo";
|
|
305
|
+
readonly type: "int32";
|
|
306
|
+
}, {
|
|
307
|
+
readonly internalType: "uint256";
|
|
308
|
+
readonly name: "publishTime";
|
|
309
|
+
readonly type: "uint256";
|
|
310
|
+
}];
|
|
311
|
+
readonly internalType: "struct PythStructs.Price";
|
|
312
|
+
readonly name: "price";
|
|
313
|
+
readonly type: "tuple";
|
|
314
|
+
}];
|
|
315
|
+
readonly stateMutability: "view";
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
}, {
|
|
318
|
+
readonly inputs: readonly [{
|
|
319
|
+
readonly internalType: "bytes32";
|
|
320
|
+
readonly name: "id";
|
|
321
|
+
readonly type: "bytes32";
|
|
322
|
+
}, {
|
|
323
|
+
readonly internalType: "uint256";
|
|
324
|
+
readonly name: "age";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}];
|
|
327
|
+
readonly name: "getEmaPriceNoOlderThan";
|
|
328
|
+
readonly outputs: readonly [{
|
|
329
|
+
readonly components: readonly [{
|
|
330
|
+
readonly internalType: "int64";
|
|
331
|
+
readonly name: "price";
|
|
332
|
+
readonly type: "int64";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "uint64";
|
|
335
|
+
readonly name: "conf";
|
|
336
|
+
readonly type: "uint64";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "int32";
|
|
339
|
+
readonly name: "expo";
|
|
340
|
+
readonly type: "int32";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
readonly name: "publishTime";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}];
|
|
346
|
+
readonly internalType: "struct PythStructs.Price";
|
|
347
|
+
readonly name: "price";
|
|
348
|
+
readonly type: "tuple";
|
|
349
|
+
}];
|
|
350
|
+
readonly stateMutability: "view";
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
}, {
|
|
353
|
+
readonly inputs: readonly [{
|
|
354
|
+
readonly internalType: "bytes32";
|
|
355
|
+
readonly name: "id";
|
|
356
|
+
readonly type: "bytes32";
|
|
357
|
+
}];
|
|
358
|
+
readonly name: "getEmaPriceUnsafe";
|
|
359
|
+
readonly outputs: readonly [{
|
|
360
|
+
readonly components: readonly [{
|
|
361
|
+
readonly internalType: "int64";
|
|
362
|
+
readonly name: "price";
|
|
363
|
+
readonly type: "int64";
|
|
364
|
+
}, {
|
|
365
|
+
readonly internalType: "uint64";
|
|
366
|
+
readonly name: "conf";
|
|
367
|
+
readonly type: "uint64";
|
|
368
|
+
}, {
|
|
369
|
+
readonly internalType: "int32";
|
|
370
|
+
readonly name: "expo";
|
|
371
|
+
readonly type: "int32";
|
|
372
|
+
}, {
|
|
373
|
+
readonly internalType: "uint256";
|
|
374
|
+
readonly name: "publishTime";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
}];
|
|
377
|
+
readonly internalType: "struct PythStructs.Price";
|
|
378
|
+
readonly name: "price";
|
|
379
|
+
readonly type: "tuple";
|
|
380
|
+
}];
|
|
381
|
+
readonly stateMutability: "view";
|
|
382
|
+
readonly type: "function";
|
|
383
|
+
}, {
|
|
384
|
+
readonly inputs: readonly [{
|
|
385
|
+
readonly internalType: "bytes32";
|
|
386
|
+
readonly name: "id";
|
|
387
|
+
readonly type: "bytes32";
|
|
388
|
+
}];
|
|
389
|
+
readonly name: "getPrice";
|
|
390
|
+
readonly outputs: readonly [{
|
|
391
|
+
readonly components: readonly [{
|
|
392
|
+
readonly internalType: "int64";
|
|
393
|
+
readonly name: "price";
|
|
394
|
+
readonly type: "int64";
|
|
395
|
+
}, {
|
|
396
|
+
readonly internalType: "uint64";
|
|
397
|
+
readonly name: "conf";
|
|
398
|
+
readonly type: "uint64";
|
|
399
|
+
}, {
|
|
400
|
+
readonly internalType: "int32";
|
|
401
|
+
readonly name: "expo";
|
|
402
|
+
readonly type: "int32";
|
|
403
|
+
}, {
|
|
404
|
+
readonly internalType: "uint256";
|
|
405
|
+
readonly name: "publishTime";
|
|
406
|
+
readonly type: "uint256";
|
|
407
|
+
}];
|
|
408
|
+
readonly internalType: "struct PythStructs.Price";
|
|
409
|
+
readonly name: "price";
|
|
410
|
+
readonly type: "tuple";
|
|
411
|
+
}];
|
|
412
|
+
readonly stateMutability: "view";
|
|
413
|
+
readonly type: "function";
|
|
414
|
+
}, {
|
|
415
|
+
readonly inputs: readonly [{
|
|
416
|
+
readonly internalType: "bytes32";
|
|
417
|
+
readonly name: "id";
|
|
418
|
+
readonly type: "bytes32";
|
|
419
|
+
}, {
|
|
420
|
+
readonly internalType: "uint256";
|
|
421
|
+
readonly name: "age";
|
|
422
|
+
readonly type: "uint256";
|
|
423
|
+
}];
|
|
424
|
+
readonly name: "getPriceNoOlderThan";
|
|
425
|
+
readonly outputs: readonly [{
|
|
426
|
+
readonly components: readonly [{
|
|
427
|
+
readonly internalType: "int64";
|
|
428
|
+
readonly name: "price";
|
|
429
|
+
readonly type: "int64";
|
|
430
|
+
}, {
|
|
431
|
+
readonly internalType: "uint64";
|
|
432
|
+
readonly name: "conf";
|
|
433
|
+
readonly type: "uint64";
|
|
434
|
+
}, {
|
|
435
|
+
readonly internalType: "int32";
|
|
436
|
+
readonly name: "expo";
|
|
437
|
+
readonly type: "int32";
|
|
438
|
+
}, {
|
|
439
|
+
readonly internalType: "uint256";
|
|
440
|
+
readonly name: "publishTime";
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
}];
|
|
443
|
+
readonly internalType: "struct PythStructs.Price";
|
|
444
|
+
readonly name: "price";
|
|
445
|
+
readonly type: "tuple";
|
|
446
|
+
}];
|
|
447
|
+
readonly stateMutability: "view";
|
|
448
|
+
readonly type: "function";
|
|
449
|
+
}, {
|
|
450
|
+
readonly inputs: readonly [{
|
|
451
|
+
readonly internalType: "bytes32";
|
|
452
|
+
readonly name: "id";
|
|
453
|
+
readonly type: "bytes32";
|
|
454
|
+
}];
|
|
455
|
+
readonly name: "getPriceUnsafe";
|
|
456
|
+
readonly outputs: readonly [{
|
|
457
|
+
readonly components: readonly [{
|
|
458
|
+
readonly internalType: "int64";
|
|
459
|
+
readonly name: "price";
|
|
460
|
+
readonly type: "int64";
|
|
461
|
+
}, {
|
|
462
|
+
readonly internalType: "uint64";
|
|
463
|
+
readonly name: "conf";
|
|
464
|
+
readonly type: "uint64";
|
|
465
|
+
}, {
|
|
466
|
+
readonly internalType: "int32";
|
|
467
|
+
readonly name: "expo";
|
|
468
|
+
readonly type: "int32";
|
|
469
|
+
}, {
|
|
470
|
+
readonly internalType: "uint256";
|
|
471
|
+
readonly name: "publishTime";
|
|
472
|
+
readonly type: "uint256";
|
|
473
|
+
}];
|
|
474
|
+
readonly internalType: "struct PythStructs.Price";
|
|
475
|
+
readonly name: "price";
|
|
476
|
+
readonly type: "tuple";
|
|
477
|
+
}];
|
|
478
|
+
readonly stateMutability: "view";
|
|
479
|
+
readonly type: "function";
|
|
480
|
+
}, {
|
|
481
|
+
readonly inputs: readonly [{
|
|
482
|
+
readonly internalType: "bytes[]";
|
|
483
|
+
readonly name: "updateData";
|
|
484
|
+
readonly type: "bytes[]";
|
|
485
|
+
}];
|
|
486
|
+
readonly name: "getUpdateFee";
|
|
487
|
+
readonly outputs: readonly [{
|
|
488
|
+
readonly internalType: "uint256";
|
|
489
|
+
readonly name: "feeAmount";
|
|
490
|
+
readonly type: "uint256";
|
|
491
|
+
}];
|
|
492
|
+
readonly stateMutability: "view";
|
|
493
|
+
readonly type: "function";
|
|
494
|
+
}, {
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly internalType: "uint256";
|
|
497
|
+
readonly name: "updateDataSize";
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
}];
|
|
500
|
+
readonly name: "getUpdateFee";
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly internalType: "uint256";
|
|
503
|
+
readonly name: "feeAmount";
|
|
504
|
+
readonly type: "uint256";
|
|
505
|
+
}];
|
|
506
|
+
readonly stateMutability: "view";
|
|
507
|
+
readonly type: "function";
|
|
508
|
+
}, {
|
|
509
|
+
readonly inputs: readonly [];
|
|
510
|
+
readonly name: "getValidTimePeriod";
|
|
511
|
+
readonly outputs: readonly [{
|
|
512
|
+
readonly internalType: "uint256";
|
|
513
|
+
readonly name: "";
|
|
514
|
+
readonly type: "uint256";
|
|
515
|
+
}];
|
|
516
|
+
readonly stateMutability: "view";
|
|
517
|
+
readonly type: "function";
|
|
518
|
+
}, {
|
|
519
|
+
readonly inputs: readonly [];
|
|
520
|
+
readonly name: "governanceDataSource";
|
|
521
|
+
readonly outputs: readonly [{
|
|
522
|
+
readonly components: readonly [{
|
|
523
|
+
readonly internalType: "uint16";
|
|
524
|
+
readonly name: "chainId";
|
|
525
|
+
readonly type: "uint16";
|
|
526
|
+
}, {
|
|
527
|
+
readonly internalType: "bytes32";
|
|
528
|
+
readonly name: "emitterAddress";
|
|
529
|
+
readonly type: "bytes32";
|
|
530
|
+
}];
|
|
531
|
+
readonly internalType: "struct PythInternalStructs.DataSource";
|
|
532
|
+
readonly name: "";
|
|
533
|
+
readonly type: "tuple";
|
|
534
|
+
}];
|
|
535
|
+
readonly stateMutability: "view";
|
|
536
|
+
readonly type: "function";
|
|
537
|
+
}, {
|
|
538
|
+
readonly inputs: readonly [];
|
|
539
|
+
readonly name: "governanceDataSourceIndex";
|
|
540
|
+
readonly outputs: readonly [{
|
|
541
|
+
readonly internalType: "uint32";
|
|
542
|
+
readonly name: "";
|
|
543
|
+
readonly type: "uint32";
|
|
544
|
+
}];
|
|
545
|
+
readonly stateMutability: "view";
|
|
546
|
+
readonly type: "function";
|
|
547
|
+
}, {
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly components: readonly [{
|
|
550
|
+
readonly internalType: "uint16";
|
|
551
|
+
readonly name: "chainId";
|
|
552
|
+
readonly type: "uint16";
|
|
553
|
+
}, {
|
|
554
|
+
readonly internalType: "bytes32";
|
|
555
|
+
readonly name: "emitterAddress";
|
|
556
|
+
readonly type: "bytes32";
|
|
557
|
+
}];
|
|
558
|
+
readonly internalType: "struct PythInternalStructs.DataSource";
|
|
559
|
+
readonly name: "ds";
|
|
560
|
+
readonly type: "tuple";
|
|
561
|
+
}];
|
|
562
|
+
readonly name: "hashDataSource";
|
|
563
|
+
readonly outputs: readonly [{
|
|
564
|
+
readonly internalType: "bytes32";
|
|
565
|
+
readonly name: "";
|
|
566
|
+
readonly type: "bytes32";
|
|
567
|
+
}];
|
|
568
|
+
readonly stateMutability: "pure";
|
|
569
|
+
readonly type: "function";
|
|
570
|
+
}, {
|
|
571
|
+
readonly inputs: readonly [{
|
|
572
|
+
readonly internalType: "address";
|
|
573
|
+
readonly name: "wormhole";
|
|
574
|
+
readonly type: "address";
|
|
575
|
+
}, {
|
|
576
|
+
readonly internalType: "uint16[]";
|
|
577
|
+
readonly name: "dataSourceEmitterChainIds";
|
|
578
|
+
readonly type: "uint16[]";
|
|
579
|
+
}, {
|
|
580
|
+
readonly internalType: "bytes32[]";
|
|
581
|
+
readonly name: "dataSourceEmitterAddresses";
|
|
582
|
+
readonly type: "bytes32[]";
|
|
583
|
+
}, {
|
|
584
|
+
readonly internalType: "uint16";
|
|
585
|
+
readonly name: "governanceEmitterChainId";
|
|
586
|
+
readonly type: "uint16";
|
|
587
|
+
}, {
|
|
588
|
+
readonly internalType: "bytes32";
|
|
589
|
+
readonly name: "governanceEmitterAddress";
|
|
590
|
+
readonly type: "bytes32";
|
|
591
|
+
}, {
|
|
592
|
+
readonly internalType: "uint64";
|
|
593
|
+
readonly name: "governanceInitialSequence";
|
|
594
|
+
readonly type: "uint64";
|
|
595
|
+
}, {
|
|
596
|
+
readonly internalType: "uint256";
|
|
597
|
+
readonly name: "validTimePeriodSeconds";
|
|
598
|
+
readonly type: "uint256";
|
|
599
|
+
}, {
|
|
600
|
+
readonly internalType: "uint256";
|
|
601
|
+
readonly name: "singleUpdateFeeInWei";
|
|
602
|
+
readonly type: "uint256";
|
|
603
|
+
}];
|
|
604
|
+
readonly name: "initialize";
|
|
605
|
+
readonly outputs: readonly [];
|
|
606
|
+
readonly stateMutability: "nonpayable";
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
}, {
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly internalType: "uint16";
|
|
611
|
+
readonly name: "dataSourceChainId";
|
|
612
|
+
readonly type: "uint16";
|
|
613
|
+
}, {
|
|
614
|
+
readonly internalType: "bytes32";
|
|
615
|
+
readonly name: "dataSourceEmitterAddress";
|
|
616
|
+
readonly type: "bytes32";
|
|
617
|
+
}];
|
|
618
|
+
readonly name: "isValidDataSource";
|
|
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 internalType: "uint16";
|
|
629
|
+
readonly name: "governanceChainId";
|
|
630
|
+
readonly type: "uint16";
|
|
631
|
+
}, {
|
|
632
|
+
readonly internalType: "bytes32";
|
|
633
|
+
readonly name: "governanceEmitterAddress";
|
|
634
|
+
readonly type: "bytes32";
|
|
635
|
+
}];
|
|
636
|
+
readonly name: "isValidGovernanceDataSource";
|
|
637
|
+
readonly outputs: readonly [{
|
|
638
|
+
readonly internalType: "bool";
|
|
639
|
+
readonly name: "";
|
|
640
|
+
readonly type: "bool";
|
|
641
|
+
}];
|
|
642
|
+
readonly stateMutability: "view";
|
|
643
|
+
readonly type: "function";
|
|
644
|
+
}, {
|
|
645
|
+
readonly inputs: readonly [];
|
|
646
|
+
readonly name: "lastExecutedGovernanceSequence";
|
|
647
|
+
readonly outputs: readonly [{
|
|
648
|
+
readonly internalType: "uint64";
|
|
649
|
+
readonly name: "";
|
|
650
|
+
readonly type: "uint64";
|
|
651
|
+
}];
|
|
652
|
+
readonly stateMutability: "view";
|
|
653
|
+
readonly type: "function";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [{
|
|
656
|
+
readonly internalType: "bytes32";
|
|
657
|
+
readonly name: "priceId";
|
|
658
|
+
readonly type: "bytes32";
|
|
659
|
+
}];
|
|
660
|
+
readonly name: "latestPriceInfoPublishTime";
|
|
661
|
+
readonly outputs: readonly [{
|
|
662
|
+
readonly internalType: "uint64";
|
|
663
|
+
readonly name: "";
|
|
664
|
+
readonly type: "uint64";
|
|
665
|
+
}];
|
|
666
|
+
readonly stateMutability: "view";
|
|
667
|
+
readonly type: "function";
|
|
668
|
+
}, {
|
|
669
|
+
readonly inputs: readonly [];
|
|
670
|
+
readonly name: "owner";
|
|
671
|
+
readonly outputs: readonly [{
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
readonly name: "";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}];
|
|
676
|
+
readonly stateMutability: "view";
|
|
677
|
+
readonly type: "function";
|
|
678
|
+
}, {
|
|
679
|
+
readonly inputs: readonly [{
|
|
680
|
+
readonly internalType: "bytes";
|
|
681
|
+
readonly name: "encodedPayload";
|
|
682
|
+
readonly type: "bytes";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "parseAuthorizeGovernanceDataSourceTransferPayload";
|
|
685
|
+
readonly outputs: readonly [{
|
|
686
|
+
readonly components: readonly [{
|
|
687
|
+
readonly internalType: "bytes";
|
|
688
|
+
readonly name: "claimVaa";
|
|
689
|
+
readonly type: "bytes";
|
|
690
|
+
}];
|
|
691
|
+
readonly internalType: "struct PythGovernanceInstructions.AuthorizeGovernanceDataSourceTransferPayload";
|
|
692
|
+
readonly name: "sgds";
|
|
693
|
+
readonly type: "tuple";
|
|
694
|
+
}];
|
|
695
|
+
readonly stateMutability: "pure";
|
|
696
|
+
readonly type: "function";
|
|
697
|
+
}, {
|
|
698
|
+
readonly inputs: readonly [{
|
|
699
|
+
readonly internalType: "bytes";
|
|
700
|
+
readonly name: "encodedInstruction";
|
|
701
|
+
readonly type: "bytes";
|
|
702
|
+
}];
|
|
703
|
+
readonly name: "parseGovernanceInstruction";
|
|
704
|
+
readonly outputs: readonly [{
|
|
705
|
+
readonly components: readonly [{
|
|
706
|
+
readonly internalType: "enum PythGovernanceInstructions.GovernanceModule";
|
|
707
|
+
readonly name: "module";
|
|
708
|
+
readonly type: "uint8";
|
|
709
|
+
}, {
|
|
710
|
+
readonly internalType: "enum PythGovernanceInstructions.GovernanceAction";
|
|
711
|
+
readonly name: "action";
|
|
712
|
+
readonly type: "uint8";
|
|
713
|
+
}, {
|
|
714
|
+
readonly internalType: "uint16";
|
|
715
|
+
readonly name: "targetChainId";
|
|
716
|
+
readonly type: "uint16";
|
|
717
|
+
}, {
|
|
718
|
+
readonly internalType: "bytes";
|
|
719
|
+
readonly name: "payload";
|
|
720
|
+
readonly type: "bytes";
|
|
721
|
+
}];
|
|
722
|
+
readonly internalType: "struct PythGovernanceInstructions.GovernanceInstruction";
|
|
723
|
+
readonly name: "gi";
|
|
724
|
+
readonly type: "tuple";
|
|
725
|
+
}];
|
|
726
|
+
readonly stateMutability: "pure";
|
|
727
|
+
readonly type: "function";
|
|
728
|
+
}, {
|
|
729
|
+
readonly inputs: readonly [{
|
|
730
|
+
readonly internalType: "bytes[]";
|
|
731
|
+
readonly name: "updateData";
|
|
732
|
+
readonly type: "bytes[]";
|
|
733
|
+
}, {
|
|
734
|
+
readonly internalType: "bytes32[]";
|
|
735
|
+
readonly name: "priceIds";
|
|
736
|
+
readonly type: "bytes32[]";
|
|
737
|
+
}, {
|
|
738
|
+
readonly internalType: "uint64";
|
|
739
|
+
readonly name: "minPublishTime";
|
|
740
|
+
readonly type: "uint64";
|
|
741
|
+
}, {
|
|
742
|
+
readonly internalType: "uint64";
|
|
743
|
+
readonly name: "maxPublishTime";
|
|
744
|
+
readonly type: "uint64";
|
|
745
|
+
}];
|
|
746
|
+
readonly name: "parsePriceFeedUpdates";
|
|
747
|
+
readonly outputs: readonly [{
|
|
748
|
+
readonly components: readonly [{
|
|
749
|
+
readonly internalType: "bytes32";
|
|
750
|
+
readonly name: "id";
|
|
751
|
+
readonly type: "bytes32";
|
|
752
|
+
}, {
|
|
753
|
+
readonly components: readonly [{
|
|
754
|
+
readonly internalType: "int64";
|
|
755
|
+
readonly name: "price";
|
|
756
|
+
readonly type: "int64";
|
|
757
|
+
}, {
|
|
758
|
+
readonly internalType: "uint64";
|
|
759
|
+
readonly name: "conf";
|
|
760
|
+
readonly type: "uint64";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "int32";
|
|
763
|
+
readonly name: "expo";
|
|
764
|
+
readonly type: "int32";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "uint256";
|
|
767
|
+
readonly name: "publishTime";
|
|
768
|
+
readonly type: "uint256";
|
|
769
|
+
}];
|
|
770
|
+
readonly internalType: "struct PythStructs.Price";
|
|
771
|
+
readonly name: "price";
|
|
772
|
+
readonly type: "tuple";
|
|
773
|
+
}, {
|
|
774
|
+
readonly components: readonly [{
|
|
775
|
+
readonly internalType: "int64";
|
|
776
|
+
readonly name: "price";
|
|
777
|
+
readonly type: "int64";
|
|
778
|
+
}, {
|
|
779
|
+
readonly internalType: "uint64";
|
|
780
|
+
readonly name: "conf";
|
|
781
|
+
readonly type: "uint64";
|
|
782
|
+
}, {
|
|
783
|
+
readonly internalType: "int32";
|
|
784
|
+
readonly name: "expo";
|
|
785
|
+
readonly type: "int32";
|
|
786
|
+
}, {
|
|
787
|
+
readonly internalType: "uint256";
|
|
788
|
+
readonly name: "publishTime";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
}];
|
|
791
|
+
readonly internalType: "struct PythStructs.Price";
|
|
792
|
+
readonly name: "emaPrice";
|
|
793
|
+
readonly type: "tuple";
|
|
794
|
+
}];
|
|
795
|
+
readonly internalType: "struct PythStructs.PriceFeed[]";
|
|
796
|
+
readonly name: "priceFeeds";
|
|
797
|
+
readonly type: "tuple[]";
|
|
798
|
+
}];
|
|
799
|
+
readonly stateMutability: "payable";
|
|
800
|
+
readonly type: "function";
|
|
801
|
+
}, {
|
|
802
|
+
readonly inputs: readonly [{
|
|
803
|
+
readonly internalType: "bytes";
|
|
804
|
+
readonly name: "encodedPayload";
|
|
805
|
+
readonly type: "bytes";
|
|
806
|
+
}];
|
|
807
|
+
readonly name: "parseRequestGovernanceDataSourceTransferPayload";
|
|
808
|
+
readonly outputs: readonly [{
|
|
809
|
+
readonly components: readonly [{
|
|
810
|
+
readonly internalType: "uint32";
|
|
811
|
+
readonly name: "governanceDataSourceIndex";
|
|
812
|
+
readonly type: "uint32";
|
|
813
|
+
}];
|
|
814
|
+
readonly internalType: "struct PythGovernanceInstructions.RequestGovernanceDataSourceTransferPayload";
|
|
815
|
+
readonly name: "sgdsClaim";
|
|
816
|
+
readonly type: "tuple";
|
|
817
|
+
}];
|
|
818
|
+
readonly stateMutability: "pure";
|
|
819
|
+
readonly type: "function";
|
|
820
|
+
}, {
|
|
821
|
+
readonly inputs: readonly [{
|
|
822
|
+
readonly internalType: "bytes";
|
|
823
|
+
readonly name: "encodedPayload";
|
|
824
|
+
readonly type: "bytes";
|
|
825
|
+
}];
|
|
826
|
+
readonly name: "parseSetDataSourcesPayload";
|
|
827
|
+
readonly outputs: readonly [{
|
|
828
|
+
readonly components: readonly [{
|
|
829
|
+
readonly components: readonly [{
|
|
830
|
+
readonly internalType: "uint16";
|
|
831
|
+
readonly name: "chainId";
|
|
832
|
+
readonly type: "uint16";
|
|
833
|
+
}, {
|
|
834
|
+
readonly internalType: "bytes32";
|
|
835
|
+
readonly name: "emitterAddress";
|
|
836
|
+
readonly type: "bytes32";
|
|
837
|
+
}];
|
|
838
|
+
readonly internalType: "struct PythInternalStructs.DataSource[]";
|
|
839
|
+
readonly name: "dataSources";
|
|
840
|
+
readonly type: "tuple[]";
|
|
841
|
+
}];
|
|
842
|
+
readonly internalType: "struct PythGovernanceInstructions.SetDataSourcesPayload";
|
|
843
|
+
readonly name: "sds";
|
|
844
|
+
readonly type: "tuple";
|
|
845
|
+
}];
|
|
846
|
+
readonly stateMutability: "pure";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly internalType: "bytes";
|
|
851
|
+
readonly name: "encodedPayload";
|
|
852
|
+
readonly type: "bytes";
|
|
853
|
+
}];
|
|
854
|
+
readonly name: "parseSetFeePayload";
|
|
855
|
+
readonly outputs: readonly [{
|
|
856
|
+
readonly components: readonly [{
|
|
857
|
+
readonly internalType: "uint256";
|
|
858
|
+
readonly name: "newFee";
|
|
859
|
+
readonly type: "uint256";
|
|
860
|
+
}];
|
|
861
|
+
readonly internalType: "struct PythGovernanceInstructions.SetFeePayload";
|
|
862
|
+
readonly name: "sf";
|
|
863
|
+
readonly type: "tuple";
|
|
864
|
+
}];
|
|
865
|
+
readonly stateMutability: "pure";
|
|
866
|
+
readonly type: "function";
|
|
867
|
+
}, {
|
|
868
|
+
readonly inputs: readonly [{
|
|
869
|
+
readonly internalType: "bytes";
|
|
870
|
+
readonly name: "encodedPayload";
|
|
871
|
+
readonly type: "bytes";
|
|
872
|
+
}];
|
|
873
|
+
readonly name: "parseSetValidPeriodPayload";
|
|
874
|
+
readonly outputs: readonly [{
|
|
875
|
+
readonly components: readonly [{
|
|
876
|
+
readonly internalType: "uint256";
|
|
877
|
+
readonly name: "newValidPeriod";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
}];
|
|
880
|
+
readonly internalType: "struct PythGovernanceInstructions.SetValidPeriodPayload";
|
|
881
|
+
readonly name: "svp";
|
|
882
|
+
readonly type: "tuple";
|
|
883
|
+
}];
|
|
884
|
+
readonly stateMutability: "pure";
|
|
885
|
+
readonly type: "function";
|
|
886
|
+
}, {
|
|
887
|
+
readonly inputs: readonly [{
|
|
888
|
+
readonly internalType: "bytes";
|
|
889
|
+
readonly name: "encodedPayload";
|
|
890
|
+
readonly type: "bytes";
|
|
891
|
+
}];
|
|
892
|
+
readonly name: "parseUpgradeContractPayload";
|
|
893
|
+
readonly outputs: readonly [{
|
|
894
|
+
readonly components: readonly [{
|
|
895
|
+
readonly internalType: "address";
|
|
896
|
+
readonly name: "newImplementation";
|
|
897
|
+
readonly type: "address";
|
|
898
|
+
}];
|
|
899
|
+
readonly internalType: "struct PythGovernanceInstructions.UpgradeContractPayload";
|
|
900
|
+
readonly name: "uc";
|
|
901
|
+
readonly type: "tuple";
|
|
902
|
+
}];
|
|
903
|
+
readonly stateMutability: "pure";
|
|
904
|
+
readonly type: "function";
|
|
905
|
+
}, {
|
|
906
|
+
readonly inputs: readonly [{
|
|
907
|
+
readonly internalType: "bytes32";
|
|
908
|
+
readonly name: "id";
|
|
909
|
+
readonly type: "bytes32";
|
|
910
|
+
}];
|
|
911
|
+
readonly name: "priceFeedExists";
|
|
912
|
+
readonly outputs: readonly [{
|
|
913
|
+
readonly internalType: "bool";
|
|
914
|
+
readonly name: "";
|
|
915
|
+
readonly type: "bool";
|
|
916
|
+
}];
|
|
917
|
+
readonly stateMutability: "view";
|
|
918
|
+
readonly type: "function";
|
|
919
|
+
}, {
|
|
920
|
+
readonly inputs: readonly [];
|
|
921
|
+
readonly name: "proxiableUUID";
|
|
922
|
+
readonly outputs: readonly [{
|
|
923
|
+
readonly internalType: "bytes32";
|
|
924
|
+
readonly name: "";
|
|
925
|
+
readonly type: "bytes32";
|
|
926
|
+
}];
|
|
927
|
+
readonly stateMutability: "view";
|
|
928
|
+
readonly type: "function";
|
|
929
|
+
}, {
|
|
930
|
+
readonly inputs: readonly [];
|
|
931
|
+
readonly name: "pythUpgradableMagic";
|
|
932
|
+
readonly outputs: readonly [{
|
|
933
|
+
readonly internalType: "uint32";
|
|
934
|
+
readonly name: "";
|
|
935
|
+
readonly type: "uint32";
|
|
936
|
+
}];
|
|
937
|
+
readonly stateMutability: "pure";
|
|
938
|
+
readonly type: "function";
|
|
939
|
+
}, {
|
|
940
|
+
readonly inputs: readonly [{
|
|
941
|
+
readonly internalType: "bytes32";
|
|
942
|
+
readonly name: "id";
|
|
943
|
+
readonly type: "bytes32";
|
|
944
|
+
}];
|
|
945
|
+
readonly name: "queryPriceFeed";
|
|
946
|
+
readonly outputs: readonly [{
|
|
947
|
+
readonly components: readonly [{
|
|
948
|
+
readonly internalType: "bytes32";
|
|
949
|
+
readonly name: "id";
|
|
950
|
+
readonly type: "bytes32";
|
|
951
|
+
}, {
|
|
952
|
+
readonly components: readonly [{
|
|
953
|
+
readonly internalType: "int64";
|
|
954
|
+
readonly name: "price";
|
|
955
|
+
readonly type: "int64";
|
|
956
|
+
}, {
|
|
957
|
+
readonly internalType: "uint64";
|
|
958
|
+
readonly name: "conf";
|
|
959
|
+
readonly type: "uint64";
|
|
960
|
+
}, {
|
|
961
|
+
readonly internalType: "int32";
|
|
962
|
+
readonly name: "expo";
|
|
963
|
+
readonly type: "int32";
|
|
964
|
+
}, {
|
|
965
|
+
readonly internalType: "uint256";
|
|
966
|
+
readonly name: "publishTime";
|
|
967
|
+
readonly type: "uint256";
|
|
968
|
+
}];
|
|
969
|
+
readonly internalType: "struct PythStructs.Price";
|
|
970
|
+
readonly name: "price";
|
|
971
|
+
readonly type: "tuple";
|
|
972
|
+
}, {
|
|
973
|
+
readonly components: readonly [{
|
|
974
|
+
readonly internalType: "int64";
|
|
975
|
+
readonly name: "price";
|
|
976
|
+
readonly type: "int64";
|
|
977
|
+
}, {
|
|
978
|
+
readonly internalType: "uint64";
|
|
979
|
+
readonly name: "conf";
|
|
980
|
+
readonly type: "uint64";
|
|
981
|
+
}, {
|
|
982
|
+
readonly internalType: "int32";
|
|
983
|
+
readonly name: "expo";
|
|
984
|
+
readonly type: "int32";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "uint256";
|
|
987
|
+
readonly name: "publishTime";
|
|
988
|
+
readonly type: "uint256";
|
|
989
|
+
}];
|
|
990
|
+
readonly internalType: "struct PythStructs.Price";
|
|
991
|
+
readonly name: "emaPrice";
|
|
992
|
+
readonly type: "tuple";
|
|
993
|
+
}];
|
|
994
|
+
readonly internalType: "struct PythStructs.PriceFeed";
|
|
995
|
+
readonly name: "priceFeed";
|
|
996
|
+
readonly type: "tuple";
|
|
997
|
+
}];
|
|
998
|
+
readonly stateMutability: "view";
|
|
999
|
+
readonly type: "function";
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly inputs: readonly [];
|
|
1002
|
+
readonly name: "renounceOwnership";
|
|
1003
|
+
readonly outputs: readonly [];
|
|
1004
|
+
readonly stateMutability: "nonpayable";
|
|
1005
|
+
readonly type: "function";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly inputs: readonly [];
|
|
1008
|
+
readonly name: "singleUpdateFeeInWei";
|
|
1009
|
+
readonly outputs: readonly [{
|
|
1010
|
+
readonly internalType: "uint256";
|
|
1011
|
+
readonly name: "";
|
|
1012
|
+
readonly type: "uint256";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly stateMutability: "view";
|
|
1015
|
+
readonly type: "function";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly inputs: readonly [{
|
|
1018
|
+
readonly internalType: "address";
|
|
1019
|
+
readonly name: "newOwner";
|
|
1020
|
+
readonly type: "address";
|
|
1021
|
+
}];
|
|
1022
|
+
readonly name: "transferOwnership";
|
|
1023
|
+
readonly outputs: readonly [];
|
|
1024
|
+
readonly stateMutability: "nonpayable";
|
|
1025
|
+
readonly type: "function";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly inputs: readonly [{
|
|
1028
|
+
readonly internalType: "bytes[]";
|
|
1029
|
+
readonly name: "updateData";
|
|
1030
|
+
readonly type: "bytes[]";
|
|
1031
|
+
}];
|
|
1032
|
+
readonly name: "updatePriceFeeds";
|
|
1033
|
+
readonly outputs: readonly [];
|
|
1034
|
+
readonly stateMutability: "payable";
|
|
1035
|
+
readonly type: "function";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly inputs: readonly [{
|
|
1038
|
+
readonly internalType: "bytes[]";
|
|
1039
|
+
readonly name: "updateData";
|
|
1040
|
+
readonly type: "bytes[]";
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly internalType: "bytes32[]";
|
|
1043
|
+
readonly name: "priceIds";
|
|
1044
|
+
readonly type: "bytes32[]";
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly internalType: "uint64[]";
|
|
1047
|
+
readonly name: "publishTimes";
|
|
1048
|
+
readonly type: "uint64[]";
|
|
1049
|
+
}];
|
|
1050
|
+
readonly name: "updatePriceFeedsIfNecessary";
|
|
1051
|
+
readonly outputs: readonly [];
|
|
1052
|
+
readonly stateMutability: "payable";
|
|
1053
|
+
readonly type: "function";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly inputs: readonly [{
|
|
1056
|
+
readonly internalType: "address";
|
|
1057
|
+
readonly name: "newImplementation";
|
|
1058
|
+
readonly type: "address";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly name: "upgradeTo";
|
|
1061
|
+
readonly outputs: readonly [];
|
|
1062
|
+
readonly stateMutability: "nonpayable";
|
|
1063
|
+
readonly type: "function";
|
|
1064
|
+
}, {
|
|
1065
|
+
readonly inputs: readonly [{
|
|
1066
|
+
readonly internalType: "address";
|
|
1067
|
+
readonly name: "newImplementation";
|
|
1068
|
+
readonly type: "address";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly internalType: "bytes";
|
|
1071
|
+
readonly name: "data";
|
|
1072
|
+
readonly type: "bytes";
|
|
1073
|
+
}];
|
|
1074
|
+
readonly name: "upgradeToAndCall";
|
|
1075
|
+
readonly outputs: readonly [];
|
|
1076
|
+
readonly stateMutability: "payable";
|
|
1077
|
+
readonly type: "function";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly inputs: readonly [];
|
|
1080
|
+
readonly name: "validDataSources";
|
|
1081
|
+
readonly outputs: readonly [{
|
|
1082
|
+
readonly components: readonly [{
|
|
1083
|
+
readonly internalType: "uint16";
|
|
1084
|
+
readonly name: "chainId";
|
|
1085
|
+
readonly type: "uint16";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly internalType: "bytes32";
|
|
1088
|
+
readonly name: "emitterAddress";
|
|
1089
|
+
readonly type: "bytes32";
|
|
1090
|
+
}];
|
|
1091
|
+
readonly internalType: "struct PythInternalStructs.DataSource[]";
|
|
1092
|
+
readonly name: "";
|
|
1093
|
+
readonly type: "tuple[]";
|
|
1094
|
+
}];
|
|
1095
|
+
readonly stateMutability: "view";
|
|
1096
|
+
readonly type: "function";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly inputs: readonly [];
|
|
1099
|
+
readonly name: "validTimePeriodSeconds";
|
|
1100
|
+
readonly outputs: readonly [{
|
|
1101
|
+
readonly internalType: "uint256";
|
|
1102
|
+
readonly name: "";
|
|
1103
|
+
readonly type: "uint256";
|
|
1104
|
+
}];
|
|
1105
|
+
readonly stateMutability: "view";
|
|
1106
|
+
readonly type: "function";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly inputs: readonly [];
|
|
1109
|
+
readonly name: "version";
|
|
1110
|
+
readonly outputs: readonly [{
|
|
1111
|
+
readonly internalType: "string";
|
|
1112
|
+
readonly name: "";
|
|
1113
|
+
readonly type: "string";
|
|
1114
|
+
}];
|
|
1115
|
+
readonly stateMutability: "pure";
|
|
1116
|
+
readonly type: "function";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly inputs: readonly [];
|
|
1119
|
+
readonly name: "wormhole";
|
|
1120
|
+
readonly outputs: readonly [{
|
|
1121
|
+
readonly internalType: "contract IWormhole";
|
|
1122
|
+
readonly name: "";
|
|
1123
|
+
readonly type: "address";
|
|
1124
|
+
}];
|
|
1125
|
+
readonly stateMutability: "view";
|
|
1126
|
+
readonly type: "function";
|
|
1127
|
+
}];
|
|
1128
|
+
static createInterface(): PythInterface;
|
|
1129
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Pyth;
|
|
1130
|
+
}
|