Coder Social home page Coder Social logo

Comments (3)

rmeissner avatar rmeissner commented on August 15, 2024 1

You can find an example how to build multisend calls in the safe contract tests: https://github.com/gnosis/safe-contracts/blob/bace2dadf7e0675cec5c5c5d29e3fcb0adb6d31f/test/utils/multisend.ts#L18

We will improve the documentation around that and are working on a sdk that should make this easier.

from zodiac-module-reality.

rmeissner avatar rmeissner commented on August 15, 2024

To enforce atomic execution you would use a multisend that contains your atomic transactions as a single transaction. The only use case where you would want to use multiple transactions is to spread them over multiple blocks. (We should probably add this to the readme).

As your proposal contains a hash of the hashes of all tx that should be executed and the hash of a tx contains the operation (call or delegatecall) there is a strict enforcement on what operation is valid to be used.

from zodiac-module-reality.

CalabashSquash avatar CalabashSquash commented on August 15, 2024

To confirm my understanding, would the appropriate method for this use case be to make a proposal that executes Multisend.multiSend?

from zodiac-module-reality.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.