User Configurations
Consumer
Deployment parameters
import "./base/BoolConsumerBase.sol";
contract UserMock is BoolConsumerBase {
...
constructor(address anchor_) BoolConsumerBase(anchor_) {}
...
}require(
IBoolConsumerBase(consumer_).anchor() == address(this),
"Anchor: ANCHOR_MISMATCH"
);Send cross-chain messages to Anchor
Receive a Message from Anchor
Anchor
Transfer the ownership of the Anchor contract
Anchor contractLast updated