- Cleaning up registry documentation
- Fiat Shamir transform is now public
- The blake2b_224 hash is now used for the fiat shamir transform
This version is contains breaking changes.
- Added minting.quantity_of to prove that some form of minting is occurring then the quantity is returned
- Changing sha3_256 to blake2b_256, it is cheaper to compute
- value.unique_token_name has been changed to the v3 version, no more hashing and has a personal tag feature
- Updated aiken to v1.1.2 and stdlib to v2.1.0
- Added the registry type and related function
- stdlib 2.1.0 forces blake2b_224 upon us, this may change in the future
- Updated toml to Aiken 1.1.0, stdlib main (v2.0.0 should be the tagged release)
- addresses.from_wallet check if wallet is valid else it fails
- All math related modules will be in the maths folder
- All cardano related modules will be in the cardano folder
- All validation related modules will be in the validation folder
- Removed assist top level folder to align with stdlib
- stdlib is tagged at v2.0.0
- Updated readme, Plutus v2 is staying on v0.4.11, v3+ is v0.5.x
- Updating cont integration file
Plutus V2 support will stay on v0.4.x Plutus V3+ support will continue on v0.5.x
- Added a length check for the stake credential inside
addresses.create_address
andaddresses.create_script_address
- Added compatibility matrix to readme in anticipation of Plutus V3
- Updated README with better usage suggestions
- Updated toml with new organization name
- Added compiler and plutus version to toml file.
- 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