File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
target_chains/ethereum/contracts Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol b/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
2
+ index 6b08e386..aa34f117 100644
3
+ --- a/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
4
+ +++ b/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
5
+ @@ -12,6 +12,10 @@ import "./PythGetters.sol";
6
+ import "./PythSetters.sol";
7
+ import "./PythInternalStructs.sol";
8
+
9
+ + interface IBlast {
10
+ + function configureClaimableGas() external;
11
+ + }
12
+ +
13
+ abstract contract Pyth is
14
+ PythGetters,
15
+ PythSetters,
16
+ @@ -722,4 +726,9 @@ abstract contract Pyth is
17
+ function version() public pure returns (string memory) {
18
+ return "1.4.3";
19
+ }
20
+ +
21
+ + function configureClaimableGas() external {
22
+ + IBlast(0x4300000000000000000000000000000000000002)
23
+ + .configureClaimableGas();
24
+ + }
25
+ }
Original file line number Diff line number Diff line change
1
+ diff --git a/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol b/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
2
+ index 6b08e386..2c9b4285 100644
3
+ --- a/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
4
+ +++ b/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
5
+ @@ -12,6 +12,10 @@ import "./PythGetters.sol";
6
+ import "./PythSetters.sol";
7
+ import "./PythInternalStructs.sol";
8
+
9
+ + interface ISFS {
10
+ + function register(address recipient) external returns (uint256 tokenId);
11
+ + }
12
+ +
13
+ abstract contract Pyth is
14
+ PythGetters,
15
+ PythSetters,
16
+ @@ -722,4 +726,10 @@ abstract contract Pyth is
17
+ function version() public pure returns (string memory) {
18
+ return "1.4.3";
19
+ }
20
+ +
21
+ + function configureClaimableGas() external {
22
+ + ISFS(0x8680CEaBcb9b56913c519c069Add6Bc3494B7020).register(
23
+ + address(this)
24
+ + );
25
+ + }
26
+ }
You can’t perform that action at this time.
0 commit comments