github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/fvm/blueprints/scripts/deployIDTableStakingTransactionTemplate.cdc (about) 1 // Note: uses a default large candidate limit 2 transaction(code: String, epochTokenPayout: UFix64, rewardCut: UFix64) { 3 prepare(serviceAccount: auth(AddContract) &Account) { 4 let candidateNodeLimits: {UInt8: UInt64} = {1: 10000, 2: 10000, 3: 10000, 4: 10000, 5: 10000} 5 serviceAccount.contracts.add(name: "FlowIDTableStaking", code: code.decodeHex(), epochTokenPayout: epochTokenPayout, rewardCut: rewardCut, candidateNodeLimits: candidateNodeLimits) 6 } 7 }