Skip to content

Commit

Permalink
add onboard fee getter script
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Jun 4, 2024
1 parent 7cbab5c commit 94bd22e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cadence/scripts/bridge/get_onboard_fee.cdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import "FlowEVMBridgeConfig"

/// Returns the current onboard fee for onboarding an asset to the bridge
///
/// @return The onboard fee to be paid in FlowToken
///
access(all)
fun main(): UFix64 {
return FlowEVMBridgeConfig.onboardFee
}

0 comments on commit 94bd22e

Please sign in to comment.