Function funding_trading_bridge_smart_contract::util::validation_utils::check_funds_are_empty
source · pub fn check_funds_are_empty(info: &MessageInfo) -> Result<(), ContractError>
Expand description
Verifies that the funds sent into the message info are empty, ensuring that the contract has not received any funding when invoked.
§Parameters
info
A message information object provided by the cosmwasm framework. Describes the sender of the instantiation message, as well as the funds provided as an amount during the transaction.