Generalized hip-756 with scheduleContractCall
#1096
littletarzan
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Hi @littletarzan , HIP-755 extended the ability to schedule transactions to the EVM service, so all types of Ethereum transactions. You can already test this feature on the testnet, here a useful tutorial: On-Chain Smart Contract Cron Jobs with Hedera Schedule Service I think this poses the basis for what you are asking. The only missing part would be now making the creation of the scheduled transaction available via the HSS precompile (in addition to What do you think? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
HIP-756 introduced the idea of scheduling a contract call using Hedera Schedule Service for the purpose of modifying token entities. However, it's possible to do much more than this by allowing generalized contract calls to be scheduled by HSS. Fundamentally, contract calls consist of a 4 byte function selector and a series of encoded bytes that can be passed to a smart contract using HSS.
HIP-756 can be generalized in the form of a
scheduleContractCall(bytes calldata data)
HTS precompile. This would minimize the size ofIHederaTokenService.sol
and allow smart contract developers maximum freedom for contract calls they can schedule.Beta Was this translation helpful? Give feedback.
All reactions