Explorar o código

chore(target_chains/ethereum): add gas claim for blast

Ali Behjati hai 1 ano
pai
achega
21f48f3f43
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

+ 9 - 0
target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

@@ -12,6 +12,10 @@ import "./PythGetters.sol";
 import "./PythSetters.sol";
 import "./PythInternalStructs.sol";
 
+interface IBlast {
+    function configureClaimableGas() external;
+}
+
 abstract contract Pyth is
     PythGetters,
     PythSetters,
@@ -722,4 +726,9 @@ abstract contract Pyth is
     function version() public pure returns (string memory) {
         return "1.4.3";
     }
+
+    function configureClaimableGas() external {
+        IBlast(0x4300000000000000000000000000000000000002)
+            .configureClaimableGas();
+    }
 }