Skip to content

Commit

Permalink
chore(eventindexer): taikoL1 was generated on wrong compiled out (#13885
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cyberhorsey authored and dantaik committed Jun 12, 2023
1 parent 3cdb825 commit a808e5b
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 49 deletions.
138 changes: 133 additions & 5 deletions packages/eventindexer/TaikoL1.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,21 @@
"name": "L1_FORK_CHOICE_NOT_FOUND",
"type": "error"
},
{
"inputs": [],
"name": "L1_INSUFFICIENT_TOKEN",
"type": "error"
},
{
"inputs": [],
"name": "L1_INSUFFICIENT_TOKEN",
"type": "error"
},
{
"inputs": [],
"name": "L1_INSUFFICIENT_TOKEN",
"type": "error"
},
{
"inputs": [],
"name": "L1_INVALID_CONFIG",
Expand Down Expand Up @@ -231,6 +246,11 @@
"name": "L1_TX_LIST_RANGE",
"type": "error"
},
{
"inputs": [],
"name": "Overflow",
"type": "error"
},
{
"inputs": [],
"name": "RESOLVER_DENIED",
Expand Down Expand Up @@ -580,6 +600,19 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "depositTaikoToken",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -826,6 +859,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint64",
"name": "proofTime",
"type": "uint64"
}
],
"name": "getProofReward",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getStateVariables",
Expand All @@ -837,6 +889,11 @@
"name": "blockFee",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "accBlockFees",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "genesisHeight",
Expand All @@ -852,11 +909,26 @@
"name": "numBlocks",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "proofTimeIssued",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "proofTimeTarget",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "lastVerifiedBlockId",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "accProposedAt",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "nextEthDepositToProcess",
Expand Down Expand Up @@ -930,6 +1002,21 @@
"internalType": "uint64",
"name": "_initBlockFee",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "_initProofTimeTarget",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "_initProofTimeIssued",
"type": "uint64"
},
{
"internalType": "uint16",
"name": "_adjustmentQuotient",
"type": "uint16"
}
],
"name": "init",
Expand Down Expand Up @@ -1144,6 +1231,34 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint64",
"name": "newProofTimeTarget",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "newProofTimeIssued",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "newBlockFee",
"type": "uint64"
},
{
"internalType": "uint16",
"name": "newAdjustmentQuotient",
"type": "uint16"
}
],
"name": "setProofParams",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "state",
Expand All @@ -1160,7 +1275,7 @@
},
{
"internalType": "uint16",
"name": "__reserved70",
"name": "adjustmentQuotient",
"type": "uint16"
},
{
Expand All @@ -1175,12 +1290,12 @@
},
{
"internalType": "uint64",
"name": "__reserved80",
"name": "accProposedAt",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "__reserved81",
"name": "accBlockFees",
"type": "uint64"
},
{
Expand All @@ -1200,7 +1315,7 @@
},
{
"internalType": "uint64",
"name": "__reserved90",
"name": "proofTimeIssued",
"type": "uint64"
},
{
Expand All @@ -1210,7 +1325,7 @@
},
{
"internalType": "uint64",
"name": "__reserved91",
"name": "proofTimeTarget",
"type": "uint64"
}
],
Expand Down Expand Up @@ -1243,6 +1358,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "withdrawTaikoToken",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
Expand Down
Loading

0 comments on commit a808e5b

Please sign in to comment.