Releases: tinymanorg/tinyman-py-sdk
Releases · tinymanorg/tinyman-py-sdk
v2.5.0
v2.4.0
New Features
- Added Tinyman Liquid Staking features; TALGO Staking, Restaking.
Full Changelog: v2.3.0...v2.4.0
v2.3.0
New Features
- Added Tinyman Governance features; Vault, Rewards, Proposal Voting, Staking Voting.
- Added Tinyman Lending Pools feature.
Enhancements
- Several utilities are improved.
- Staking program asset limit is increased to 30.
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Breaking Changes
- AMM V2, the quote calculations will now raise a
LowSwapAmountErrorif the swap amount is too low and doesn't generate a fee. Also, thecalculate_fixed_input_swapfunction will raise aLowSwapAmountErrorinstead of the misleadingInsufficientReserves. - AMM V1, the
fetch_fixed_input_swap_quotefunction will raise aPoolHasNoLiquidityerror instead of a genericException. - AMM V1, the
fetch_fixed_output_swap_quotefunction will raise anInsufficientReserveserror if the output amount is greater than or equal to the output asset reserves.
Enhancements
- Improved the price impact formula and removed unnecessary
absusage. - Moved exception classes from
tinyman.v2.exceptionstotinyman.exceptions.
New Features
- Added low-level swap router support.
- Introduced the
Routeclass and addedget_best_fixed_input_route,get_best_fixed_output_route, andfetch_best_route_suggestionfunctions for route preparation. - Added
prepare_swap_router_transactions,prepare_swap_router_asset_opt_in_transaction, andget_swap_router_app_opt_in_required_asset_idsfunctions for swap router transaction preparation. - Added the
parse_swap_router_event_logfunction to parse swap router application logs.
v2.1.1
v2.1.0
Added
- Added Tinyman V2 (Mainnet) support.
- Added
client_nameattribute toTinymanClientclasses. #51 - Added note to application call transactions. The note (
tinyman/<v1|v2>:j{"origin":"<client-name>"}) follows Algorand Transaction Note Field Conventions ARC-2. #51 - Added
versionproperty andgenerate_app_call_notemethod toTinymanClientclasses. #51 - Added
get_versionandgenerate_app_call_notetotinyman.utils. #51 - Improved error handling #49.
- Added
TealishMap. - Added
AlgodError,LogicError,OverspendErrorexception classes. - Added
amm_approval.map.jsonfor V2.
- Added
v2.0.0
Added
- Added Tinyman V2 (Testnet) support (
tinyman.v2). - Added Staking support (
tinyman.staking).- It allows creating commitment transaction by
prepare_commit_transactionand tracking commitments byparse_commit_transaction.
- It allows creating commitment transaction by
- Added
calculate_price_impactfunction totinyman.utils. - Improved
TransactionGroupclass.- Added
+operator support for composability, it allows creating a new transaction group (txn_group_1 + txn_group_2). - Added
idproperty, it returns the transactions group id. - Added
TransactionGroup.sign_with_logicsigfunction and deprecatedTransactionGroup.sign_with_logicisgbecause of the typo.
- Added
Changed
get_program(V1) is moved fromtinyman.utilstotinyman.v1.contracts.get_state_from_account_info(V1) is moved fromtinyman.utilstotinyman.v1.utils.
Removed
- Deprecated
wait_for_confirmationfunction is removed.wait_for_confirmationis added to Algorand SDK. - Drop Python 3.7 support.