Optimism

Cryptex protocol is currently deployed on Optimism Mainnet and Optimism Kovan, it works exactly the same as the mainnet with minor changes on the Orchestrator. Optimism version is governed and upgraded by CTX token holders, using the three distinct components; the CTX token, governance module, and Timelock. In order to implement changes to the Cryptex protocol mainnet governance needs to vote and pass a proposal. Please refer to the governance section for more details on governance.

Differences with Mainnet

The main difference between the Mainnet and Optimism is the Orchestrator and the Treasury contracts. Orchestrator implements a custom modifier for the owner so only calls initiated from the timelock contract on mainnet to the ovmL2CrossDomainMessenger can be accepted.

modifier onlyOwner() override {
require(
msg.sender == address(ovmL2CrossDomainMessenger)
&& ovmL2CrossDomainMessenger.xDomainMessageSender() == owner,
"OptimisticOrchestrator: caller is not the owner"
);
_;
}

The treasury contract is just a holder of tokens owned by the mainnet governance that holds any fees or tokens on Optimism.

Contract Addresses

Mainnet

ContractAddress
Optimistic Orchestrator0x321C2fE4446C7c963dc41Dd58879AF648838f98D
Optimistic Treasury0x271901c3268D0959bbc9543DE4f073D3708C88F7
ETH VaultHandler0xE0c99C503c4AE5eC50aC63C59C7eF4725C355fdD
ETH Oracle0x16c52CeeCE2ed57dAd87319D91B5e3637d50aFa4
DAI VaultHandler0x2C890633Db29f21fccbA57c68DcCEF09AB0D4763
DAI Oracle0x2C890633Db29f21fccbA57c68DcCEF09AB0D4763
LINK VaultHandler0x61925C38e28F60e688f7d05E65f63792166a5aFE
LINK Oracle0xa4e581BD159B869e8290707A7FBF841fe7FE97b6
SNX VaultHandler0xc8BB1cd417D20116387a5e0603e195cA4f3Cf59A
SNX Oracle0x2cFeaf282FE9ae050b210e7BDa65D288C40c6104
UNI VaultHandler0x66ae98E432329E42B7988CFDCB6f524b1999CB4a
UNI Oracle0x07Ef20895ceF20855D29ACeDCa35E6f96AF4fF49
TCAP0x6b5a75f38BeA1Ef59Bc43A5d9602e77Bcbe65e46
TCAP Oracle0xa54074b2cc0e96a43048d4a68472F7F046aC0DA8

Kovan

ContractAddress
Optimistic Orchestrator0x093f8F7C7fCC6edf991309A5056feB5cA9579292
Optimistic Treasury0x271901c3268D0959bbc9543DE4f073D3708C88F7
ETH VaultHandler0xC5d57D1E3c8e32A5C6f22B511A6962043f8Ca425
ETH Oracle0x188EA0ce2144Ac462E922ccB1F4DEB5c8aaD41fC
DAI VaultHandler0x64735028556fE352BFEb9031AE99F5302d6Ca3D6
DAI Oracle0x1e01b2A5A861fB248231C8246bc1aA754e3A2ecb
TCAP0x7fF4580aD66a3C0F62DDa843674A3811ac062211
TCAP Oracle0x71dE461F40b092ed3A6F0fef3A50Efb1894cA5dA