Skip to content

Releases: onflow/flow-core-contracts

lib/go/templates/v0.7.2

21 Apr 18:11
6b5338c
Compare
Choose a tag to compare

🛠 Improvements

  • Added a script to get the total balance of an account including all staking objects and the (optional) locked accout. (#110)
  • Added a transaction to remove a delegator object from a locked account (#118)
  • Adds FlowStorageFees script to get the usable balance of an account (#154)

lib/go/contracts/v0.7.2

21 Apr 18:12
6b5338c
Compare
Choose a tag to compare

🛠 Improvements

  • Sets minimum default account balance to zero by default. (Tesnet and mainnet is 0.001 FLOW). (#107)
  • Upgrades to the locked tokens contract for staking assertions and remove stake functions. (#118)
  • Upgrades to the locked tokens contract subtract the account minimum balance when getting the locked token balance (#136)
  • Adds FlowStorageFees method to get the usable balance of an account (#154)
  • Updates the FungibleToken dependency to get the latest version of the interface with added pre-condition. (#167)

lib/go/templates/v0.6.0

11 Jan 21:18
Compare
Choose a tag to compare

🛠 Improvements

Staking Templates

  • Update register node transaction to create a public capability to get the accounts node or delegator IDs (#91)
  • Add scripts to query staking info for an account by address: GenerateGetNodeInfoFromAddressScript and GenerateGetDelegatorInfoFromAddressScript (#91)
  • Reorganize staking templates (#92)
  • Add transaction to change payout and end epoch at the same time: GenerateEndEpochChangePayoutScript (#91)

LockedTokens Templates

  • Add scripts for querying node or delegator info from locked accounts by address: GenerateGetLockedStakerInfoScript and GenerateGetLockedDelegatorInfoScript (#89)
  • Change withdraw rewards transactions for locked tokens that withdraw directly to the unlocked account. (#94)

lib/go/contracts/v0.6.0

11 Jan 21:17
Compare
Choose a tag to compare

🛠 Improvements

Staking Contract

  • Add ability to cancel unstaking request by submitting the stake_unstaked_tokens transaction (#88)
  • Added public interfaces to staking contract for querying node or delegator info by address (#91)