Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gnosis Safe Apps v1.5.0 #39

Merged
merged 7 commits into from
Sep 23, 2020
Merged

Gnosis Safe Apps v1.5.0 #39

merged 7 commits into from
Sep 23, 2020

Conversation

nicosampler
Copy link
Contributor

What's new

What has changed

  • safe-apps-sdk bump.

Bugfix

nicosampler and others added 7 commits September 15, 2020 13:29
* Safe-connect visual fixes

* rename safe-connect to walletConnec
* TX-Builder: Add support for Array and Tuple Values

* trigger build

* add network-concurrency flag

* remove usused import

* remove http-proxy-middleware

* review changes

* remove eval

* remove fragment
package.json Show resolved Hide resolved
@dasanra dasanra merged commit 41acb1e into master Sep 23, 2020
@FlacoJones
Copy link

Is this still effective? Is there some example code for how to format the tuple for Transaction Builder?

Screenshot 2023-02-09 at 10 50 51 AM

@mantasfam
Copy link

What format I should use for this? Any example please
erc20Rewards (tuple(address,uint256)[])

@AlissonRS
Copy link

AlissonRS commented Feb 29, 2024

For anyone struggling with this, I found the answer on #701

For input of type tuple(address,uint256)[]

...you can provide an array of tuples like this:

[["0x0000000000000000000000000000000000000000", "2"]]

It's a bit strange because block explorers accept the format below, but Safe Wallet doesn't:

[{ "address": "0x0000000000000000000000000000000000000000", "myNumber": 2 }]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants