|
281 | 281 | ], |
282 | 282 | "stateMutability": "view" |
283 | 283 | }, |
| 284 | + { |
| 285 | + "type": "function", |
| 286 | + "name": "getCurrentPricingRates", |
| 287 | + "inputs": [], |
| 288 | + "outputs": [ |
| 289 | + { |
| 290 | + "name": "storagePrice", |
| 291 | + "type": "uint256", |
| 292 | + "internalType": "uint256" |
| 293 | + }, |
| 294 | + { |
| 295 | + "name": "cacheMissPrice", |
| 296 | + "type": "uint256", |
| 297 | + "internalType": "uint256" |
| 298 | + }, |
| 299 | + { |
| 300 | + "name": "cdnPrice", |
| 301 | + "type": "uint256", |
| 302 | + "internalType": "uint256" |
| 303 | + } |
| 304 | + ], |
| 305 | + "stateMutability": "view" |
| 306 | + }, |
284 | 307 | { |
285 | 308 | "type": "function", |
286 | 309 | "name": "getEffectiveRates", |
|
793 | 816 | "outputs": [], |
794 | 817 | "stateMutability": "nonpayable" |
795 | 818 | }, |
| 819 | + { |
| 820 | + "type": "function", |
| 821 | + "name": "updatePricing", |
| 822 | + "inputs": [ |
| 823 | + { |
| 824 | + "name": "newStoragePrice", |
| 825 | + "type": "uint256", |
| 826 | + "internalType": "uint256" |
| 827 | + }, |
| 828 | + { |
| 829 | + "name": "newCacheMissPrice", |
| 830 | + "type": "uint256", |
| 831 | + "internalType": "uint256" |
| 832 | + }, |
| 833 | + { |
| 834 | + "name": "newCdnPrice", |
| 835 | + "type": "uint256", |
| 836 | + "internalType": "uint256" |
| 837 | + } |
| 838 | + ], |
| 839 | + "outputs": [], |
| 840 | + "stateMutability": "nonpayable" |
| 841 | + }, |
796 | 842 | { |
797 | 843 | "type": "function", |
798 | 844 | "name": "updateServiceCommission", |
|
1286 | 1332 | ], |
1287 | 1333 | "anonymous": false |
1288 | 1334 | }, |
| 1335 | + { |
| 1336 | + "type": "event", |
| 1337 | + "name": "PricingUpdated", |
| 1338 | + "inputs": [ |
| 1339 | + { |
| 1340 | + "name": "storagePrice", |
| 1341 | + "type": "uint256", |
| 1342 | + "indexed": false, |
| 1343 | + "internalType": "uint256" |
| 1344 | + }, |
| 1345 | + { |
| 1346 | + "name": "cacheMissPrice", |
| 1347 | + "type": "uint256", |
| 1348 | + "indexed": false, |
| 1349 | + "internalType": "uint256" |
| 1350 | + }, |
| 1351 | + { |
| 1352 | + "name": "cdnPrice", |
| 1353 | + "type": "uint256", |
| 1354 | + "indexed": false, |
| 1355 | + "internalType": "uint256" |
| 1356 | + } |
| 1357 | + ], |
| 1358 | + "anonymous": false |
| 1359 | + }, |
1289 | 1360 | { |
1290 | 1361 | "type": "event", |
1291 | 1362 | "name": "ProviderApproved", |
|
0 commit comments