|
30 | 30 | ], |
31 | 31 | "stateMutability": "view" |
32 | 32 | }, |
| 33 | + { |
| 34 | + "type": "function", |
| 35 | + "name": "MAX_TOLERANCE_BPS", |
| 36 | + "inputs": [], |
| 37 | + "outputs": [ |
| 38 | + { |
| 39 | + "name": "", |
| 40 | + "type": "uint256", |
| 41 | + "internalType": "uint256" |
| 42 | + } |
| 43 | + ], |
| 44 | + "stateMutability": "view" |
| 45 | + }, |
33 | 46 | { |
34 | 47 | "type": "function", |
35 | 48 | "name": "UPGRADER_ROLE", |
|
56 | 69 | ], |
57 | 70 | "stateMutability": "view" |
58 | 71 | }, |
| 72 | + { |
| 73 | + "type": "function", |
| 74 | + "name": "blockProvider", |
| 75 | + "inputs": [ |
| 76 | + { |
| 77 | + "name": "provider", |
| 78 | + "type": "uint64", |
| 79 | + "internalType": "CommonTypes.FilActorId" |
| 80 | + } |
| 81 | + ], |
| 82 | + "outputs": [], |
| 83 | + "stateMutability": "nonpayable" |
| 84 | + }, |
59 | 85 | { |
60 | 86 | "type": "function", |
61 | 87 | "name": "commitCapacity", |
|
186 | 212 | "type": "bool", |
187 | 213 | "internalType": "bool" |
188 | 214 | }, |
| 215 | + { |
| 216 | + "name": "blocked", |
| 217 | + "type": "bool", |
| 218 | + "internalType": "bool" |
| 219 | + }, |
189 | 220 | { |
190 | 221 | "name": "capabilities", |
191 | 222 | "type": "tuple", |
|
353 | 384 | }, |
354 | 385 | { |
355 | 386 | "type": "function", |
356 | | - "name": "isProviderRegistered", |
| 387 | + "name": "isAuthorizedForProvider", |
357 | 388 | "inputs": [ |
| 389 | + { |
| 390 | + "name": "caller", |
| 391 | + "type": "address", |
| 392 | + "internalType": "address" |
| 393 | + }, |
358 | 394 | { |
359 | 395 | "name": "provider", |
360 | 396 | "type": "uint64", |
|
372 | 408 | }, |
373 | 409 | { |
374 | 410 | "type": "function", |
375 | | - "name": "isStorageProviderOwner", |
| 411 | + "name": "isProviderRegistered", |
376 | 412 | "inputs": [ |
377 | | - { |
378 | | - "name": "caller", |
379 | | - "type": "address", |
380 | | - "internalType": "address" |
381 | | - }, |
382 | 413 | { |
383 | 414 | "name": "provider", |
384 | 415 | "type": "uint64", |
|
650 | 681 | ], |
651 | 682 | "stateMutability": "view" |
652 | 683 | }, |
| 684 | + { |
| 685 | + "type": "function", |
| 686 | + "name": "unblockProvider", |
| 687 | + "inputs": [ |
| 688 | + { |
| 689 | + "name": "provider", |
| 690 | + "type": "uint64", |
| 691 | + "internalType": "CommonTypes.FilActorId" |
| 692 | + } |
| 693 | + ], |
| 694 | + "outputs": [], |
| 695 | + "stateMutability": "nonpayable" |
| 696 | + }, |
653 | 697 | { |
654 | 698 | "type": "function", |
655 | 699 | "name": "unpauseProvider", |
|
886 | 930 | ], |
887 | 931 | "anonymous": false |
888 | 932 | }, |
| 933 | + { |
| 934 | + "type": "event", |
| 935 | + "name": "ProviderBlocked", |
| 936 | + "inputs": [ |
| 937 | + { |
| 938 | + "name": "provider", |
| 939 | + "type": "uint64", |
| 940 | + "indexed": true, |
| 941 | + "internalType": "CommonTypes.FilActorId" |
| 942 | + } |
| 943 | + ], |
| 944 | + "anonymous": false |
| 945 | + }, |
| 946 | + { |
| 947 | + "type": "event", |
| 948 | + "name": "ProviderPaused", |
| 949 | + "inputs": [ |
| 950 | + { |
| 951 | + "name": "provider", |
| 952 | + "type": "uint64", |
| 953 | + "indexed": true, |
| 954 | + "internalType": "CommonTypes.FilActorId" |
| 955 | + } |
| 956 | + ], |
| 957 | + "anonymous": false |
| 958 | + }, |
889 | 959 | { |
890 | 960 | "type": "event", |
891 | 961 | "name": "ProviderRegistered", |
|
905 | 975 | ], |
906 | 976 | "anonymous": false |
907 | 977 | }, |
| 978 | + { |
| 979 | + "type": "event", |
| 980 | + "name": "ProviderUnblocked", |
| 981 | + "inputs": [ |
| 982 | + { |
| 983 | + "name": "provider", |
| 984 | + "type": "uint64", |
| 985 | + "indexed": true, |
| 986 | + "internalType": "CommonTypes.FilActorId" |
| 987 | + } |
| 988 | + ], |
| 989 | + "anonymous": false |
| 990 | + }, |
| 991 | + { |
| 992 | + "type": "event", |
| 993 | + "name": "ProviderUnpaused", |
| 994 | + "inputs": [ |
| 995 | + { |
| 996 | + "name": "provider", |
| 997 | + "type": "uint64", |
| 998 | + "indexed": true, |
| 999 | + "internalType": "CommonTypes.FilActorId" |
| 1000 | + } |
| 1001 | + ], |
| 1002 | + "anonymous": false |
| 1003 | + }, |
908 | 1004 | { |
909 | 1005 | "type": "event", |
910 | 1006 | "name": "RoleAdminChanged", |
|
1275 | 1371 | } |
1276 | 1372 | ] |
1277 | 1373 | }, |
| 1374 | + { |
| 1375 | + "type": "error", |
| 1376 | + "name": "ProviderIsBlocked", |
| 1377 | + "inputs": [ |
| 1378 | + { |
| 1379 | + "name": "provider", |
| 1380 | + "type": "uint64", |
| 1381 | + "internalType": "CommonTypes.FilActorId" |
| 1382 | + } |
| 1383 | + ] |
| 1384 | + }, |
1278 | 1385 | { |
1279 | 1386 | "type": "error", |
1280 | 1387 | "name": "ProviderNotRegistered", |
|
1328 | 1435 | } |
1329 | 1436 | ] |
1330 | 1437 | }, |
| 1438 | + { |
| 1439 | + "type": "error", |
| 1440 | + "name": "ToleranceBpsTooHigh", |
| 1441 | + "inputs": [ |
| 1442 | + { |
| 1443 | + "name": "bps", |
| 1444 | + "type": "uint256", |
| 1445 | + "internalType": "uint256" |
| 1446 | + }, |
| 1447 | + { |
| 1448 | + "name": "maxBps", |
| 1449 | + "type": "uint256", |
| 1450 | + "internalType": "uint256" |
| 1451 | + } |
| 1452 | + ] |
| 1453 | + }, |
1331 | 1454 | { |
1332 | 1455 | "type": "error", |
1333 | 1456 | "name": "UUPSUnauthorizedCallContext", |
|
0 commit comments