EIN - Via - Address Withdrawals
To conduct a via withdrawal from an EIN to an address, call the withdrawSnowflakeBalanceFrom function with arguments defined below. The first four argument are requirements for a viacontract 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.
to
address
Recipient address - receives transfer through viacontract.
amount
uint
Amount of HYDRO to be transferred.
_bytes
bytes
Arbitrary - should be defined in via contract documentation.
Last updated
Was this helpful?