A bridgedWithdraw needs the merkle proof to be generated from an anchor other than this one,
Makes a deposit of the anchor's fixed sized denomination into the smart contracts. Assumes the sender possesses the anchor's fixed sized denomination. Assumes the anchor has the correct, full deposit history.
Proposal data is used to update linkedAnchors via bridge proposals on other chains with this anchor's state
Given a list of leaves and a latest synced block, update internal tree state The function will create a new tree, and check on chain root before updating its member variable If the passed leaves match on chain data, update this instance and return true else return false
Sync the local tree with the tree on chain. Start syncing from the given block number, otherwise latest synced block.
Assumes the anchor has the correct, full deposit history.
Deploys an Anchor contract and sets the signer for deposit and withdraws on this contract.
Generated using TypeDoc
It represents a deployed contract throughout its life (e.g. maintains merkle tree state) Functionality relevant to anchors in general (proving, verifying) is implemented in static methods Functionality relevant to a particular anchor deployment (deposit, withdraw) is implemented in instance methods