Term Structure Python SDK
0.1.0
Overview
Basic Usage
Advanced Usage
API Reference
Term Structure Python SDK
Index
Index
A
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
P
|
R
|
S
|
T
|
V
|
W
|
Z
A
aclose() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
add_collateral() (term_structure.models.contract_client.ContractClient method)
add_collateral_by_loan_id_with_allowance_check() (term_structure.models.contract_broker.ContractBroker method)
add_collateral_by_loan_info() (term_structure.models.contract_broker.ContractBroker method)
approve_tokens() (term_structure.models.contract_client.ContractClient method)
approve_tokens_by_contract_address() (term_structure.models.contract_client.ContractClient method)
AsyncExchangeBroker (class in term_structure.models.async_exchange_broker)
AsyncExchangeClient (class in term_structure.models.async_exchange_client)
AsyncMultipleWalletExchangeBroker (class in term_structure.models.async_multiple_wallet_exchange_broker)
AsyncSingleWalletExchangeBroker (class in term_structure.models.async_single_wallet_exchange_broker)
C
cancel_primary_order() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
cancel_primary_order_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
cancel_secondary_order() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
cancel_secondary_order_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
chain_id (term_structure.schemas.ExchangeConfig property)
connect() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
ContractBroker (class in term_structure.models.contract_broker)
ContractClient (class in term_structure.models.contract_client)
create_web3() (term_structure.models.contract_client.ContractClient static method)
D
deposit() (term_structure.models.contract_client.ContractClient method)
deposit_with_allowance_check() (term_structure.models.contract_broker.ContractBroker method)
E
epoch (term_structure.schemas.ExchangeConfig property)
exchange_config (term_structure.models.async_exchange_broker.AsyncExchangeBroker property)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker property)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker property)
exchange_info (term_structure.models.async_exchange_broker.AsyncExchangeBroker property)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker property)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker property)
ExchangeConfig (class in term_structure.schemas)
ExchangeInfo (class in term_structure.schemas)
F
force_withdraw() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
G
get_account() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_account_address() (term_structure.models.contract_client.ContractClient method)
get_account_address_by_account_id() (term_structure.models.contract_broker.ContractBroker method)
get_account_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_account_id() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_account_id_by_account_address() (term_structure.models.contract_broker.ContractBroker method)
get_asset_balance() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_asset_config() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_asset_config_by_id() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_asset_id() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_assets() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_assets_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_base_token_prices() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_by_path() (term_structure.schemas.ExchangeConfig method)
get_deposit_history() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_deposit_history_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_ether_balance() (term_structure.models.contract_client.ContractClient method)
get_exchange_config() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_exchange_info() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_health_factor() (term_structure.models.contract_client.ContractClient method)
get_health_factor_by_loan_id() (term_structure.models.contract_broker.ContractBroker method)
get_health_factor_by_loan_info() (term_structure.models.contract_broker.ContractBroker method)
get_latest_asset_price_data() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_latest_asset_price_data_by_id() (term_structure.models.contract_client.ContractClient method)
get_liquidation_factor() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_loan_amount() (term_structure.models.contract_client.ContractClient method)
get_loan_amount_by_loan_id() (term_structure.models.contract_broker.ContractBroker method)
get_loan_amount_by_loan_info() (term_structure.models.contract_broker.ContractBroker method)
get_loan_dict() (term_structure.models.contract_broker.ContractBroker method)
get_loan_dict_by_id() (term_structure.models.contract_broker.ContractBroker method)
get_loan_history() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_loan_history_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_loan_id() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_loans() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_loans_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_max_removable_collateral_amount_by_loan_id() (term_structure.models.contract_broker.ContractBroker method)
get_max_removable_collateral_amount_by_loan_info() (term_structure.models.contract_broker.ContractBroker method)
get_minimum_deposit_amount() (term_structure.models.contract_broker.ContractBroker method)
get_normalized_asset_price() (term_structure.models.contract_broker.ContractBroker method)
get_normalized_asset_price_by_id() (term_structure.models.contract_broker.ContractBroker method)
get_opened_orders() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_opened_orders_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_orders_history() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_orders_history_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_pending_balance() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_primary_auction_time() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_primary_candlesticks() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_primary_ticker() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_primary_tickers() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_redeem_history() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_redeem_history_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_repay_history() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_repay_history_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
get_secondary_candlesticks() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_secondary_orderbook() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_secondary_ticker() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_secondary_tickers() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_secondary_trades() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_server_time() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_token_allowance() (term_structure.models.contract_client.ContractClient method)
get_token_allowance_by_contract_address() (term_structure.models.contract_client.ContractClient method)
get_token_balance() (term_structure.models.contract_client.ContractClient method)
get_token_balance_by_contract_address() (term_structure.models.contract_client.ContractClient method)
get_token_decimals_by_contract_address() (term_structure.models.contract_client.ContractClient method)
get_token_info() (term_structure.models.contract_broker.ContractBroker method)
get_token_info_by_contract_address() (term_structure.models.contract_broker.ContractBroker method)
get_token_name_by_contract_address() (term_structure.models.contract_client.ContractClient method)
get_token_symbol_by_contract_address() (term_structure.models.contract_client.ContractClient method)
get_token_total_supply_by_contract_address() (term_structure.models.contract_client.ContractClient method)
get_tsb_token_address() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
get_tsb_token_info() (term_structure.models.contract_broker.ContractBroker method)
get_uint_max() (term_structure.models.contract_client.ContractClient static method)
get_utc_date_str() (term_structure.models.contract_client.ContractClient static method)
get_utc_timestamp() (term_structure.models.contract_client.ContractClient static method)
get_v1_account_info() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_asset_info() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_base_token_prices() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_deposit_history() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_exchange_config() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_exchange_info() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_loan_history() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_loan_info() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_opened_orders() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_orders_history() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_primary_auction_time() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_primary_candlesticks() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_primary_ticker() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_primary_tickers() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_redeem_history() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_repay_history() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_secondary_candlesticks() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_secondary_orderbook() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_secondary_ticker() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_secondary_tickers() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_secondary_trades() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_server_time() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_v1_withdraw_history() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
get_withdraw_history() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
get_withdraw_history_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
H
handle_contract_error() (term_structure.models.contract_client.ContractClient method)
I
is_valid_l1_address() (term_structure.models.contract_client.ContractClient static method)
L
last_updated_time (term_structure.schemas.ExchangeConfig attribute)
(term_structure.schemas.ExchangeInfo attribute)
load_json_by_path() (term_structure.models.contract_client.ContractClient static method)
ltv_config (term_structure.schemas.ExchangeConfig property)
M
main_token_name_to_primary_market_map (term_structure.schemas.ExchangeInfo property)
model_computed_fields (term_structure.schemas.ExchangeConfig attribute)
(term_structure.schemas.ExchangeInfo attribute)
module
term_structure.models.async_exchange_broker
term_structure.models.async_exchange_client
term_structure.models.async_multiple_wallet_exchange_broker
term_structure.models.async_single_wallet_exchange_broker
term_structure.models.contract_broker
term_structure.models.contract_client
term_structure.schemas
P
place_primary_borrow_order() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
place_primary_borrow_order_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
place_primary_lend_order() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
place_primary_lend_order_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
place_secondary_limit_order() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
place_secondary_limit_order_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
place_secondary_market_order() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
place_secondary_market_order_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
post_v1_primary_cancel_order() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
post_v1_primary_place_borrow_order() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
post_v1_primary_place_lend_order() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
post_v1_primary_redeem() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
post_v1_secondary_cancel_order() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
post_v1_secondary_place_order() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
post_v1_trader_api_key() (term_structure.models.async_exchange_client.AsyncExchangeClient method)
R
raw (term_structure.schemas.ExchangeConfig attribute)
(term_structure.schemas.ExchangeInfo attribute)
redeem() (term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
(term_structure.models.contract_client.ContractClient method)
redeem_asset_by_asset_info() (term_structure.models.contract_broker.ContractBroker method)
redeem_asset_by_tsb_token_address() (term_structure.models.contract_broker.ContractBroker method)
redeem_by_identity() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
register() (term_structure.models.contract_client.ContractClient method)
register_with_allowance_check() (term_structure.models.contract_broker.ContractBroker method)
remove_collateral() (term_structure.models.contract_client.ContractClient method)
remove_collateral_by_loan_id() (term_structure.models.contract_broker.ContractBroker method)
remove_collateral_by_loan_info() (term_structure.models.contract_broker.ContractBroker method)
repay() (term_structure.models.contract_client.ContractClient method)
repay_by_loan_id_with_allowance_check() (term_structure.models.contract_broker.ContractBroker method)
repay_by_loan_info() (term_structure.models.contract_broker.ContractBroker method)
resolve_loan_id() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
S
symbol_to_secondary_market_map (term_structure.schemas.ExchangeInfo property)
sync_exchange_config() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
sync_exchange_info() (term_structure.models.async_exchange_broker.AsyncExchangeBroker method)
(term_structure.models.async_multiple_wallet_exchange_broker.AsyncMultipleWalletExchangeBroker method)
(term_structure.models.async_single_wallet_exchange_broker.AsyncSingleWalletExchangeBroker method)
T
term_structure.models.async_exchange_broker
module
term_structure.models.async_exchange_client
module
term_structure.models.async_multiple_wallet_exchange_broker
module
term_structure.models.async_single_wallet_exchange_broker
module
term_structure.models.contract_broker
module
term_structure.models.contract_client
module
term_structure.schemas
module
token_id_to_token_map (term_structure.schemas.ExchangeConfig property)
token_name_to_token_map (term_structure.schemas.ExchangeConfig property)
V
validate_deposit_amount() (term_structure.models.contract_broker.ContractBroker method)
W
withdraw() (term_structure.models.contract_broker.ContractBroker method)
(term_structure.models.contract_client.ContractClient method)
Z
zk_ture_up_address (term_structure.schemas.ExchangeConfig property)