Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,693 changes: 1,693 additions & 0 deletions pdp/contract/ServiceProviderRegistry.abi

Large diffs are not rendered by default.

3,319 changes: 3,319 additions & 0 deletions pdp/contract/ServiceProviderRegistry.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pdp/contract/ServiceProviderRegistry.json

Large diffs are not rendered by default.

179 changes: 179 additions & 0 deletions pdp/contract/ServiceProviderRegistryStorage.abi
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
[
{
"type": "function",
"name": "activeProductTypeProviderCount",
"inputs": [
{
"name": "productType",
"type": "uint8",
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
}
],
"outputs": [
{
"name": "count",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "activeProviderCount",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "addressToProviderId",
"inputs": [
{
"name": "providerAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "providerId",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "productCapabilities",
"inputs": [
{
"name": "providerId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "productType",
"type": "uint8",
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
},
{
"name": "key",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "value",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "productTypeProviderCount",
"inputs": [
{
"name": "productType",
"type": "uint8",
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
}
],
"outputs": [
{
"name": "count",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "providerProducts",
"inputs": [
{
"name": "providerId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "productType",
"type": "uint8",
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
}
],
"outputs": [
{
"name": "productType",
"type": "uint8",
"internalType": "enum ServiceProviderRegistryStorage.ProductType"
},
{
"name": "productData",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "isActive",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "providers",
"inputs": [
{
"name": "providerId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "serviceProvider",
"type": "address",
"internalType": "address"
},
{
"name": "payee",
"type": "address",
"internalType": "address"
},
{
"name": "name",
"type": "string",
"internalType": "string"
},
{
"name": "description",
"type": "string",
"internalType": "string"
},
{
"name": "isActive",
"type": "bool",
"internalType": "bool"
},
{
"name": "providerId",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]
Loading