Trait oasis_runtime_sdk::modules::rofl::Config
source · pub trait Config: 'static {
const GAS_COST_CALL_CREATE: u64 = 100_000u64;
const GAS_COST_CALL_UPDATE: u64 = 100_000u64;
const GAS_COST_CALL_REMOVE: u64 = 10_000u64;
const GAS_COST_CALL_REGISTER: u64 = 100_000u64;
const GAS_COST_CALL_IS_AUTHORIZED_ORIGIN: u64 = 1_000u64;
const GAS_COST_CALL_AUTHORIZED_ORIGIN_NODE: u64 = 2_000u64;
const GAS_COST_CALL_AUTHORIZED_ORIGIN_ENTITY: u64 = 2_000u64;
const GAS_COST_CALL_STAKE_THRESHOLDS: u64 = 10u64;
const STAKE_APP_CREATE: BaseUnits = _;
}
Expand description
Module configuration.
Provided Associated Constants§
sourceconst GAS_COST_CALL_CREATE: u64 = 100_000u64
const GAS_COST_CALL_CREATE: u64 = 100_000u64
Gas cost of rofl.Create call.
sourceconst GAS_COST_CALL_UPDATE: u64 = 100_000u64
const GAS_COST_CALL_UPDATE: u64 = 100_000u64
Gas cost of rofl.Update call.
sourceconst GAS_COST_CALL_REMOVE: u64 = 10_000u64
const GAS_COST_CALL_REMOVE: u64 = 10_000u64
Gas cost of rofl.Remove call.
sourceconst GAS_COST_CALL_REGISTER: u64 = 100_000u64
const GAS_COST_CALL_REGISTER: u64 = 100_000u64
Gas cost of rofl.Register call.
sourceconst GAS_COST_CALL_IS_AUTHORIZED_ORIGIN: u64 = 1_000u64
const GAS_COST_CALL_IS_AUTHORIZED_ORIGIN: u64 = 1_000u64
Gas cost of rofl.IsAuthorizedOrigin call.
sourceconst GAS_COST_CALL_AUTHORIZED_ORIGIN_NODE: u64 = 2_000u64
const GAS_COST_CALL_AUTHORIZED_ORIGIN_NODE: u64 = 2_000u64
Gas cost of rofl.AuthorizedOriginNode call.
sourceconst GAS_COST_CALL_AUTHORIZED_ORIGIN_ENTITY: u64 = 2_000u64
const GAS_COST_CALL_AUTHORIZED_ORIGIN_ENTITY: u64 = 2_000u64
Gas cost of rofl.AuthorizedOriginEntity call.
sourceconst GAS_COST_CALL_STAKE_THRESHOLDS: u64 = 10u64
const GAS_COST_CALL_STAKE_THRESHOLDS: u64 = 10u64
Gas cost of rofl.StakeThresholds call.
sourceconst STAKE_APP_CREATE: BaseUnits = _
const STAKE_APP_CREATE: BaseUnits = _
Amount of stake required for maintaining an application.
The stake is held in escrow and is returned to the administrator when the application is removed.
Object Safety§
This trait is not object safe.