Skip to content

Commit

Permalink
chore: updated structs (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikelle authored Jul 16, 2024
1 parent b99958a commit bdd0d5f
Show file tree
Hide file tree
Showing 7 changed files with 225 additions and 224 deletions.
204 changes: 102 additions & 102 deletions contracts-abi/abi/PreConfCommitmentStore.abi
Original file line number Diff line number Diff line change
Expand Up @@ -159,36 +159,21 @@
}
],
"outputs": [
{
"name": "isUsed",
"type": "bool",
"internalType": "bool"
},
{
"name": "bidder",
"type": "address",
"internalType": "address"
},
{
"name": "commiter",
"type": "address",
"internalType": "address"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
"name": "isUsed",
"type": "bool",
"internalType": "bool"
},
{
"name": "blockNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
Expand All @@ -200,14 +185,24 @@
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
"internalType": "string"
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
"name": "commiter",
"type": "address",
"internalType": "address"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "commitmentHash",
Expand All @@ -224,15 +219,20 @@
"type": "bytes",
"internalType": "bytes"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sharedSecretKey",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "txnHash",
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
Expand Down Expand Up @@ -277,6 +277,11 @@
"type": "address",
"internalType": "address"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "commitmentDigest",
"type": "bytes32",
Expand All @@ -286,11 +291,6 @@
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
}
],
"stateMutability": "view"
Expand Down Expand Up @@ -355,36 +355,21 @@
"type": "tuple",
"internalType": "struct PreConfCommitmentStore.PreConfCommitment",
"components": [
{
"name": "isUsed",
"type": "bool",
"internalType": "bool"
},
{
"name": "bidder",
"type": "address",
"internalType": "address"
},
{
"name": "commiter",
"type": "address",
"internalType": "address"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
"name": "isUsed",
"type": "bool",
"internalType": "bool"
},
{
"name": "blockNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
Expand All @@ -396,14 +381,24 @@
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
"internalType": "string"
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
"name": "commiter",
"type": "address",
"internalType": "address"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "commitmentHash",
Expand All @@ -420,15 +415,20 @@
"type": "bytes",
"internalType": "bytes"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sharedSecretKey",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "txnHash",
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
}
]
}
Expand All @@ -444,36 +444,21 @@
"type": "tuple",
"internalType": "struct PreConfCommitmentStore.PreConfCommitment",
"components": [
{
"name": "isUsed",
"type": "bool",
"internalType": "bool"
},
{
"name": "bidder",
"type": "address",
"internalType": "address"
},
{
"name": "commiter",
"type": "address",
"internalType": "address"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
"name": "isUsed",
"type": "bool",
"internalType": "bool"
},
{
"name": "blockNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
Expand All @@ -485,14 +470,24 @@
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
"internalType": "string"
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
"name": "commiter",
"type": "address",
"internalType": "address"
},
{
"name": "bid",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "bidHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "commitmentHash",
Expand All @@ -509,15 +504,20 @@
"type": "bytes",
"internalType": "bytes"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sharedSecretKey",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "txnHash",
"type": "string",
"internalType": "string"
},
{
"name": "revertingTxHashes",
"type": "string",
"internalType": "string"
}
]
}
Expand Down Expand Up @@ -557,6 +557,11 @@
"type": "address",
"internalType": "address"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "commitmentDigest",
"type": "bytes32",
Expand All @@ -566,11 +571,6 @@
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
}
]
}
Expand All @@ -596,6 +596,11 @@
"type": "address",
"internalType": "address"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "commitmentDigest",
"type": "bytes32",
Expand All @@ -605,11 +610,6 @@
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "dispatchTimestamp",
"type": "uint64",
"internalType": "uint64"
}
]
}
Expand Down
Loading

0 comments on commit bdd0d5f

Please sign in to comment.