Releases: PotLock/core
Releases · PotLock/core
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_call
is called. - Adds
ft_on_transfer
method to facilitate FT donations - Handles success/failure of donation & fees transfers, rolling back donation if necessary (uses
next_donation_id
to avoid overwrites) - Stores amounts as integers internally instead of strings, making donation storage lower and more predictable
- Introduces ephemeral
DonationExternal
struct 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_fees
andtotal_referrer_fees
toContract
struct - Adds all of above +
total_donations_count
toConfig
struct, which can be fetched usingget_config
method
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_id
inis_registered
method
sybil-v1.1.1
- Patches issue where
account_id
arg was being hardcoded inadd_stamp
flow, rather than usingprovider.account_id_arg_name
registry-v2.0.0
REGISTRY CONTRACT RELEASE
- Update
ProjectStatus
(removeSubmitted
andInReview
, addPending
) - Allow admin to dynamically update
default_project_status
via newadmin_set_default_project_status
method - Deprecate old, unnecessary
project_ids
set - Convert old
projects_by_id
mapping fromLookupMap
toUnorderedMap
for iterability - Add sets of
ProjectId
by status, for efficient querying - Add
contract_source_metadata
- Build Registry contract
- Update README.md
donation-v1.0.0
First production release of Donation contract.