import { DoubleMerkleInclusionProof , MerkleIntervalTree } from '@pigi/core-db' ; import { AbiStateUpdate } from '../../app/serialization' ; export interface SubtreeContents { assetId : Buffer ; stateUpdates : AbiStateUpdate [ ] ; } export interface DoubleMerkleIntervalTree extends MerkleIntervalTree { dataBlocks : SubtreeContents ; subtrees : MerkleIntervalTree [ ] ; getStateUpdateInclusionProof ( stateUpdatePosition , assetIdPosition ) : DoubleMerkleInclusionProof ; }