github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-london/difficulty.sol (about) 1 // SPDX-License-Identifier: MIT 2 3 pragma solidity =0.8.17; 4 5 contract Difficulty { 6 7 function diffi() public view returns (uint256 r) { 8 assembly { 9 r := difficulty() 10 } 11 } 12 }