@sentio/sdk 2.5.1-rc.1 → 2.5.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/eth/codegen/event-handler.js.map +1 -1
- package/lib/eth/codegen/functions-handler.js +4 -9
- package/lib/eth/codegen/functions-handler.js.map +1 -1
- package/lib/eth/context.js.map +1 -1
- package/lib/eth/index.d.ts +0 -1
- package/lib/eth/index.js +0 -1
- package/lib/eth/index.js.map +1 -1
- package/lib/move/abstract-codegen.js +3 -9
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/sui/sui-processor.js.map +1 -1
- package/lib/utils/dex-price.test.js.map +1 -1
- package/lib/utils/erc20.test.js.map +1 -1
- package/package.json +5 -8
- package/src/eth/codegen/event-handler.ts +1 -1
- package/src/eth/codegen/functions-handler.ts +4 -10
- package/src/eth/context.ts +0 -1
- package/src/eth/index.ts +0 -1
- package/src/move/abstract-codegen.ts +3 -10
- package/src/sui/sui-processor.ts +1 -1
- package/lib/aptos/tests/aptos.test.d.ts +0 -1
- package/lib/aptos/tests/aptos.test.js.map +0 -1
- package/lib/aptos/tests/souffl3.d.ts +0 -1
- package/lib/aptos/tests/souffl3.js +0 -43
- package/lib/aptos/tests/souffl3.js.map +0 -1
- package/lib/aptos/tests/types/index.d.ts +0 -3
- package/lib/aptos/tests/types/index.js +0 -7
- package/lib/aptos/tests/types/index.js.map +0 -1
- package/lib/aptos/tests/types/reserved.d.ts +0 -340
- package/lib/aptos/tests/types/reserved.js +0 -287
- package/lib/aptos/tests/types/reserved.js.map +0 -1
- package/lib/aptos/tests/types/soffl3.d.ts +0 -801
- package/lib/aptos/tests/types/soffl3.js +0 -514
- package/lib/aptos/tests/types/soffl3.js.map +0 -1
- package/lib/aptos/tests/types/souffle.d.ts +0 -335
- package/lib/aptos/tests/types/souffle.js +0 -281
- package/lib/aptos/tests/types/souffle.js.map +0 -1
- package/lib/eth/error.d.ts +0 -1
- package/lib/eth/error.js +0 -3
- package/lib/eth/error.js.map +0 -1
- package/lib/eth/tests/account.test.d.ts +0 -1
- package/lib/eth/tests/account.test.js.map +0 -1
- package/lib/eth/tests/codegen.test.d.ts +0 -1
- package/lib/eth/tests/codegen.test.js.map +0 -1
- package/lib/eth/tests/erc20-template.test.d.ts +0 -1
- package/lib/eth/tests/erc20-template.test.js.map +0 -1
- package/lib/eth/tests/erc20.d.ts +0 -1
- package/lib/eth/tests/erc20.js +0 -52
- package/lib/eth/tests/erc20.js.map +0 -1
- package/lib/eth/tests/erc20.test.d.ts +0 -1
- package/lib/eth/tests/erc20.test.js.map +0 -1
- package/lib/eth/tests/error-capture.test.d.ts +0 -1
- package/lib/eth/tests/error-capture.test.js.map +0 -1
- package/lib/eth/tests/logger.test.d.ts +0 -1
- package/lib/eth/tests/logger.test.js.map +0 -1
- package/lib/eth/tests/types/anyswaprouter.d.ts +0 -3
- package/lib/eth/tests/types/anyswaprouter.js +0 -7
- package/lib/eth/tests/types/anyswaprouter.js.map +0 -1
- package/lib/eth/tests/types/commitmentpool.d.ts +0 -3
- package/lib/eth/tests/types/commitmentpool.js +0 -7
- package/lib/eth/tests/types/commitmentpool.js.map +0 -1
- package/lib/eth/tests/types/index.d.ts +0 -12
- package/lib/eth/tests/types/index.js +0 -16
- package/lib/eth/tests/types/index.js.map +0 -1
- package/lib/eth/tests/types/internal/AnyswapRouter.d.ts +0 -122
- package/lib/eth/tests/types/internal/AnyswapRouter.js +0 -2
- package/lib/eth/tests/types/internal/AnyswapRouter.js.map +0 -1
- package/lib/eth/tests/types/internal/CommitmentPool.d.ts +0 -176
- package/lib/eth/tests/types/internal/CommitmentPool.js +0 -2
- package/lib/eth/tests/types/internal/CommitmentPool.js.map +0 -1
- package/lib/eth/tests/types/internal/MembershipStakerV3.d.ts +0 -81
- package/lib/eth/tests/types/internal/MembershipStakerV3.js +0 -2
- package/lib/eth/tests/types/internal/MembershipStakerV3.js.map +0 -1
- package/lib/eth/tests/types/internal/Pyth.d.ts +0 -204
- package/lib/eth/tests/types/internal/Pyth.js +0 -2
- package/lib/eth/tests/types/internal/Pyth.js.map +0 -1
- package/lib/eth/tests/types/internal/Seaport.d.ts +0 -350
- package/lib/eth/tests/types/internal/Seaport.js +0 -2
- package/lib/eth/tests/types/internal/Seaport.js.map +0 -1
- package/lib/eth/tests/types/internal/TokenExchange.d.ts +0 -128
- package/lib/eth/tests/types/internal/TokenExchange.js +0 -2
- package/lib/eth/tests/types/internal/TokenExchange.js.map +0 -1
- package/lib/eth/tests/types/internal/anyswaprouter-processor.d.ts +0 -463
- package/lib/eth/tests/types/internal/anyswaprouter-processor.js +0 -425
- package/lib/eth/tests/types/internal/anyswaprouter-processor.js.map +0 -1
- package/lib/eth/tests/types/internal/anyswaprouter-test-utils.d.ts +0 -9
- package/lib/eth/tests/types/internal/anyswaprouter-test-utils.js +0 -124
- package/lib/eth/tests/types/internal/anyswaprouter-test-utils.js.map +0 -1
- package/lib/eth/tests/types/internal/commitmentpool-processor.d.ts +0 -348
- package/lib/eth/tests/types/internal/commitmentpool-processor.js +0 -607
- package/lib/eth/tests/types/internal/commitmentpool-processor.js.map +0 -1
- package/lib/eth/tests/types/internal/commitmentpool-test-utils.d.ts +0 -9
- package/lib/eth/tests/types/internal/commitmentpool-test-utils.js +0 -87
- package/lib/eth/tests/types/internal/commitmentpool-test-utils.js.map +0 -1
- package/lib/eth/tests/types/internal/common.d.ts +0 -10
- package/lib/eth/tests/types/internal/common.js +0 -8
- package/lib/eth/tests/types/internal/common.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.d.ts +0 -988
- package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.js +0 -1269
- package/lib/eth/tests/types/internal/factories/AnyswapRouter__factory.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.d.ts +0 -792
- package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.js +0 -1040
- package/lib/eth/tests/types/internal/factories/CommitmentPool__factory.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.d.ts +0 -549
- package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.js +0 -721
- package/lib/eth/tests/types/internal/factories/MembershipStakerV3__factory.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/Pyth__factory.d.ts +0 -1130
- package/lib/eth/tests/types/internal/factories/Pyth__factory.js +0 -1486
- package/lib/eth/tests/types/internal/factories/Pyth__factory.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/Seaport__factory.d.ts +0 -2018
- package/lib/eth/tests/types/internal/factories/Seaport__factory.js +0 -2610
- package/lib/eth/tests/types/internal/factories/Seaport__factory.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/TokenExchange__factory.d.ts +0 -651
- package/lib/eth/tests/types/internal/factories/TokenExchange__factory.js +0 -853
- package/lib/eth/tests/types/internal/factories/TokenExchange__factory.js.map +0 -1
- package/lib/eth/tests/types/internal/factories/index.d.ts +0 -6
- package/lib/eth/tests/types/internal/factories/index.js +0 -10
- package/lib/eth/tests/types/internal/factories/index.js.map +0 -1
- package/lib/eth/tests/types/internal/index.d.ts +0 -13
- package/lib/eth/tests/types/internal/index.js +0 -8
- package/lib/eth/tests/types/internal/index.js.map +0 -1
- package/lib/eth/tests/types/internal/membershipstakerv3-processor.d.ts +0 -287
- package/lib/eth/tests/types/internal/membershipstakerv3-processor.js +0 -596
- package/lib/eth/tests/types/internal/membershipstakerv3-processor.js.map +0 -1
- package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.d.ts +0 -11
- package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.js +0 -109
- package/lib/eth/tests/types/internal/membershipstakerv3-test-utils.js.map +0 -1
- package/lib/eth/tests/types/internal/pyth-processor.d.ts +0 -422
- package/lib/eth/tests/types/internal/pyth-processor.js +0 -890
- package/lib/eth/tests/types/internal/pyth-processor.js.map +0 -1
- package/lib/eth/tests/types/internal/pyth-test-utils.d.ts +0 -13
- package/lib/eth/tests/types/internal/pyth-test-utils.js +0 -131
- package/lib/eth/tests/types/internal/pyth-test-utils.js.map +0 -1
- package/lib/eth/tests/types/internal/seaport-processor.d.ts +0 -211
- package/lib/eth/tests/types/internal/seaport-processor.js +0 -237
- package/lib/eth/tests/types/internal/seaport-processor.js.map +0 -1
- package/lib/eth/tests/types/internal/seaport-test-utils.d.ts +0 -6
- package/lib/eth/tests/types/internal/seaport-test-utils.js +0 -61
- package/lib/eth/tests/types/internal/seaport-test-utils.js.map +0 -1
- package/lib/eth/tests/types/internal/tokenexchange-processor.d.ts +0 -334
- package/lib/eth/tests/types/internal/tokenexchange-processor.js +0 -667
- package/lib/eth/tests/types/internal/tokenexchange-processor.js.map +0 -1
- package/lib/eth/tests/types/internal/tokenexchange-test-utils.d.ts +0 -13
- package/lib/eth/tests/types/internal/tokenexchange-test-utils.js +0 -149
- package/lib/eth/tests/types/internal/tokenexchange-test-utils.js.map +0 -1
- package/lib/eth/tests/types/membershipstakerv3.d.ts +0 -3
- package/lib/eth/tests/types/membershipstakerv3.js +0 -7
- package/lib/eth/tests/types/membershipstakerv3.js.map +0 -1
- package/lib/eth/tests/types/pyth.d.ts +0 -3
- package/lib/eth/tests/types/pyth.js +0 -7
- package/lib/eth/tests/types/pyth.js.map +0 -1
- package/lib/eth/tests/types/seaport.d.ts +0 -3
- package/lib/eth/tests/types/seaport.js +0 -7
- package/lib/eth/tests/types/seaport.js.map +0 -1
- package/lib/eth/tests/types/tokenexchange.d.ts +0 -3
- package/lib/eth/tests/types/tokenexchange.js +0 -7
- package/lib/eth/tests/types/tokenexchange.js.map +0 -1
- package/lib/solana/tests/solana.test.d.ts +0 -1
- package/lib/solana/tests/solana.test.js.map +0 -1
- package/lib/solana/tests/types/basic_1.d.ts +0 -26
- package/lib/solana/tests/types/basic_1.js +0 -63
- package/lib/solana/tests/types/basic_1.js.map +0 -1
- package/lib/solana/tests/types/basic_1_processor.d.ts +0 -21
- package/lib/solana/tests/types/basic_1_processor.js +0 -35
- package/lib/solana/tests/types/basic_1_processor.js.map +0 -1
- package/lib/solana/tests/types/token_bridge.d.ts +0 -29
- package/lib/solana/tests/types/token_bridge.js +0 -938
- package/lib/solana/tests/types/token_bridge.js.map +0 -1
- package/lib/solana/tests/types/token_bridge_processor.d.ts +0 -212
- package/lib/solana/tests/types/token_bridge_processor.js +0 -134
- package/lib/solana/tests/types/token_bridge_processor.js.map +0 -1
- package/lib/solana/tests/wormhole-token-bridge.d.ts +0 -15
- package/lib/solana/tests/wormhole-token-bridge.js +0 -79
- package/lib/solana/tests/wormhole-token-bridge.js.map +0 -1
- package/lib/sui/tests/sui.test.d.ts +0 -1
- package/lib/sui/tests/sui.test.js.map +0 -1
- package/lib/sui/tests/types/index.d.ts +0 -1
- package/lib/sui/tests/types/index.js +0 -5
- package/lib/sui/tests/types/index.js.map +0 -1
- package/lib/sui/tests/types/testnet/index.d.ts +0 -1
- package/lib/sui/tests/types/testnet/index.js +0 -5
- package/lib/sui/tests/types/testnet/index.js.map +0 -1
- package/lib/sui/tests/types/testnet/swap.d.ts +0 -249
- package/lib/sui/tests/types/testnet/swap.js +0 -310
- package/lib/sui/tests/types/testnet/swap.js.map +0 -1
- package/src/aptos/tests/abis/reserved.json +0 -402
- package/src/aptos/tests/abis/soffl3.json +0 -1411
- package/src/aptos/tests/abis/souffle.json +0 -389
- package/src/aptos/tests/souffl3.ts +0 -56
- package/src/aptos/tests/types/index.ts +0 -6
- package/src/aptos/tests/types/reserved.ts +0 -766
- package/src/aptos/tests/types/soffl3.ts +0 -1528
- package/src/aptos/tests/types/souffle.ts +0 -765
- package/src/eth/error.ts +0 -4
- package/src/eth/tests/abis/eth/CommitmentPool.json +0 -1034
- package/src/eth/tests/abis/eth/MembershipStakerV3.json +0 -706
- package/src/eth/tests/abis/eth/Pyth.json +0 -1471
- package/src/eth/tests/abis/eth/Seaport.json +0 -2595
- package/src/eth/tests/abis/eth/TokenExchange.json +0 -838
- package/src/eth/tests/abis/eth/anyswapRouter.json +0 -490
- package/src/eth/tests/erc20.ts +0 -63
- package/src/eth/tests/types/anyswaprouter.ts +0 -7
- package/src/eth/tests/types/commitmentpool.ts +0 -7
- package/src/eth/tests/types/index.ts +0 -33
- package/src/eth/tests/types/internal/AnyswapRouter.ts +0 -122
- package/src/eth/tests/types/internal/CommitmentPool.ts +0 -208
- package/src/eth/tests/types/internal/MembershipStakerV3.ts +0 -108
- package/src/eth/tests/types/internal/Pyth.ts +0 -246
- package/src/eth/tests/types/internal/Seaport.ts +0 -389
- package/src/eth/tests/types/internal/TokenExchange.ts +0 -142
- package/src/eth/tests/types/internal/anyswaprouter-processor.ts +0 -1396
- package/src/eth/tests/types/internal/anyswaprouter-test-utils.ts +0 -187
- package/src/eth/tests/types/internal/commitmentpool-processor.ts +0 -1575
- package/src/eth/tests/types/internal/commitmentpool-test-utils.ts +0 -150
- package/src/eth/tests/types/internal/common.ts +0 -23
- package/src/eth/tests/types/internal/factories/AnyswapRouter__factory.ts +0 -1278
- package/src/eth/tests/types/internal/factories/CommitmentPool__factory.ts +0 -1049
- package/src/eth/tests/types/internal/factories/MembershipStakerV3__factory.ts +0 -730
- package/src/eth/tests/types/internal/factories/Pyth__factory.ts +0 -1492
- package/src/eth/tests/types/internal/factories/Seaport__factory.ts +0 -2616
- package/src/eth/tests/types/internal/factories/TokenExchange__factory.ts +0 -862
- package/src/eth/tests/types/internal/factories/index.ts +0 -9
- package/src/eth/tests/types/internal/index.ts +0 -16
- package/src/eth/tests/types/internal/membershipstakerv3-processor.ts +0 -1399
- package/src/eth/tests/types/internal/membershipstakerv3-test-utils.ts +0 -188
- package/src/eth/tests/types/internal/pyth-processor.ts +0 -2043
- package/src/eth/tests/types/internal/pyth-test-utils.ts +0 -226
- package/src/eth/tests/types/internal/seaport-processor.ts +0 -678
- package/src/eth/tests/types/internal/seaport-test-utils.ts +0 -100
- package/src/eth/tests/types/internal/tokenexchange-processor.ts +0 -1570
- package/src/eth/tests/types/internal/tokenexchange-test-utils.ts +0 -244
- package/src/eth/tests/types/membershipstakerv3.ts +0 -7
- package/src/eth/tests/types/pyth.ts +0 -7
- package/src/eth/tests/types/seaport.ts +0 -7
- package/src/eth/tests/types/tokenexchange.ts +0 -7
- package/src/solana/tests/abis/basic_1.json +0 -62
- package/src/solana/tests/abis/token_bridge.json +0 -937
- package/src/solana/tests/types/basic_1.ts +0 -62
- package/src/solana/tests/types/basic_1_processor.ts +0 -42
- package/src/solana/tests/types/token_bridge.ts +0 -937
- package/src/solana/tests/types/token_bridge_processor.ts +0 -150
- package/src/solana/tests/wormhole-token-bridge.ts +0 -96
- package/src/sui/tests/abis/testnet/swap.json +0 -1752
- package/src/sui/tests/types/index.ts +0 -3
- package/src/sui/tests/types/testnet/index.ts +0 -4
- package/src/sui/tests/types/testnet/swap.ts +0 -698
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, Interface } from "ethers";
|
|
2
|
-
import type { ContractRunner } from "ethers/providers";
|
|
3
|
-
import type { TypedEventFilter, TypedEvent } from "./common.js";
|
|
4
|
-
export declare namespace PythInternalStructs {
|
|
5
|
-
type DataSourceStruct = {
|
|
6
|
-
chainId: BigNumberish;
|
|
7
|
-
emitterAddress: BytesLike;
|
|
8
|
-
};
|
|
9
|
-
type DataSourceStructOutput = [bigint, string] & {
|
|
10
|
-
chainId: bigint;
|
|
11
|
-
emitterAddress: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare namespace PythStructs {
|
|
15
|
-
type PriceStruct = {
|
|
16
|
-
price: BigNumberish;
|
|
17
|
-
conf: BigNumberish;
|
|
18
|
-
expo: BigNumberish;
|
|
19
|
-
publishTime: BigNumberish;
|
|
20
|
-
};
|
|
21
|
-
type PriceStructOutput = [bigint, bigint, bigint, bigint] & {
|
|
22
|
-
price: bigint;
|
|
23
|
-
conf: bigint;
|
|
24
|
-
expo: bigint;
|
|
25
|
-
publishTime: bigint;
|
|
26
|
-
};
|
|
27
|
-
type PriceFeedStruct = {
|
|
28
|
-
id: BytesLike;
|
|
29
|
-
price: PythStructs.PriceStruct;
|
|
30
|
-
emaPrice: PythStructs.PriceStruct;
|
|
31
|
-
};
|
|
32
|
-
type PriceFeedStructOutput = [
|
|
33
|
-
string,
|
|
34
|
-
PythStructs.PriceStructOutput,
|
|
35
|
-
PythStructs.PriceStructOutput
|
|
36
|
-
] & {
|
|
37
|
-
id: string;
|
|
38
|
-
price: PythStructs.PriceStructOutput;
|
|
39
|
-
emaPrice: PythStructs.PriceStructOutput;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export declare namespace PythGovernanceInstructions {
|
|
43
|
-
type AuthorizeGovernanceDataSourceTransferPayloadStruct = {
|
|
44
|
-
claimVaa: BytesLike;
|
|
45
|
-
};
|
|
46
|
-
type AuthorizeGovernanceDataSourceTransferPayloadStructOutput = [
|
|
47
|
-
string
|
|
48
|
-
] & {
|
|
49
|
-
claimVaa: string;
|
|
50
|
-
};
|
|
51
|
-
type GovernanceInstructionStruct = {
|
|
52
|
-
module: BigNumberish;
|
|
53
|
-
action: BigNumberish;
|
|
54
|
-
targetChainId: BigNumberish;
|
|
55
|
-
payload: BytesLike;
|
|
56
|
-
};
|
|
57
|
-
type GovernanceInstructionStructOutput = [
|
|
58
|
-
bigint,
|
|
59
|
-
bigint,
|
|
60
|
-
bigint,
|
|
61
|
-
string
|
|
62
|
-
] & {
|
|
63
|
-
module: bigint;
|
|
64
|
-
action: bigint;
|
|
65
|
-
targetChainId: bigint;
|
|
66
|
-
payload: string;
|
|
67
|
-
};
|
|
68
|
-
type RequestGovernanceDataSourceTransferPayloadStruct = {
|
|
69
|
-
governanceDataSourceIndex: BigNumberish;
|
|
70
|
-
};
|
|
71
|
-
type RequestGovernanceDataSourceTransferPayloadStructOutput = [
|
|
72
|
-
bigint
|
|
73
|
-
] & {
|
|
74
|
-
governanceDataSourceIndex: bigint;
|
|
75
|
-
};
|
|
76
|
-
type SetDataSourcesPayloadStruct = {
|
|
77
|
-
dataSources: PythInternalStructs.DataSourceStruct[];
|
|
78
|
-
};
|
|
79
|
-
type SetDataSourcesPayloadStructOutput = [
|
|
80
|
-
PythInternalStructs.DataSourceStructOutput[]
|
|
81
|
-
] & {
|
|
82
|
-
dataSources: PythInternalStructs.DataSourceStructOutput[];
|
|
83
|
-
};
|
|
84
|
-
type SetFeePayloadStruct = {
|
|
85
|
-
newFee: BigNumberish;
|
|
86
|
-
};
|
|
87
|
-
type SetFeePayloadStructOutput = [bigint] & {
|
|
88
|
-
newFee: bigint;
|
|
89
|
-
};
|
|
90
|
-
type SetValidPeriodPayloadStruct = {
|
|
91
|
-
newValidPeriod: BigNumberish;
|
|
92
|
-
};
|
|
93
|
-
type SetValidPeriodPayloadStructOutput = [bigint] & {
|
|
94
|
-
newValidPeriod: bigint;
|
|
95
|
-
};
|
|
96
|
-
type UpgradeContractPayloadStruct = {
|
|
97
|
-
newImplementation: string;
|
|
98
|
-
};
|
|
99
|
-
type UpgradeContractPayloadStructOutput = [string] & {
|
|
100
|
-
newImplementation: string;
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
export interface PythInterface extends Interface {
|
|
104
|
-
}
|
|
105
|
-
export interface AdminChangedEventObject {
|
|
106
|
-
previousAdmin: string;
|
|
107
|
-
newAdmin: string;
|
|
108
|
-
}
|
|
109
|
-
export type AdminChangedEvent = TypedEvent<[
|
|
110
|
-
string,
|
|
111
|
-
string
|
|
112
|
-
], AdminChangedEventObject>;
|
|
113
|
-
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
114
|
-
export interface BatchPriceFeedUpdateEventObject {
|
|
115
|
-
chainId: bigint;
|
|
116
|
-
sequenceNumber: bigint;
|
|
117
|
-
}
|
|
118
|
-
export type BatchPriceFeedUpdateEvent = TypedEvent<[
|
|
119
|
-
bigint,
|
|
120
|
-
bigint
|
|
121
|
-
], BatchPriceFeedUpdateEventObject>;
|
|
122
|
-
export type BatchPriceFeedUpdateEventFilter = TypedEventFilter<BatchPriceFeedUpdateEvent>;
|
|
123
|
-
export interface BeaconUpgradedEventObject {
|
|
124
|
-
beacon: string;
|
|
125
|
-
}
|
|
126
|
-
export type BeaconUpgradedEvent = TypedEvent<[
|
|
127
|
-
string
|
|
128
|
-
], BeaconUpgradedEventObject>;
|
|
129
|
-
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
130
|
-
export interface ContractUpgradedEventObject {
|
|
131
|
-
oldImplementation: string;
|
|
132
|
-
newImplementation: string;
|
|
133
|
-
}
|
|
134
|
-
export type ContractUpgradedEvent = TypedEvent<[
|
|
135
|
-
string,
|
|
136
|
-
string
|
|
137
|
-
], ContractUpgradedEventObject>;
|
|
138
|
-
export type ContractUpgradedEventFilter = TypedEventFilter<ContractUpgradedEvent>;
|
|
139
|
-
export interface DataSourcesSetEventObject {
|
|
140
|
-
oldDataSources: PythInternalStructs.DataSourceStructOutput[];
|
|
141
|
-
newDataSources: PythInternalStructs.DataSourceStructOutput[];
|
|
142
|
-
}
|
|
143
|
-
export type DataSourcesSetEvent = TypedEvent<[
|
|
144
|
-
PythInternalStructs.DataSourceStructOutput[],
|
|
145
|
-
PythInternalStructs.DataSourceStructOutput[]
|
|
146
|
-
], DataSourcesSetEventObject>;
|
|
147
|
-
export type DataSourcesSetEventFilter = TypedEventFilter<DataSourcesSetEvent>;
|
|
148
|
-
export interface FeeSetEventObject {
|
|
149
|
-
oldFee: bigint;
|
|
150
|
-
newFee: bigint;
|
|
151
|
-
}
|
|
152
|
-
export type FeeSetEvent = TypedEvent<[bigint, bigint], FeeSetEventObject>;
|
|
153
|
-
export type FeeSetEventFilter = TypedEventFilter<FeeSetEvent>;
|
|
154
|
-
export interface GovernanceDataSourceSetEventObject {
|
|
155
|
-
oldDataSource: PythInternalStructs.DataSourceStructOutput;
|
|
156
|
-
newDataSource: PythInternalStructs.DataSourceStructOutput;
|
|
157
|
-
initialSequence: bigint;
|
|
158
|
-
}
|
|
159
|
-
export type GovernanceDataSourceSetEvent = TypedEvent<[
|
|
160
|
-
PythInternalStructs.DataSourceStructOutput,
|
|
161
|
-
PythInternalStructs.DataSourceStructOutput,
|
|
162
|
-
bigint
|
|
163
|
-
], GovernanceDataSourceSetEventObject>;
|
|
164
|
-
export type GovernanceDataSourceSetEventFilter = TypedEventFilter<GovernanceDataSourceSetEvent>;
|
|
165
|
-
export interface OwnershipTransferredEventObject {
|
|
166
|
-
previousOwner: string;
|
|
167
|
-
newOwner: string;
|
|
168
|
-
}
|
|
169
|
-
export type OwnershipTransferredEvent = TypedEvent<[
|
|
170
|
-
string,
|
|
171
|
-
string
|
|
172
|
-
], OwnershipTransferredEventObject>;
|
|
173
|
-
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
|
|
174
|
-
export interface PriceFeedUpdateEventObject {
|
|
175
|
-
id: string;
|
|
176
|
-
publishTime: bigint;
|
|
177
|
-
price: bigint;
|
|
178
|
-
conf: bigint;
|
|
179
|
-
}
|
|
180
|
-
export type PriceFeedUpdateEvent = TypedEvent<[
|
|
181
|
-
string,
|
|
182
|
-
bigint,
|
|
183
|
-
bigint,
|
|
184
|
-
bigint
|
|
185
|
-
], PriceFeedUpdateEventObject>;
|
|
186
|
-
export type PriceFeedUpdateEventFilter = TypedEventFilter<PriceFeedUpdateEvent>;
|
|
187
|
-
export interface UpgradedEventObject {
|
|
188
|
-
implementation: string;
|
|
189
|
-
}
|
|
190
|
-
export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;
|
|
191
|
-
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
192
|
-
export interface ValidPeriodSetEventObject {
|
|
193
|
-
oldValidPeriod: bigint;
|
|
194
|
-
newValidPeriod: bigint;
|
|
195
|
-
}
|
|
196
|
-
export type ValidPeriodSetEvent = TypedEvent<[
|
|
197
|
-
bigint,
|
|
198
|
-
bigint
|
|
199
|
-
], ValidPeriodSetEventObject>;
|
|
200
|
-
export type ValidPeriodSetEventFilter = TypedEventFilter<ValidPeriodSetEvent>;
|
|
201
|
-
export interface Pyth extends BaseContract {
|
|
202
|
-
connect(runner: null | ContractRunner): this;
|
|
203
|
-
interface: PythInterface;
|
|
204
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Pyth.js","sourceRoot":"","sources":["../../../../../src/eth/tests/types/internal/Pyth.ts"],"names":[],"mappings":"","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseContract, BigNumberish, BytesLike, Interface } from \"ethers\";\nimport type { ContractRunner } from \"ethers/providers\";\nimport type { TypedEventFilter, TypedEvent, PromiseOrValue } from \"./common.js\";\n\nexport declare namespace PythInternalStructs {\n export type DataSourceStruct = {\n chainId: BigNumberish;\n emitterAddress: BytesLike;\n };\n\n export type DataSourceStructOutput = [bigint, string] & {\n chainId: bigint;\n emitterAddress: string;\n };\n}\n\nexport declare namespace PythStructs {\n export type PriceStruct = {\n price: BigNumberish;\n conf: BigNumberish;\n expo: BigNumberish;\n publishTime: BigNumberish;\n };\n\n export type PriceStructOutput = [bigint, bigint, bigint, bigint] & {\n price: bigint;\n conf: bigint;\n expo: bigint;\n publishTime: bigint;\n };\n\n export type PriceFeedStruct = {\n id: BytesLike;\n price: PythStructs.PriceStruct;\n emaPrice: PythStructs.PriceStruct;\n };\n\n export type PriceFeedStructOutput = [\n string,\n PythStructs.PriceStructOutput,\n PythStructs.PriceStructOutput\n ] & {\n id: string;\n price: PythStructs.PriceStructOutput;\n emaPrice: PythStructs.PriceStructOutput;\n };\n}\n\nexport declare namespace PythGovernanceInstructions {\n export type AuthorizeGovernanceDataSourceTransferPayloadStruct = {\n claimVaa: BytesLike;\n };\n\n export type AuthorizeGovernanceDataSourceTransferPayloadStructOutput = [\n string\n ] & { claimVaa: string };\n\n export type GovernanceInstructionStruct = {\n module: BigNumberish;\n action: BigNumberish;\n targetChainId: BigNumberish;\n payload: BytesLike;\n };\n\n export type GovernanceInstructionStructOutput = [\n bigint,\n bigint,\n bigint,\n string\n ] & {\n module: bigint;\n action: bigint;\n targetChainId: bigint;\n payload: string;\n };\n\n export type RequestGovernanceDataSourceTransferPayloadStruct = {\n governanceDataSourceIndex: BigNumberish;\n };\n\n export type RequestGovernanceDataSourceTransferPayloadStructOutput = [\n bigint\n ] & { governanceDataSourceIndex: bigint };\n\n export type SetDataSourcesPayloadStruct = {\n dataSources: PythInternalStructs.DataSourceStruct[];\n };\n\n export type SetDataSourcesPayloadStructOutput = [\n PythInternalStructs.DataSourceStructOutput[]\n ] & { dataSources: PythInternalStructs.DataSourceStructOutput[] };\n\n export type SetFeePayloadStruct = { newFee: BigNumberish };\n\n export type SetFeePayloadStructOutput = [bigint] & { newFee: bigint };\n\n export type SetValidPeriodPayloadStruct = { newValidPeriod: BigNumberish };\n\n export type SetValidPeriodPayloadStructOutput = [bigint] & {\n newValidPeriod: bigint;\n };\n\n export type UpgradeContractPayloadStruct = { newImplementation: string };\n\n export type UpgradeContractPayloadStructOutput = [string] & {\n newImplementation: string;\n };\n}\n\nexport interface PythInterface extends Interface {}\n\nexport interface AdminChangedEventObject {\n previousAdmin: string;\n newAdmin: string;\n}\nexport type AdminChangedEvent = TypedEvent<\n [string, string],\n AdminChangedEventObject\n>;\n\nexport type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;\n\nexport interface BatchPriceFeedUpdateEventObject {\n chainId: bigint;\n sequenceNumber: bigint;\n}\nexport type BatchPriceFeedUpdateEvent = TypedEvent<\n [bigint, bigint],\n BatchPriceFeedUpdateEventObject\n>;\n\nexport type BatchPriceFeedUpdateEventFilter =\n TypedEventFilter<BatchPriceFeedUpdateEvent>;\n\nexport interface BeaconUpgradedEventObject {\n beacon: string;\n}\nexport type BeaconUpgradedEvent = TypedEvent<\n [string],\n BeaconUpgradedEventObject\n>;\n\nexport type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;\n\nexport interface ContractUpgradedEventObject {\n oldImplementation: string;\n newImplementation: string;\n}\nexport type ContractUpgradedEvent = TypedEvent<\n [string, string],\n ContractUpgradedEventObject\n>;\n\nexport type ContractUpgradedEventFilter =\n TypedEventFilter<ContractUpgradedEvent>;\n\nexport interface DataSourcesSetEventObject {\n oldDataSources: PythInternalStructs.DataSourceStructOutput[];\n newDataSources: PythInternalStructs.DataSourceStructOutput[];\n}\nexport type DataSourcesSetEvent = TypedEvent<\n [\n PythInternalStructs.DataSourceStructOutput[],\n PythInternalStructs.DataSourceStructOutput[]\n ],\n DataSourcesSetEventObject\n>;\n\nexport type DataSourcesSetEventFilter = TypedEventFilter<DataSourcesSetEvent>;\n\nexport interface FeeSetEventObject {\n oldFee: bigint;\n newFee: bigint;\n}\nexport type FeeSetEvent = TypedEvent<[bigint, bigint], FeeSetEventObject>;\n\nexport type FeeSetEventFilter = TypedEventFilter<FeeSetEvent>;\n\nexport interface GovernanceDataSourceSetEventObject {\n oldDataSource: PythInternalStructs.DataSourceStructOutput;\n newDataSource: PythInternalStructs.DataSourceStructOutput;\n initialSequence: bigint;\n}\nexport type GovernanceDataSourceSetEvent = TypedEvent<\n [\n PythInternalStructs.DataSourceStructOutput,\n PythInternalStructs.DataSourceStructOutput,\n bigint\n ],\n GovernanceDataSourceSetEventObject\n>;\n\nexport type GovernanceDataSourceSetEventFilter =\n TypedEventFilter<GovernanceDataSourceSetEvent>;\n\nexport interface OwnershipTransferredEventObject {\n previousOwner: string;\n newOwner: string;\n}\nexport type OwnershipTransferredEvent = TypedEvent<\n [string, string],\n OwnershipTransferredEventObject\n>;\n\nexport type OwnershipTransferredEventFilter =\n TypedEventFilter<OwnershipTransferredEvent>;\n\nexport interface PriceFeedUpdateEventObject {\n id: string;\n publishTime: bigint;\n price: bigint;\n conf: bigint;\n}\nexport type PriceFeedUpdateEvent = TypedEvent<\n [string, bigint, bigint, bigint],\n PriceFeedUpdateEventObject\n>;\n\nexport type PriceFeedUpdateEventFilter = TypedEventFilter<PriceFeedUpdateEvent>;\n\nexport interface UpgradedEventObject {\n implementation: string;\n}\nexport type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;\n\nexport type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;\n\nexport interface ValidPeriodSetEventObject {\n oldValidPeriod: bigint;\n newValidPeriod: bigint;\n}\nexport type ValidPeriodSetEvent = TypedEvent<\n [bigint, bigint],\n ValidPeriodSetEventObject\n>;\n\nexport type ValidPeriodSetEventFilter = TypedEventFilter<ValidPeriodSetEvent>;\n\nexport interface Pyth extends BaseContract {\n connect(runner: null | ContractRunner): this;\n\n interface: PythInterface;\n}\n"]}
|
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, Interface } from "ethers";
|
|
2
|
-
import type { ContractRunner } from "ethers/providers";
|
|
3
|
-
import type { TypedEventFilter, TypedEvent } from "./common.js";
|
|
4
|
-
export type SpentItemStruct = {
|
|
5
|
-
itemType: BigNumberish;
|
|
6
|
-
token: string;
|
|
7
|
-
identifier: BigNumberish;
|
|
8
|
-
amount: BigNumberish;
|
|
9
|
-
};
|
|
10
|
-
export type SpentItemStructOutput = [bigint, string, bigint, bigint] & {
|
|
11
|
-
itemType: bigint;
|
|
12
|
-
token: string;
|
|
13
|
-
identifier: bigint;
|
|
14
|
-
amount: bigint;
|
|
15
|
-
};
|
|
16
|
-
export type ReceivedItemStruct = {
|
|
17
|
-
itemType: BigNumberish;
|
|
18
|
-
token: string;
|
|
19
|
-
identifier: BigNumberish;
|
|
20
|
-
amount: BigNumberish;
|
|
21
|
-
recipient: string;
|
|
22
|
-
};
|
|
23
|
-
export type ReceivedItemStructOutput = [
|
|
24
|
-
bigint,
|
|
25
|
-
string,
|
|
26
|
-
bigint,
|
|
27
|
-
bigint,
|
|
28
|
-
string
|
|
29
|
-
] & {
|
|
30
|
-
itemType: bigint;
|
|
31
|
-
token: string;
|
|
32
|
-
identifier: bigint;
|
|
33
|
-
amount: bigint;
|
|
34
|
-
recipient: string;
|
|
35
|
-
};
|
|
36
|
-
export type OfferItemStruct = {
|
|
37
|
-
itemType: BigNumberish;
|
|
38
|
-
token: string;
|
|
39
|
-
identifierOrCriteria: BigNumberish;
|
|
40
|
-
startAmount: BigNumberish;
|
|
41
|
-
endAmount: BigNumberish;
|
|
42
|
-
};
|
|
43
|
-
export type OfferItemStructOutput = [bigint, string, bigint, bigint, bigint] & {
|
|
44
|
-
itemType: bigint;
|
|
45
|
-
token: string;
|
|
46
|
-
identifierOrCriteria: bigint;
|
|
47
|
-
startAmount: bigint;
|
|
48
|
-
endAmount: bigint;
|
|
49
|
-
};
|
|
50
|
-
export type ConsiderationItemStruct = {
|
|
51
|
-
itemType: BigNumberish;
|
|
52
|
-
token: string;
|
|
53
|
-
identifierOrCriteria: BigNumberish;
|
|
54
|
-
startAmount: BigNumberish;
|
|
55
|
-
endAmount: BigNumberish;
|
|
56
|
-
recipient: string;
|
|
57
|
-
};
|
|
58
|
-
export type ConsiderationItemStructOutput = [
|
|
59
|
-
bigint,
|
|
60
|
-
string,
|
|
61
|
-
bigint,
|
|
62
|
-
bigint,
|
|
63
|
-
bigint,
|
|
64
|
-
string
|
|
65
|
-
] & {
|
|
66
|
-
itemType: bigint;
|
|
67
|
-
token: string;
|
|
68
|
-
identifierOrCriteria: bigint;
|
|
69
|
-
startAmount: bigint;
|
|
70
|
-
endAmount: bigint;
|
|
71
|
-
recipient: string;
|
|
72
|
-
};
|
|
73
|
-
export type OrderComponentsStruct = {
|
|
74
|
-
offerer: string;
|
|
75
|
-
zone: string;
|
|
76
|
-
offer: OfferItemStruct[];
|
|
77
|
-
consideration: ConsiderationItemStruct[];
|
|
78
|
-
orderType: BigNumberish;
|
|
79
|
-
startTime: BigNumberish;
|
|
80
|
-
endTime: BigNumberish;
|
|
81
|
-
zoneHash: BytesLike;
|
|
82
|
-
salt: BigNumberish;
|
|
83
|
-
conduitKey: BytesLike;
|
|
84
|
-
counter: BigNumberish;
|
|
85
|
-
};
|
|
86
|
-
export type OrderComponentsStructOutput = [
|
|
87
|
-
string,
|
|
88
|
-
string,
|
|
89
|
-
OfferItemStructOutput[],
|
|
90
|
-
ConsiderationItemStructOutput[],
|
|
91
|
-
bigint,
|
|
92
|
-
bigint,
|
|
93
|
-
bigint,
|
|
94
|
-
string,
|
|
95
|
-
bigint,
|
|
96
|
-
string,
|
|
97
|
-
bigint
|
|
98
|
-
] & {
|
|
99
|
-
offerer: string;
|
|
100
|
-
zone: string;
|
|
101
|
-
offer: OfferItemStructOutput[];
|
|
102
|
-
consideration: ConsiderationItemStructOutput[];
|
|
103
|
-
orderType: bigint;
|
|
104
|
-
startTime: bigint;
|
|
105
|
-
endTime: bigint;
|
|
106
|
-
zoneHash: string;
|
|
107
|
-
salt: bigint;
|
|
108
|
-
conduitKey: string;
|
|
109
|
-
counter: bigint;
|
|
110
|
-
};
|
|
111
|
-
export type OrderParametersStruct = {
|
|
112
|
-
offerer: string;
|
|
113
|
-
zone: string;
|
|
114
|
-
offer: OfferItemStruct[];
|
|
115
|
-
consideration: ConsiderationItemStruct[];
|
|
116
|
-
orderType: BigNumberish;
|
|
117
|
-
startTime: BigNumberish;
|
|
118
|
-
endTime: BigNumberish;
|
|
119
|
-
zoneHash: BytesLike;
|
|
120
|
-
salt: BigNumberish;
|
|
121
|
-
conduitKey: BytesLike;
|
|
122
|
-
totalOriginalConsiderationItems: BigNumberish;
|
|
123
|
-
};
|
|
124
|
-
export type OrderParametersStructOutput = [
|
|
125
|
-
string,
|
|
126
|
-
string,
|
|
127
|
-
OfferItemStructOutput[],
|
|
128
|
-
ConsiderationItemStructOutput[],
|
|
129
|
-
bigint,
|
|
130
|
-
bigint,
|
|
131
|
-
bigint,
|
|
132
|
-
string,
|
|
133
|
-
bigint,
|
|
134
|
-
string,
|
|
135
|
-
bigint
|
|
136
|
-
] & {
|
|
137
|
-
offerer: string;
|
|
138
|
-
zone: string;
|
|
139
|
-
offer: OfferItemStructOutput[];
|
|
140
|
-
consideration: ConsiderationItemStructOutput[];
|
|
141
|
-
orderType: bigint;
|
|
142
|
-
startTime: bigint;
|
|
143
|
-
endTime: bigint;
|
|
144
|
-
zoneHash: string;
|
|
145
|
-
salt: bigint;
|
|
146
|
-
conduitKey: string;
|
|
147
|
-
totalOriginalConsiderationItems: bigint;
|
|
148
|
-
};
|
|
149
|
-
export type AdvancedOrderStruct = {
|
|
150
|
-
parameters: OrderParametersStruct;
|
|
151
|
-
numerator: BigNumberish;
|
|
152
|
-
denominator: BigNumberish;
|
|
153
|
-
signature: BytesLike;
|
|
154
|
-
extraData: BytesLike;
|
|
155
|
-
};
|
|
156
|
-
export type AdvancedOrderStructOutput = [
|
|
157
|
-
OrderParametersStructOutput,
|
|
158
|
-
bigint,
|
|
159
|
-
bigint,
|
|
160
|
-
string,
|
|
161
|
-
string
|
|
162
|
-
] & {
|
|
163
|
-
parameters: OrderParametersStructOutput;
|
|
164
|
-
numerator: bigint;
|
|
165
|
-
denominator: bigint;
|
|
166
|
-
signature: string;
|
|
167
|
-
extraData: string;
|
|
168
|
-
};
|
|
169
|
-
export type CriteriaResolverStruct = {
|
|
170
|
-
orderIndex: BigNumberish;
|
|
171
|
-
side: BigNumberish;
|
|
172
|
-
index: BigNumberish;
|
|
173
|
-
identifier: BigNumberish;
|
|
174
|
-
criteriaProof: BytesLike[];
|
|
175
|
-
};
|
|
176
|
-
export type CriteriaResolverStructOutput = [
|
|
177
|
-
bigint,
|
|
178
|
-
bigint,
|
|
179
|
-
bigint,
|
|
180
|
-
bigint,
|
|
181
|
-
string[]
|
|
182
|
-
] & {
|
|
183
|
-
orderIndex: bigint;
|
|
184
|
-
side: bigint;
|
|
185
|
-
index: bigint;
|
|
186
|
-
identifier: bigint;
|
|
187
|
-
criteriaProof: string[];
|
|
188
|
-
};
|
|
189
|
-
export type FulfillmentComponentStruct = {
|
|
190
|
-
orderIndex: BigNumberish;
|
|
191
|
-
itemIndex: BigNumberish;
|
|
192
|
-
};
|
|
193
|
-
export type FulfillmentComponentStructOutput = [bigint, bigint] & {
|
|
194
|
-
orderIndex: bigint;
|
|
195
|
-
itemIndex: bigint;
|
|
196
|
-
};
|
|
197
|
-
export type ExecutionStruct = {
|
|
198
|
-
item: ReceivedItemStruct;
|
|
199
|
-
offerer: string;
|
|
200
|
-
conduitKey: BytesLike;
|
|
201
|
-
};
|
|
202
|
-
export type ExecutionStructOutput = [
|
|
203
|
-
ReceivedItemStructOutput,
|
|
204
|
-
string,
|
|
205
|
-
string
|
|
206
|
-
] & {
|
|
207
|
-
item: ReceivedItemStructOutput;
|
|
208
|
-
offerer: string;
|
|
209
|
-
conduitKey: string;
|
|
210
|
-
};
|
|
211
|
-
export type OrderStruct = {
|
|
212
|
-
parameters: OrderParametersStruct;
|
|
213
|
-
signature: BytesLike;
|
|
214
|
-
};
|
|
215
|
-
export type OrderStructOutput = [OrderParametersStructOutput, string] & {
|
|
216
|
-
parameters: OrderParametersStructOutput;
|
|
217
|
-
signature: string;
|
|
218
|
-
};
|
|
219
|
-
export type AdditionalRecipientStruct = {
|
|
220
|
-
amount: BigNumberish;
|
|
221
|
-
recipient: string;
|
|
222
|
-
};
|
|
223
|
-
export type AdditionalRecipientStructOutput = [bigint, string] & {
|
|
224
|
-
amount: bigint;
|
|
225
|
-
recipient: string;
|
|
226
|
-
};
|
|
227
|
-
export type BasicOrderParametersStruct = {
|
|
228
|
-
considerationToken: string;
|
|
229
|
-
considerationIdentifier: BigNumberish;
|
|
230
|
-
considerationAmount: BigNumberish;
|
|
231
|
-
offerer: string;
|
|
232
|
-
zone: string;
|
|
233
|
-
offerToken: string;
|
|
234
|
-
offerIdentifier: BigNumberish;
|
|
235
|
-
offerAmount: BigNumberish;
|
|
236
|
-
basicOrderType: BigNumberish;
|
|
237
|
-
startTime: BigNumberish;
|
|
238
|
-
endTime: BigNumberish;
|
|
239
|
-
zoneHash: BytesLike;
|
|
240
|
-
salt: BigNumberish;
|
|
241
|
-
offererConduitKey: BytesLike;
|
|
242
|
-
fulfillerConduitKey: BytesLike;
|
|
243
|
-
totalOriginalAdditionalRecipients: BigNumberish;
|
|
244
|
-
additionalRecipients: AdditionalRecipientStruct[];
|
|
245
|
-
signature: BytesLike;
|
|
246
|
-
};
|
|
247
|
-
export type BasicOrderParametersStructOutput = [
|
|
248
|
-
string,
|
|
249
|
-
bigint,
|
|
250
|
-
bigint,
|
|
251
|
-
string,
|
|
252
|
-
string,
|
|
253
|
-
string,
|
|
254
|
-
bigint,
|
|
255
|
-
bigint,
|
|
256
|
-
bigint,
|
|
257
|
-
bigint,
|
|
258
|
-
bigint,
|
|
259
|
-
string,
|
|
260
|
-
bigint,
|
|
261
|
-
string,
|
|
262
|
-
string,
|
|
263
|
-
bigint,
|
|
264
|
-
AdditionalRecipientStructOutput[],
|
|
265
|
-
string
|
|
266
|
-
] & {
|
|
267
|
-
considerationToken: string;
|
|
268
|
-
considerationIdentifier: bigint;
|
|
269
|
-
considerationAmount: bigint;
|
|
270
|
-
offerer: string;
|
|
271
|
-
zone: string;
|
|
272
|
-
offerToken: string;
|
|
273
|
-
offerIdentifier: bigint;
|
|
274
|
-
offerAmount: bigint;
|
|
275
|
-
basicOrderType: bigint;
|
|
276
|
-
startTime: bigint;
|
|
277
|
-
endTime: bigint;
|
|
278
|
-
zoneHash: string;
|
|
279
|
-
salt: bigint;
|
|
280
|
-
offererConduitKey: string;
|
|
281
|
-
fulfillerConduitKey: string;
|
|
282
|
-
totalOriginalAdditionalRecipients: bigint;
|
|
283
|
-
additionalRecipients: AdditionalRecipientStructOutput[];
|
|
284
|
-
signature: string;
|
|
285
|
-
};
|
|
286
|
-
export type FulfillmentStruct = {
|
|
287
|
-
offerComponents: FulfillmentComponentStruct[];
|
|
288
|
-
considerationComponents: FulfillmentComponentStruct[];
|
|
289
|
-
};
|
|
290
|
-
export type FulfillmentStructOutput = [
|
|
291
|
-
FulfillmentComponentStructOutput[],
|
|
292
|
-
FulfillmentComponentStructOutput[]
|
|
293
|
-
] & {
|
|
294
|
-
offerComponents: FulfillmentComponentStructOutput[];
|
|
295
|
-
considerationComponents: FulfillmentComponentStructOutput[];
|
|
296
|
-
};
|
|
297
|
-
export interface SeaportInterface extends Interface {
|
|
298
|
-
}
|
|
299
|
-
export interface CounterIncrementedEventObject {
|
|
300
|
-
newCounter: bigint;
|
|
301
|
-
offerer: string;
|
|
302
|
-
}
|
|
303
|
-
export type CounterIncrementedEvent = TypedEvent<[
|
|
304
|
-
bigint,
|
|
305
|
-
string
|
|
306
|
-
], CounterIncrementedEventObject>;
|
|
307
|
-
export type CounterIncrementedEventFilter = TypedEventFilter<CounterIncrementedEvent>;
|
|
308
|
-
export interface OrderCancelledEventObject {
|
|
309
|
-
orderHash: string;
|
|
310
|
-
offerer: string;
|
|
311
|
-
zone: string;
|
|
312
|
-
}
|
|
313
|
-
export type OrderCancelledEvent = TypedEvent<[
|
|
314
|
-
string,
|
|
315
|
-
string,
|
|
316
|
-
string
|
|
317
|
-
], OrderCancelledEventObject>;
|
|
318
|
-
export type OrderCancelledEventFilter = TypedEventFilter<OrderCancelledEvent>;
|
|
319
|
-
export interface OrderFulfilledEventObject {
|
|
320
|
-
orderHash: string;
|
|
321
|
-
offerer: string;
|
|
322
|
-
zone: string;
|
|
323
|
-
recipient: string;
|
|
324
|
-
offer: SpentItemStructOutput[];
|
|
325
|
-
consideration: ReceivedItemStructOutput[];
|
|
326
|
-
}
|
|
327
|
-
export type OrderFulfilledEvent = TypedEvent<[
|
|
328
|
-
string,
|
|
329
|
-
string,
|
|
330
|
-
string,
|
|
331
|
-
string,
|
|
332
|
-
SpentItemStructOutput[],
|
|
333
|
-
ReceivedItemStructOutput[]
|
|
334
|
-
], OrderFulfilledEventObject>;
|
|
335
|
-
export type OrderFulfilledEventFilter = TypedEventFilter<OrderFulfilledEvent>;
|
|
336
|
-
export interface OrderValidatedEventObject {
|
|
337
|
-
orderHash: string;
|
|
338
|
-
offerer: string;
|
|
339
|
-
zone: string;
|
|
340
|
-
}
|
|
341
|
-
export type OrderValidatedEvent = TypedEvent<[
|
|
342
|
-
string,
|
|
343
|
-
string,
|
|
344
|
-
string
|
|
345
|
-
], OrderValidatedEventObject>;
|
|
346
|
-
export type OrderValidatedEventFilter = TypedEventFilter<OrderValidatedEvent>;
|
|
347
|
-
export interface Seaport extends BaseContract {
|
|
348
|
-
connect(runner: null | ContractRunner): this;
|
|
349
|
-
interface: SeaportInterface;
|
|
350
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Seaport.js","sourceRoot":"","sources":["../../../../../src/eth/tests/types/internal/Seaport.ts"],"names":[],"mappings":"","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nimport type { BaseContract, BigNumberish, BytesLike, Interface } from \"ethers\";\nimport type { ContractRunner } from \"ethers/providers\";\nimport type { TypedEventFilter, TypedEvent, PromiseOrValue } from \"./common.js\";\n\nexport type SpentItemStruct = {\n itemType: BigNumberish;\n token: string;\n identifier: BigNumberish;\n amount: BigNumberish;\n};\n\nexport type SpentItemStructOutput = [bigint, string, bigint, bigint] & {\n itemType: bigint;\n token: string;\n identifier: bigint;\n amount: bigint;\n};\n\nexport type ReceivedItemStruct = {\n itemType: BigNumberish;\n token: string;\n identifier: BigNumberish;\n amount: BigNumberish;\n recipient: string;\n};\n\nexport type ReceivedItemStructOutput = [\n bigint,\n string,\n bigint,\n bigint,\n string\n] & {\n itemType: bigint;\n token: string;\n identifier: bigint;\n amount: bigint;\n recipient: string;\n};\n\nexport type OfferItemStruct = {\n itemType: BigNumberish;\n token: string;\n identifierOrCriteria: BigNumberish;\n startAmount: BigNumberish;\n endAmount: BigNumberish;\n};\n\nexport type OfferItemStructOutput = [bigint, string, bigint, bigint, bigint] & {\n itemType: bigint;\n token: string;\n identifierOrCriteria: bigint;\n startAmount: bigint;\n endAmount: bigint;\n};\n\nexport type ConsiderationItemStruct = {\n itemType: BigNumberish;\n token: string;\n identifierOrCriteria: BigNumberish;\n startAmount: BigNumberish;\n endAmount: BigNumberish;\n recipient: string;\n};\n\nexport type ConsiderationItemStructOutput = [\n bigint,\n string,\n bigint,\n bigint,\n bigint,\n string\n] & {\n itemType: bigint;\n token: string;\n identifierOrCriteria: bigint;\n startAmount: bigint;\n endAmount: bigint;\n recipient: string;\n};\n\nexport type OrderComponentsStruct = {\n offerer: string;\n zone: string;\n offer: OfferItemStruct[];\n consideration: ConsiderationItemStruct[];\n orderType: BigNumberish;\n startTime: BigNumberish;\n endTime: BigNumberish;\n zoneHash: BytesLike;\n salt: BigNumberish;\n conduitKey: BytesLike;\n counter: BigNumberish;\n};\n\nexport type OrderComponentsStructOutput = [\n string,\n string,\n OfferItemStructOutput[],\n ConsiderationItemStructOutput[],\n bigint,\n bigint,\n bigint,\n string,\n bigint,\n string,\n bigint\n] & {\n offerer: string;\n zone: string;\n offer: OfferItemStructOutput[];\n consideration: ConsiderationItemStructOutput[];\n orderType: bigint;\n startTime: bigint;\n endTime: bigint;\n zoneHash: string;\n salt: bigint;\n conduitKey: string;\n counter: bigint;\n};\n\nexport type OrderParametersStruct = {\n offerer: string;\n zone: string;\n offer: OfferItemStruct[];\n consideration: ConsiderationItemStruct[];\n orderType: BigNumberish;\n startTime: BigNumberish;\n endTime: BigNumberish;\n zoneHash: BytesLike;\n salt: BigNumberish;\n conduitKey: BytesLike;\n totalOriginalConsiderationItems: BigNumberish;\n};\n\nexport type OrderParametersStructOutput = [\n string,\n string,\n OfferItemStructOutput[],\n ConsiderationItemStructOutput[],\n bigint,\n bigint,\n bigint,\n string,\n bigint,\n string,\n bigint\n] & {\n offerer: string;\n zone: string;\n offer: OfferItemStructOutput[];\n consideration: ConsiderationItemStructOutput[];\n orderType: bigint;\n startTime: bigint;\n endTime: bigint;\n zoneHash: string;\n salt: bigint;\n conduitKey: string;\n totalOriginalConsiderationItems: bigint;\n};\n\nexport type AdvancedOrderStruct = {\n parameters: OrderParametersStruct;\n numerator: BigNumberish;\n denominator: BigNumberish;\n signature: BytesLike;\n extraData: BytesLike;\n};\n\nexport type AdvancedOrderStructOutput = [\n OrderParametersStructOutput,\n bigint,\n bigint,\n string,\n string\n] & {\n parameters: OrderParametersStructOutput;\n numerator: bigint;\n denominator: bigint;\n signature: string;\n extraData: string;\n};\n\nexport type CriteriaResolverStruct = {\n orderIndex: BigNumberish;\n side: BigNumberish;\n index: BigNumberish;\n identifier: BigNumberish;\n criteriaProof: BytesLike[];\n};\n\nexport type CriteriaResolverStructOutput = [\n bigint,\n bigint,\n bigint,\n bigint,\n string[]\n] & {\n orderIndex: bigint;\n side: bigint;\n index: bigint;\n identifier: bigint;\n criteriaProof: string[];\n};\n\nexport type FulfillmentComponentStruct = {\n orderIndex: BigNumberish;\n itemIndex: BigNumberish;\n};\n\nexport type FulfillmentComponentStructOutput = [bigint, bigint] & {\n orderIndex: bigint;\n itemIndex: bigint;\n};\n\nexport type ExecutionStruct = {\n item: ReceivedItemStruct;\n offerer: string;\n conduitKey: BytesLike;\n};\n\nexport type ExecutionStructOutput = [\n ReceivedItemStructOutput,\n string,\n string\n] & { item: ReceivedItemStructOutput; offerer: string; conduitKey: string };\n\nexport type OrderStruct = {\n parameters: OrderParametersStruct;\n signature: BytesLike;\n};\n\nexport type OrderStructOutput = [OrderParametersStructOutput, string] & {\n parameters: OrderParametersStructOutput;\n signature: string;\n};\n\nexport type AdditionalRecipientStruct = {\n amount: BigNumberish;\n recipient: string;\n};\n\nexport type AdditionalRecipientStructOutput = [bigint, string] & {\n amount: bigint;\n recipient: string;\n};\n\nexport type BasicOrderParametersStruct = {\n considerationToken: string;\n considerationIdentifier: BigNumberish;\n considerationAmount: BigNumberish;\n offerer: string;\n zone: string;\n offerToken: string;\n offerIdentifier: BigNumberish;\n offerAmount: BigNumberish;\n basicOrderType: BigNumberish;\n startTime: BigNumberish;\n endTime: BigNumberish;\n zoneHash: BytesLike;\n salt: BigNumberish;\n offererConduitKey: BytesLike;\n fulfillerConduitKey: BytesLike;\n totalOriginalAdditionalRecipients: BigNumberish;\n additionalRecipients: AdditionalRecipientStruct[];\n signature: BytesLike;\n};\n\nexport type BasicOrderParametersStructOutput = [\n string,\n bigint,\n bigint,\n string,\n string,\n string,\n bigint,\n bigint,\n bigint,\n bigint,\n bigint,\n string,\n bigint,\n string,\n string,\n bigint,\n AdditionalRecipientStructOutput[],\n string\n] & {\n considerationToken: string;\n considerationIdentifier: bigint;\n considerationAmount: bigint;\n offerer: string;\n zone: string;\n offerToken: string;\n offerIdentifier: bigint;\n offerAmount: bigint;\n basicOrderType: bigint;\n startTime: bigint;\n endTime: bigint;\n zoneHash: string;\n salt: bigint;\n offererConduitKey: string;\n fulfillerConduitKey: string;\n totalOriginalAdditionalRecipients: bigint;\n additionalRecipients: AdditionalRecipientStructOutput[];\n signature: string;\n};\n\nexport type FulfillmentStruct = {\n offerComponents: FulfillmentComponentStruct[];\n considerationComponents: FulfillmentComponentStruct[];\n};\n\nexport type FulfillmentStructOutput = [\n FulfillmentComponentStructOutput[],\n FulfillmentComponentStructOutput[]\n] & {\n offerComponents: FulfillmentComponentStructOutput[];\n considerationComponents: FulfillmentComponentStructOutput[];\n};\n\nexport interface SeaportInterface extends Interface {}\n\nexport interface CounterIncrementedEventObject {\n newCounter: bigint;\n offerer: string;\n}\nexport type CounterIncrementedEvent = TypedEvent<\n [bigint, string],\n CounterIncrementedEventObject\n>;\n\nexport type CounterIncrementedEventFilter =\n TypedEventFilter<CounterIncrementedEvent>;\n\nexport interface OrderCancelledEventObject {\n orderHash: string;\n offerer: string;\n zone: string;\n}\nexport type OrderCancelledEvent = TypedEvent<\n [string, string, string],\n OrderCancelledEventObject\n>;\n\nexport type OrderCancelledEventFilter = TypedEventFilter<OrderCancelledEvent>;\n\nexport interface OrderFulfilledEventObject {\n orderHash: string;\n offerer: string;\n zone: string;\n recipient: string;\n offer: SpentItemStructOutput[];\n consideration: ReceivedItemStructOutput[];\n}\nexport type OrderFulfilledEvent = TypedEvent<\n [\n string,\n string,\n string,\n string,\n SpentItemStructOutput[],\n ReceivedItemStructOutput[]\n ],\n OrderFulfilledEventObject\n>;\n\nexport type OrderFulfilledEventFilter = TypedEventFilter<OrderFulfilledEvent>;\n\nexport interface OrderValidatedEventObject {\n orderHash: string;\n offerer: string;\n zone: string;\n}\nexport type OrderValidatedEvent = TypedEvent<\n [string, string, string],\n OrderValidatedEventObject\n>;\n\nexport type OrderValidatedEventFilter = TypedEventFilter<OrderValidatedEvent>;\n\nexport interface Seaport extends BaseContract {\n connect(runner: null | ContractRunner): this;\n\n interface: SeaportInterface;\n}\n"]}
|