[Contract Interaction] Support `tuple` type
See original GitHub issueCurrently, the Contract Interaction feature does not support tuple
type as an input parameter.
An example that can cover most of the cases: https://rinkeby.etherscan.io/address/0x7cd0c9bde7fa02469e06cc37f4c73d2672c3be3c#code
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[Contract Interaction] Support `tuple` type · Issue #1028 - GitHub
Currently, the Contract Interaction feature does not support tuple type as an input parameter. An example that can cover most of the cases: ......
Read more >Invalid Solidity Type Tuple[] - Ethereum Stack Exchange
The error lies within the web3-object, not your smart contract. The struct feature is not yet implemented there.
Read more >Types — Solidity 0.8.17 documentation
The members of contract types are the external functions of the contract including any state variables marked as public . For a contract...
Read more >Deploy & Run (part 2) — Remix - Ethereum IDE 1 ...
This section in the Run tab contains a list of deployed contracts to interact with through autogenerated UI of the deployed contract (also...
Read more >How to call a function that returns tuple[] - Stack Overflow
I am relatively new to interacting with smart contracts ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zareth-san
yes and no. no, you cannot use structs in the form of
(bar: 0xmyaddress, baz: 123)
, yes you can still call functions that expect structs, see belowIf I’m not mistaken you would have to pass it as simple
(address, uiint256)
tuple, i.e.(0xmyaddress, 123)
@zareth-san thanks for that screencast, appreciate it!
I created a bug ticket: gnosis/safe-react#1765.
For the time being it you could use the Transaction builder safe app. There it worked for me. You have to enter tuples like arrays there though. https://help.gnosis-safe.io/en/articles/4680071-create-a-batched-transaction-with-the-transaction-builder-safe-app