Comments (4)
Made a small edit to your proposal to the second capability. This makes sense.
One question: I assume that most node operators and delegators are using the staking collection, so I am think that we just make these three new interfaces for the staking collection contract, or do you think we need to add the interfaces to both the core staking contract and the staking collection?
from flow-core-contracts.
I don't have a strong opinion on that. I think as long as there's a way for operators to delegate permission for each of those capabilities (particularly 1 & 2), either should be fine. Is it simple to switch to using the collection if you're currently using the core staking contract?
from flow-core-contracts.
yes, this transaction updates any account to use the staking collection, even if they are already using a different setup:
https://github.com/onflow/flow-core-contracts/blob/master/transactions/stakingCollection/setup_staking_collection.cdc
from flow-core-contracts.
I think the stable cadence upgrade would be a perfect place to introduce this feature since it is a great use case for entitlements. I'll try to get it added to the feature branch relatively soon
from flow-core-contracts.
Related Issues (20)
- documentation references cdc file doesn't not exist HOT 3
- System Chunk panic at staking auction end with Slot Selection HOT 1
- Add pre-conditions to candidate limits and slot limits enforcing size
- `FlowIDTableStaking.endStakingAuction` should return a list of the proposed nodes
- Underflow in `FlowStorageFees` HOT 1
- Update `removeAndRefundNodeRecord` to also remove nodes from Approve list HOT 1
- Refactor Technical Debt in Core Contracts Tests
- Refactor rewards calculation and payment to be done in batches HOT 1
- Introduce Delegator Staking Minimums
- Move `resetEpoch()` to the Epoch Admin resource
- Implement FungibleTokenMetadataViews in FlowToken HOT 3
- Add logic to maintain 8 access node slots every epoch
- Refactor `FlowEpoch.getEpochMetadata` to avoid the dictionary-copy HOT 2
- Replace `while` loop with `for` loop once references are allowed
- Revisit `Account` entitlements in `FlowStakingCollection.CollectionOwner.registerNode` HOT 1
- RandomBeaconHistory.getRandomSourceHistoryPage() performs impure function under Cadence 1.0 HOT 1
- [FLIP 204] Update `FlowEpoch` smart contract to specify target end time for epoch
- LockedTokens getLockedAccountBalance underflows HOT 3
- Update docs site and README with addresses of important contracts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow-core-contracts.