Skip to content

Commit

Permalink
feat: generates new abi code
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Jul 8, 2024
1 parent d15067a commit 3d81edb
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 138 deletions.
145 changes: 102 additions & 43 deletions contracts-abi/abi/PreConfCommitmentStore.abi
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "commitmentHash",
"type": "bytes32",
Expand Down Expand Up @@ -299,6 +304,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "_revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "_bid",
"type": "uint256",
Expand Down Expand Up @@ -390,6 +400,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "commitmentHash",
"type": "bytes32",
Expand Down Expand Up @@ -474,6 +489,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "commitmentHash",
"type": "bytes32",
Expand Down Expand Up @@ -612,6 +632,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "_revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "_bid",
"type": "uint256",
Expand Down Expand Up @@ -792,6 +817,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
Expand Down Expand Up @@ -1027,6 +1057,11 @@
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "bidSignature",
"type": "bytes",
Expand All @@ -1052,49 +1087,61 @@
"name": "verifyPreConfCommitment",
"inputs": [
{
"name": "txnHash",
"type": "string",
"internalType": "string"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "blockNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "bidSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "sharedSecretKey",
"type": "bytes",
"internalType": "bytes"
"name": "params",
"type": "tuple",
"internalType": "struct PreConfCommitmentStore.CommitmentParams",
"components": [
{
"name": "txnHash",
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "blockNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "bidSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "sharedSecretKey",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"outputs": [
Expand Down Expand Up @@ -1169,6 +1216,12 @@
"indexed": false,
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "commitmentHash",
"type": "bytes32",
Expand Down Expand Up @@ -1287,6 +1340,12 @@
"indexed": false,
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "bid",
"type": "uint256",
Expand Down
Loading

0 comments on commit 3d81edb

Please sign in to comment.