fn burn(env: soroban_sdk::Env, from: soroban_sdk::Address, amount: i128)
fn mint(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
to: soroban_sdk::Address,
amount: i128,
) -> Result<(), ContractError>
fn name(env: soroban_sdk::Env) -> soroban_sdk::String
fn symbol(env: soroban_sdk::Env) -> soroban_sdk::String
fn approve(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
spender: soroban_sdk::Address,
amount: i128,
expiration_ledger: u32,
)
fn balance(env: soroban_sdk::Env, id: soroban_sdk::Address) -> i128
fn migrate(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
) -> Result<(), ContractError>
fn upgrade(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
new_wasm_hash: soroban_sdk::BytesN<32>,
) -> Result<(), ContractError>
fn version(env: soroban_sdk::Env) -> u32
fn clawback(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
from: soroban_sdk::Address,
amount: i128,
) -> Result<(), ContractError>
fn decimals(env: soroban_sdk::Env) -> u32
fn get_role(env: soroban_sdk::Env, role_id: soroban_sdk::BytesN<32>) -> Option
fn get_user(
env: soroban_sdk::Env,
wallet_address: soroban_sdk::Address,
) -> Option
fn transfer(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
to: soroban_sdk::Address,
amount: i128,
)
fn allowance(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
spender: soroban_sdk::Address,
) -> i128
fn burn_from(
env: soroban_sdk::Env,
spender: soroban_sdk::Address,
from: soroban_sdk::Address,
amount: i128,
)
fn thaw_user(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
) -> Result<(), ContractError>
fn update_nav(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
actual_nav: u64,
expected_nav: u64,
) -> Result<(), ContractError>
fn create_role(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
role_name: soroban_sdk::String,
actions: soroban_sdk::Vec,
) -> Result<(), ContractError>
fn create_user(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
user_type: UserType,
jurisdiction_type: JurisdictionType,
) -> Result<(), ContractError>
fn freeze_user(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
) -> Result<(), ContractError>
fn init_system(
env: soroban_sdk::Env,
authority: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
role_name: soroban_sdk::String,
actions: soroban_sdk::Vec,
) -> Result<(), ContractError>
fn modify_user(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
new_role_id: Option>,
new_user_type: Option,
jurisdiction_type: Option,
) -> Result<(), ContractError>
fn role_exists(env: soroban_sdk::Env, role_id: soroban_sdk::BytesN<32>) -> bool
fn user_exists(env: soroban_sdk::Env, wallet_address: soroban_sdk::Address) -> bool
fn get_nav_data(env: soroban_sdk::Env) -> Option
fn total_supply(env: soroban_sdk::Env) -> i128
fn __constructor(env: soroban_sdk::Env, deployer: soroban_sdk::Address)
fn add_dst_entry(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
year: u32,
year_start_timestamp: u64,
dst_start: u64,
dst_end: u64,
) -> Result<(), ContractError>
fn transfer_from(
env: soroban_sdk::Env,
spender: soroban_sdk::Address,
from: soroban_sdk::Address,
to: soroban_sdk::Address,
amount: i128,
)
fn whitelist_add(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
account: soroban_sdk::Address,
attestation_key: Option>,
) -> Result<(), ContractError>
fn get_actual_nav(env: soroban_sdk::Env) -> Result
fn get_mint_limit(env: soroban_sdk::Env) -> i128
fn is_initialized(env: soroban_sdk::Env) -> bool
fn set_mint_limit(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
limit: i128,
) -> Result<(), ContractError>
fn subscribe_fiat(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
investor: soroban_sdk::Address,
token_amount: i128,
attestation_signer: soroban_sdk::BytesN<32>,
attestation_timestamp: u64,
attestation_signature: soroban_sdk::BytesN<64>,
attestation_nonce: u64,
) -> Result
fn deactivate_role(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
) -> Result<(), ContractError>
fn get_current_nav(env: soroban_sdk::Env) -> Result
fn nav_data_exists(env: soroban_sdk::Env) -> bool
fn reactivate_role(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
) -> Result<(), ContractError>
fn whitelist_check(env: soroban_sdk::Env, account: soroban_sdk::Address) -> bool
fn get_dst_schedule(
env: soroban_sdk::Env,
) -> Result, ContractError>
fn get_expected_nav(env: soroban_sdk::Env) -> Result
fn modify_user_role(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
new_role_id: soroban_sdk::BytesN<32>,
) -> Result<(), ContractError>
fn modify_user_type(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
new_user_type: UserType,
jurisdiction_type: Option,
) -> Result<(), ContractError>
fn remove_dst_entry(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
year: u32,
) -> Result<(), ContractError>
fn token_initialize(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
name: soroban_sdk::String,
symbol: soroban_sdk::String,
decimals: u32,
) -> Result<(), ContractError>
fn whitelist_remove(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
account: soroban_sdk::Address,
) -> Result<(), ContractError>
fn spendable_balance(env: soroban_sdk::Env, id: soroban_sdk::Address) -> i128
fn transfer_validate(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
to: soroban_sdk::Address,
amount: i128,
) -> bool
fn update_actual_nav(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
actual_nav: u64,
) -> Result<(), ContractError>
fn add_action_to_role(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
action: Action,
) -> Result<(), ContractError>
fn get_custody_wallet(env: soroban_sdk::Env) -> Option
fn get_market_session(
env: soroban_sdk::Env,
) -> Result
fn get_mint_authority(env: soroban_sdk::Env) -> Option
fn redeem_fiat_cancel(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
nonce: u64,
) -> Result<(), ContractError>
fn set_custody_wallet(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet: soroban_sdk::Address,
) -> Result<(), ContractError>
fn transfer_authorize(
env: soroban_sdk::Env,
from: soroban_sdk::Address,
to: soroban_sdk::Address,
amount: i128,
)
fn initialize_nav_data(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
oracle_address: soroban_sdk::Address,
feed_id: soroban_sdk::BytesN<32>,
actual_nav: u64,
expected_nav: u64,
daily_price_change_limit_bps: u32,
max_daily_updates: u32,
market_open_time: u32,
market_close_time: u32,
) -> Result<(), ContractError>
fn redeem_fiat_request(
env: soroban_sdk::Env,
investor: soroban_sdk::Address,
token_amount: i128,
) -> Result
fn update_dst_schedule(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
schedule: soroban_sdk::Vec,
) -> Result<(), ContractError>
fn update_expected_nav(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
expected_nav: u64,
) -> Result<(), ContractError>
fn update_market_hours(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
market_open_time: u32,
market_close_time: u32,
) -> Result<(), ContractError>
fn user_has_permission(
env: soroban_sdk::Env,
wallet_address: soroban_sdk::Address,
action: Action,
) -> bool
fn whitelist_batch_add(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
accounts: soroban_sdk::Vec,
attestation_keys: Option>>,
) -> Result<(), ContractError>
fn get_migrated_version(env: soroban_sdk::Env) -> u32
fn redeem_fiat_finalize(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
nonce: u64,
) -> Result<(), ContractError>
fn subscribe_stablecoin(
env: soroban_sdk::Env,
investor: soroban_sdk::Address,
stablecoin: soroban_sdk::Address,
amount: i128,
attestation_signer: soroban_sdk::BytesN<32>,
attestation_timestamp: u64,
attestation_signature: soroban_sdk::BytesN<64>,
attestation_nonce: u64,
) -> Result
fn token_is_initialized(env: soroban_sdk::Env) -> bool
fn update_nav_with_prev(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
actual_nav: u64,
expected_nav: u64,
prev_expected_nav: Option,
prev_actual_nav: Option,
) -> Result<(), ContractError>
fn get_effective_fee_bps(
env: soroban_sdk::Env,
stablecoin: soroban_sdk::Address,
) -> (u32, u32)
fn set_user_jurisdiction(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet_address: soroban_sdk::Address,
jurisdiction_type: JurisdictionType,
) -> Result<(), ContractError>
fn update_oracle_address(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
oracle_address: soroban_sdk::Address,
) -> Result<(), ContractError>
fn clawback_full_position(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
from: soroban_sdk::Address,
) -> Result<(), ContractError>
fn get_custody_fee_wallet(env: soroban_sdk::Env) -> Option
fn get_redemption_fee_bps(env: soroban_sdk::Env) -> u32
fn get_redemption_request(
env: soroban_sdk::Env,
nonce: u64,
) -> Option
fn set_custody_fee_wallet(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
wallet: soroban_sdk::Address,
) -> Result<(), ContractError>
fn update_nav_constraints(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
daily_price_change_limit_bps: u32,
max_daily_updates: u32,
) -> Result<(), ContractError>
fn update_nav_from_oracle(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
signed_report: soroban_sdk::Bytes,
) -> Result<(), ContractError>
fn whitelist_batch_remove(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
accounts: soroban_sdk::Vec,
) -> Result<(), ContractError>
fn get_attestation_message(env: soroban_sdk::Env) -> Option
fn is_supported_stablecoin(
env: soroban_sdk::Env,
stablecoin: soroban_sdk::Address,
) -> bool
fn remove_action_from_role(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
role_id: soroban_sdk::BytesN<32>,
action: Action,
) -> Result<(), ContractError>
fn set_attestation_message(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
prefix: soroban_sdk::String,
) -> Result<(), ContractError>
fn update_expected_feed_id(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
feed_id: soroban_sdk::BytesN<32>,
) -> Result<(), ContractError>
fn add_supported_stablecoin(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
stablecoin: soroban_sdk::Address,
) -> Result<(), ContractError>
fn circuit_breaker_activate(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
) -> Result<(), ContractError>
fn get_subscription_fee_bps(env: soroban_sdk::Env) -> u32
fn get_user_attestation_key(
env: soroban_sdk::Env,
user: soroban_sdk::Address,
) -> Option>
fn redeem_stablecoin_revert(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
request_id: u64,
) -> Result<(), ContractError>
fn set_user_attestation_key(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
user: soroban_sdk::Address,
attestation_key: soroban_sdk::BytesN<32>,
) -> Result<(), ContractError>
fn transfer_get_max_holders(env: soroban_sdk::Env) -> u32
fn transfer_set_max_holders(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
max_holders: u32,
) -> Result
fn circuit_breaker_is_active(env: soroban_sdk::Env) -> bool
fn get_max_redemption_tokens(env: soroban_sdk::Env) -> i128
fn redeem_stablecoin_approve(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
request_id: u64,
stablecoin_transfer_hash: soroban_sdk::String,
) -> Result<(), ContractError>
fn redeem_stablecoin_request(
env: soroban_sdk::Env,
investor: soroban_sdk::Address,
stablecoin: soroban_sdk::Address,
token_amount: i128,
) -> Result
fn set_max_redemption_tokens(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
tokens: i128,
) -> Result<(), ContractError>
fn set_redemption_fee_config(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
fee_bps: u32,
) -> Result<(), ContractError>
fn set_stablecoin_fee_config(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
stablecoin: soroban_sdk::Address,
subscription_fee_bps: u32,
redemption_fee_bps: u32,
) -> Result<(), ContractError>
fn transfer_get_holder_count(env: soroban_sdk::Env) -> u32
fn circuit_breaker_deactivate(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
) -> Result<(), ContractError>
fn get_last_accepted_nav_date(env: soroban_sdk::Env) -> u64
fn get_max_pending_stb_redeem(env: soroban_sdk::Env) -> u32
fn get_min_initial_sub_amount(env: soroban_sdk::Env, user_type: UserType) -> i128
fn set_max_pending_stb_redeem(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
max: u32,
) -> Result<(), ContractError>
fn set_min_initial_sub_amount(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
user_type: UserType,
amount: i128,
) -> Result<(), ContractError>
fn update_max_oracle_data_age(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
max_age: u64,
) -> Result<(), ContractError>
fn get_max_subscription_amount(env: soroban_sdk::Env) -> i128
fn get_min_subscription_amount(env: soroban_sdk::Env) -> i128
fn remove_supported_stablecoin(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
stablecoin: soroban_sdk::Address,
) -> Result<(), ContractError>
fn set_max_subscription_amount(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
amount: i128,
) -> Result<(), ContractError>
fn set_min_subscription_amount(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
amount: i128,
) -> Result<(), ContractError>
fn set_subscription_fee_config(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
fee_bps: u32,
) -> Result<(), ContractError>
fn execute_privileged_operation(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
required_action: Action,
) -> Result
fn get_fiat_signature_staleness(env: soroban_sdk::Env) -> u64
fn get_stablecoin_sig_staleness(env: soroban_sdk::Env) -> u64
fn remove_stablecoin_fee_config(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
stablecoin: soroban_sdk::Address,
) -> Result<(), ContractError>
fn set_fiat_signature_staleness(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
seconds: u64,
) -> Result<(), ContractError>
fn set_stablecoin_sig_staleness(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
seconds: u64,
) -> Result<(), ContractError>
fn get_stablecoin_redeem_request(
env: soroban_sdk::Env,
request_id: u64,
) -> Option
fn get_current_subscription_limit(
env: soroban_sdk::Env,
investor: soroban_sdk::Address,
) -> Result<(i128, Option), ContractError>
fn get_pending_stb_redemption_ids(env: soroban_sdk::Env) -> soroban_sdk::Vec
fn get_pending_fiat_redemption_ids(env: soroban_sdk::Env) -> soroban_sdk::Vec
fn transfer_get_min_holder_balance(env: soroban_sdk::Env) -> i128
fn transfer_set_min_holder_balance(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
threshold: i128,
) -> Result
fn get_max_pending_fiat_redemptions(env: soroban_sdk::Env) -> u32
fn set_max_pending_fiat_redemptions(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
max: u32,
) -> Result<(), ContractError>