@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,389 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { BaseContract, BigNumberish, BytesLike, Interface } from "ethers";
|
|
5
|
-
import type { ContractRunner } from "ethers/providers";
|
|
6
|
-
import type { TypedEventFilter, TypedEvent, PromiseOrValue } from "./common.js";
|
|
7
|
-
|
|
8
|
-
export type SpentItemStruct = {
|
|
9
|
-
itemType: BigNumberish;
|
|
10
|
-
token: string;
|
|
11
|
-
identifier: BigNumberish;
|
|
12
|
-
amount: BigNumberish;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export type SpentItemStructOutput = [bigint, string, bigint, bigint] & {
|
|
16
|
-
itemType: bigint;
|
|
17
|
-
token: string;
|
|
18
|
-
identifier: bigint;
|
|
19
|
-
amount: bigint;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type ReceivedItemStruct = {
|
|
23
|
-
itemType: BigNumberish;
|
|
24
|
-
token: string;
|
|
25
|
-
identifier: BigNumberish;
|
|
26
|
-
amount: BigNumberish;
|
|
27
|
-
recipient: string;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export type ReceivedItemStructOutput = [
|
|
31
|
-
bigint,
|
|
32
|
-
string,
|
|
33
|
-
bigint,
|
|
34
|
-
bigint,
|
|
35
|
-
string
|
|
36
|
-
] & {
|
|
37
|
-
itemType: bigint;
|
|
38
|
-
token: string;
|
|
39
|
-
identifier: bigint;
|
|
40
|
-
amount: bigint;
|
|
41
|
-
recipient: string;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export type OfferItemStruct = {
|
|
45
|
-
itemType: BigNumberish;
|
|
46
|
-
token: string;
|
|
47
|
-
identifierOrCriteria: BigNumberish;
|
|
48
|
-
startAmount: BigNumberish;
|
|
49
|
-
endAmount: BigNumberish;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export type OfferItemStructOutput = [bigint, string, bigint, bigint, bigint] & {
|
|
53
|
-
itemType: bigint;
|
|
54
|
-
token: string;
|
|
55
|
-
identifierOrCriteria: bigint;
|
|
56
|
-
startAmount: bigint;
|
|
57
|
-
endAmount: bigint;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export type ConsiderationItemStruct = {
|
|
61
|
-
itemType: BigNumberish;
|
|
62
|
-
token: string;
|
|
63
|
-
identifierOrCriteria: BigNumberish;
|
|
64
|
-
startAmount: BigNumberish;
|
|
65
|
-
endAmount: BigNumberish;
|
|
66
|
-
recipient: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export type ConsiderationItemStructOutput = [
|
|
70
|
-
bigint,
|
|
71
|
-
string,
|
|
72
|
-
bigint,
|
|
73
|
-
bigint,
|
|
74
|
-
bigint,
|
|
75
|
-
string
|
|
76
|
-
] & {
|
|
77
|
-
itemType: bigint;
|
|
78
|
-
token: string;
|
|
79
|
-
identifierOrCriteria: bigint;
|
|
80
|
-
startAmount: bigint;
|
|
81
|
-
endAmount: bigint;
|
|
82
|
-
recipient: string;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export type OrderComponentsStruct = {
|
|
86
|
-
offerer: string;
|
|
87
|
-
zone: string;
|
|
88
|
-
offer: OfferItemStruct[];
|
|
89
|
-
consideration: ConsiderationItemStruct[];
|
|
90
|
-
orderType: BigNumberish;
|
|
91
|
-
startTime: BigNumberish;
|
|
92
|
-
endTime: BigNumberish;
|
|
93
|
-
zoneHash: BytesLike;
|
|
94
|
-
salt: BigNumberish;
|
|
95
|
-
conduitKey: BytesLike;
|
|
96
|
-
counter: BigNumberish;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export type OrderComponentsStructOutput = [
|
|
100
|
-
string,
|
|
101
|
-
string,
|
|
102
|
-
OfferItemStructOutput[],
|
|
103
|
-
ConsiderationItemStructOutput[],
|
|
104
|
-
bigint,
|
|
105
|
-
bigint,
|
|
106
|
-
bigint,
|
|
107
|
-
string,
|
|
108
|
-
bigint,
|
|
109
|
-
string,
|
|
110
|
-
bigint
|
|
111
|
-
] & {
|
|
112
|
-
offerer: string;
|
|
113
|
-
zone: string;
|
|
114
|
-
offer: OfferItemStructOutput[];
|
|
115
|
-
consideration: ConsiderationItemStructOutput[];
|
|
116
|
-
orderType: bigint;
|
|
117
|
-
startTime: bigint;
|
|
118
|
-
endTime: bigint;
|
|
119
|
-
zoneHash: string;
|
|
120
|
-
salt: bigint;
|
|
121
|
-
conduitKey: string;
|
|
122
|
-
counter: bigint;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
export type OrderParametersStruct = {
|
|
126
|
-
offerer: string;
|
|
127
|
-
zone: string;
|
|
128
|
-
offer: OfferItemStruct[];
|
|
129
|
-
consideration: ConsiderationItemStruct[];
|
|
130
|
-
orderType: BigNumberish;
|
|
131
|
-
startTime: BigNumberish;
|
|
132
|
-
endTime: BigNumberish;
|
|
133
|
-
zoneHash: BytesLike;
|
|
134
|
-
salt: BigNumberish;
|
|
135
|
-
conduitKey: BytesLike;
|
|
136
|
-
totalOriginalConsiderationItems: BigNumberish;
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
export type OrderParametersStructOutput = [
|
|
140
|
-
string,
|
|
141
|
-
string,
|
|
142
|
-
OfferItemStructOutput[],
|
|
143
|
-
ConsiderationItemStructOutput[],
|
|
144
|
-
bigint,
|
|
145
|
-
bigint,
|
|
146
|
-
bigint,
|
|
147
|
-
string,
|
|
148
|
-
bigint,
|
|
149
|
-
string,
|
|
150
|
-
bigint
|
|
151
|
-
] & {
|
|
152
|
-
offerer: string;
|
|
153
|
-
zone: string;
|
|
154
|
-
offer: OfferItemStructOutput[];
|
|
155
|
-
consideration: ConsiderationItemStructOutput[];
|
|
156
|
-
orderType: bigint;
|
|
157
|
-
startTime: bigint;
|
|
158
|
-
endTime: bigint;
|
|
159
|
-
zoneHash: string;
|
|
160
|
-
salt: bigint;
|
|
161
|
-
conduitKey: string;
|
|
162
|
-
totalOriginalConsiderationItems: bigint;
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
export type AdvancedOrderStruct = {
|
|
166
|
-
parameters: OrderParametersStruct;
|
|
167
|
-
numerator: BigNumberish;
|
|
168
|
-
denominator: BigNumberish;
|
|
169
|
-
signature: BytesLike;
|
|
170
|
-
extraData: BytesLike;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
export type AdvancedOrderStructOutput = [
|
|
174
|
-
OrderParametersStructOutput,
|
|
175
|
-
bigint,
|
|
176
|
-
bigint,
|
|
177
|
-
string,
|
|
178
|
-
string
|
|
179
|
-
] & {
|
|
180
|
-
parameters: OrderParametersStructOutput;
|
|
181
|
-
numerator: bigint;
|
|
182
|
-
denominator: bigint;
|
|
183
|
-
signature: string;
|
|
184
|
-
extraData: string;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
export type CriteriaResolverStruct = {
|
|
188
|
-
orderIndex: BigNumberish;
|
|
189
|
-
side: BigNumberish;
|
|
190
|
-
index: BigNumberish;
|
|
191
|
-
identifier: BigNumberish;
|
|
192
|
-
criteriaProof: BytesLike[];
|
|
193
|
-
};
|
|
194
|
-
|
|
195
|
-
export type CriteriaResolverStructOutput = [
|
|
196
|
-
bigint,
|
|
197
|
-
bigint,
|
|
198
|
-
bigint,
|
|
199
|
-
bigint,
|
|
200
|
-
string[]
|
|
201
|
-
] & {
|
|
202
|
-
orderIndex: bigint;
|
|
203
|
-
side: bigint;
|
|
204
|
-
index: bigint;
|
|
205
|
-
identifier: bigint;
|
|
206
|
-
criteriaProof: string[];
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
export type FulfillmentComponentStruct = {
|
|
210
|
-
orderIndex: BigNumberish;
|
|
211
|
-
itemIndex: BigNumberish;
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
export type FulfillmentComponentStructOutput = [bigint, bigint] & {
|
|
215
|
-
orderIndex: bigint;
|
|
216
|
-
itemIndex: bigint;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
export type ExecutionStruct = {
|
|
220
|
-
item: ReceivedItemStruct;
|
|
221
|
-
offerer: string;
|
|
222
|
-
conduitKey: BytesLike;
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
export type ExecutionStructOutput = [
|
|
226
|
-
ReceivedItemStructOutput,
|
|
227
|
-
string,
|
|
228
|
-
string
|
|
229
|
-
] & { item: ReceivedItemStructOutput; offerer: string; conduitKey: string };
|
|
230
|
-
|
|
231
|
-
export type OrderStruct = {
|
|
232
|
-
parameters: OrderParametersStruct;
|
|
233
|
-
signature: BytesLike;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
export type OrderStructOutput = [OrderParametersStructOutput, string] & {
|
|
237
|
-
parameters: OrderParametersStructOutput;
|
|
238
|
-
signature: string;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
export type AdditionalRecipientStruct = {
|
|
242
|
-
amount: BigNumberish;
|
|
243
|
-
recipient: string;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
export type AdditionalRecipientStructOutput = [bigint, string] & {
|
|
247
|
-
amount: bigint;
|
|
248
|
-
recipient: string;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
export type BasicOrderParametersStruct = {
|
|
252
|
-
considerationToken: string;
|
|
253
|
-
considerationIdentifier: BigNumberish;
|
|
254
|
-
considerationAmount: BigNumberish;
|
|
255
|
-
offerer: string;
|
|
256
|
-
zone: string;
|
|
257
|
-
offerToken: string;
|
|
258
|
-
offerIdentifier: BigNumberish;
|
|
259
|
-
offerAmount: BigNumberish;
|
|
260
|
-
basicOrderType: BigNumberish;
|
|
261
|
-
startTime: BigNumberish;
|
|
262
|
-
endTime: BigNumberish;
|
|
263
|
-
zoneHash: BytesLike;
|
|
264
|
-
salt: BigNumberish;
|
|
265
|
-
offererConduitKey: BytesLike;
|
|
266
|
-
fulfillerConduitKey: BytesLike;
|
|
267
|
-
totalOriginalAdditionalRecipients: BigNumberish;
|
|
268
|
-
additionalRecipients: AdditionalRecipientStruct[];
|
|
269
|
-
signature: BytesLike;
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
export type BasicOrderParametersStructOutput = [
|
|
273
|
-
string,
|
|
274
|
-
bigint,
|
|
275
|
-
bigint,
|
|
276
|
-
string,
|
|
277
|
-
string,
|
|
278
|
-
string,
|
|
279
|
-
bigint,
|
|
280
|
-
bigint,
|
|
281
|
-
bigint,
|
|
282
|
-
bigint,
|
|
283
|
-
bigint,
|
|
284
|
-
string,
|
|
285
|
-
bigint,
|
|
286
|
-
string,
|
|
287
|
-
string,
|
|
288
|
-
bigint,
|
|
289
|
-
AdditionalRecipientStructOutput[],
|
|
290
|
-
string
|
|
291
|
-
] & {
|
|
292
|
-
considerationToken: string;
|
|
293
|
-
considerationIdentifier: bigint;
|
|
294
|
-
considerationAmount: bigint;
|
|
295
|
-
offerer: string;
|
|
296
|
-
zone: string;
|
|
297
|
-
offerToken: string;
|
|
298
|
-
offerIdentifier: bigint;
|
|
299
|
-
offerAmount: bigint;
|
|
300
|
-
basicOrderType: bigint;
|
|
301
|
-
startTime: bigint;
|
|
302
|
-
endTime: bigint;
|
|
303
|
-
zoneHash: string;
|
|
304
|
-
salt: bigint;
|
|
305
|
-
offererConduitKey: string;
|
|
306
|
-
fulfillerConduitKey: string;
|
|
307
|
-
totalOriginalAdditionalRecipients: bigint;
|
|
308
|
-
additionalRecipients: AdditionalRecipientStructOutput[];
|
|
309
|
-
signature: string;
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
export type FulfillmentStruct = {
|
|
313
|
-
offerComponents: FulfillmentComponentStruct[];
|
|
314
|
-
considerationComponents: FulfillmentComponentStruct[];
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
export type FulfillmentStructOutput = [
|
|
318
|
-
FulfillmentComponentStructOutput[],
|
|
319
|
-
FulfillmentComponentStructOutput[]
|
|
320
|
-
] & {
|
|
321
|
-
offerComponents: FulfillmentComponentStructOutput[];
|
|
322
|
-
considerationComponents: FulfillmentComponentStructOutput[];
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
export interface SeaportInterface extends Interface {}
|
|
326
|
-
|
|
327
|
-
export interface CounterIncrementedEventObject {
|
|
328
|
-
newCounter: bigint;
|
|
329
|
-
offerer: string;
|
|
330
|
-
}
|
|
331
|
-
export type CounterIncrementedEvent = TypedEvent<
|
|
332
|
-
[bigint, string],
|
|
333
|
-
CounterIncrementedEventObject
|
|
334
|
-
>;
|
|
335
|
-
|
|
336
|
-
export type CounterIncrementedEventFilter =
|
|
337
|
-
TypedEventFilter<CounterIncrementedEvent>;
|
|
338
|
-
|
|
339
|
-
export interface OrderCancelledEventObject {
|
|
340
|
-
orderHash: string;
|
|
341
|
-
offerer: string;
|
|
342
|
-
zone: string;
|
|
343
|
-
}
|
|
344
|
-
export type OrderCancelledEvent = TypedEvent<
|
|
345
|
-
[string, string, string],
|
|
346
|
-
OrderCancelledEventObject
|
|
347
|
-
>;
|
|
348
|
-
|
|
349
|
-
export type OrderCancelledEventFilter = TypedEventFilter<OrderCancelledEvent>;
|
|
350
|
-
|
|
351
|
-
export interface OrderFulfilledEventObject {
|
|
352
|
-
orderHash: string;
|
|
353
|
-
offerer: string;
|
|
354
|
-
zone: string;
|
|
355
|
-
recipient: string;
|
|
356
|
-
offer: SpentItemStructOutput[];
|
|
357
|
-
consideration: ReceivedItemStructOutput[];
|
|
358
|
-
}
|
|
359
|
-
export type OrderFulfilledEvent = TypedEvent<
|
|
360
|
-
[
|
|
361
|
-
string,
|
|
362
|
-
string,
|
|
363
|
-
string,
|
|
364
|
-
string,
|
|
365
|
-
SpentItemStructOutput[],
|
|
366
|
-
ReceivedItemStructOutput[]
|
|
367
|
-
],
|
|
368
|
-
OrderFulfilledEventObject
|
|
369
|
-
>;
|
|
370
|
-
|
|
371
|
-
export type OrderFulfilledEventFilter = TypedEventFilter<OrderFulfilledEvent>;
|
|
372
|
-
|
|
373
|
-
export interface OrderValidatedEventObject {
|
|
374
|
-
orderHash: string;
|
|
375
|
-
offerer: string;
|
|
376
|
-
zone: string;
|
|
377
|
-
}
|
|
378
|
-
export type OrderValidatedEvent = TypedEvent<
|
|
379
|
-
[string, string, string],
|
|
380
|
-
OrderValidatedEventObject
|
|
381
|
-
>;
|
|
382
|
-
|
|
383
|
-
export type OrderValidatedEventFilter = TypedEventFilter<OrderValidatedEvent>;
|
|
384
|
-
|
|
385
|
-
export interface Seaport extends BaseContract {
|
|
386
|
-
connect(runner: null | ContractRunner): this;
|
|
387
|
-
|
|
388
|
-
interface: SeaportInterface;
|
|
389
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { BaseContract, Interface } from "ethers";
|
|
5
|
-
import type { ContractRunner } from "ethers/providers";
|
|
6
|
-
import type { TypedEventFilter, TypedEvent, PromiseOrValue } from "./common.js";
|
|
7
|
-
|
|
8
|
-
export interface TokenExchangeInterface extends Interface {}
|
|
9
|
-
|
|
10
|
-
export interface TokenExchangeEventObject {
|
|
11
|
-
buyer: string;
|
|
12
|
-
sold_id: bigint;
|
|
13
|
-
tokens_sold: bigint;
|
|
14
|
-
bought_id: bigint;
|
|
15
|
-
tokens_bought: bigint;
|
|
16
|
-
}
|
|
17
|
-
export type TokenExchangeEvent = TypedEvent<
|
|
18
|
-
[string, bigint, bigint, bigint, bigint],
|
|
19
|
-
TokenExchangeEventObject
|
|
20
|
-
>;
|
|
21
|
-
|
|
22
|
-
export type TokenExchangeEventFilter = TypedEventFilter<TokenExchangeEvent>;
|
|
23
|
-
|
|
24
|
-
export interface AddLiquidityEventObject {
|
|
25
|
-
provider: string;
|
|
26
|
-
token_amounts: [bigint, bigint, bigint];
|
|
27
|
-
fees: [bigint, bigint, bigint];
|
|
28
|
-
invariant: bigint;
|
|
29
|
-
token_supply: bigint;
|
|
30
|
-
}
|
|
31
|
-
export type AddLiquidityEvent = TypedEvent<
|
|
32
|
-
[string, [bigint, bigint, bigint], [bigint, bigint, bigint], bigint, bigint],
|
|
33
|
-
AddLiquidityEventObject
|
|
34
|
-
>;
|
|
35
|
-
|
|
36
|
-
export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
|
|
37
|
-
|
|
38
|
-
export interface RemoveLiquidityEventObject {
|
|
39
|
-
provider: string;
|
|
40
|
-
token_amounts: [bigint, bigint, bigint];
|
|
41
|
-
fees: [bigint, bigint, bigint];
|
|
42
|
-
token_supply: bigint;
|
|
43
|
-
}
|
|
44
|
-
export type RemoveLiquidityEvent = TypedEvent<
|
|
45
|
-
[string, [bigint, bigint, bigint], [bigint, bigint, bigint], bigint],
|
|
46
|
-
RemoveLiquidityEventObject
|
|
47
|
-
>;
|
|
48
|
-
|
|
49
|
-
export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
|
|
50
|
-
|
|
51
|
-
export interface RemoveLiquidityOneEventObject {
|
|
52
|
-
provider: string;
|
|
53
|
-
token_amount: bigint;
|
|
54
|
-
coin_amount: bigint;
|
|
55
|
-
}
|
|
56
|
-
export type RemoveLiquidityOneEvent = TypedEvent<
|
|
57
|
-
[string, bigint, bigint],
|
|
58
|
-
RemoveLiquidityOneEventObject
|
|
59
|
-
>;
|
|
60
|
-
|
|
61
|
-
export type RemoveLiquidityOneEventFilter =
|
|
62
|
-
TypedEventFilter<RemoveLiquidityOneEvent>;
|
|
63
|
-
|
|
64
|
-
export interface RemoveLiquidityImbalanceEventObject {
|
|
65
|
-
provider: string;
|
|
66
|
-
token_amounts: [bigint, bigint, bigint];
|
|
67
|
-
fees: [bigint, bigint, bigint];
|
|
68
|
-
invariant: bigint;
|
|
69
|
-
token_supply: bigint;
|
|
70
|
-
}
|
|
71
|
-
export type RemoveLiquidityImbalanceEvent = TypedEvent<
|
|
72
|
-
[string, [bigint, bigint, bigint], [bigint, bigint, bigint], bigint, bigint],
|
|
73
|
-
RemoveLiquidityImbalanceEventObject
|
|
74
|
-
>;
|
|
75
|
-
|
|
76
|
-
export type RemoveLiquidityImbalanceEventFilter =
|
|
77
|
-
TypedEventFilter<RemoveLiquidityImbalanceEvent>;
|
|
78
|
-
|
|
79
|
-
export interface CommitNewAdminEventObject {
|
|
80
|
-
deadline: bigint;
|
|
81
|
-
admin: string;
|
|
82
|
-
}
|
|
83
|
-
export type CommitNewAdminEvent = TypedEvent<
|
|
84
|
-
[bigint, string],
|
|
85
|
-
CommitNewAdminEventObject
|
|
86
|
-
>;
|
|
87
|
-
|
|
88
|
-
export type CommitNewAdminEventFilter = TypedEventFilter<CommitNewAdminEvent>;
|
|
89
|
-
|
|
90
|
-
export interface NewAdminEventObject {
|
|
91
|
-
admin: string;
|
|
92
|
-
}
|
|
93
|
-
export type NewAdminEvent = TypedEvent<[string], NewAdminEventObject>;
|
|
94
|
-
|
|
95
|
-
export type NewAdminEventFilter = TypedEventFilter<NewAdminEvent>;
|
|
96
|
-
|
|
97
|
-
export interface CommitNewFeeEventObject {
|
|
98
|
-
deadline: bigint;
|
|
99
|
-
fee: bigint;
|
|
100
|
-
admin_fee: bigint;
|
|
101
|
-
}
|
|
102
|
-
export type CommitNewFeeEvent = TypedEvent<
|
|
103
|
-
[bigint, bigint, bigint],
|
|
104
|
-
CommitNewFeeEventObject
|
|
105
|
-
>;
|
|
106
|
-
|
|
107
|
-
export type CommitNewFeeEventFilter = TypedEventFilter<CommitNewFeeEvent>;
|
|
108
|
-
|
|
109
|
-
export interface NewFeeEventObject {
|
|
110
|
-
fee: bigint;
|
|
111
|
-
admin_fee: bigint;
|
|
112
|
-
}
|
|
113
|
-
export type NewFeeEvent = TypedEvent<[bigint, bigint], NewFeeEventObject>;
|
|
114
|
-
|
|
115
|
-
export type NewFeeEventFilter = TypedEventFilter<NewFeeEvent>;
|
|
116
|
-
|
|
117
|
-
export interface RampAEventObject {
|
|
118
|
-
old_A: bigint;
|
|
119
|
-
new_A: bigint;
|
|
120
|
-
initial_time: bigint;
|
|
121
|
-
future_time: bigint;
|
|
122
|
-
}
|
|
123
|
-
export type RampAEvent = TypedEvent<
|
|
124
|
-
[bigint, bigint, bigint, bigint],
|
|
125
|
-
RampAEventObject
|
|
126
|
-
>;
|
|
127
|
-
|
|
128
|
-
export type RampAEventFilter = TypedEventFilter<RampAEvent>;
|
|
129
|
-
|
|
130
|
-
export interface StopRampAEventObject {
|
|
131
|
-
A: bigint;
|
|
132
|
-
t: bigint;
|
|
133
|
-
}
|
|
134
|
-
export type StopRampAEvent = TypedEvent<[bigint, bigint], StopRampAEventObject>;
|
|
135
|
-
|
|
136
|
-
export type StopRampAEventFilter = TypedEventFilter<StopRampAEvent>;
|
|
137
|
-
|
|
138
|
-
export interface TokenExchange extends BaseContract {
|
|
139
|
-
connect(runner: null | ContractRunner): this;
|
|
140
|
-
|
|
141
|
-
interface: TokenExchangeInterface;
|
|
142
|
-
}
|