staking-contract
staking-contract copied to clipboard
This repository is the central portal that collates together the contracts, documentations around them, unit tests, and scripts to deploy and run the contracts on the network.
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) and [cross-fetch](https://github.com/lquixada/cross-fetch). These dependencies needed to be updated together. Updates `node-fetch` from 2.1.2 to 2.6.9 Release notes Sourced from node-fetch's releases. v2.6.9 2.6.9 (2023-01-30) Bug Fixes "global is...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.8.9 to 6.11.3. Release notes Sourced from protobufjs's releases. v6.11.3 6.11.3 (2022-05-20) Bug Fixes deps: use eslint 8.x (#1728) (a8681ce) do not let setProperty change the prototype...
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 2.2.3 to 2.2.6. Commits bfe5fe2 2.2.6 1a89b66 added caret range to whatwg-fetch. 695a888 removed and disabled package-lock.json. eac6c00 Update away from vulnerable version of node-fetch (#135) 3abdc67...
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.10. Commits 8cd4c6c 1.5.10 ce7a01f [fix] Improve handling of empty port 0071490 [doc] Update JSDoc comment a7044e3 [minor] Use more descriptive variable name d547792 [security]...
Not an official PR, just to express the idea. Please don't merge it.
troubling trying to solve several problems: 1. in testnet we are able to stake assets but we can't calculate and see rewards as also as undelegate. last cycles in ssn...
The `AddFunds` transition accepts funds from Proxy which does not have any further checks, which means anyone can send money to SSNList (via Proxy) and the contract will accept it....
There is a couple of unreachable branches in the code with comment like `won't reach` and no-ops. It's safer against future changes to insert `throw` instructions instead of no-op as...
`transition ReDelegateStake(ssnaddr: ByStr20, to_ssn: ByStr20, amount: Uint128)` For the majority of the smart code, `amoun`t is represented as `amt`
Commit b710edc8b0676e0ea40dc5422d7d2f8c8e1552b4 Is there a missing transition that should set the `maxcommrate` field? If this is not the case then it should perhaps be made a constant or a contract...