Write Contract Tab
Last updated
Last updated
The Write Contract Tab allows users to perform state-changing actions on a smart contract, such as transferring tokens, updating settings, or triggering specific operations. These interactions modify the blockchain's state and require wallet authorization.
FR 11.007.2a: Wallet Connection
Users must connect their wallet to execute write functions. This ensures secure interactions, allows authentication and facilitates the payment of gas fees required for the transaction.
FR 11.007.2b: Contract Information
Callable Functions: The tab lists all available write functions within the smart contract (e.g., batchTransferETH). These methods enable users to make changes to the blockchain's data.
Expandable Functions: Clicking on a function name expands it to reveal input fields and options for user interaction.
Input Fields: Each function displays the required inputs (e.g., wallet addresses, token amounts) that users must provide to execute the operation.
FR 11.007.c: Executing Transactions
Execute Button: Once all input fields are completed, users can click the Execute button to initiate the transaction. This will prompt the connected wallet for confirmation.
Gas Fees: Executing write functions incurs gas fees. The estimated fee is displayed in the wallet confirmation screen, ensuring users are aware of the cost before approving the transaction.