Adding Resolvers

Add Resolvers

For end users to add a Resolver directly to their EINs through Snowflake, they should call the addResolver function with the following:

ARGUMENTS

Parameter

Type

Description

resolver

address

Ethereum Address of each Resolver to be set in the function call.

isSnowflake

bool[]

Boolean indicating whether the Resolver calls onSignup functions through Snowflake.

withdrawAllowance

uint[]

An array of uints corresponding with user-set allowances for each Resolver being added. See Allowances section for more detail.

extraData

bytes

Arbitrary data to trigger function calls when the Resolver is set for an EIN.

extraData should be used when executing specific functionality on addition of your resolver, such as building a user profile. The following example demonstrates a use of extraData being used in the addResolver function.

Last updated