@hypercerts-org/marketplace-sdk 0.0.14 → 0.0.15
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/dist/LooksRare.d.ts +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.esm.js +1 -1
- 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/utils/calls/exchange.d.ts +7 -6
- package/package.json +1 -1
@@ -0,0 +1,235 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { ERC20, ERC20Interface } from "../../../../solmate/src/tokens/ERC20";
|
3
|
+
export declare class ERC20__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly anonymous: false;
|
6
|
+
readonly inputs: readonly [{
|
7
|
+
readonly indexed: true;
|
8
|
+
readonly internalType: "address";
|
9
|
+
readonly name: "owner";
|
10
|
+
readonly type: "address";
|
11
|
+
}, {
|
12
|
+
readonly indexed: true;
|
13
|
+
readonly internalType: "address";
|
14
|
+
readonly name: "spender";
|
15
|
+
readonly type: "address";
|
16
|
+
}, {
|
17
|
+
readonly indexed: false;
|
18
|
+
readonly internalType: "uint256";
|
19
|
+
readonly name: "amount";
|
20
|
+
readonly type: "uint256";
|
21
|
+
}];
|
22
|
+
readonly name: "Approval";
|
23
|
+
readonly type: "event";
|
24
|
+
}, {
|
25
|
+
readonly anonymous: false;
|
26
|
+
readonly inputs: readonly [{
|
27
|
+
readonly indexed: true;
|
28
|
+
readonly internalType: "address";
|
29
|
+
readonly name: "from";
|
30
|
+
readonly type: "address";
|
31
|
+
}, {
|
32
|
+
readonly indexed: true;
|
33
|
+
readonly internalType: "address";
|
34
|
+
readonly name: "to";
|
35
|
+
readonly type: "address";
|
36
|
+
}, {
|
37
|
+
readonly indexed: false;
|
38
|
+
readonly internalType: "uint256";
|
39
|
+
readonly name: "amount";
|
40
|
+
readonly type: "uint256";
|
41
|
+
}];
|
42
|
+
readonly name: "Transfer";
|
43
|
+
readonly type: "event";
|
44
|
+
}, {
|
45
|
+
readonly inputs: readonly [];
|
46
|
+
readonly name: "DOMAIN_SEPARATOR";
|
47
|
+
readonly outputs: readonly [{
|
48
|
+
readonly internalType: "bytes32";
|
49
|
+
readonly name: "";
|
50
|
+
readonly type: "bytes32";
|
51
|
+
}];
|
52
|
+
readonly stateMutability: "view";
|
53
|
+
readonly type: "function";
|
54
|
+
}, {
|
55
|
+
readonly inputs: readonly [{
|
56
|
+
readonly internalType: "address";
|
57
|
+
readonly name: "";
|
58
|
+
readonly type: "address";
|
59
|
+
}, {
|
60
|
+
readonly internalType: "address";
|
61
|
+
readonly name: "";
|
62
|
+
readonly type: "address";
|
63
|
+
}];
|
64
|
+
readonly name: "allowance";
|
65
|
+
readonly outputs: readonly [{
|
66
|
+
readonly internalType: "uint256";
|
67
|
+
readonly name: "";
|
68
|
+
readonly type: "uint256";
|
69
|
+
}];
|
70
|
+
readonly stateMutability: "view";
|
71
|
+
readonly type: "function";
|
72
|
+
}, {
|
73
|
+
readonly inputs: readonly [{
|
74
|
+
readonly internalType: "address";
|
75
|
+
readonly name: "spender";
|
76
|
+
readonly type: "address";
|
77
|
+
}, {
|
78
|
+
readonly internalType: "uint256";
|
79
|
+
readonly name: "amount";
|
80
|
+
readonly type: "uint256";
|
81
|
+
}];
|
82
|
+
readonly name: "approve";
|
83
|
+
readonly outputs: readonly [{
|
84
|
+
readonly internalType: "bool";
|
85
|
+
readonly name: "";
|
86
|
+
readonly type: "bool";
|
87
|
+
}];
|
88
|
+
readonly stateMutability: "nonpayable";
|
89
|
+
readonly type: "function";
|
90
|
+
}, {
|
91
|
+
readonly inputs: readonly [{
|
92
|
+
readonly internalType: "address";
|
93
|
+
readonly name: "";
|
94
|
+
readonly type: "address";
|
95
|
+
}];
|
96
|
+
readonly name: "balanceOf";
|
97
|
+
readonly outputs: readonly [{
|
98
|
+
readonly internalType: "uint256";
|
99
|
+
readonly name: "";
|
100
|
+
readonly type: "uint256";
|
101
|
+
}];
|
102
|
+
readonly stateMutability: "view";
|
103
|
+
readonly type: "function";
|
104
|
+
}, {
|
105
|
+
readonly inputs: readonly [];
|
106
|
+
readonly name: "decimals";
|
107
|
+
readonly outputs: readonly [{
|
108
|
+
readonly internalType: "uint8";
|
109
|
+
readonly name: "";
|
110
|
+
readonly type: "uint8";
|
111
|
+
}];
|
112
|
+
readonly stateMutability: "view";
|
113
|
+
readonly type: "function";
|
114
|
+
}, {
|
115
|
+
readonly inputs: readonly [];
|
116
|
+
readonly name: "name";
|
117
|
+
readonly outputs: readonly [{
|
118
|
+
readonly internalType: "string";
|
119
|
+
readonly name: "";
|
120
|
+
readonly type: "string";
|
121
|
+
}];
|
122
|
+
readonly stateMutability: "view";
|
123
|
+
readonly type: "function";
|
124
|
+
}, {
|
125
|
+
readonly inputs: readonly [{
|
126
|
+
readonly internalType: "address";
|
127
|
+
readonly name: "";
|
128
|
+
readonly type: "address";
|
129
|
+
}];
|
130
|
+
readonly name: "nonces";
|
131
|
+
readonly outputs: readonly [{
|
132
|
+
readonly internalType: "uint256";
|
133
|
+
readonly name: "";
|
134
|
+
readonly type: "uint256";
|
135
|
+
}];
|
136
|
+
readonly stateMutability: "view";
|
137
|
+
readonly type: "function";
|
138
|
+
}, {
|
139
|
+
readonly inputs: readonly [{
|
140
|
+
readonly internalType: "address";
|
141
|
+
readonly name: "owner";
|
142
|
+
readonly type: "address";
|
143
|
+
}, {
|
144
|
+
readonly internalType: "address";
|
145
|
+
readonly name: "spender";
|
146
|
+
readonly type: "address";
|
147
|
+
}, {
|
148
|
+
readonly internalType: "uint256";
|
149
|
+
readonly name: "value";
|
150
|
+
readonly type: "uint256";
|
151
|
+
}, {
|
152
|
+
readonly internalType: "uint256";
|
153
|
+
readonly name: "deadline";
|
154
|
+
readonly type: "uint256";
|
155
|
+
}, {
|
156
|
+
readonly internalType: "uint8";
|
157
|
+
readonly name: "v";
|
158
|
+
readonly type: "uint8";
|
159
|
+
}, {
|
160
|
+
readonly internalType: "bytes32";
|
161
|
+
readonly name: "r";
|
162
|
+
readonly type: "bytes32";
|
163
|
+
}, {
|
164
|
+
readonly internalType: "bytes32";
|
165
|
+
readonly name: "s";
|
166
|
+
readonly type: "bytes32";
|
167
|
+
}];
|
168
|
+
readonly name: "permit";
|
169
|
+
readonly outputs: readonly [];
|
170
|
+
readonly stateMutability: "nonpayable";
|
171
|
+
readonly type: "function";
|
172
|
+
}, {
|
173
|
+
readonly inputs: readonly [];
|
174
|
+
readonly name: "symbol";
|
175
|
+
readonly outputs: readonly [{
|
176
|
+
readonly internalType: "string";
|
177
|
+
readonly name: "";
|
178
|
+
readonly type: "string";
|
179
|
+
}];
|
180
|
+
readonly stateMutability: "view";
|
181
|
+
readonly type: "function";
|
182
|
+
}, {
|
183
|
+
readonly inputs: readonly [];
|
184
|
+
readonly name: "totalSupply";
|
185
|
+
readonly outputs: readonly [{
|
186
|
+
readonly internalType: "uint256";
|
187
|
+
readonly name: "";
|
188
|
+
readonly type: "uint256";
|
189
|
+
}];
|
190
|
+
readonly stateMutability: "view";
|
191
|
+
readonly type: "function";
|
192
|
+
}, {
|
193
|
+
readonly inputs: readonly [{
|
194
|
+
readonly internalType: "address";
|
195
|
+
readonly name: "to";
|
196
|
+
readonly type: "address";
|
197
|
+
}, {
|
198
|
+
readonly internalType: "uint256";
|
199
|
+
readonly name: "amount";
|
200
|
+
readonly type: "uint256";
|
201
|
+
}];
|
202
|
+
readonly name: "transfer";
|
203
|
+
readonly outputs: readonly [{
|
204
|
+
readonly internalType: "bool";
|
205
|
+
readonly name: "";
|
206
|
+
readonly type: "bool";
|
207
|
+
}];
|
208
|
+
readonly stateMutability: "nonpayable";
|
209
|
+
readonly type: "function";
|
210
|
+
}, {
|
211
|
+
readonly inputs: readonly [{
|
212
|
+
readonly internalType: "address";
|
213
|
+
readonly name: "from";
|
214
|
+
readonly type: "address";
|
215
|
+
}, {
|
216
|
+
readonly internalType: "address";
|
217
|
+
readonly name: "to";
|
218
|
+
readonly type: "address";
|
219
|
+
}, {
|
220
|
+
readonly internalType: "uint256";
|
221
|
+
readonly name: "amount";
|
222
|
+
readonly type: "uint256";
|
223
|
+
}];
|
224
|
+
readonly name: "transferFrom";
|
225
|
+
readonly outputs: readonly [{
|
226
|
+
readonly internalType: "bool";
|
227
|
+
readonly name: "";
|
228
|
+
readonly type: "bool";
|
229
|
+
}];
|
230
|
+
readonly stateMutability: "nonpayable";
|
231
|
+
readonly type: "function";
|
232
|
+
}];
|
233
|
+
static createInterface(): ERC20Interface;
|
234
|
+
static connect(address: string, runner?: ContractRunner | null): ERC20;
|
235
|
+
}
|
package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { ERC721TokenReceiver, ERC721TokenReceiverInterface } from "../../../../../solmate/src/tokens/ERC721.sol/ERC721TokenReceiver";
|
3
|
+
export declare class ERC721TokenReceiver__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly inputs: readonly [{
|
6
|
+
readonly internalType: "address";
|
7
|
+
readonly name: "";
|
8
|
+
readonly type: "address";
|
9
|
+
}, {
|
10
|
+
readonly internalType: "address";
|
11
|
+
readonly name: "";
|
12
|
+
readonly type: "address";
|
13
|
+
}, {
|
14
|
+
readonly internalType: "uint256";
|
15
|
+
readonly name: "";
|
16
|
+
readonly type: "uint256";
|
17
|
+
}, {
|
18
|
+
readonly internalType: "bytes";
|
19
|
+
readonly name: "";
|
20
|
+
readonly type: "bytes";
|
21
|
+
}];
|
22
|
+
readonly name: "onERC721Received";
|
23
|
+
readonly outputs: readonly [{
|
24
|
+
readonly internalType: "bytes4";
|
25
|
+
readonly name: "";
|
26
|
+
readonly type: "bytes4";
|
27
|
+
}];
|
28
|
+
readonly stateMutability: "nonpayable";
|
29
|
+
readonly type: "function";
|
30
|
+
}];
|
31
|
+
static createInterface(): ERC721TokenReceiverInterface;
|
32
|
+
static connect(address: string, runner?: ContractRunner | null): ERC721TokenReceiver;
|
33
|
+
}
|
@@ -0,0 +1,261 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { ERC721, ERC721Interface } from "../../../../../solmate/src/tokens/ERC721.sol/ERC721";
|
3
|
+
export declare class ERC721__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly anonymous: false;
|
6
|
+
readonly inputs: readonly [{
|
7
|
+
readonly indexed: true;
|
8
|
+
readonly internalType: "address";
|
9
|
+
readonly name: "owner";
|
10
|
+
readonly type: "address";
|
11
|
+
}, {
|
12
|
+
readonly indexed: true;
|
13
|
+
readonly internalType: "address";
|
14
|
+
readonly name: "spender";
|
15
|
+
readonly type: "address";
|
16
|
+
}, {
|
17
|
+
readonly indexed: true;
|
18
|
+
readonly internalType: "uint256";
|
19
|
+
readonly name: "id";
|
20
|
+
readonly type: "uint256";
|
21
|
+
}];
|
22
|
+
readonly name: "Approval";
|
23
|
+
readonly type: "event";
|
24
|
+
}, {
|
25
|
+
readonly anonymous: false;
|
26
|
+
readonly inputs: readonly [{
|
27
|
+
readonly indexed: true;
|
28
|
+
readonly internalType: "address";
|
29
|
+
readonly name: "owner";
|
30
|
+
readonly type: "address";
|
31
|
+
}, {
|
32
|
+
readonly indexed: true;
|
33
|
+
readonly internalType: "address";
|
34
|
+
readonly name: "operator";
|
35
|
+
readonly type: "address";
|
36
|
+
}, {
|
37
|
+
readonly indexed: false;
|
38
|
+
readonly internalType: "bool";
|
39
|
+
readonly name: "approved";
|
40
|
+
readonly type: "bool";
|
41
|
+
}];
|
42
|
+
readonly name: "ApprovalForAll";
|
43
|
+
readonly type: "event";
|
44
|
+
}, {
|
45
|
+
readonly anonymous: false;
|
46
|
+
readonly inputs: readonly [{
|
47
|
+
readonly indexed: true;
|
48
|
+
readonly internalType: "address";
|
49
|
+
readonly name: "from";
|
50
|
+
readonly type: "address";
|
51
|
+
}, {
|
52
|
+
readonly indexed: true;
|
53
|
+
readonly internalType: "address";
|
54
|
+
readonly name: "to";
|
55
|
+
readonly type: "address";
|
56
|
+
}, {
|
57
|
+
readonly indexed: true;
|
58
|
+
readonly internalType: "uint256";
|
59
|
+
readonly name: "id";
|
60
|
+
readonly type: "uint256";
|
61
|
+
}];
|
62
|
+
readonly name: "Transfer";
|
63
|
+
readonly type: "event";
|
64
|
+
}, {
|
65
|
+
readonly inputs: readonly [{
|
66
|
+
readonly internalType: "address";
|
67
|
+
readonly name: "spender";
|
68
|
+
readonly type: "address";
|
69
|
+
}, {
|
70
|
+
readonly internalType: "uint256";
|
71
|
+
readonly name: "id";
|
72
|
+
readonly type: "uint256";
|
73
|
+
}];
|
74
|
+
readonly name: "approve";
|
75
|
+
readonly outputs: readonly [];
|
76
|
+
readonly stateMutability: "nonpayable";
|
77
|
+
readonly type: "function";
|
78
|
+
}, {
|
79
|
+
readonly inputs: readonly [{
|
80
|
+
readonly internalType: "address";
|
81
|
+
readonly name: "owner";
|
82
|
+
readonly type: "address";
|
83
|
+
}];
|
84
|
+
readonly name: "balanceOf";
|
85
|
+
readonly outputs: readonly [{
|
86
|
+
readonly internalType: "uint256";
|
87
|
+
readonly name: "";
|
88
|
+
readonly type: "uint256";
|
89
|
+
}];
|
90
|
+
readonly stateMutability: "view";
|
91
|
+
readonly type: "function";
|
92
|
+
}, {
|
93
|
+
readonly inputs: readonly [{
|
94
|
+
readonly internalType: "uint256";
|
95
|
+
readonly name: "";
|
96
|
+
readonly type: "uint256";
|
97
|
+
}];
|
98
|
+
readonly name: "getApproved";
|
99
|
+
readonly outputs: readonly [{
|
100
|
+
readonly internalType: "address";
|
101
|
+
readonly name: "";
|
102
|
+
readonly type: "address";
|
103
|
+
}];
|
104
|
+
readonly stateMutability: "view";
|
105
|
+
readonly type: "function";
|
106
|
+
}, {
|
107
|
+
readonly inputs: readonly [{
|
108
|
+
readonly internalType: "address";
|
109
|
+
readonly name: "";
|
110
|
+
readonly type: "address";
|
111
|
+
}, {
|
112
|
+
readonly internalType: "address";
|
113
|
+
readonly name: "";
|
114
|
+
readonly type: "address";
|
115
|
+
}];
|
116
|
+
readonly name: "isApprovedForAll";
|
117
|
+
readonly outputs: readonly [{
|
118
|
+
readonly internalType: "bool";
|
119
|
+
readonly name: "";
|
120
|
+
readonly type: "bool";
|
121
|
+
}];
|
122
|
+
readonly stateMutability: "view";
|
123
|
+
readonly type: "function";
|
124
|
+
}, {
|
125
|
+
readonly inputs: readonly [];
|
126
|
+
readonly name: "name";
|
127
|
+
readonly outputs: readonly [{
|
128
|
+
readonly internalType: "string";
|
129
|
+
readonly name: "";
|
130
|
+
readonly type: "string";
|
131
|
+
}];
|
132
|
+
readonly stateMutability: "view";
|
133
|
+
readonly type: "function";
|
134
|
+
}, {
|
135
|
+
readonly inputs: readonly [{
|
136
|
+
readonly internalType: "uint256";
|
137
|
+
readonly name: "id";
|
138
|
+
readonly type: "uint256";
|
139
|
+
}];
|
140
|
+
readonly name: "ownerOf";
|
141
|
+
readonly outputs: readonly [{
|
142
|
+
readonly internalType: "address";
|
143
|
+
readonly name: "owner";
|
144
|
+
readonly type: "address";
|
145
|
+
}];
|
146
|
+
readonly stateMutability: "view";
|
147
|
+
readonly type: "function";
|
148
|
+
}, {
|
149
|
+
readonly inputs: readonly [{
|
150
|
+
readonly internalType: "address";
|
151
|
+
readonly name: "from";
|
152
|
+
readonly type: "address";
|
153
|
+
}, {
|
154
|
+
readonly internalType: "address";
|
155
|
+
readonly name: "to";
|
156
|
+
readonly type: "address";
|
157
|
+
}, {
|
158
|
+
readonly internalType: "uint256";
|
159
|
+
readonly name: "id";
|
160
|
+
readonly type: "uint256";
|
161
|
+
}];
|
162
|
+
readonly name: "safeTransferFrom";
|
163
|
+
readonly outputs: readonly [];
|
164
|
+
readonly stateMutability: "nonpayable";
|
165
|
+
readonly type: "function";
|
166
|
+
}, {
|
167
|
+
readonly inputs: readonly [{
|
168
|
+
readonly internalType: "address";
|
169
|
+
readonly name: "from";
|
170
|
+
readonly type: "address";
|
171
|
+
}, {
|
172
|
+
readonly internalType: "address";
|
173
|
+
readonly name: "to";
|
174
|
+
readonly type: "address";
|
175
|
+
}, {
|
176
|
+
readonly internalType: "uint256";
|
177
|
+
readonly name: "id";
|
178
|
+
readonly type: "uint256";
|
179
|
+
}, {
|
180
|
+
readonly internalType: "bytes";
|
181
|
+
readonly name: "data";
|
182
|
+
readonly type: "bytes";
|
183
|
+
}];
|
184
|
+
readonly name: "safeTransferFrom";
|
185
|
+
readonly outputs: readonly [];
|
186
|
+
readonly stateMutability: "nonpayable";
|
187
|
+
readonly type: "function";
|
188
|
+
}, {
|
189
|
+
readonly inputs: readonly [{
|
190
|
+
readonly internalType: "address";
|
191
|
+
readonly name: "operator";
|
192
|
+
readonly type: "address";
|
193
|
+
}, {
|
194
|
+
readonly internalType: "bool";
|
195
|
+
readonly name: "approved";
|
196
|
+
readonly type: "bool";
|
197
|
+
}];
|
198
|
+
readonly name: "setApprovalForAll";
|
199
|
+
readonly outputs: readonly [];
|
200
|
+
readonly stateMutability: "nonpayable";
|
201
|
+
readonly type: "function";
|
202
|
+
}, {
|
203
|
+
readonly inputs: readonly [{
|
204
|
+
readonly internalType: "bytes4";
|
205
|
+
readonly name: "interfaceId";
|
206
|
+
readonly type: "bytes4";
|
207
|
+
}];
|
208
|
+
readonly name: "supportsInterface";
|
209
|
+
readonly outputs: readonly [{
|
210
|
+
readonly internalType: "bool";
|
211
|
+
readonly name: "";
|
212
|
+
readonly type: "bool";
|
213
|
+
}];
|
214
|
+
readonly stateMutability: "view";
|
215
|
+
readonly type: "function";
|
216
|
+
}, {
|
217
|
+
readonly inputs: readonly [];
|
218
|
+
readonly name: "symbol";
|
219
|
+
readonly outputs: readonly [{
|
220
|
+
readonly internalType: "string";
|
221
|
+
readonly name: "";
|
222
|
+
readonly type: "string";
|
223
|
+
}];
|
224
|
+
readonly stateMutability: "view";
|
225
|
+
readonly type: "function";
|
226
|
+
}, {
|
227
|
+
readonly inputs: readonly [{
|
228
|
+
readonly internalType: "uint256";
|
229
|
+
readonly name: "id";
|
230
|
+
readonly type: "uint256";
|
231
|
+
}];
|
232
|
+
readonly name: "tokenURI";
|
233
|
+
readonly outputs: readonly [{
|
234
|
+
readonly internalType: "string";
|
235
|
+
readonly name: "";
|
236
|
+
readonly type: "string";
|
237
|
+
}];
|
238
|
+
readonly stateMutability: "view";
|
239
|
+
readonly type: "function";
|
240
|
+
}, {
|
241
|
+
readonly inputs: readonly [{
|
242
|
+
readonly internalType: "address";
|
243
|
+
readonly name: "from";
|
244
|
+
readonly type: "address";
|
245
|
+
}, {
|
246
|
+
readonly internalType: "address";
|
247
|
+
readonly name: "to";
|
248
|
+
readonly type: "address";
|
249
|
+
}, {
|
250
|
+
readonly internalType: "uint256";
|
251
|
+
readonly name: "id";
|
252
|
+
readonly type: "uint256";
|
253
|
+
}];
|
254
|
+
readonly name: "transferFrom";
|
255
|
+
readonly outputs: readonly [];
|
256
|
+
readonly stateMutability: "nonpayable";
|
257
|
+
readonly type: "function";
|
258
|
+
}];
|
259
|
+
static createInterface(): ERC721Interface;
|
260
|
+
static connect(address: string, runner?: ContractRunner | null): ERC721;
|
261
|
+
}
|