withdraw_gas, but directly receives BuiltinCosts, which enables optimizations
by removing the need for repeated internal calls for fetching the table of constants that may
internally happen in calls to withdraw_gas.
Should be used with caution.
withdraw_gas, but directly receives BuiltinCosts, which enables optimizations
by removing the need for repeated internal calls for fetching the table of constants that may
internally happen in calls to withdraw_gas.
Should be used with caution.
pub extern fn withdraw_gas_all(costs: BuiltinCosts) -> Option implicits(RangeCheck, GasBuiltin) nopanic;
Was this page helpful?