Skip to content

Commit

Permalink
Merge pull request #238 from onflow/may-3-rewards-upgrade
Browse files Browse the repository at this point in the history
Automatic rewards upgrade tx
  • Loading branch information
vishalchangrani authored May 2, 2023
2 parents f0bd6d9 + 48218f0 commit e40b750
Show file tree
Hide file tree
Showing 6 changed files with 953 additions and 4 deletions.
2 changes: 0 additions & 2 deletions templates/reset_epoch.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import FlowIDTableStaking from 0x8624b52f9ddcd04a

transaction(currentEpochCounter: UInt64,
randomSource: String,
newPayout: UFix64?,
startView: UInt64,
endView: UInt64) {

Expand All @@ -13,7 +12,6 @@ transaction(currentEpochCounter: UInt64,

heartbeat.resetEpoch(currentEpochCounter: currentEpochCounter,
randomSource: randomSource,
newPayout: newPayout,
startView: startView,
endView: endView,
collectorClusters: [],
Expand Down
2 changes: 0 additions & 2 deletions templates/reset_epoch_with_end_staking_auction.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import FlowIDTableStaking from 0x8624b52f9ddcd04a

transaction(currentEpochCounter: UInt64,
randomSource: String,
newPayout: UFix64?,
startView: UInt64,
stakingEndView: UInt64,
endView: UInt64) {
Expand All @@ -19,7 +18,6 @@ transaction(currentEpochCounter: UInt64,

heartbeat.resetEpoch(currentEpochCounter: currentEpochCounter,
randomSource: randomSource,
newPayout: newPayout,
startView: startView,
stakingEndView: stakingEndView,
endView: endView,
Expand Down
Loading

0 comments on commit e40b750

Please sign in to comment.