Skip to main content
Version: v2.0_alpha

AccQueueQuinaryBlankSl

This contract extends AccQueueQuinary and MerkleQuinaryBlankSl

This contract is used for creating a Merkle tree with quinary (5 leaves per node) structure

constructor

constructor(uint256 _subDepth) public

Constructor for creating AccQueueQuinaryBlankSl contract

Parameters

NameTypeDescription
_subDepthuint256The depth of each subtree

getZero

function getZero(uint256 _level) internal view returns (uint256 zero)

Returns the zero leaf at a specified level

Parameters

NameTypeDescription
_leveluint256The level at which to return the zero leaf

Return Values

NameTypeDescription
zerouint256The zero leaf at the specified level