Skip to content

Latest commit

 

History

History
165 lines (72 loc) · 4.86 KB

gas_schedule.md

File metadata and controls

165 lines (72 loc) · 4.86 KB

Module 0x2::gas_schedule

Struct GasScheduleUpdated

struct GasScheduleUpdated has copy, drop, store

Struct GasEntry

#[data_struct]
struct GasEntry has copy, drop, store

Resource GasSchedule

struct GasSchedule has key

Struct GasScheduleConfig

#[data_struct]
struct GasScheduleConfig has copy, drop, store

Constants

Function genesis_init

public(friend) fun genesis_init(gas_schedule_config: gas_schedule::GasScheduleConfig)

Function new_gas_schedule_config

Function new_gas_entry

Function update_gas_schedule

public fun update_gas_schedule(account: &signer, gas_schedule_config: vector<u8>)

Function gas_schedule

Function gas_schedule_version

public fun gas_schedule_version(schedule: &gas_schedule::GasSchedule): u64

Function gas_schedule_entries