github.com/onflow/flow-go@v0.33.17/fvm/blueprints/scripts/setupFeesTransactionTemplate.cdc (about)

     1  import FlowFees from 0xFLOWFEESADDRESS
     2  
     3  transaction(surgeFactor: UFix64, inclusionEffortCost: UFix64, executionEffortCost: UFix64) {
     4      prepare(service: AuthAccount) {
     5  
     6          let flowFeesAdmin = service.borrow<&FlowFees.Administrator>(from: /storage/flowFeesAdmin)
     7              ?? panic("Could not borrow reference to the flow fees admin!");
     8  
     9          flowFeesAdmin.setFeeParameters(surgeFactor: surgeFactor, inclusionEffortCost: inclusionEffortCost, executionEffortCost: executionEffortCost)
    10      }
    11  }