# README
Core Contracts Transaction Templates
This module contains transaction and script templates for the Flow core contracts, primarly templates for staking and delegating FLOW.
Generated manifest files
The manifest.mainnet.json
and testnet.mainnet.json
files declare all transaction templates
in a portable format for mainnet and testnet respectively.
To update the manifest files:
- Add your desired templates to cmd/manifest/manifest.go.
- Run
make generate
in this directory.
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateAddNodeInfoScript generates a script that adds the node operators node info to their account.
No description provided by the author
No description provided by the author
GenerateChangeCutScript creates a script that changes the cut percentage.
No description provided by the author
GenerateChangeMinimumsScript creates a script that changes the staking minimums.
GenerateChangePayoutScript creates a script that changes the weekly payout.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
account templates.
No description provided by the author
GenerateCreateDKGParticipantScript generates a script that creates a dkg node object.
CreateLockedDelegatorScript creates a script that creates a new node request with locked tokens.
No description provided by the author
GenerateCreateVoterScript generates a script that creates a qc node object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DelegateLockedRewardedTokensScript creates a script that stakes unstaked tokens.
DelegateLockedUnstakedTokensScript creates a script that stakes unstaked tokens.
DelegateNewLockedTokensScript creates a script that stakes new locked tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateDeployEpochScript.
No description provided by the author
GenerateDeployQCDKGScript.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateEndEpochChangePayoutScript creates a script that changes the weekly payout and then ends the epoch.
No description provided by the author
GenerateEndStakingScript creates a script that ends the staking auction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetCommittedBalanceScript creates a script that returns the balance of the committed tokens of a node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetCutPercentageScript gets the delegator cut percentage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetDelegatorStakeRequirementScript returns the stake requirement for delegators.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetInitialWeightScript creates a script that returns the initial weight of a node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetDelegatorInfoScript creates a script that returns an optional FlowIDTableStaking.DelegatorInfo object that is associated with an account that is delegating locked tokens.
GenerateGetStakerInfoScript creats a script that returns an optional FlowIDTableStaking.NodeInfo? object that is associated with an account that is staking locked tokens.
GenerateGetNetworkingAddressScript creates a script that returns the networking address of a node.
GenerateGetNetworkingKeyScript creates a script that returns the networking key of a node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetRewardBalanceScript creates a script that returns the balance of the rewarded tokens of a node.
GenerateGetRewardRatioScript gets the reward ratio for a node type.
No description provided by the author
GenerateGetRoleScript creates a script that returns the role of a node.
No description provided by the author
GenerateGetStakedBalanceScript creates a script that returns the balance of the staked tokens of a node.
GenerateGetStakeRequirementsScript returns the stake requirement for a node type.
GenerateGetStakingKeyScript creates a script that returns the staking key of a node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetTotalCommitmentBalanceScript creates a script that returns the balance of the total committed tokens of a node plus delegators.
GenerateGetTotalCommitmentBalanceWithoutDelegatorsScript creates a script that returns the balance of the total committed tokens of a node without delegators.
GenerateGetTotalTokensStakedByTypeScript returns the total tokens staked for a node type.
GenerateGetTotalTokensStakedScript returns the total tokens staked.
No description provided by the author
GenerateGetUnstakedBalanceScript creates a script that returns the balance of the unstaked tokens of a node.
GenerateGetUnstakingBalanceScript creates a script that returns the balance of the unstaking tokens of a node.
GenerateGetUnstakingRequestScript creates a script that returns the balance of the unstaking request for a node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateGetWeeklyPayoutScript gets the total weekly reward payout.
No description provided by the author
No description provided by the author
No description provided by the author
Change the networking address of a locked node.
FlowToken Templates.
GenerateMoveTokensScript creates a script that moves tokens between buckets.
GeneratePayRewardsScript creates a script that pays rewards.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateLockedNodeScript creates a script that creates a new node request with locked tokens.
No description provided by the author
No description provided by the author
GenerateRegisterNodeScript creates a script that creates a new node struct and stores it in the Node records.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateRemoveNodeScript creates a script that removes a node from the record.
No description provided by the author
No description provided by the author
GenerateReturnCurrentTableScript creates a script that returns the current ID table.
GenerateReturnProposedTableScript creates a script that returns the ID table for the proposed next epoch.
GenerateReturnTableScript creates a script that returns the the whole ID table nodeIDs.
No description provided by the author
For testing only.
GenerateSendDKGFinalSubmissionScript generates a script that sends a dkg final submission for a node.
GenerateSendDKGWhiteboardMessageScript generates a script that sends a dkg final submission for a node.
No description provided by the author
No description provided by the author
GenerateSetClaimedScript creates a script that sets the new metadata claimed fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateSetSafeThresholdScript generates a script for the admin to set a new threshold percentage for DKG completion.
No description provided by the author
No description provided by the author
FT and NFT templates.
No description provided by the author
GenerateSetupNodeAccountScript generates a script that sets up a node operator's account to receive staking proxies.
No description provided by the author
StakeLockedRewardedTokensScript creates a script that stakes unstaked tokens.
StakeLockedUnstakedTokensScript creates a script that stakes unstaked tokens.
StakeNewLockedTokensScript creates a script that stakes new locked tokens.
GenerateStakeNewTokensScript creates a script that stakes new tokens for a node operator.
GenerateStakeRewardedTokensScript creates a script that stakes tokens for a node operator from their rewarded bucket.
GenerateStakeUnstakedTokensScript creates a script that stakes tokens for a node operator from their unstaked bucket.
GenerateStartDKGScript generates a script for the admin that starts DKG.
GenerateStartStakingScript creates a script that starts the staking auction.
GenerateStartVotingScript generates a script for the admin that starts voting.
GenerateStopDKGScript generates a script for the admin that stops DKG.
GenerateStopVotingScript generates a script for the admin that stops voting.
GenerateSubmitVoteScript generates a script that submits a qc vote for a node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateTransferMinterAndDeployScript generates a script that transfers a flow minter and deploys the id table account.
UnDelegateLockedTokensScript creates a script that unstakes locked tokens.
UnstakeAllLockedTokensScript creates a script that unstakes all locked tokens.
GenerateUnstakeAllScript creates a script that makes an unstaking request for an existing node operator to unstake all their tokens.
UnstakeLockedTokensScript creates a script that unstakes locked tokens.
GenerateUnstakeTokensScript creates a script that makes an unstaking request for an existing node operator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateUpdateNetworkingAddressScript creates a script changes the networking address for an existing node operator.
No description provided by the author
No description provided by the author
No description provided by the author
GenerateUpgradeStakingScript creates a script that upgrades the staking contract.
No description provided by the author
WithdrawDelegatorLockedRewardedTokensScript creates a script that requests a withdrawal of unstaked tokens.
No description provided by the author
WithdrawDelegatorLockedUnstakedTokensScript creates a script that requests a withdrawal of unstaked tokens.
WithdrawLockedRewardedTokensScript creates a script that requests a withdrawal of unstaked tokens.
No description provided by the author
WithdrawLockedUnstakedTokensScript creates a script that requests a withdrawal of unstaked tokens.
GenerateWithdrawRewardedTokensScript creates a script that withdraws rewarded tokens for an existing node operator.
No description provided by the author
GenerateWithdrawUnstakedTokensScript creates a script that withdraws unstaked tokens for an existing node operator.
No description provided by the author
# Structs
No description provided by the author