Smart Contract Interface updates

  1. function_name and contract_address can now be specified in the url:

e.g. https://btn.group/secret_network/smart_contract_interface?contract_address=secret1pxp9wy9gv20kpaee6evsp9n4h6gptxxkwhwfaj&function_name=pair

You can put a link from your site that leads to the smart contract and function in question, making things much easier for users to check.

  1. Handle functions now estimate gas first for you. It does mean you have to approve two keplr pop ups, the first one doesn’t cost any gas and is there to estimate the gas for the actual function.

  2. Format updated to be side bar format.

  3. Query function updated to handle Sienna smart contracts. Some of Sienna’s smart contracts have their params set up as ‘functionName’ instead of { functionName: {} }

Let me know if any issues or questions.

2 Likes