Releases: PotLock/core
Releases · PotLock/core
voting-v1.0.0
Voting contract v1, mainly to allow pots use votes to allocate funds, but will be multipurpose.
lists-v1.1.0
Patch Lists contract to allow creating list with registrations in a single cal, plus bug fixes
lists-v1.0.0
Lists contract MVP
donation-v3.0.1
Patch for "number out of range" error in JSON args due to conversion of U128 to u128
donation-v3.0.0
Motivation: Allow FT donations on Donation contract, and reduce storage costs for donations while making storage more predictable.
- Adds a very basic implementation of storage standard to facilitate FT donations, where deposit to store donation is required before
ft_transfer_callis called. - Adds
ft_on_transfermethod to facilitate FT donations - Handles success/failure of donation & fees transfers, rolling back donation if necessary (uses
next_donation_idto avoid overwrites) - Stores amounts as integers internally instead of strings, making donation storage lower and more predictable
- Introduces ephemeral
DonationExternalstruct to convert amount integers to strings for return values / view methods.
donation-v2.0.0
Motivation: fast querying of top-level stats for contract, to avoid multi-page queries and resulting latency in client apps.
- Adds
total_donations_amount,net_donations_amount,total_protocol_feesandtotal_referrer_feestoContractstruct - Adds all of above +
total_donations_counttoConfigstruct, which can be fetched usingget_configmethod
potfactory-v1.0.0
First PotFactory release, audited by Ottersec
pot-v1.0.0
First release of Pot contract, audited by Ottersec
registry-v2.0.1
- Check for approved
account_idinis_registeredmethod
sybil-v1.1.1
- Patches issue where
account_idarg was being hardcoded inadd_stampflow, rather than usingprovider.account_id_arg_name