fn enforce(
env: soroban_sdk::Env,
context: Context,
authenticated_signers: soroban_sdk::Vec,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
)
fn install(
env: soroban_sdk::Env,
install_params: PolicyInstallParams,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
)
fn uninstall(
env: soroban_sdk::Env,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
)
fn grammar_version(env: soroban_sdk::Env) -> u32
Master-gated circuit breaker: while paused, every oracle_price leaf
for this asset denies on every rule of this account. Keyed on the
account rather than a rule so one call covers the whole account.
fn pause_oracle_policies(
env: soroban_sdk::Env,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
asset: soroban_sdk::Address,
)
fn unpause_oracle_policies(
env: soroban_sdk::Env,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
asset: soroban_sdk::Address,
)
fn rotate_master_signer_set(
env: soroban_sdk::Env,
smart_account: soroban_sdk::Address,
rule_id: u32,
new_set: soroban_sdk::Vec,
)
Pause every oracle-referencing policy on the account, whatever asset.
fn pause_oracle_policies_all(
env: soroban_sdk::Env,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
)
fn unpause_oracle_policies_all(
env: soroban_sdk::Env,
context_rule: ContextRule,
smart_account: soroban_sdk::Address,
)