@hypercerts-org/marketplace-sdk 0.0.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/LICENSE +4 -0
- package/LICENSE-APACHE +10 -0
- package/LICENSE-MIT +21 -0
- package/README.md +101 -0
- package/dist/LooksRare.d.ts +223 -0
- package/dist/abis/IERC1155.json +276 -0
- package/dist/abis/IERC20.json +185 -0
- package/dist/abis/IERC721.json +268 -0
- package/dist/abis/ILooksRareProtocol.json +677 -0
- package/dist/abis/ITransferManager.json +91 -0
- package/dist/abis/IWETH.json +46 -0
- package/dist/abis/LooksRareProtocol.json +1924 -0
- package/dist/abis/OrderValidatorV2A.json +410 -0
- package/dist/abis/ProtocolHelpers.json +366 -0
- package/dist/abis/TransferManager.json +492 -0
- package/dist/abis/WETH.json +361 -0
- package/dist/abis/index.d.ts +7 -0
- package/dist/abis/index.ts +7 -0
- package/dist/constants/addresses.d.ts +7 -0
- package/dist/constants/chains.d.ts +4 -0
- package/dist/constants/eip712.d.ts +10 -0
- package/dist/constants/index.d.ts +14 -0
- package/dist/errors.d.ts +30 -0
- package/dist/index.cjs.js +5251 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.esm.js +5229 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/AffiliateManager.d.ts +210 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry.d.ts +35 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties.d.ts +47 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CurrencyManager.d.ts +247 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/ExecutionManager.d.ts +616 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +1005 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/NonceManager.d.ts +148 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/StrategyManager.d.ts +401 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferManager.d.ts +324 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT.d.ts +620 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy.d.ts +97 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer.d.ts +176 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +172 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers.d.ts +148 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/index.d.ts +16 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager.d.ts +65 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager.d.ts +47 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager.d.ts +37 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager.d.ts +64 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol.d.ts +343 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager.d.ts +72 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry.d.ts +41 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy.d.ts +97 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager.d.ts +85 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager.d.ts +80 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry.d.ts +222 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/OwnableTwoSteps.d.ts +121 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/PackableReentrancyGuard.d.ts +20 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps.d.ts +80 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard.d.ts +20 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155.d.ts +224 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271.d.ts +35 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165.d.ts +29 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +129 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981.d.ts +49 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721.d.ts +191 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH.d.ts +43 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-libs/index.d.ts +2 -0
- package/dist/typechain/@looksrare/index.d.ts +4 -0
- package/dist/typechain/common.d.ts +50 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/AffiliateManager__factory.d.ts +264 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry__factory.d.ts +48 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties__factory.d.ts +74 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CurrencyManager__factory.d.ts +307 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +748 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1527 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/NonceManager__factory.d.ts +174 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +478 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferManager__factory.d.ts +406 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +766 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy__factory.d.ts +100 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer__factory.d.ts +323 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +338 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +302 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/index.d.ts +13 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager__factory.d.ts +50 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager__factory.d.ts +51 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager__factory.d.ts +22 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager__factory.d.ts +61 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol__factory.d.ts +540 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager__factory.d.ts +57 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry__factory.d.ts +29 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager__factory.d.ts +88 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy__factory.d.ts +100 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager__factory.d.ts +77 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry__factory.d.ts +278 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/OwnableTwoSteps__factory.d.ts +130 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/PackableReentrancyGuard__factory.d.ts +11 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/index.d.ts +3 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps__factory.d.ts +66 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard__factory.d.ts +11 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155__factory.d.ts +222 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271__factory.d.ts +25 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165__factory.d.ts +21 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +147 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981__factory.d.ts +43 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721__factory.d.ts +213 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH__factory.d.ts +41 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +3 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/index.d.ts +2 -0
- package/dist/typechain/factories/index.d.ts +3 -0
- package/dist/typechain/factories/solmate/index.d.ts +1 -0
- package/dist/typechain/factories/solmate/src/index.d.ts +1 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +67 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +250 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +33 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +261 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
- package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +299 -0
- package/dist/typechain/factories/solmate/src/tokens/index.d.ts +4 -0
- package/dist/typechain/factories/src/contracts/index.d.ts +1 -0
- package/dist/typechain/factories/src/contracts/tests/MockERC1155__factory.d.ts +283 -0
- package/dist/typechain/factories/src/contracts/tests/MockERC721__factory.d.ts +308 -0
- package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +462 -0
- package/dist/typechain/factories/src/contracts/tests/index.d.ts +3 -0
- package/dist/typechain/factories/src/index.d.ts +1 -0
- package/dist/typechain/index.d.ts +97 -0
- package/dist/typechain/solmate/index.d.ts +2 -0
- package/dist/typechain/solmate/src/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +236 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +67 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721.d.ts +211 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +39 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/WETH.d.ts +219 -0
- package/dist/typechain/solmate/src/tokens/index.d.ts +6 -0
- package/dist/typechain/src/contracts/index.d.ts +2 -0
- package/dist/typechain/src/contracts/tests/MockERC1155.d.ts +252 -0
- package/dist/typechain/src/contracts/tests/MockERC721.d.ts +219 -0
- package/dist/typechain/src/contracts/tests/Verifier.d.ts +174 -0
- package/dist/typechain/src/contracts/tests/index.d.ts +3 -0
- package/dist/typechain/src/index.d.ts +2 -0
- package/dist/types.d.ts +242 -0
- package/dist/utils/Eip712MakerMerkleTree.d.ts +10 -0
- package/dist/utils/Eip712MerkleTree.d.ts +40 -0
- package/dist/utils/calls/exchange.d.ts +10 -0
- package/dist/utils/calls/nonces.d.ts +9 -0
- package/dist/utils/calls/orderValidator.d.ts +3 -0
- package/dist/utils/calls/strategies.d.ts +3 -0
- package/dist/utils/calls/tokens.d.ts +6 -0
- package/dist/utils/calls/transferManager.d.ts +6 -0
- package/dist/utils/eip712.d.ts +12 -0
- package/dist/utils/encodeOrderParams.d.ts +22 -0
- package/dist/utils/signMakerOrders.d.ts +18 -0
- package/package.json +94 -0
@@ -0,0 +1,677 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"inputs": [],
|
4
|
+
"name": "ChainIdInvalid",
|
5
|
+
"type": "error"
|
6
|
+
},
|
7
|
+
{
|
8
|
+
"inputs": [],
|
9
|
+
"name": "NewGasLimitETHTransferTooLow",
|
10
|
+
"type": "error"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"inputs": [],
|
14
|
+
"name": "NoncesInvalid",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [],
|
19
|
+
"name": "SameDomainSeparator",
|
20
|
+
"type": "error"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"anonymous": false,
|
24
|
+
"inputs": [
|
25
|
+
{
|
26
|
+
"indexed": false,
|
27
|
+
"internalType": "address",
|
28
|
+
"name": "affiliate",
|
29
|
+
"type": "address"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"indexed": false,
|
33
|
+
"internalType": "address",
|
34
|
+
"name": "currency",
|
35
|
+
"type": "address"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"indexed": false,
|
39
|
+
"internalType": "uint256",
|
40
|
+
"name": "affiliateFee",
|
41
|
+
"type": "uint256"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"name": "AffiliatePayment",
|
45
|
+
"type": "event"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"anonymous": false,
|
49
|
+
"inputs": [],
|
50
|
+
"name": "NewDomainSeparator",
|
51
|
+
"type": "event"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"anonymous": false,
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"indexed": false,
|
58
|
+
"internalType": "uint256",
|
59
|
+
"name": "gasLimitETHTransfer",
|
60
|
+
"type": "uint256"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "NewGasLimitETHTransfer",
|
64
|
+
"type": "event"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"anonymous": false,
|
68
|
+
"inputs": [
|
69
|
+
{
|
70
|
+
"components": [
|
71
|
+
{
|
72
|
+
"internalType": "bytes32",
|
73
|
+
"name": "orderHash",
|
74
|
+
"type": "bytes32"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"internalType": "uint256",
|
78
|
+
"name": "orderNonce",
|
79
|
+
"type": "uint256"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"internalType": "bool",
|
83
|
+
"name": "isNonceInvalidated",
|
84
|
+
"type": "bool"
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"indexed": false,
|
88
|
+
"internalType": "struct ILooksRareProtocol.NonceInvalidationParameters",
|
89
|
+
"name": "nonceInvalidationParameters",
|
90
|
+
"type": "tuple"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"indexed": false,
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "askUser",
|
96
|
+
"type": "address"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"indexed": false,
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "bidUser",
|
102
|
+
"type": "address"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"indexed": false,
|
106
|
+
"internalType": "uint256",
|
107
|
+
"name": "strategyId",
|
108
|
+
"type": "uint256"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"indexed": false,
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "currency",
|
114
|
+
"type": "address"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"indexed": false,
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "collection",
|
120
|
+
"type": "address"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"indexed": false,
|
124
|
+
"internalType": "uint256[]",
|
125
|
+
"name": "itemIds",
|
126
|
+
"type": "uint256[]"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"indexed": false,
|
130
|
+
"internalType": "uint256[]",
|
131
|
+
"name": "amounts",
|
132
|
+
"type": "uint256[]"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"indexed": false,
|
136
|
+
"internalType": "address[2]",
|
137
|
+
"name": "feeRecipients",
|
138
|
+
"type": "address[2]"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"indexed": false,
|
142
|
+
"internalType": "uint256[3]",
|
143
|
+
"name": "feeAmounts",
|
144
|
+
"type": "uint256[3]"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"name": "TakerAsk",
|
148
|
+
"type": "event"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"anonymous": false,
|
152
|
+
"inputs": [
|
153
|
+
{
|
154
|
+
"components": [
|
155
|
+
{
|
156
|
+
"internalType": "bytes32",
|
157
|
+
"name": "orderHash",
|
158
|
+
"type": "bytes32"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"internalType": "uint256",
|
162
|
+
"name": "orderNonce",
|
163
|
+
"type": "uint256"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"internalType": "bool",
|
167
|
+
"name": "isNonceInvalidated",
|
168
|
+
"type": "bool"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"indexed": false,
|
172
|
+
"internalType": "struct ILooksRareProtocol.NonceInvalidationParameters",
|
173
|
+
"name": "nonceInvalidationParameters",
|
174
|
+
"type": "tuple"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"indexed": false,
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "bidUser",
|
180
|
+
"type": "address"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"indexed": false,
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "bidRecipient",
|
186
|
+
"type": "address"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"indexed": false,
|
190
|
+
"internalType": "uint256",
|
191
|
+
"name": "strategyId",
|
192
|
+
"type": "uint256"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"indexed": false,
|
196
|
+
"internalType": "address",
|
197
|
+
"name": "currency",
|
198
|
+
"type": "address"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"indexed": false,
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "collection",
|
204
|
+
"type": "address"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"indexed": false,
|
208
|
+
"internalType": "uint256[]",
|
209
|
+
"name": "itemIds",
|
210
|
+
"type": "uint256[]"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"indexed": false,
|
214
|
+
"internalType": "uint256[]",
|
215
|
+
"name": "amounts",
|
216
|
+
"type": "uint256[]"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"indexed": false,
|
220
|
+
"internalType": "address[2]",
|
221
|
+
"name": "feeRecipients",
|
222
|
+
"type": "address[2]"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"indexed": false,
|
226
|
+
"internalType": "uint256[3]",
|
227
|
+
"name": "feeAmounts",
|
228
|
+
"type": "uint256[3]"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"name": "TakerBid",
|
232
|
+
"type": "event"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"inputs": [
|
236
|
+
{
|
237
|
+
"components": [
|
238
|
+
{
|
239
|
+
"internalType": "address",
|
240
|
+
"name": "recipient",
|
241
|
+
"type": "address"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"internalType": "bytes",
|
245
|
+
"name": "additionalParameters",
|
246
|
+
"type": "bytes"
|
247
|
+
}
|
248
|
+
],
|
249
|
+
"internalType": "struct OrderStructs.Taker[]",
|
250
|
+
"name": "takerBids",
|
251
|
+
"type": "tuple[]"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"components": [
|
255
|
+
{
|
256
|
+
"internalType": "enum QuoteType",
|
257
|
+
"name": "quoteType",
|
258
|
+
"type": "uint8"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"internalType": "uint256",
|
262
|
+
"name": "globalNonce",
|
263
|
+
"type": "uint256"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"internalType": "uint256",
|
267
|
+
"name": "subsetNonce",
|
268
|
+
"type": "uint256"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"internalType": "uint256",
|
272
|
+
"name": "orderNonce",
|
273
|
+
"type": "uint256"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"internalType": "uint256",
|
277
|
+
"name": "strategyId",
|
278
|
+
"type": "uint256"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"internalType": "enum CollectionType",
|
282
|
+
"name": "collectionType",
|
283
|
+
"type": "uint8"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"internalType": "address",
|
287
|
+
"name": "collection",
|
288
|
+
"type": "address"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"internalType": "address",
|
292
|
+
"name": "currency",
|
293
|
+
"type": "address"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"internalType": "address",
|
297
|
+
"name": "signer",
|
298
|
+
"type": "address"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"internalType": "uint256",
|
302
|
+
"name": "startTime",
|
303
|
+
"type": "uint256"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"internalType": "uint256",
|
307
|
+
"name": "endTime",
|
308
|
+
"type": "uint256"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"internalType": "uint256",
|
312
|
+
"name": "price",
|
313
|
+
"type": "uint256"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"internalType": "uint256[]",
|
317
|
+
"name": "itemIds",
|
318
|
+
"type": "uint256[]"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "uint256[]",
|
322
|
+
"name": "amounts",
|
323
|
+
"type": "uint256[]"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "bytes",
|
327
|
+
"name": "additionalParameters",
|
328
|
+
"type": "bytes"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"internalType": "struct OrderStructs.Maker[]",
|
332
|
+
"name": "makerAsks",
|
333
|
+
"type": "tuple[]"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"internalType": "bytes[]",
|
337
|
+
"name": "makerSignatures",
|
338
|
+
"type": "bytes[]"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"components": [
|
342
|
+
{
|
343
|
+
"internalType": "bytes32",
|
344
|
+
"name": "root",
|
345
|
+
"type": "bytes32"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"components": [
|
349
|
+
{
|
350
|
+
"internalType": "bytes32",
|
351
|
+
"name": "value",
|
352
|
+
"type": "bytes32"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"internalType": "enum OrderStructs.MerkleTreeNodePosition",
|
356
|
+
"name": "position",
|
357
|
+
"type": "uint8"
|
358
|
+
}
|
359
|
+
],
|
360
|
+
"internalType": "struct OrderStructs.MerkleTreeNode[]",
|
361
|
+
"name": "proof",
|
362
|
+
"type": "tuple[]"
|
363
|
+
}
|
364
|
+
],
|
365
|
+
"internalType": "struct OrderStructs.MerkleTree[]",
|
366
|
+
"name": "merkleTrees",
|
367
|
+
"type": "tuple[]"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"internalType": "address",
|
371
|
+
"name": "affiliate",
|
372
|
+
"type": "address"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"internalType": "bool",
|
376
|
+
"name": "isAtomic",
|
377
|
+
"type": "bool"
|
378
|
+
}
|
379
|
+
],
|
380
|
+
"name": "executeMultipleTakerBids",
|
381
|
+
"outputs": [],
|
382
|
+
"stateMutability": "payable",
|
383
|
+
"type": "function"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"inputs": [
|
387
|
+
{
|
388
|
+
"components": [
|
389
|
+
{
|
390
|
+
"internalType": "address",
|
391
|
+
"name": "recipient",
|
392
|
+
"type": "address"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"internalType": "bytes",
|
396
|
+
"name": "additionalParameters",
|
397
|
+
"type": "bytes"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"internalType": "struct OrderStructs.Taker",
|
401
|
+
"name": "takerAsk",
|
402
|
+
"type": "tuple"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"components": [
|
406
|
+
{
|
407
|
+
"internalType": "enum QuoteType",
|
408
|
+
"name": "quoteType",
|
409
|
+
"type": "uint8"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"internalType": "uint256",
|
413
|
+
"name": "globalNonce",
|
414
|
+
"type": "uint256"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"internalType": "uint256",
|
418
|
+
"name": "subsetNonce",
|
419
|
+
"type": "uint256"
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"internalType": "uint256",
|
423
|
+
"name": "orderNonce",
|
424
|
+
"type": "uint256"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "uint256",
|
428
|
+
"name": "strategyId",
|
429
|
+
"type": "uint256"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "enum CollectionType",
|
433
|
+
"name": "collectionType",
|
434
|
+
"type": "uint8"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "address",
|
438
|
+
"name": "collection",
|
439
|
+
"type": "address"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "address",
|
443
|
+
"name": "currency",
|
444
|
+
"type": "address"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "address",
|
448
|
+
"name": "signer",
|
449
|
+
"type": "address"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "uint256",
|
453
|
+
"name": "startTime",
|
454
|
+
"type": "uint256"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"internalType": "uint256",
|
458
|
+
"name": "endTime",
|
459
|
+
"type": "uint256"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"internalType": "uint256",
|
463
|
+
"name": "price",
|
464
|
+
"type": "uint256"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"internalType": "uint256[]",
|
468
|
+
"name": "itemIds",
|
469
|
+
"type": "uint256[]"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"internalType": "uint256[]",
|
473
|
+
"name": "amounts",
|
474
|
+
"type": "uint256[]"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"internalType": "bytes",
|
478
|
+
"name": "additionalParameters",
|
479
|
+
"type": "bytes"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"internalType": "struct OrderStructs.Maker",
|
483
|
+
"name": "makerBid",
|
484
|
+
"type": "tuple"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"internalType": "bytes",
|
488
|
+
"name": "makerSignature",
|
489
|
+
"type": "bytes"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"components": [
|
493
|
+
{
|
494
|
+
"internalType": "bytes32",
|
495
|
+
"name": "root",
|
496
|
+
"type": "bytes32"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"components": [
|
500
|
+
{
|
501
|
+
"internalType": "bytes32",
|
502
|
+
"name": "value",
|
503
|
+
"type": "bytes32"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"internalType": "enum OrderStructs.MerkleTreeNodePosition",
|
507
|
+
"name": "position",
|
508
|
+
"type": "uint8"
|
509
|
+
}
|
510
|
+
],
|
511
|
+
"internalType": "struct OrderStructs.MerkleTreeNode[]",
|
512
|
+
"name": "proof",
|
513
|
+
"type": "tuple[]"
|
514
|
+
}
|
515
|
+
],
|
516
|
+
"internalType": "struct OrderStructs.MerkleTree",
|
517
|
+
"name": "merkleTree",
|
518
|
+
"type": "tuple"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"internalType": "address",
|
522
|
+
"name": "affiliate",
|
523
|
+
"type": "address"
|
524
|
+
}
|
525
|
+
],
|
526
|
+
"name": "executeTakerAsk",
|
527
|
+
"outputs": [],
|
528
|
+
"stateMutability": "nonpayable",
|
529
|
+
"type": "function"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"inputs": [
|
533
|
+
{
|
534
|
+
"components": [
|
535
|
+
{
|
536
|
+
"internalType": "address",
|
537
|
+
"name": "recipient",
|
538
|
+
"type": "address"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"internalType": "bytes",
|
542
|
+
"name": "additionalParameters",
|
543
|
+
"type": "bytes"
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"internalType": "struct OrderStructs.Taker",
|
547
|
+
"name": "takerBid",
|
548
|
+
"type": "tuple"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"components": [
|
552
|
+
{
|
553
|
+
"internalType": "enum QuoteType",
|
554
|
+
"name": "quoteType",
|
555
|
+
"type": "uint8"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"internalType": "uint256",
|
559
|
+
"name": "globalNonce",
|
560
|
+
"type": "uint256"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"internalType": "uint256",
|
564
|
+
"name": "subsetNonce",
|
565
|
+
"type": "uint256"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"internalType": "uint256",
|
569
|
+
"name": "orderNonce",
|
570
|
+
"type": "uint256"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"internalType": "uint256",
|
574
|
+
"name": "strategyId",
|
575
|
+
"type": "uint256"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"internalType": "enum CollectionType",
|
579
|
+
"name": "collectionType",
|
580
|
+
"type": "uint8"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"internalType": "address",
|
584
|
+
"name": "collection",
|
585
|
+
"type": "address"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"internalType": "address",
|
589
|
+
"name": "currency",
|
590
|
+
"type": "address"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"internalType": "address",
|
594
|
+
"name": "signer",
|
595
|
+
"type": "address"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"internalType": "uint256",
|
599
|
+
"name": "startTime",
|
600
|
+
"type": "uint256"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"internalType": "uint256",
|
604
|
+
"name": "endTime",
|
605
|
+
"type": "uint256"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"internalType": "uint256",
|
609
|
+
"name": "price",
|
610
|
+
"type": "uint256"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"internalType": "uint256[]",
|
614
|
+
"name": "itemIds",
|
615
|
+
"type": "uint256[]"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"internalType": "uint256[]",
|
619
|
+
"name": "amounts",
|
620
|
+
"type": "uint256[]"
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"internalType": "bytes",
|
624
|
+
"name": "additionalParameters",
|
625
|
+
"type": "bytes"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
"internalType": "struct OrderStructs.Maker",
|
629
|
+
"name": "makerAsk",
|
630
|
+
"type": "tuple"
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"internalType": "bytes",
|
634
|
+
"name": "makerSignature",
|
635
|
+
"type": "bytes"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"components": [
|
639
|
+
{
|
640
|
+
"internalType": "bytes32",
|
641
|
+
"name": "root",
|
642
|
+
"type": "bytes32"
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"components": [
|
646
|
+
{
|
647
|
+
"internalType": "bytes32",
|
648
|
+
"name": "value",
|
649
|
+
"type": "bytes32"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"internalType": "enum OrderStructs.MerkleTreeNodePosition",
|
653
|
+
"name": "position",
|
654
|
+
"type": "uint8"
|
655
|
+
}
|
656
|
+
],
|
657
|
+
"internalType": "struct OrderStructs.MerkleTreeNode[]",
|
658
|
+
"name": "proof",
|
659
|
+
"type": "tuple[]"
|
660
|
+
}
|
661
|
+
],
|
662
|
+
"internalType": "struct OrderStructs.MerkleTree",
|
663
|
+
"name": "merkleTree",
|
664
|
+
"type": "tuple"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"internalType": "address",
|
668
|
+
"name": "affiliate",
|
669
|
+
"type": "address"
|
670
|
+
}
|
671
|
+
],
|
672
|
+
"name": "executeTakerBid",
|
673
|
+
"outputs": [],
|
674
|
+
"stateMutability": "payable",
|
675
|
+
"type": "function"
|
676
|
+
}
|
677
|
+
]
|