@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,185 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"anonymous": false,
|
4
|
+
"inputs": [
|
5
|
+
{
|
6
|
+
"indexed": true,
|
7
|
+
"internalType": "address",
|
8
|
+
"name": "owner",
|
9
|
+
"type": "address"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"indexed": true,
|
13
|
+
"internalType": "address",
|
14
|
+
"name": "spender",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"indexed": false,
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "value",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "Approval",
|
25
|
+
"type": "event"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"anonymous": false,
|
29
|
+
"inputs": [
|
30
|
+
{
|
31
|
+
"indexed": true,
|
32
|
+
"internalType": "address",
|
33
|
+
"name": "from",
|
34
|
+
"type": "address"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"indexed": true,
|
38
|
+
"internalType": "address",
|
39
|
+
"name": "to",
|
40
|
+
"type": "address"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"indexed": false,
|
44
|
+
"internalType": "uint256",
|
45
|
+
"name": "value",
|
46
|
+
"type": "uint256"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"name": "Transfer",
|
50
|
+
"type": "event"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"inputs": [
|
54
|
+
{
|
55
|
+
"internalType": "address",
|
56
|
+
"name": "owner",
|
57
|
+
"type": "address"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"internalType": "address",
|
61
|
+
"name": "spender",
|
62
|
+
"type": "address"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"name": "allowance",
|
66
|
+
"outputs": [
|
67
|
+
{
|
68
|
+
"internalType": "uint256",
|
69
|
+
"name": "",
|
70
|
+
"type": "uint256"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"stateMutability": "view",
|
74
|
+
"type": "function"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
78
|
+
{
|
79
|
+
"internalType": "address",
|
80
|
+
"name": "spender",
|
81
|
+
"type": "address"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "uint256",
|
85
|
+
"name": "amount",
|
86
|
+
"type": "uint256"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "approve",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "bool",
|
93
|
+
"name": "",
|
94
|
+
"type": "bool"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "nonpayable",
|
98
|
+
"type": "function"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"internalType": "address",
|
104
|
+
"name": "account",
|
105
|
+
"type": "address"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "balanceOf",
|
109
|
+
"outputs": [
|
110
|
+
{
|
111
|
+
"internalType": "uint256",
|
112
|
+
"name": "",
|
113
|
+
"type": "uint256"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"stateMutability": "view",
|
117
|
+
"type": "function"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [],
|
121
|
+
"name": "totalSupply",
|
122
|
+
"outputs": [
|
123
|
+
{
|
124
|
+
"internalType": "uint256",
|
125
|
+
"name": "",
|
126
|
+
"type": "uint256"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"stateMutability": "view",
|
130
|
+
"type": "function"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"inputs": [
|
134
|
+
{
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "to",
|
137
|
+
"type": "address"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"internalType": "uint256",
|
141
|
+
"name": "amount",
|
142
|
+
"type": "uint256"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"name": "transfer",
|
146
|
+
"outputs": [
|
147
|
+
{
|
148
|
+
"internalType": "bool",
|
149
|
+
"name": "",
|
150
|
+
"type": "bool"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"stateMutability": "nonpayable",
|
154
|
+
"type": "function"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [
|
158
|
+
{
|
159
|
+
"internalType": "address",
|
160
|
+
"name": "from",
|
161
|
+
"type": "address"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"internalType": "address",
|
165
|
+
"name": "to",
|
166
|
+
"type": "address"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"internalType": "uint256",
|
170
|
+
"name": "amount",
|
171
|
+
"type": "uint256"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"name": "transferFrom",
|
175
|
+
"outputs": [
|
176
|
+
{
|
177
|
+
"internalType": "bool",
|
178
|
+
"name": "",
|
179
|
+
"type": "bool"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
"stateMutability": "nonpayable",
|
183
|
+
"type": "function"
|
184
|
+
}
|
185
|
+
]
|
@@ -0,0 +1,268 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"anonymous": false,
|
4
|
+
"inputs": [
|
5
|
+
{
|
6
|
+
"indexed": true,
|
7
|
+
"internalType": "address",
|
8
|
+
"name": "owner",
|
9
|
+
"type": "address"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"indexed": true,
|
13
|
+
"internalType": "address",
|
14
|
+
"name": "approved",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"indexed": true,
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "tokenId",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "Approval",
|
25
|
+
"type": "event"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"anonymous": false,
|
29
|
+
"inputs": [
|
30
|
+
{
|
31
|
+
"indexed": true,
|
32
|
+
"internalType": "address",
|
33
|
+
"name": "owner",
|
34
|
+
"type": "address"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"indexed": true,
|
38
|
+
"internalType": "address",
|
39
|
+
"name": "operator",
|
40
|
+
"type": "address"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"indexed": false,
|
44
|
+
"internalType": "bool",
|
45
|
+
"name": "approved",
|
46
|
+
"type": "bool"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"name": "ApprovalForAll",
|
50
|
+
"type": "event"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"anonymous": false,
|
54
|
+
"inputs": [
|
55
|
+
{
|
56
|
+
"indexed": true,
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "from",
|
59
|
+
"type": "address"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"indexed": true,
|
63
|
+
"internalType": "address",
|
64
|
+
"name": "to",
|
65
|
+
"type": "address"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"indexed": true,
|
69
|
+
"internalType": "uint256",
|
70
|
+
"name": "tokenId",
|
71
|
+
"type": "uint256"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "Transfer",
|
75
|
+
"type": "event"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
79
|
+
{
|
80
|
+
"internalType": "address",
|
81
|
+
"name": "to",
|
82
|
+
"type": "address"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"internalType": "uint256",
|
86
|
+
"name": "tokenId",
|
87
|
+
"type": "uint256"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "approve",
|
91
|
+
"outputs": [],
|
92
|
+
"stateMutability": "nonpayable",
|
93
|
+
"type": "function"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"inputs": [
|
97
|
+
{
|
98
|
+
"internalType": "address",
|
99
|
+
"name": "owner",
|
100
|
+
"type": "address"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"name": "balanceOf",
|
104
|
+
"outputs": [
|
105
|
+
{
|
106
|
+
"internalType": "uint256",
|
107
|
+
"name": "balance",
|
108
|
+
"type": "uint256"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"stateMutability": "view",
|
112
|
+
"type": "function"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [
|
116
|
+
{
|
117
|
+
"internalType": "uint256",
|
118
|
+
"name": "tokenId",
|
119
|
+
"type": "uint256"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"name": "getApproved",
|
123
|
+
"outputs": [
|
124
|
+
{
|
125
|
+
"internalType": "address",
|
126
|
+
"name": "operator",
|
127
|
+
"type": "address"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
"stateMutability": "view",
|
131
|
+
"type": "function"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"inputs": [
|
135
|
+
{
|
136
|
+
"internalType": "address",
|
137
|
+
"name": "owner",
|
138
|
+
"type": "address"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"internalType": "address",
|
142
|
+
"name": "operator",
|
143
|
+
"type": "address"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"name": "isApprovedForAll",
|
147
|
+
"outputs": [
|
148
|
+
{
|
149
|
+
"internalType": "bool",
|
150
|
+
"name": "",
|
151
|
+
"type": "bool"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"stateMutability": "view",
|
155
|
+
"type": "function"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [
|
159
|
+
{
|
160
|
+
"internalType": "uint256",
|
161
|
+
"name": "tokenId",
|
162
|
+
"type": "uint256"
|
163
|
+
}
|
164
|
+
],
|
165
|
+
"name": "ownerOf",
|
166
|
+
"outputs": [
|
167
|
+
{
|
168
|
+
"internalType": "address",
|
169
|
+
"name": "owner",
|
170
|
+
"type": "address"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
"stateMutability": "view",
|
174
|
+
"type": "function"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"inputs": [
|
178
|
+
{
|
179
|
+
"internalType": "address",
|
180
|
+
"name": "from",
|
181
|
+
"type": "address"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "to",
|
186
|
+
"type": "address"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"internalType": "uint256",
|
190
|
+
"name": "tokenId",
|
191
|
+
"type": "uint256"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"name": "safeTransferFrom",
|
195
|
+
"outputs": [],
|
196
|
+
"stateMutability": "nonpayable",
|
197
|
+
"type": "function"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"inputs": [
|
201
|
+
{
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "from",
|
204
|
+
"type": "address"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"internalType": "address",
|
208
|
+
"name": "to",
|
209
|
+
"type": "address"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"internalType": "uint256",
|
213
|
+
"name": "tokenId",
|
214
|
+
"type": "uint256"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"internalType": "bytes",
|
218
|
+
"name": "data",
|
219
|
+
"type": "bytes"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"name": "safeTransferFrom",
|
223
|
+
"outputs": [],
|
224
|
+
"stateMutability": "nonpayable",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [
|
229
|
+
{
|
230
|
+
"internalType": "address",
|
231
|
+
"name": "operator",
|
232
|
+
"type": "address"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"internalType": "bool",
|
236
|
+
"name": "_approved",
|
237
|
+
"type": "bool"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"name": "setApprovalForAll",
|
241
|
+
"outputs": [],
|
242
|
+
"stateMutability": "nonpayable",
|
243
|
+
"type": "function"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"inputs": [
|
247
|
+
{
|
248
|
+
"internalType": "address",
|
249
|
+
"name": "from",
|
250
|
+
"type": "address"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"internalType": "address",
|
254
|
+
"name": "to",
|
255
|
+
"type": "address"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"internalType": "uint256",
|
259
|
+
"name": "tokenId",
|
260
|
+
"type": "uint256"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"name": "transferFrom",
|
264
|
+
"outputs": [],
|
265
|
+
"stateMutability": "nonpayable",
|
266
|
+
"type": "function"
|
267
|
+
}
|
268
|
+
]
|