Skip to content

Commit

Permalink
Merge pull request #578 from ememet/feature/starknet-fees
Browse files Browse the repository at this point in the history
add support for starknet state update and proof verification on mainnet
  • Loading branch information
daishuai323 authored Jun 30, 2023
2 parents c953ef7 + 7d9020e commit 3857bb9
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parser": {
"abi": {
"inputs": [
{
"internalType": "uint256[]",
"name": "proofParams",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "proof",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "taskMetadata",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "cairoAuxInput",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "cairoVerifierId",
"type": "uint256"
}
],
"name": "verifyProofAndRegister",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0x6cb3ee90c50a38a0e4662bb7e7e6e40b91361bf6",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "starknet",
"schema": [
{
"description": "",
"name": "proofParams",
"type": "STRING"
},
{
"description": "",
"name": "proof",
"type": "STRING"
},
{
"description": "",
"name": "taskMetadata",
"type": "STRING"
},
{
"description": "",
"name": "cairoAuxInput",
"type": "STRING"
},
{
"description": "",
"name": "cairoVerifierId",
"type": "STRING"
}
],
"table_description": "",
"table_name": "GpsStatementVerifier_call_verifyProofAndRegister"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "globalRoot",
"type": "uint256"
},
{
"indexed": false,
"internalType": "int256",
"name": "blockNumber",
"type": "int256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockHash",
"type": "uint256"
}
],
"name": "LogStateUpdate",
"type": "event"
},
"contract_address": "0xc662c410c0ecf747543f5ba90660f6abebd9c8c4",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "starknet",
"schema": [
{
"description": "",
"name": "globalRoot",
"type": "STRING"
},
{
"description": "",
"name": "blockNumber",
"type": "STRING"
},
{
"description": "",
"name": "blockHash",
"type": "STRING"
}
],
"table_description": "",
"table_name": "StarknetCore_event_LogStateUpdate"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "globalRoot",
"type": "uint256"
},
{
"indexed": false,
"internalType": "int256",
"name": "blockNumber",
"type": "int256"
}
],
"name": "LogStateUpdate",
"type": "event"
},
"contract_address": "0xc662c410c0ecf747543f5ba90660f6abebd9c8c4",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "starknet",
"schema": [
{
"description": "",
"name": "globalRoot",
"type": "STRING"
},
{
"description": "",
"name": "blockNumber",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Starknet_event_LogStateUpdate"
}
}

0 comments on commit 3857bb9

Please sign in to comment.