Is there anything solidity in line that would let a contract with ETH assigned to, to pay gas.
Say I want something simple.
contract whatever {
uint256 one;
uint256 two;
function execute() public {
one = one + two;
//execute contract side
}
}
Does something like that exist? I checked the solidity docs, couldn't find anything to my knowledge.