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 STAKE_APP_CREATE: BaseUnits = _;
}
Expand description

Module configuration.

Provided Associated Constants§

source

const GAS_COST_CALL_CREATE: u64 = 100_000u64

Gas cost of rofl.Create call.

source

const GAS_COST_CALL_UPDATE: u64 = 100_000u64

Gas cost of rofl.Update call.

source

const GAS_COST_CALL_REMOVE: u64 = 10_000u64

Gas cost of rofl.Remove call.

source

const GAS_COST_CALL_REGISTER: u64 = 100_000u64

Gas cost of rofl.Register call.

source

const GAS_COST_CALL_IS_AUTHORIZED_ORIGIN: u64 = 1_000u64

Gas cost of rofl.IsAuthorizedOrigin call.

source

const GAS_COST_CALL_AUTHORIZED_ORIGIN_NODE: u64 = 2_000u64

Gas cost of rofl.AuthorizedOriginNode call.

source

const GAS_COST_CALL_AUTHORIZED_ORIGIN_ENTITY: u64 = 2_000u64

Gas cost of rofl.AuthorizedOriginEntity call.

source

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.

Implementors§