diff --git a/aptos-move/framework/supra-framework/sources/automation_registry.move b/aptos-move/framework/supra-framework/sources/automation_registry.move index 4bed17d08a7ee..52f7d2d4f0c11 100644 --- a/aptos-move/framework/supra-framework/sources/automation_registry.move +++ b/aptos-move/framework/supra-framework/sources/automation_registry.move @@ -352,10 +352,18 @@ module supra_framework::automation_registry { } #[view] + /// Get registry fee resource account address public fun get_registry_fee_address(): address { account::create_resource_address(&@supra_framework, REGISTRY_RESOURCE_SEED) } + #[view] + /// Ge gas committed for next epoch + public fun get_gas_committed_for_next_epoch(): u64 acquires AutomationRegistry { + let automation_task_metadata = borrow_global(@supra_framework); + automation_task_metadata.gas_committed_for_next_epoch + } + #[test_only] fun initialize_registry_test(supra_framework: &signer, user: &signer) { let user_addr = signer::address_of(user);