From 218b41382ed10e0a746aa180d691af368c15d2e0 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Fri, 15 Dec 2023 16:02:29 +0000 Subject: [PATCH] Commit real one --- suave/artifacts/SuaveLib.json | 450 +--------------------------------- 1 file changed, 1 insertion(+), 449 deletions(-) diff --git a/suave/artifacts/SuaveLib.json b/suave/artifacts/SuaveLib.json index 29600651c..6c870ed44 100644 --- a/suave/artifacts/SuaveLib.json +++ b/suave/artifacts/SuaveLib.json @@ -1,449 +1 @@ -[ - { - "type": "error", - "name": "PeekerReverted", - "inputs": [ - { - "name": "addr", - "type": "address" - }, - { - "name": "err", - "type": "bytes" - } - ] - }, - { - "type": "function", - "name": "buildEthBlock", - "inputs": [ - { - "name": "blockArgs", - "type": "tuple", - "internalType": "struct Suave.BuildBlockArgs", - "components": [ - { - "name": "slot", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "proposerPubkey", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "parent", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "timestamp", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "feeRecipient", - "type": "address", - "internalType": "address" - }, - { - "name": "gasLimit", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "random", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "withdrawals", - "type": "tuple[]", - "internalType": "struct Suave.Withdrawal[]", - "components": [ - { - "name": "index", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "validator", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "Address", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "name": "extra", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "name": "bidId", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "namespace", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "output2", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "confidentialInputs", - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "confidentialRetrieve", - "inputs": [ - { - "name": "bidId", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "confidentialStore", - "inputs": [ - { - "name": "bidId", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "data1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "ethcall", - "inputs": [ - { - "name": "contractAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "input1", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "extractHint", - "inputs": [ - { - "name": "bundleData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "fetchBids", - "inputs": [ - { - "name": "cond", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "namespace", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "bid", - "type": "tuple[]", - "internalType": "struct Suave.Bid[]", - "components": [ - { - "name": "id", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "salt", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "decryptionCondition", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "allowedPeekers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "allowedStores", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "version", - "type": "string", - "internalType": "string" - } - ] - } - ] - }, - { - "type": "function", - "name": "fillMevShareBundle", - "inputs": [ - { - "name": "bidId", - "type": "bytes16", - "internalType": "struct Suave.BidId" - } - ], - "outputs": [ - { - "name": "encodedBundle", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "newBid", - "inputs": [ - { - "name": "decryptionCondition", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "allowedPeekers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "allowedStores", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "bidType", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "bid", - "type": "tuple", - "internalType": "struct Suave.Bid", - "components": [ - { - "name": "id", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "salt", - "type": "bytes16", - "internalType": "struct Suave.BidId" - }, - { - "name": "decryptionCondition", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "allowedPeekers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "allowedStores", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "version", - "type": "string", - "internalType": "string" - } - ] - } - ] - }, - { - "type": "function", - "name": "signEthTransaction", - "inputs": [ - { - "name": "txn", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "chainId", - "type": "string", - "internalType": "string" - }, - { - "name": "signingKey", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "simulateBundle", - "inputs": [ - { - "name": "bundleData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "output1", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "submitBundleJsonRPC", - "inputs": [ - { - "name": "url", - "type": "string", - "internalType": "string" - }, - { - "name": "method", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "submitEthBlockBidToRelay", - "inputs": [ - { - "name": "relayUrl", - "type": "string", - "internalType": "string" - }, - { - "name": "builderBid", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "output1", - "type": "bytes", - "internalType": "bytes" - } - ] - } -] \ No newline at end of file +[{"type":"error","name":"PeekerReverted","inputs":[{"name":"addr","type":"address"},{"name":"err","type":"bytes"}]},{"type":"function","name":"buildEthBlock","inputs":[{"name":"blockArgs","type":"tuple","internalType":"struct Suave.BuildBlockArgs","components":[{"name":"slot","type":"uint64","internalType":"uint64"},{"name":"proposerPubkey","type":"bytes","internalType":"bytes"},{"name":"parent","type":"bytes32","internalType":"bytes32"},{"name":"timestamp","type":"uint64","internalType":"uint64"},{"name":"feeRecipient","type":"address","internalType":"address"},{"name":"gasLimit","type":"uint64","internalType":"uint64"},{"name":"random","type":"bytes32","internalType":"bytes32"},{"name":"withdrawals","type":"tuple[]","internalType":"struct Suave.Withdrawal[]","components":[{"name":"index","type":"uint64","internalType":"uint64"},{"name":"validator","type":"uint64","internalType":"uint64"},{"name":"Address","type":"address","internalType":"address"},{"name":"amount","type":"uint64","internalType":"uint64"}]},{"name":"extra","type":"bytes","internalType":"bytes"}]},{"name":"bidId","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"namespace","type":"string","internalType":"string"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"},{"name":"output2","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"confidentialInputs","outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"confidentialRetrieve","inputs":[{"name":"bidId","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"key","type":"string","internalType":"string"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"confidentialStore","inputs":[{"name":"bidId","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"key","type":"string","internalType":"string"},{"name":"data1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"ethcall","inputs":[{"name":"contractAddr","type":"address","internalType":"address"},{"name":"input1","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"extractHint","inputs":[{"name":"bundleData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"fetchBids","inputs":[{"name":"cond","type":"uint64","internalType":"uint64"},{"name":"namespace","type":"string","internalType":"string"}],"outputs":[{"name":"bid","type":"tuple[]","internalType":"struct Suave.Bid[]","components":[{"name":"id","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"salt","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"decryptionCondition","type":"uint64","internalType":"uint64"},{"name":"allowedPeekers","type":"address[]","internalType":"address[]"},{"name":"allowedStores","type":"address[]","internalType":"address[]"},{"name":"version","type":"string","internalType":"string"}]}]},{"type":"function","name":"fillMevShareBundle","inputs":[{"name":"bidId","type":"bytes16","internalType":"struct Suave.BidId"}],"outputs":[{"name":"encodedBundle","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"newBid","inputs":[{"name":"decryptionCondition","type":"uint64","internalType":"uint64"},{"name":"allowedPeekers","type":"address[]","internalType":"address[]"},{"name":"allowedStores","type":"address[]","internalType":"address[]"},{"name":"bidType","type":"string","internalType":"string"}],"outputs":[{"name":"bid","type":"tuple","internalType":"struct Suave.Bid","components":[{"name":"id","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"salt","type":"bytes16","internalType":"struct Suave.BidId"},{"name":"decryptionCondition","type":"uint64","internalType":"uint64"},{"name":"allowedPeekers","type":"address[]","internalType":"address[]"},{"name":"allowedStores","type":"address[]","internalType":"address[]"},{"name":"version","type":"string","internalType":"string"}]}]},{"type":"function","name":"signEthTransaction","inputs":[{"name":"txn","type":"bytes","internalType":"bytes"},{"name":"chainId","type":"string","internalType":"string"},{"name":"signingKey","type":"string","internalType":"string"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"simulateBundle","inputs":[{"name":"bundleData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"output1","type":"uint64","internalType":"uint64"}]},{"type":"function","name":"submitBundleJsonRPC","inputs":[{"name":"url","type":"string","internalType":"string"},{"name":"method","type":"string","internalType":"string"},{"name":"params","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]},{"type":"function","name":"submitEthBlockBidToRelay","inputs":[{"name":"relayUrl","type":"string","internalType":"string"},{"name":"builderBid","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"output1","type":"bytes","internalType":"bytes"}]}] \ No newline at end of file