diff --git a/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py b/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py index 9b1e57f5..c6d0ce1b 100644 --- a/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py +++ b/prediction_market_agent/agents/microchain_agent/nft_treasury_game/app_nft_treasury_game.py @@ -69,11 +69,12 @@ def prompt_table_handler(identifier: AgentIdentifier) -> PromptTableHandler: def send_message_part(nft_agent: type[DeployableAgentNFTGameAbstract]) -> None: message = st.text_area("Write a message to the agent") - default_value = MicrochainAgentKeys().RECEIVER_MINIMUM_AMOUNT + keys = MicrochainAgentKeys() + default_value = keys.RECEIVER_MINIMUM_AMOUNT value = st.number_input( "Value in xDai", min_value=default_value, - max_value=0.1, + max_value=keys.SENDING_XDAI_CAP, value=default_value, format="%.5f", )