|
4 | 4 | "inputs": [], |
5 | 5 | "stateMutability": "nonpayable" |
6 | 6 | }, |
| 7 | + { |
| 8 | + "type": "function", |
| 9 | + "name": "attachIpt", |
| 10 | + "inputs": [ |
| 11 | + { |
| 12 | + "name": "ipnftId", |
| 13 | + "type": "uint256", |
| 14 | + "internalType": "uint256" |
| 15 | + }, |
| 16 | + { |
| 17 | + "name": "agreementCid", |
| 18 | + "type": "string", |
| 19 | + "internalType": "string" |
| 20 | + }, |
| 21 | + { |
| 22 | + "name": "signedAgreement", |
| 23 | + "type": "bytes", |
| 24 | + "internalType": "bytes" |
| 25 | + }, |
| 26 | + { |
| 27 | + "name": "tokenContract", |
| 28 | + "type": "address", |
| 29 | + "internalType": "contract IERC20Metadata" |
| 30 | + } |
| 31 | + ], |
| 32 | + "outputs": [ |
| 33 | + { |
| 34 | + "name": "", |
| 35 | + "type": "address", |
| 36 | + "internalType": "contract IIPToken" |
| 37 | + } |
| 38 | + ], |
| 39 | + "stateMutability": "nonpayable" |
| 40 | + }, |
7 | 41 | { |
8 | 42 | "type": "function", |
9 | 43 | "name": "cap", |
|
146 | 180 | "type": "function", |
147 | 181 | "name": "reinit", |
148 | 182 | "inputs": [ |
| 183 | + { |
| 184 | + "name": "_wrappedIpTokenImplementation", |
| 185 | + "type": "address", |
| 186 | + "internalType": "contract WrappedIPToken" |
| 187 | + }, |
149 | 188 | { |
150 | 189 | "name": "_ipTokenImplementation", |
151 | 190 | "type": "address", |
|
175 | 214 | "outputs": [], |
176 | 215 | "stateMutability": "nonpayable" |
177 | 216 | }, |
| 217 | + { |
| 218 | + "type": "function", |
| 219 | + "name": "setWrappedIPTokenImplementation", |
| 220 | + "inputs": [ |
| 221 | + { |
| 222 | + "name": "_wrappedIpTokenImplementation", |
| 223 | + "type": "address", |
| 224 | + "internalType": "contract WrappedIPToken" |
| 225 | + } |
| 226 | + ], |
| 227 | + "outputs": [], |
| 228 | + "stateMutability": "nonpayable" |
| 229 | + }, |
178 | 230 | { |
179 | 231 | "type": "function", |
180 | 232 | "name": "synthesized", |
|
189 | 241 | { |
190 | 242 | "name": "", |
191 | 243 | "type": "address", |
192 | | - "internalType": "contract IPToken" |
| 244 | + "internalType": "contract IIPToken" |
193 | 245 | } |
194 | 246 | ], |
195 | 247 | "stateMutability": "view" |
|
277 | 329 | "outputs": [], |
278 | 330 | "stateMutability": "payable" |
279 | 331 | }, |
| 332 | + { |
| 333 | + "type": "function", |
| 334 | + "name": "wrappedTokenImplementation", |
| 335 | + "inputs": [], |
| 336 | + "outputs": [ |
| 337 | + { |
| 338 | + "name": "", |
| 339 | + "type": "address", |
| 340 | + "internalType": "contract WrappedIPToken" |
| 341 | + } |
| 342 | + ], |
| 343 | + "stateMutability": "view" |
| 344 | + }, |
280 | 345 | { |
281 | 346 | "type": "event", |
282 | 347 | "name": "AdminChanged", |
|
317 | 382 | "name": "old", |
318 | 383 | "type": "address", |
319 | 384 | "indexed": true, |
320 | | - "internalType": "contract IPToken" |
| 385 | + "internalType": "contract IIPToken" |
321 | 386 | }, |
322 | 387 | { |
323 | 388 | "name": "_new", |
324 | 389 | "type": "address", |
325 | 390 | "indexed": true, |
326 | | - "internalType": "contract IPToken" |
| 391 | + "internalType": "contract IIPToken" |
327 | 392 | } |
328 | 393 | ], |
329 | 394 | "anonymous": false |
|
379 | 444 | ], |
380 | 445 | "anonymous": false |
381 | 446 | }, |
| 447 | + { |
| 448 | + "type": "event", |
| 449 | + "name": "TokenWrapped", |
| 450 | + "inputs": [ |
| 451 | + { |
| 452 | + "name": "tokenContract", |
| 453 | + "type": "address", |
| 454 | + "indexed": false, |
| 455 | + "internalType": "contract IERC20Metadata" |
| 456 | + }, |
| 457 | + { |
| 458 | + "name": "wrappedIpt", |
| 459 | + "type": "address", |
| 460 | + "indexed": false, |
| 461 | + "internalType": "contract IIPToken" |
| 462 | + } |
| 463 | + ], |
| 464 | + "anonymous": false |
| 465 | + }, |
382 | 466 | { |
383 | 467 | "type": "event", |
384 | 468 | "name": "TokensCreated", |
|
447 | 531 | ], |
448 | 532 | "anonymous": false |
449 | 533 | }, |
| 534 | + { |
| 535 | + "type": "event", |
| 536 | + "name": "WrappedIPTokenImplementationUpdated", |
| 537 | + "inputs": [ |
| 538 | + { |
| 539 | + "name": "old", |
| 540 | + "type": "address", |
| 541 | + "indexed": true, |
| 542 | + "internalType": "contract WrappedIPToken" |
| 543 | + }, |
| 544 | + { |
| 545 | + "name": "_new", |
| 546 | + "type": "address", |
| 547 | + "indexed": true, |
| 548 | + "internalType": "contract WrappedIPToken" |
| 549 | + } |
| 550 | + ], |
| 551 | + "anonymous": false |
| 552 | + }, |
450 | 553 | { |
451 | 554 | "type": "error", |
452 | 555 | "name": "AlreadyTokenized", |
|
457 | 560 | "name": "IPTNotControlledByTokenizer", |
458 | 561 | "inputs": [] |
459 | 562 | }, |
| 563 | + { |
| 564 | + "type": "error", |
| 565 | + "name": "InvalidTokenContract", |
| 566 | + "inputs": [] |
| 567 | + }, |
| 568 | + { |
| 569 | + "type": "error", |
| 570 | + "name": "InvalidTokenDecimals", |
| 571 | + "inputs": [] |
| 572 | + }, |
460 | 573 | { |
461 | 574 | "type": "error", |
462 | 575 | "name": "MustControlIpnft", |
|
0 commit comments