Contract 7c25590eb09bcf93065840df7d59dbeafbfc0648731068d5b0fad3b12603dfad

← Back to Index 📥 Download WASM

Meta

cliver 27.0.0#5a7c5fe76530bf4248477ac812fc757146b98cc4
rssdk_spec_shaking 2
rssdkver 27.0.6#60926a20d1f9f0a669d5fe551636f42a1302f0c0
rsver 1.98.1
source_repo github:zenith-protocols/zenex-util-contracts

Instances

  • CDIFOB7JFHWKIWDTMCFWTV2EMYPSLT77KPSXESMZT5W7OSLDAMCAEOTV

Interface

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,
    params: (),
    context_rule: ContextRule,
    smart_account: soroban_sdk::Address,
)
fn uninstall(
    env: soroban_sdk::Env,
    context_rule: ContextRule,
    smart_account: soroban_sdk::Address,
)

Fixes the policy's forwarder, markets, token and fee recipient. There is no way to change them later: a new configuration is a new deployment.

fn __constructor(
    env: soroban_sdk::Env,
    forwarder: soroban_sdk::Address,
    markets: soroban_sdk::Vec,
    token: soroban_sdk::Address,
    fee_recipient: soroban_sdk::Address,
)

Imports

WebAssembly Text (WAT) ▶