@opensea/seaport-js 1.0.0 → 1.0.1-beta.0
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/abi/ERC1155.d.ts +29 -29
- package/lib/abi/ERC20.d.ts +29 -29
- package/lib/abi/ERC721.d.ts +29 -29
- package/lib/abi/Seaport.d.ts +112 -112
- package/lib/constants.d.ts +49 -49
- package/lib/index.d.ts +2 -2
- package/lib/index.esm.mjs +2 -0
- package/lib/index.esm.mjs.map +1 -0
- package/lib/index.js +2 -6
- package/lib/index.js.map +1 -1
- package/lib/index.modern.mjs +2 -0
- package/lib/index.modern.mjs.map +1 -0
- package/lib/index.umd.js +2 -0
- package/lib/index.umd.js.map +1 -0
- package/lib/seaport.d.ts +181 -181
- package/lib/types.d.ts +207 -207
- package/lib/utils/approval.d.ts +9 -9
- package/lib/utils/balance.d.ts +4 -4
- package/lib/utils/balanceAndApprovalCheck.d.ts +108 -108
- package/lib/utils/criteria.d.ts +13 -14
- package/lib/utils/fulfill.d.ts +84 -84
- package/lib/utils/gcd.d.ts +3 -3
- package/lib/utils/item.d.ts +30 -29
- package/lib/utils/match.d.ts +49 -49
- package/lib/utils/merkletree.d.ts +11 -11
- package/lib/utils/order.d.ts +37 -37
- package/lib/utils/usecase.d.ts +4 -4
- package/package.json +4 -2
- package/lib/abi/ERC1155.js +0 -319
- package/lib/abi/ERC1155.js.map +0 -1
- package/lib/abi/ERC20.js +0 -317
- package/lib/abi/ERC20.js.map +0 -1
- package/lib/abi/ERC721.js +0 -337
- package/lib/abi/ERC721.js.map +0 -1
- package/lib/abi/Seaport.js +0 -2585
- package/lib/abi/Seaport.js.map +0 -1
- package/lib/constants.js +0 -73
- package/lib/constants.js.map +0 -1
- package/lib/seaport.js +0 -720
- package/lib/seaport.js.map +0 -1
- package/lib/typechain/ERC1155.d.ts +0 -189
- package/lib/typechain/ERC1155.js +0 -3
- package/lib/typechain/ERC1155.js.map +0 -1
- package/lib/typechain/ERC20.d.ts +0 -209
- package/lib/typechain/ERC20.js +0 -3
- package/lib/typechain/ERC20.js.map +0 -1
- package/lib/typechain/ERC721.d.ts +0 -220
- package/lib/typechain/ERC721.js +0 -3
- package/lib/typechain/ERC721.js.map +0 -1
- package/lib/typechain/Seaport.d.ts +0 -686
- package/lib/typechain/Seaport.js +0 -3
- package/lib/typechain/Seaport.js.map +0 -1
- package/lib/typechain/common.d.ts +0 -21
- package/lib/typechain/common.js +0 -3
- package/lib/typechain/common.js.map +0 -1
- package/lib/types.js +0 -3
- package/lib/types.js.map +0 -1
- package/lib/utils/approval.js +0 -108
- package/lib/utils/approval.js.map +0 -1
- package/lib/utils/balance.js +0 -86
- package/lib/utils/balance.js.map +0 -1
- package/lib/utils/balanceAndApprovalCheck.js +0 -322
- package/lib/utils/balanceAndApprovalCheck.js.map +0 -1
- package/lib/utils/criteria.js +0 -91
- package/lib/utils/criteria.js.map +0 -1
- package/lib/utils/fulfill.js +0 -573
- package/lib/utils/fulfill.js.map +0 -1
- package/lib/utils/gcd.js +0 -25
- package/lib/utils/gcd.js.map +0 -1
- package/lib/utils/item.js +0 -136
- package/lib/utils/item.js.map +0 -1
- package/lib/utils/match.js +0 -56
- package/lib/utils/match.js.map +0 -1
- package/lib/utils/merkletree.js +0 -32
- package/lib/utils/merkletree.js.map +0 -1
- package/lib/utils/order.js +0 -224
- package/lib/utils/order.js.map +0 -1
- package/lib/utils/usecase.js +0 -158
- package/lib/utils/usecase.js.map +0 -1
package/lib/abi/ERC1155.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
declare const ERC1155ABI: ({
|
|
2
|
-
anonymous: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
indexed: boolean;
|
|
5
|
-
internalType: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
stateMutability?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
inputs: {
|
|
15
|
-
internalType: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
name: string;
|
|
20
|
-
outputs: {
|
|
21
|
-
internalType: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}[];
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
})[];
|
|
29
|
-
export { ERC1155ABI };
|
|
1
|
+
declare const ERC1155ABI: ({
|
|
2
|
+
anonymous: boolean;
|
|
3
|
+
inputs: {
|
|
4
|
+
indexed: boolean;
|
|
5
|
+
internalType: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
}[];
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
outputs?: undefined;
|
|
12
|
+
stateMutability?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
inputs: {
|
|
15
|
+
internalType: string;
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
}[];
|
|
19
|
+
name: string;
|
|
20
|
+
outputs: {
|
|
21
|
+
internalType: string;
|
|
22
|
+
name: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}[];
|
|
25
|
+
stateMutability: string;
|
|
26
|
+
type: string;
|
|
27
|
+
anonymous?: undefined;
|
|
28
|
+
})[];
|
|
29
|
+
export { ERC1155ABI };
|
package/lib/abi/ERC20.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
declare const ERC20ABI: ({
|
|
2
|
-
anonymous: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
indexed: boolean;
|
|
5
|
-
internalType: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
stateMutability?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
inputs: {
|
|
15
|
-
internalType: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
name: string;
|
|
20
|
-
outputs: {
|
|
21
|
-
internalType: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}[];
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
})[];
|
|
29
|
-
export { ERC20ABI };
|
|
1
|
+
declare const ERC20ABI: ({
|
|
2
|
+
anonymous: boolean;
|
|
3
|
+
inputs: {
|
|
4
|
+
indexed: boolean;
|
|
5
|
+
internalType: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
}[];
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
outputs?: undefined;
|
|
12
|
+
stateMutability?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
inputs: {
|
|
15
|
+
internalType: string;
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
}[];
|
|
19
|
+
name: string;
|
|
20
|
+
outputs: {
|
|
21
|
+
internalType: string;
|
|
22
|
+
name: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}[];
|
|
25
|
+
stateMutability: string;
|
|
26
|
+
type: string;
|
|
27
|
+
anonymous?: undefined;
|
|
28
|
+
})[];
|
|
29
|
+
export { ERC20ABI };
|
package/lib/abi/ERC721.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
declare const ERC721ABI: ({
|
|
2
|
-
anonymous: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
indexed: boolean;
|
|
5
|
-
internalType: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
stateMutability?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
inputs: {
|
|
15
|
-
internalType: string;
|
|
16
|
-
name: string;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
name: string;
|
|
20
|
-
outputs: {
|
|
21
|
-
internalType: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}[];
|
|
25
|
-
stateMutability: string;
|
|
26
|
-
type: string;
|
|
27
|
-
anonymous?: undefined;
|
|
28
|
-
})[];
|
|
29
|
-
export { ERC721ABI };
|
|
1
|
+
declare const ERC721ABI: ({
|
|
2
|
+
anonymous: boolean;
|
|
3
|
+
inputs: {
|
|
4
|
+
indexed: boolean;
|
|
5
|
+
internalType: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
}[];
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
outputs?: undefined;
|
|
12
|
+
stateMutability?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
inputs: {
|
|
15
|
+
internalType: string;
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
}[];
|
|
19
|
+
name: string;
|
|
20
|
+
outputs: {
|
|
21
|
+
internalType: string;
|
|
22
|
+
name: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}[];
|
|
25
|
+
stateMutability: string;
|
|
26
|
+
type: string;
|
|
27
|
+
anonymous?: undefined;
|
|
28
|
+
})[];
|
|
29
|
+
export { ERC721ABI };
|
package/lib/abi/Seaport.d.ts
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
declare const SeaportABI: ({
|
|
2
|
-
inputs: {
|
|
3
|
-
internalType: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
}[];
|
|
7
|
-
stateMutability: string;
|
|
8
|
-
type: string;
|
|
9
|
-
name?: undefined;
|
|
10
|
-
anonymous?: undefined;
|
|
11
|
-
outputs?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
inputs: {
|
|
14
|
-
internalType: string;
|
|
15
|
-
name: string;
|
|
16
|
-
type: string;
|
|
17
|
-
}[];
|
|
18
|
-
name: string;
|
|
19
|
-
type: string;
|
|
20
|
-
stateMutability?: undefined;
|
|
21
|
-
anonymous?: undefined;
|
|
22
|
-
outputs?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
anonymous: boolean;
|
|
25
|
-
inputs: ({
|
|
26
|
-
indexed: boolean;
|
|
27
|
-
internalType: string;
|
|
28
|
-
name: string;
|
|
29
|
-
type: string;
|
|
30
|
-
components?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
components: {
|
|
33
|
-
internalType: string;
|
|
34
|
-
name: string;
|
|
35
|
-
type: string;
|
|
36
|
-
}[];
|
|
37
|
-
indexed: boolean;
|
|
38
|
-
internalType: string;
|
|
39
|
-
name: string;
|
|
40
|
-
type: string;
|
|
41
|
-
})[];
|
|
42
|
-
name: string;
|
|
43
|
-
type: string;
|
|
44
|
-
stateMutability?: undefined;
|
|
45
|
-
outputs?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
inputs: ({
|
|
48
|
-
components: ({
|
|
49
|
-
components: ({
|
|
50
|
-
internalType: string;
|
|
51
|
-
name: string;
|
|
52
|
-
type: string;
|
|
53
|
-
components?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
components: {
|
|
56
|
-
internalType: string;
|
|
57
|
-
name: string;
|
|
58
|
-
type: string;
|
|
59
|
-
}[];
|
|
60
|
-
internalType: string;
|
|
61
|
-
name: string;
|
|
62
|
-
type: string;
|
|
63
|
-
})[];
|
|
64
|
-
internalType: string;
|
|
65
|
-
name: string;
|
|
66
|
-
type: string;
|
|
67
|
-
} | {
|
|
68
|
-
internalType: string;
|
|
69
|
-
name: string;
|
|
70
|
-
type: string;
|
|
71
|
-
components?: undefined;
|
|
72
|
-
})[];
|
|
73
|
-
internalType: string;
|
|
74
|
-
name: string;
|
|
75
|
-
type: string;
|
|
76
|
-
} | {
|
|
77
|
-
internalType: string;
|
|
78
|
-
name: string;
|
|
79
|
-
type: string;
|
|
80
|
-
components?: undefined;
|
|
81
|
-
})[];
|
|
82
|
-
name: string;
|
|
83
|
-
outputs: ({
|
|
84
|
-
internalType: string;
|
|
85
|
-
name: string;
|
|
86
|
-
type: string;
|
|
87
|
-
components?: undefined;
|
|
88
|
-
} | {
|
|
89
|
-
components: ({
|
|
90
|
-
components: {
|
|
91
|
-
internalType: string;
|
|
92
|
-
name: string;
|
|
93
|
-
type: string;
|
|
94
|
-
}[];
|
|
95
|
-
internalType: string;
|
|
96
|
-
name: string;
|
|
97
|
-
type: string;
|
|
98
|
-
} | {
|
|
99
|
-
internalType: string;
|
|
100
|
-
name: string;
|
|
101
|
-
type: string;
|
|
102
|
-
components?: undefined;
|
|
103
|
-
})[];
|
|
104
|
-
internalType: string;
|
|
105
|
-
name: string;
|
|
106
|
-
type: string;
|
|
107
|
-
})[];
|
|
108
|
-
stateMutability: string;
|
|
109
|
-
type: string;
|
|
110
|
-
anonymous?: undefined;
|
|
111
|
-
})[];
|
|
112
|
-
export { SeaportABI };
|
|
1
|
+
declare const SeaportABI: ({
|
|
2
|
+
inputs: {
|
|
3
|
+
internalType: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}[];
|
|
7
|
+
stateMutability: string;
|
|
8
|
+
type: string;
|
|
9
|
+
name?: undefined;
|
|
10
|
+
anonymous?: undefined;
|
|
11
|
+
outputs?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
inputs: {
|
|
14
|
+
internalType: string;
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
}[];
|
|
18
|
+
name: string;
|
|
19
|
+
type: string;
|
|
20
|
+
stateMutability?: undefined;
|
|
21
|
+
anonymous?: undefined;
|
|
22
|
+
outputs?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
anonymous: boolean;
|
|
25
|
+
inputs: ({
|
|
26
|
+
indexed: boolean;
|
|
27
|
+
internalType: string;
|
|
28
|
+
name: string;
|
|
29
|
+
type: string;
|
|
30
|
+
components?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
components: {
|
|
33
|
+
internalType: string;
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}[];
|
|
37
|
+
indexed: boolean;
|
|
38
|
+
internalType: string;
|
|
39
|
+
name: string;
|
|
40
|
+
type: string;
|
|
41
|
+
})[];
|
|
42
|
+
name: string;
|
|
43
|
+
type: string;
|
|
44
|
+
stateMutability?: undefined;
|
|
45
|
+
outputs?: undefined;
|
|
46
|
+
} | {
|
|
47
|
+
inputs: ({
|
|
48
|
+
components: ({
|
|
49
|
+
components: ({
|
|
50
|
+
internalType: string;
|
|
51
|
+
name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
components?: undefined;
|
|
54
|
+
} | {
|
|
55
|
+
components: {
|
|
56
|
+
internalType: string;
|
|
57
|
+
name: string;
|
|
58
|
+
type: string;
|
|
59
|
+
}[];
|
|
60
|
+
internalType: string;
|
|
61
|
+
name: string;
|
|
62
|
+
type: string;
|
|
63
|
+
})[];
|
|
64
|
+
internalType: string;
|
|
65
|
+
name: string;
|
|
66
|
+
type: string;
|
|
67
|
+
} | {
|
|
68
|
+
internalType: string;
|
|
69
|
+
name: string;
|
|
70
|
+
type: string;
|
|
71
|
+
components?: undefined;
|
|
72
|
+
})[];
|
|
73
|
+
internalType: string;
|
|
74
|
+
name: string;
|
|
75
|
+
type: string;
|
|
76
|
+
} | {
|
|
77
|
+
internalType: string;
|
|
78
|
+
name: string;
|
|
79
|
+
type: string;
|
|
80
|
+
components?: undefined;
|
|
81
|
+
})[];
|
|
82
|
+
name: string;
|
|
83
|
+
outputs: ({
|
|
84
|
+
internalType: string;
|
|
85
|
+
name: string;
|
|
86
|
+
type: string;
|
|
87
|
+
components?: undefined;
|
|
88
|
+
} | {
|
|
89
|
+
components: ({
|
|
90
|
+
components: {
|
|
91
|
+
internalType: string;
|
|
92
|
+
name: string;
|
|
93
|
+
type: string;
|
|
94
|
+
}[];
|
|
95
|
+
internalType: string;
|
|
96
|
+
name: string;
|
|
97
|
+
type: string;
|
|
98
|
+
} | {
|
|
99
|
+
internalType: string;
|
|
100
|
+
name: string;
|
|
101
|
+
type: string;
|
|
102
|
+
components?: undefined;
|
|
103
|
+
})[];
|
|
104
|
+
internalType: string;
|
|
105
|
+
name: string;
|
|
106
|
+
type: string;
|
|
107
|
+
})[];
|
|
108
|
+
stateMutability: string;
|
|
109
|
+
type: string;
|
|
110
|
+
anonymous?: undefined;
|
|
111
|
+
})[];
|
|
112
|
+
export { SeaportABI };
|
package/lib/constants.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { BigNumber } from "ethers";
|
|
2
|
-
export declare const SEAPORT_CONTRACT_NAME = "Seaport";
|
|
3
|
-
export declare const SEAPORT_CONTRACT_VERSION = "1.1";
|
|
4
|
-
export declare const EIP_712_ORDER_TYPE: {
|
|
5
|
-
OrderComponents: {
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[];
|
|
9
|
-
OfferItem: {
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
}[];
|
|
13
|
-
ConsiderationItem: {
|
|
14
|
-
name: string;
|
|
15
|
-
type: string;
|
|
16
|
-
}[];
|
|
17
|
-
};
|
|
18
|
-
export declare enum OrderType {
|
|
19
|
-
FULL_OPEN = 0,
|
|
20
|
-
PARTIAL_OPEN = 1,
|
|
21
|
-
FULL_RESTRICTED = 2,
|
|
22
|
-
PARTIAL_RESTRICTED = 3
|
|
23
|
-
}
|
|
24
|
-
export declare enum ItemType {
|
|
25
|
-
NATIVE = 0,
|
|
26
|
-
ERC20 = 1,
|
|
27
|
-
ERC721 = 2,
|
|
28
|
-
ERC1155 = 3,
|
|
29
|
-
ERC721_WITH_CRITERIA = 4,
|
|
30
|
-
ERC1155_WITH_CRITERIA = 5
|
|
31
|
-
}
|
|
32
|
-
export declare enum Side {
|
|
33
|
-
OFFER = 0,
|
|
34
|
-
CONSIDERATION = 1
|
|
35
|
-
}
|
|
36
|
-
export declare type NftItemType = ItemType.ERC721 | ItemType.ERC1155 | ItemType.ERC721_WITH_CRITERIA | ItemType.ERC1155_WITH_CRITERIA;
|
|
37
|
-
export declare enum BasicOrderRouteType {
|
|
38
|
-
ETH_TO_ERC721 = 0,
|
|
39
|
-
ETH_TO_ERC1155 = 1,
|
|
40
|
-
ERC20_TO_ERC721 = 2,
|
|
41
|
-
ERC20_TO_ERC1155 = 3,
|
|
42
|
-
ERC721_TO_ERC20 = 4,
|
|
43
|
-
ERC1155_TO_ERC20 = 5
|
|
44
|
-
}
|
|
45
|
-
export declare const MAX_INT: BigNumber;
|
|
46
|
-
export declare const ONE_HUNDRED_PERCENT_BP = 10000;
|
|
47
|
-
export declare const NO_CONDUIT = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
48
|
-
export declare const KNOWN_CONDUIT_KEYS_TO_CONDUIT: {};
|
|
49
|
-
export declare const CROSS_CHAIN_SEAPORT_ADDRESS = "0x00000000006c3852cbef3e08e8df289169ede581";
|
|
1
|
+
import { BigNumber } from "ethers";
|
|
2
|
+
export declare const SEAPORT_CONTRACT_NAME = "Seaport";
|
|
3
|
+
export declare const SEAPORT_CONTRACT_VERSION = "1.1";
|
|
4
|
+
export declare const EIP_712_ORDER_TYPE: {
|
|
5
|
+
OrderComponents: {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
}[];
|
|
9
|
+
OfferItem: {
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
ConsiderationItem: {
|
|
14
|
+
name: string;
|
|
15
|
+
type: string;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
export declare enum OrderType {
|
|
19
|
+
FULL_OPEN = 0,
|
|
20
|
+
PARTIAL_OPEN = 1,
|
|
21
|
+
FULL_RESTRICTED = 2,
|
|
22
|
+
PARTIAL_RESTRICTED = 3
|
|
23
|
+
}
|
|
24
|
+
export declare enum ItemType {
|
|
25
|
+
NATIVE = 0,
|
|
26
|
+
ERC20 = 1,
|
|
27
|
+
ERC721 = 2,
|
|
28
|
+
ERC1155 = 3,
|
|
29
|
+
ERC721_WITH_CRITERIA = 4,
|
|
30
|
+
ERC1155_WITH_CRITERIA = 5
|
|
31
|
+
}
|
|
32
|
+
export declare enum Side {
|
|
33
|
+
OFFER = 0,
|
|
34
|
+
CONSIDERATION = 1
|
|
35
|
+
}
|
|
36
|
+
export declare type NftItemType = ItemType.ERC721 | ItemType.ERC1155 | ItemType.ERC721_WITH_CRITERIA | ItemType.ERC1155_WITH_CRITERIA;
|
|
37
|
+
export declare enum BasicOrderRouteType {
|
|
38
|
+
ETH_TO_ERC721 = 0,
|
|
39
|
+
ETH_TO_ERC1155 = 1,
|
|
40
|
+
ERC20_TO_ERC721 = 2,
|
|
41
|
+
ERC20_TO_ERC1155 = 3,
|
|
42
|
+
ERC721_TO_ERC20 = 4,
|
|
43
|
+
ERC1155_TO_ERC20 = 5
|
|
44
|
+
}
|
|
45
|
+
export declare const MAX_INT: BigNumber;
|
|
46
|
+
export declare const ONE_HUNDRED_PERCENT_BP = 10000;
|
|
47
|
+
export declare const NO_CONDUIT = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
48
|
+
export declare const KNOWN_CONDUIT_KEYS_TO_CONDUIT: {};
|
|
49
|
+
export declare const CROSS_CHAIN_SEAPORT_ADDRESS = "0x00000000006c3852cbef3e08e8df289169ede581";
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Seaport } from "./seaport";
|
|
2
|
-
export { Seaport };
|
|
1
|
+
import { Seaport } from "./seaport";
|
|
2
|
+
export { Seaport };
|