Skip to content

Commit 7616600

Browse files
committed
fix: make update-abi
fix: make update-abi
1 parent aa21c16 commit 7616600

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

service_contracts/abi/FilecoinWarmStorageService.abi.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,29 @@
291291
],
292292
"stateMutability": "view"
293293
},
294+
{
295+
"type": "function",
296+
"name": "getCurrentPricingRates",
297+
"inputs": [],
298+
"outputs": [
299+
{
300+
"name": "storagePrice",
301+
"type": "uint256",
302+
"internalType": "uint256"
303+
},
304+
{
305+
"name": "cacheMissPrice",
306+
"type": "uint256",
307+
"internalType": "uint256"
308+
},
309+
{
310+
"name": "cdnPrice",
311+
"type": "uint256",
312+
"internalType": "uint256"
313+
}
314+
],
315+
"stateMutability": "view"
316+
},
294317
{
295318
"type": "function",
296319
"name": "getEffectiveRates",
@@ -793,6 +816,29 @@
793816
"outputs": [],
794817
"stateMutability": "nonpayable"
795818
},
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+
},
796842
{
797843
"type": "function",
798844
"name": "updateServiceCommission",
@@ -1286,6 +1332,31 @@
12861332
],
12871333
"anonymous": false
12881334
},
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+
},
12891360
{
12901361
"type": "event",
12911362
"name": "ProviderApproved",

0 commit comments

Comments
 (0)