- Added a length check for the stake credential inside
addresses.create_address
andaddresses.create_script_address
.
- Added additional tests for the Moment type
This version is contains breaking changes.
- Updating Aiken to 1.0.28 and stdlib to 1.9.0
- Dicts are now Pairs where applicable, dict.get -> pairs.get_first
- Updated README with the
aiken packages add
function - Fixed formatting in the CONTRIBUTING file
This version is contains breaking changes.
- Updating documentation
- Functions should be curryable, f |> g |> h. An updated list of functions are below.
- values.contains
- values.prove_nft
- values.prove_exact_nft
- token.exists
- token.contains
- values.unique_token_name will remove the hash function in step one for versions of assist v0.5.0+
- v0.4.x will keep the hash function to prevent breaking old code
- Addresses now have notes about key length validity checks. Please use Wallet types with
wallet.is_valid
. - data.metadata has been removed. Use
CIP68.get
instead. - maths.to_int and maths.from_int will use bytearray conversions in assist v0.5.0+
- Added additional tests for finding inputs and outputs using
values.contains
- Updated to Aiken 1.0.26
- Updated to stdlib 1.8.0
- Update CIP68 Data Structure
- Changed cip68.get, it loops a list instead of doing a dict.get
- Added
input_by_nft
to the find submodule. - Added additional power mod tests.
- A large prime number has been added to maths.
- Prefixes are now placed where they belong, the cip68 labels are now in cip68 sub type and prefixes are now custom prefixes.
- Added
seed
prefix.
- Added the
Wallets
type andto_vks
to the wallet submodule. - Added
get
andversion
to the cip68 submodule. - Added
shift
to the moment submodule. tests/fake_tx
are now apart ofassist
.- Added
contains
to the token submodule.
- Documentation is now hosted at logicalmechanism.io
- Added
from_value
to the token submodule. - Updated
values.multiply
, it should be must faster now. - Tested against Aiken 1.0.23
- Added
is_valid
to the wallet submodule. - Changed
add_tokens_to_value
from private to public in the token type submodule. - Added
multiply
andsubtraction_only
to the token type submodule. - Added a
Moments
type to the moment submodule. - Added
inputs_by_vkh
andoutputs_by_vkh
in count sub module. - Updated
single_input_with_bypass
to check for vkh equality in the count sub module. - Added additional functions to the token type submodule
- Added
from_tokens
to the value sub module.
- Updated moment
is_contained
to check if a validity range is inside a moment. - Wrote additional tests for moment and payout
- Updated README
- Added
addition_only
to the token submodule. - Added
CONTRIBUTING.md
This version is contains breaking changes.
- Refactored types to prevent future name collisions
- Added
output_datum_by_nft
to the find submodule. - All tests should be type annotated.
- Use stdlib 1.7.0 and not
main
branch. - Readme suggests using tag versions instead of
main
branch.
This version is contains breaking changes.
- General data types from assist are now used in function definitions. See
types.ak
. - Refactored how assist types are used in functions.
from_wallet
andfrom_token
are now in addresses and values respectively.- Added
is_spending_input
to check if an output reference is being spent. total_token_amount
is moved totx.ak
and refactored.- Fail messages are more specific to the function.
- All
&&
and||
are nowand
andor
. - Added
metadata
to find data from a cip68 metadatum type.
- Improved the counting functions to account for datum hashes.
- Improved documentation.
- Added arithmetic circuit and boolean logic
- Added input / output datum by hash functions
- Added more functionality to the fake tx for testing.
- Upgraded aiken to 1.21
- Functions that fail now have tests that check for fails.
- Using
and
instead of&&
insideif-else
control flows. - Improved the README.
- Upgrade to aiken 1.20.
- Upgrade to aiken 1.19 and stdlib 1.6.
prefixes.prefix_555
is removed.- @nikhils9 added in
output_by_addr_value
andoutput_by_value
payout.atleast
is refactored usingvalue.contains
- pub fn that are wrappers now use the do_fn syntax to align with stdlib.
- Upgrade to Aiken 1.14 and stdlib 1.5, list.and and list.or have been removed.
- Added in a function to calculate the total amount of some specific token inside all the transaction inputs.
- Two new prefixes are now added, callable and database.
- The 555 prefix is being depreciated and will be removed in v0.2.4.
- Added in a function to check if a mint is occurring inside a transaction.
- Added minting functions for exact mints and by_prefix mints.
- A experimental cip68 prefix has been added to prefixes.
- CIP68 prefixes have been fixed. The unique token name function still produces correct names but any length checks needs to be adjusted. New prefix length is now 4.
- Does not work with Aiken versions below v1.0.7-alpha Aiken and v1.1.0 Stdlib.
- Fake Tx is updated with new
MintedValue
type. - Value add is now value merge. All Values functions have been updated.
- Works with v1.0.6-alpha Aiken and v1.0.0 Stdlib