Skip to content

Commit

Permalink
Merge pull request #4 from primevprotocol/ckaritk/update-abi
Browse files Browse the repository at this point in the history
Updates ABI in line with new contract changes
  • Loading branch information
ckartik authored Mar 3, 2024
2 parents 0c09ef5 + 72c31d9 commit 8682af4
Show file tree
Hide file tree
Showing 9 changed files with 306 additions and 168 deletions.
5 changes: 5 additions & 0 deletions abi/BidderRegistry.abi
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@
"name": "provider",
"type": "address",
"internalType": "address payable"
},
{
"name": "risidualBidAfterDecay",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
Expand Down
5 changes: 5 additions & 0 deletions abi/Oracle.abi
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@
"name": "isSlash",
"type": "bool",
"internalType": "bool"
},
{
"name": "risidualBidAfterDecay",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
Expand Down
111 changes: 108 additions & 3 deletions abi/PreConfCommitmentStore.abi
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
{
"type": "function",
"name": "EIP712_COMMITMENT_TYPEHASH",
"name": "EIP712_BID_TYPEHASH",
"inputs": [],
"outputs": [
{
Expand All @@ -74,7 +74,7 @@
},
{
"type": "function",
"name": "EIP712_MESSAGE_TYPEHASH",
"name": "EIP712_COMMITMENT_TYPEHASH",
"inputs": [],
"outputs": [
{
Expand Down Expand Up @@ -195,6 +195,16 @@
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
Expand All @@ -214,6 +224,11 @@
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "blockCommitedAt",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
Expand Down Expand Up @@ -255,6 +270,16 @@
"name": "_blockNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
}
],
"outputs": [
Expand Down Expand Up @@ -312,6 +337,16 @@
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
Expand All @@ -331,6 +366,11 @@
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "blockCommitedAt",
"type": "uint256",
"internalType": "uint256"
}
]
}
Expand Down Expand Up @@ -376,6 +416,16 @@
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
Expand All @@ -395,6 +445,11 @@
"name": "commitmentSignature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "blockCommitedAt",
"type": "uint256",
"internalType": "uint256"
}
]
}
Expand Down Expand Up @@ -465,6 +520,16 @@
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_bidHash",
"type": "bytes32",
Expand Down Expand Up @@ -506,12 +571,17 @@
},
{
"type": "function",
"name": "initateReward",
"name": "initiateReward",
"inputs": [
{
"name": "commitmentIndex",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "risidualBidAfterDecay",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
Expand All @@ -525,6 +595,11 @@
"name": "commitmentIndex",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "residualDecayAfterBid",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
Expand Down Expand Up @@ -632,6 +707,16 @@
"type": "string",
"internalType": "string"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidSignature",
"type": "bytes",
Expand Down Expand Up @@ -731,6 +816,16 @@
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "txnHash",
"type": "string",
Expand Down Expand Up @@ -780,6 +875,16 @@
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayStartTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "decayEndTimeStamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "bidHash",
"type": "bytes32",
Expand Down
5 changes: 5 additions & 0 deletions abi/ProviderRegistry.abi
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,11 @@
"name": "bidder",
"type": "address",
"internalType": "address payable"
},
{
"name": "residualBidAfterDecay",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
Expand Down
Loading

0 comments on commit 8682af4

Please sign in to comment.