Skip to content

Releases: PotLock/core

lists-v1.0.0

27 Mar 15:13
7937ed4
Compare
Choose a tag to compare

Lists contract MVP

donation-v3.0.1

20 Mar 17:29
0257aac
Compare
Choose a tag to compare

Patch for "number out of range" error in JSON args due to conversion of U128 to u128

donation-v3.0.0

19 Mar 13:52
c996000
Compare
Choose a tag to compare

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

20 Feb 17:01
5fde52b
Compare
Choose a tag to compare

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 and total_referrer_fees to Contract struct
  • Adds all of above + total_donations_count to Config struct, which can be fetched using get_config method

potfactory-v1.0.0

16 Feb 12:57
2db43b1
Compare
Choose a tag to compare

First PotFactory release, audited by Ottersec

pot-v1.0.0

16 Feb 12:57
2db43b1
Compare
Choose a tag to compare

First release of Pot contract, audited by Ottersec

registry-v2.0.1

13 Feb 17:12
1f279e4
Compare
Choose a tag to compare
  • Check for approved account_id in is_registered method

sybil-v1.1.1

12 Feb 17:17
e88dde6
Compare
Choose a tag to compare
  • Patches issue where account_id arg was being hardcoded in add_stamp flow, rather than using provider.account_id_arg_name

registry-v2.0.0

02 Feb 16:03
51974b2
Compare
Choose a tag to compare

REGISTRY CONTRACT RELEASE

  • Update ProjectStatus (remove Submitted and InReview, add Pending)
  • Allow admin to dynamically update default_project_status via new admin_set_default_project_status method
  • Deprecate old, unnecessary project_ids set
  • Convert old projects_by_id mapping from LookupMap to UnorderedMap 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

31 Jan 16:08
Compare
Choose a tag to compare

First production release of Donation contract.