From 94bd22eee76b15a2bee9955098482d56fd49d826 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:09:38 -0600 Subject: [PATCH] add onboard fee getter script --- cadence/scripts/bridge/get_onboard_fee.cdc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cadence/scripts/bridge/get_onboard_fee.cdc diff --git a/cadence/scripts/bridge/get_onboard_fee.cdc b/cadence/scripts/bridge/get_onboard_fee.cdc new file mode 100644 index 00000000..3417b8c6 --- /dev/null +++ b/cadence/scripts/bridge/get_onboard_fee.cdc @@ -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 +}