Zebec Network
  • 💰Zebec Network
  • ➡️ZBC to ZBCN Migration Guide
  • 🗞️Zebec Network white Paper
  • 📈ZBCN Tokemonics
  • 🥳Getting Started
    • How to get started?
    • Benefits of Using Zebec Protocol
    • Deposit
    • Start Streaming
    • Withdraw Funds
  • 👾Safe
    • Create Safe
    • Deposit in Safe
    • Sending a Transaction
    • Zapps
    • Signing a Transaction
  • ZEBEC SOLANA
    • 🖥️Zebec Solana Sdk
      • 🖱️Streaming
        • Initialize Zebec Stream
        • Create Fee Vault
        • Update Fee Vault
        • Collect Fees
        • Deposit
        • Withdraw Deposited Token
        • Start Streaming
        • Pause Stream
        • Resume Stream
        • Cancel Stream
        • Withdraw Streamed Token
  • ZEBEC SILVER CARD
    • 💳Silver Card Sdk
      • 🔧Installation
      • 👨‍🚀Quick Start
      • ✉️Fetch Quote
      • ⚖️Configuration Parameters
      • 📦Recipient Fields
      • 🔁Responses
      • 🔢Environment Variables
      • 🌎Supported Countries
  • Zebec Bridge
    • Bridge Sdk
      • Creating clients
      • Initialize Proxy Account
      • Initialize Token Account
      • Deposit
        • Token Transfer
        • Deposit to Zebec
      • Withdraw Deposited
        • Withdraw From Zebec
        • Token Transfer
      • Init Stream
      • Pause/Resume Stream
      • Cancel Stream
      • Update Stream
  • Zebec Near
    • Zebec Near Sdk
      • Normal Stream
        • Initialize Near Stream
        • Initialize Token Stream
        • Pause/Resume Stream
        • Withdraw Stream
        • Update Stream
        • Cancel Stream
        • Claim Stream
        • View methods
      • Multisig Factory
        • Create Multisig Account
      • Multisig Stream
        • Initialize Near Stream
        • Initialize Token Stream
        • Pause/Resume Stream
        • Withdraw Stream
        • Update Stream
        • Cancel Stream
        • Claim Stream
        • View methods
  • ZEBEC EVM
    • Zebec Evm Sdk
      • Zebec Stream Client
        • Creating Clients
        • Whitelisting Tokens
        • Deposit into Zebec Wallet
        • Withdraw from Zebec Wallet
        • Initiating a Stream
        • Pause/Resume/Cancel Stream
        • Updating a Stream
        • Withdraw Streamed Tokens
        • Getting Stream Details
        • Whitelisted Tokens on BSC and Nautilus
      • Zebec Bulk Client
        • Bulk Instant Transfer
      • Zebec Multisig Stream
        • NFT
    • Zapps Compatible
Powered by GitBook
On this page
  1. ZEBEC EVM
  2. Zebec Evm Sdk

Zebec Multisig Stream

This class, ZebecMultisigStream, serves as a factory for generating data that can be used with the Gnosis Safe SDK to create and execute transactions on the Ethereum blockchain. Here's a brief overview of what this class does:

  1. Constructor: Initializes an instance of the class by connecting to the Core contract using a provided signer or provider. The contract address can be optionally specified.

  2. Deposit:

    • depositToken: Generates transaction data for depositing tokens into the contract, returning an array of data including approval data (for non-Ether tokens) and deposit data.

  3. Deposit to Safe:

    • depositToSafe: Generates transaction data for depositing tokens or Ether into a specified safe address, and returns the transaction receipt.

  4. Withdraw Functions:

    • withdrawFromSafe: Generates transaction data for withdrawing tokens from a safe.

    • withdrawToken: Generates transaction data for withdrawing tokens from the contract.

  5. Stream Management Functions:

    • Functions for initiating, pausing, resuming, canceling, and updating streams, including generating transaction data for these actions.

  6. Instant Token Transfer Functions:

    • instantTokenTransfer: Generates transaction data for instant token transfers.

    • instantTokenTransferTNS: Generates transaction data for instant token transfers with a Transaction Name Service (TNS) integration.

  7. Utility Functions:

    • initStreamTNS: Generates transaction data for initiating a stream with TNS.

    • drainAccountFromSafe: Generates an array of transaction data for draining multiple tokens from a safe.

    • drainAccountFromZebecWallet: Generates an array of transaction data for transferring multiple tokens from a Zebec wallet to a receiver.

Overall, this class simplifies the process of preparing transaction data for various actions related to token deposits, stream management, and token transfers within the Ethereum blockchain. Users can obtain this prepared data from the class and then use it with the Gnosis Safe SDK to create and execute transactions.

PreviousBulk Instant TransferNextNFT

Last updated 1 year ago

LogoGitHub - safe-global/safe-core-sdk: The Safe{Core} Account Abstraction SDK allows builders to add account abstraction functionality into their apps.GitHub