Contract ec2c04a1c71b378d7f237bfa0fad08c9556a02f2c53389d562e84cdf6f325985

← Back to Index 📥 Download WASM

Meta

cliver 28.0.0#300aaf69ab100536678bdb641428b06f06b318ea
rssdkver 27.0.6#60926a20d1f9f0a669d5fe551636f42a1302f0c0
rsver 1.98.1

Instances

  • CAJL2JO6EILWBTHDRMIQVJA6MTZIUWHOD6WNVJDN7FWTYD6H3NFXH542
  • CCV2AE6KK5IA3EW3VM5FNQC3NZUMVGLQBEMDFEWTAEFTLNRPVWIYSQJA

Interface

fn owner(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>
fn xrp262_sac(env: soroban_sdk::Env) -> Option

Burn XRP262 held by the Lexora contract through the configured SAC.

fn burn_xrp262(env: soroban_sdk::Env, amount: i128)

Mint XRP262 through the configured SAC.

The Lexora contract itself must be the SAC administrator for this call to succeed on-chain. The policy check happens before the SAC invocation; accounting is updated only after the SAC mint succeeds.

fn mint_xrp262(env: soroban_sdk::Env, to: soroban_sdk::Address, amount: i128)
fn __check_auth(
    env: soroban_sdk::Env,
    signature_payload: soroban_sdk::BytesN<32>,
    signature: soroban_sdk::BytesN<64>,
    auth_context: soroban_sdk::Vec,
) -> Result<(), soroban_sdk::Error>
fn token_status(env: soroban_sdk::Env, asset: AssetId) -> Option
fn __constructor(env: soroban_sdk::Env, public_key: soroban_sdk::BytesN<32>)
fn disable_token(env: soroban_sdk::Env, asset: AssetId)
fn xrp262_policy(env: soroban_sdk::Env) -> Option
fn register_token(env: soroban_sdk::Env, asset: AssetId)
fn can_mint_xrp262(env: soroban_sdk::Env, amount: i128) -> bool
fn strategy_record(
    env: soroban_sdk::Env,
    strategy: soroban_sdk::Address,
) -> Option
fn disable_strategy(env: soroban_sdk::Env, strategy: soroban_sdk::Address)
fn is_token_allowed(env: soroban_sdk::Env, asset: AssetId) -> bool
fn set_xrp262_paused(env: soroban_sdk::Env, paused: bool)
fn authorize_strategy(
    env: soroban_sdk::Env,
    strategy: soroban_sdk::Address,
    max_allocation: i128,
    spending_limit: i128,
)
fn configure_xrp262_sac(
    env: soroban_sdk::Env,
    sac: soroban_sdk::Address,
    expected_asset_code: soroban_sdk::String,
)
fn configure_xrp262_policy(env: soroban_sdk::Env, max_supply: i128)
fn set_xrp262_minting_enabled(env: soroban_sdk::Env, enabled: bool)

Imports

WebAssembly Text (WAT) ▶