function: getServiceProviderDetails(address)
eth_call data for getServiceProviderDetails(address)
f273e9a8114b81353a89f270421d24cfab3e0005c26c5aec4975340ba9928c50
f273e9a8
f273e9a80000000000000000000000000000000000000000000000000000000000000000
0xccd0855B67F89Ed9058E3BF2926D5380182BbBfc
)—> f273e9a8000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc
ABI
{
"constant": true,
"inputs": [
{
"internalType": "address",
"name": "_serviceProvider",
"type": "address"
}
],
"name": "getServiceProviderDetails",
"outputs": [
{
"internalType": "uint256",
"name": "deployerStake",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "deployerCut",
"type": "uint256"
},
{
"internalType": "bool",
"name": "validBounds",
"type": "bool"
},
{
"internalType": "uint256",
"name": "numberOfEndpoints",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minAccountStake",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxAccountStake",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
eventSig: DeregisteredServiceProvider(indexed uint256,indexed bytes32,indexed address,string,uint256)
abi:
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "_spID",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "_serviceType",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": false,
"internalType": "string",
"name": "_endpoint",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_unstakeAmount",
"type": "uint256"
}
],
"name": "DeregisteredServiceProvider",
"type": "event"
},
topic data:
0x0000000000000000000000000000000000000000000000000000000000000004
0x63726561746f722d6e6f64650000000000000000000000000000000000000000
0x000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc
decoded topic data
{
"_hex": "0x04"
},
?,
"0xccd0855B67F89Ed9058E3BF2926D5380182BbBfc"
event data:
0000000000000000000000000000000000000000000000000000000000000040
000000000000000000000000000000000000000000002a5a058fc295ed000000
000000000000000000000000000000000000000000000000000000000000001e
68747470733a2f2f636f6e74656e742d6e6f64652e6175646975732e636f0000
event data decoded:
{
"0": "<https://content-node.audius.co>",
"1": {
"_hex": "0x2a5a058fc295ed000000"
}
}
# BLOCK #11273929 -> AC06C9 (!! DIVERGENT BLOCK !!)
curl -X POST \\
--data '{"jsonrpc":"2.0","method":"eth_call","params": [{"data": "0xf273e9a8000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc","to": "0xD17A9bc90c582249e211a4f4b16721e7f65156c8"},"0xAC06C9"],"id":1}' \\
-H "content-type: Application/json" \\
<https://eth-mainnet.alchemyapi.io/v2/mWSH9YlhpXfXymzLxptC1TE2CIy2QuMA>
{"jsonrpc": "2.0", "id": 1, "result": "0x000000000000000000000000000000000000000000002a5a058fc295ed00000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
{
"0": {
"_hex": "0x2a5a058fc295ed000000"
},
"1": {
"_hex": "0x64"
},
"2": true,
"3": {
"_hex": "0x00"
},
"4": {
"_hex": "0x00"
},
"5": {
"_hex": "0x00"
}
}
# LATEST BLOCK
curl -X POST \\
--data '{"jsonrpc":"2.0","method":"eth_call","params": [{"data": "0xf273e9a8000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc","to": "0xD17A9bc90c582249e211a4f4b16721e7f65156c8"},"latest"],"id":1}' \\
-H "content-type: Application/json" \\
<https://eth-mainnet.alchemyapi.io/v2/mWSH9YlhpXfXymzLxptC1TE2CIy2QuMA>
{"jsonrpc": "2.0", "id": 1, "result": "0x000000000000000000000000000000000000000000002b550871ad3cf077487d000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000084595161401484a000000"}
{
"0": {
"_hex": "0x2b550871ad3cf077487d"
},
"1": {
"_hex": "0x64"
},
"2": true,
"3": {
"_hex": "0x01"
},
"4": {
"_hex": "0x2a5a058fc295ed000000" -> 2.0E+23
},
"5": {
"_hex": "0x084595161401484a000000" -> 1.0E+25
}
}
# BLOCK #11273928 -> AC06C8
curl -X POST \\
--data '{"jsonrpc":"2.0","method":"eth_call","params": [{"data": "0xf273e9a8000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc","to": "0xD17A9bc90c582249e211a4f4b16721e7f65156c8"},"0xAC06C8"],"id":1}' \\
-H "content-type: Application/json" \\
<https://eth-mainnet.alchemyapi.io/v2/mWSH9YlhpXfXymzLxptC1TE2CIy2QuMA>
{"jsonrpc": "2.0", "id": 1, "result": "0x000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000027b46536c66c8e3000000"}
{
"0": {
"_hex": "0x2a5a058fc295ed000000"
},
"1": {
"_hex": "0x64"
},
"2": true,
"3": {
"_hex": "0x01"
},
"4": {
"_hex": "0x2a5a058fc295ed000000" -> 2.0E+23
},
"5": {
"_hex": "0x027b46536c66c8e3000000" -> 3.0E+24
}
}
# BLOCK #11273927 -> AC06C7
curl -X POST \\
--data '{"jsonrpc":"2.0","method":"eth_call","params": [{"data": "0xf273e9a8000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc","to": "0xD17A9bc90c582249e211a4f4b16721e7f65156c8"},"0xAC06C7"],"id":1}' \\
-H "content-type: Application/json" \\
<https://eth-mainnet.alchemyapi.io/v2/mWSH9YlhpXfXymzLxptC1TE2CIy2QuMA>
{"jsonrpc": "2.0", "id": 1, "result": "0x000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000027b46536c66c8e3000000"}
{
"0": {
"_hex": "0x2a5a058fc295ed000000"
},
"1": {
"_hex": "0x64"
},
"2": true,
"3": {
"_hex": "0x01"
},
"4": {
"_hex": "0x2a5a058fc295ed000000" -> 2.0E+23
},
"5": {
"_hex": "0x027b46536c66c8e3000000" -> 3.0E+24
}
}
# BLOCK #11273930 -> AC06CA
curl -X POST \\
--data '{"jsonrpc":"2.0","method":"eth_call","params": [{"data": "0xf273e9a8000000000000000000000000ccd0855b67f89ed9058e3bf2926d5380182bbbfc","to": "0xD17A9bc90c582249e211a4f4b16721e7f65156c8"},"0xAC06CA"],"id":1}' \\
-H "content-type: Application/json" \\
<https://eth-mainnet.alchemyapi.io/v2/mWSH9YlhpXfXymzLxptC1TE2CIy2QuMA>
{"jsonrpc": "2.0", "id": 1, "result": "0x000000000000000000000000000000000000000000002a5a058fc295ed00000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
{
"0": {
"_hex": "0x2a5a058fc295ed000000"
},
"1": {
"_hex": "0x64"
},
"2": true,
"3": {
"_hex": "0x00"
},
"4": {
"_hex": "0x00"
},
"5": {
"_hex": "0x00"
}
}
Call cache for block 11273929 for contract = 0xD17A9bc90c582249e211a4f4b16721e7f65156c8
# Disputed Indexer
select * from eth_call_cache where contract_address = decode('D17A9bc90c582249e211a4f4b16721e7f65156c8','hex') and block_number = 11273929;
-[ RECORD 1 ]----+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id | \\x35ad8633ee1a4fab086e471df15b570b6c43a8b09a24da7178793654e00a4b6a
return_value | \\x000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000084595161401484a000000
contract_address | \\xd17a9bc90c582249e211a4f4b16721e7f65156c8
block_number | 11273929
# Reference Indexers (all 4 agree)
select * from eth_call_cache where contract_address = decode('35ad8633ee1a4fab086e471df15b570b6c43a8b09a24da7178793654e00a4b6a','hex') and block_number = 11273929;
-[ RECORD 1 ]----+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id | \\x35ad8633ee1a4fab086e471df15b570b6c43a8b09a24da7178793654e00a4b6a
return_value | \\x000000000000000000000000000000000000000000002a5a058fc295ed00000000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
contract_address | \\xd17a9bc90c582249e211a4f4b16721e7f65156c8
block_number | 11273929