Skip to content

Function: decodeMerkleDistributor() ​

Call Signature ​

ts
function decodeMerkleDistributor<TAddress>(
  encodedAccount
): Account<MerkleDistributor, TAddress>;

Type Parameters ​

Type ParameterDefault type
TAddress extends stringstring

Parameters ​

ParameterType
encodedAccountEncodedAccount<TAddress>

Returns ​

Account<MerkleDistributor, TAddress>

Call Signature ​

ts
function decodeMerkleDistributor<TAddress>(
  encodedAccount
): MaybeAccount<MerkleDistributor, TAddress>;

Type Parameters ​

Type ParameterDefault type
TAddress extends stringstring

Parameters ​

ParameterType
encodedAccountMaybeEncodedAccount<TAddress>

Returns ​

MaybeAccount<MerkleDistributor, TAddress>