Skip to content

Commit 9efacd0

Browse files
committed
fix: make update-abi
fix: make update-abi
1 parent 517cfa3 commit 9efacd0

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
@@ -281,6 +281,29 @@
281281
],
282282
"stateMutability": "view"
283283
},
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+
},
284307
{
285308
"type": "function",
286309
"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)