Skip to content

Commit 15eeb6d

Browse files
rjan90Kubuxu
andauthored
chore: bump submodules (#311)
Checkout: - [v1.0.0 filecoin-pay tag](https://github.com/FilOzone/filecoin-pay/releases/tag/v1.0.0) - [v3.0.0 pdp tag](https://github.com/FilOzone/pdp/releases/tag/v3.0.0) - Update ABIs --------- Signed-off-by: Jakub Sztandera <[email protected]> Co-authored-by: Jakub Sztandera <[email protected]>
1 parent 0c4f5db commit 15eeb6d

File tree

6 files changed

+196
-21
lines changed

6 files changed

+196
-21
lines changed

service_contracts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ ABI_CONTRACTS := \
131131
FilecoinPayV1 \
132132
PDPVerifier \
133133
ServiceProviderRegistry \
134+
ServiceProviderRegistryStorage \
134135
SessionKeyRegistry
135136

136137
# Generate ABI file targets

service_contracts/abi/PDPVerifier.abi.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@
44
"inputs": [],
55
"stateMutability": "nonpayable"
66
},
7-
{
8-
"type": "function",
9-
"name": "EXTRA_DATA_MAX_SIZE",
10-
"inputs": [],
11-
"outputs": [
12-
{
13-
"name": "",
14-
"type": "uint256",
15-
"internalType": "uint256"
16-
}
17-
],
18-
"stateMutability": "view"
19-
},
207
{
218
"type": "function",
229
"name": "MAX_ENQUEUED_REMOVALS",
@@ -160,7 +147,7 @@
160147
"name": "calculateProofFeeForSize",
161148
"inputs": [
162149
{
163-
"name": "rawSize",
150+
"name": "proofSize",
164151
"type": "uint256",
165152
"internalType": "uint256"
166153
}
@@ -372,11 +359,6 @@
372359
"type": "uint256[]",
373360
"internalType": "uint256[]"
374361
},
375-
{
376-
"name": "rawSizes",
377-
"type": "uint256[]",
378-
"internalType": "uint256[]"
379-
},
380362
{
381363
"name": "hasMore",
382364
"type": "bool",
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
[
2+
{
3+
"type": "function",
4+
"name": "activeProductTypeProviderCount",
5+
"inputs": [
6+
{
7+
"name": "productType",
8+
"type": "uint8",
9+
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
10+
}
11+
],
12+
"outputs": [
13+
{
14+
"name": "count",
15+
"type": "uint256",
16+
"internalType": "uint256"
17+
}
18+
],
19+
"stateMutability": "view"
20+
},
21+
{
22+
"type": "function",
23+
"name": "activeProviderCount",
24+
"inputs": [],
25+
"outputs": [
26+
{
27+
"name": "",
28+
"type": "uint256",
29+
"internalType": "uint256"
30+
}
31+
],
32+
"stateMutability": "view"
33+
},
34+
{
35+
"type": "function",
36+
"name": "addressToProviderId",
37+
"inputs": [
38+
{
39+
"name": "providerAddress",
40+
"type": "address",
41+
"internalType": "address"
42+
}
43+
],
44+
"outputs": [
45+
{
46+
"name": "providerId",
47+
"type": "uint256",
48+
"internalType": "uint256"
49+
}
50+
],
51+
"stateMutability": "view"
52+
},
53+
{
54+
"type": "function",
55+
"name": "productCapabilities",
56+
"inputs": [
57+
{
58+
"name": "providerId",
59+
"type": "uint256",
60+
"internalType": "uint256"
61+
},
62+
{
63+
"name": "productType",
64+
"type": "uint8",
65+
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
66+
},
67+
{
68+
"name": "key",
69+
"type": "string",
70+
"internalType": "string"
71+
}
72+
],
73+
"outputs": [
74+
{
75+
"name": "value",
76+
"type": "string",
77+
"internalType": "string"
78+
}
79+
],
80+
"stateMutability": "view"
81+
},
82+
{
83+
"type": "function",
84+
"name": "productTypeProviderCount",
85+
"inputs": [
86+
{
87+
"name": "productType",
88+
"type": "uint8",
89+
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
90+
}
91+
],
92+
"outputs": [
93+
{
94+
"name": "count",
95+
"type": "uint256",
96+
"internalType": "uint256"
97+
}
98+
],
99+
"stateMutability": "view"
100+
},
101+
{
102+
"type": "function",
103+
"name": "providerProducts",
104+
"inputs": [
105+
{
106+
"name": "providerId",
107+
"type": "uint256",
108+
"internalType": "uint256"
109+
},
110+
{
111+
"name": "productType",
112+
"type": "uint8",
113+
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
114+
}
115+
],
116+
"outputs": [
117+
{
118+
"name": "productType",
119+
"type": "uint8",
120+
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
121+
},
122+
{
123+
"name": "productData",
124+
"type": "bytes",
125+
"internalType": "bytes"
126+
},
127+
{
128+
"name": "isActive",
129+
"type": "bool",
130+
"internalType": "bool"
131+
}
132+
],
133+
"stateMutability": "view"
134+
},
135+
{
136+
"type": "function",
137+
"name": "providers",
138+
"inputs": [
139+
{
140+
"name": "providerId",
141+
"type": "uint256",
142+
"internalType": "uint256"
143+
}
144+
],
145+
"outputs": [
146+
{
147+
"name": "serviceProvider",
148+
"type": "address",
149+
"internalType": "address"
150+
},
151+
{
152+
"name": "payee",
153+
"type": "address",
154+
"internalType": "address"
155+
},
156+
{
157+
"name": "name",
158+
"type": "string",
159+
"internalType": "string"
160+
},
161+
{
162+
"name": "description",
163+
"type": "string",
164+
"internalType": "string"
165+
},
166+
{
167+
"name": "isActive",
168+
"type": "bool",
169+
"internalType": "bool"
170+
}
171+
],
172+
"stateMutability": "view"
173+
}
174+
]

service_contracts/lib/fws-payments

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# DEPLOYMENT SUMMARY
2+
FilecoinWarmStorageService Implementation: 0x271b346F1282c3ab8C3CA3aBCD34c0aBF96Df9D0
3+
FilecoinWarmStorageService Proxy: 0xD3De778C05f89e1240ef70100Fb0d9e5b2eFD258
4+
FilecoinWarmStorageServiceStateView: 0x0295Ac959317391656fB7fFaA046046eF9C7E18F
5+
6+
USDFC token address: 0xb3042734b608a1B16e9e86B374A3f3e389B4cDf0
7+
PDPVerifier address: 0x06279D540BDCd6CA33B073cEAeA1425B6C68c93d
8+
- from: https://github.com/FilOzone/pdp/releases/tag/v3.0.0
9+
FilecoinPayV1 contract address: 0x09a0fDc2723fAd1A7b8e3e00eE5DF73841df55a0
10+
- from: https://github.com/FilOzone/filecoin-pay/releases/tag/v1.0.0
11+
FilBeam controller address: 0x5f7E5E2A756430EdeE781FF6e6F7954254Ef629A
12+
FilBeam beneficiary address: 0x1D60d2F5960Af6341e842C539985FA297E10d6eA
13+
ServiceProviderRegistry address: 0xc758dB755f59189d8FB3C166Ee372b77d7CFA9D3
14+
SessionKeyRegistry address: 0x97Dd879F5a97A8c761B94746d7F5cfF50AAd4452
15+
Max proving period: 240 epochs
16+
Challenge window size: 30 epochs
17+
Service name: FWSS - M4 staging contracts
18+
Service description: Calibration FWSS - M4 staging contracts

0 commit comments

Comments
 (0)