Hydro
  • Getting Started
  • Raindrop
    • Raindrop Overview
    • Client Side Raindrop
      • Client-Side Raindrop Overview
      • Handling User Signatures
      • Recognizing Users
      • User Account Management
        • Check if Username is Taken
        • Creating HydroIDs
        • Creating HydroIDs (delegated)
        • Deleting Users
      • Verifying signatures
    • Server Side Raindrop
  • Snowflake
    • Snowflake Overview
      • Setting Up Snowflake
      • Naming Conventions
      • Handling User Signatures
    • Address Management
      • Adding Addresses
      • Removing Addresses
    • Provider Management
      • Add Providers
      • Upgrade Providers
    • Resolver Management
      • Adding Resolvers
      • Adding Resolvers (delegated)
      • Removing Resolvers
    • Allowances in Snowflake
      • User Hydro Balances and the Allowance Structure
      • Allowance management logic
      • Setting Initial DApp Allowances
      • Changing DApp Allowances
      • Change DApp Allowances (Delegated)
    • Payments in Snowflake
      • Self-Initiated Payments
      • Resolver-Initiated Payments
        • EIN - EIN Transfer
        • EIN - Address Withdrawal
      • Resolver-Initiated Via Payments
        • EIN - Via - EIN Transfer
        • EIN - Via - Address Withdrawals
      • Resolver-As-Escrow Payments
        • Resolver - EIN Transfer
        • Resolver - Address Withdrawal
      • Resolver-As-Escrow Via Payments
        • Resolver - Via - EIN Transfer
        • Resolver - Via - Address Withdrawal
    • Building a Resolver
      • Smart Contract
      • React Front-End
    • Building a Via Contract
  • Ice
    • Untitled
  • Tide
    • Untitled
Powered by GitBook
On this page

Was this helpful?

  1. Snowflake
  2. Payments in Snowflake
  3. Resolver-Initiated Via Payments

EIN - Via - EIN Transfer

For EIN-EIN transfers that use a via contract, call transferSnowflakeBalanceFromVia with the arguments defined below. The first four argument are requirements for a via contract as seen in the Building a Via section. The bytes argument is accepted by the snowflakeCall function of the via Contract and allows arbitrary data to flow to the Via from the Resolver. These arguments are standardized and recognized in the interface of all via contracts.

ARGUMENTS

Parameter

Type

Description

einFrom

uint

EIN of sender - must have allowance set with Resolver.

via

address

via contract address being used in the function call.

einTo

uint

Recipient EIN - receives transfer through viacontract.

amount

uint

Amount of HYDRO to be transferred.

_bytes

bytes

Arbitrary - should be defined in via contract documentation.

PreviousResolver-Initiated Via PaymentsNextEIN - Via - Address Withdrawals

Last updated 6 years ago

Was this helpful?