Amin Moghaddam hace 1 año
padre
commit
686712d27c

+ 5 - 0
target_chains/ethereum/entropy_sdk/solidity/abis/EntropyErrors.json

@@ -19,6 +19,11 @@
     "name": "InsufficientFee",
     "type": "error"
   },
+  {
+    "inputs": [],
+    "name": "InvalidOriginalProviderCommitment",
+    "type": "error"
+  },
   {
     "inputs": [],
     "name": "InvalidRevealCall",

+ 53 - 0
target_chains/ethereum/entropy_sdk/solidity/abis/IEntropy.json

@@ -548,6 +548,30 @@
     "stateMutability": "view",
     "type": "function"
   },
+  {
+    "inputs": [
+      {
+        "internalType": "address",
+        "name": "provider",
+        "type": "address"
+      }
+    ],
+    "name": "getFeeAndOriginalCommitment",
+    "outputs": [
+      {
+        "internalType": "uint128",
+        "name": "feeAmount",
+        "type": "uint128"
+      },
+      {
+        "internalType": "bytes32",
+        "name": "commitment",
+        "type": "bytes32"
+      }
+    ],
+    "stateMutability": "view",
+    "type": "function"
+  },
   {
     "inputs": [
       {
@@ -776,6 +800,35 @@
     "stateMutability": "payable",
     "type": "function"
   },
+  {
+    "inputs": [
+      {
+        "internalType": "address",
+        "name": "provider",
+        "type": "address"
+      },
+      {
+        "internalType": "bytes32",
+        "name": "userRandomNumber",
+        "type": "bytes32"
+      },
+      {
+        "internalType": "bytes32",
+        "name": "providerOriginalCommitment",
+        "type": "bytes32"
+      }
+    ],
+    "name": "requestWithCallback",
+    "outputs": [
+      {
+        "internalType": "uint64",
+        "name": "assignedSequenceNumber",
+        "type": "uint64"
+      }
+    ],
+    "stateMutability": "payable",
+    "type": "function"
+  },
   {
     "inputs": [
       {