flow-core-contracts
flow-core-contracts copied to clipboard
Cadence smart contracts that define core functionality of the Flow protocol
In order to synchronise EN version switchover, as described in a [design document](https://www.notion.so/dapperlabs/Execution-Nodes-rolling-updates-4a3984b868c24e3fb00e1c0d40857d8e?d=02e6681621724dd3a543ad9b1568a680#98da50ac701346e6b105f85ca5f95767) height to version map is to be stored as part of service account, and thus available to...
https://github.com/dapperlabs/flow-go/issues/6284 Adds a parameter to the `addNodeRecord` method in the staking contract for the proof of possession. In the `NodeRecord` init function, this is verified with the staking key. Also...
### Issue To Be Solved Enable access nodes to be staked without being explicitly added to the node allow list, and provide a cap to the maximum number of nodes...
### Issue To Be Solved The target of the balance capability in Flow core contracts here: - https://github.com/onflow/flow-core-contracts/blob/ed4310c774493f584d4eaea665c3b5e87617179d/contracts/FlowStorageFees.cdc#L69 - https://github.com/onflow/flow-core-contracts/blob/ed4310c774493f584d4eaea665c3b5e87617179d/contracts/FlowStorageFees.cdc#L119 - https://github.com/onflow/flow-core-contracts/blob/ed4310c774493f584d4eaea665c3b5e87617179d/contracts/FlowServiceAccount.cdc#L53 Is not verified that it is in fact...
### Problem https://github.com/onflow/flow-core-contracts/blob/master/contracts/LockedTokens.cdc#L231 The linked code does not behave the way it appears to; the `as?` in this line does not actually function as a reference operator. In a future...
### Issue To Be Solved Many of the transactions in scripts to everything in the prepare block, which is against Cadence best practices There are also opportunities to include post...
### Issue To Be Solved We have a new standard for contract imports: https://github.com/onflow/flow/blob/master/flips/2022-03-23-contract-imports-syntax.md ### Suggest A Solution * Add `flow.json` * Update the contract files to use this syntax...
### Context The contract allows participating nodes to broadcast as many and as long data as they want. This issue is about adding restrictions to the messages sent on the...
Adds FlowFreeze contract, which maintains a list of accounts that are frozen that an admin, the service account, controls. The admin can freeze and unfreeze accounts at will. There is...
### Issue To Be Solved Right now, we have a sub-directory in `transactions/` for each of the important contracts, but each contract's directory is organized slightly differently. We like to...