Gnosis deployments
These addresses are for Gnosis mainnet (chain ID 100). The protocol README lists the v1.0.0 deployments and the later OracleRelay implementation. The contract guides use source tag v1.1.0.
The table lists implementation addresses for contracts that use proxies. Send application calls to the proxy address. The protocol deploys ERC1967Factory, DecimalQuoter, SwapRouter, and RescueVault directly. Calibur is a companion contract. Protocol deployment records
Verify an instance
Get the instance address from the operator's deployment records. Set INSTANCE_ADDRESS to that address. Set RPC_URL to a Gnosis RPC endpoint.
cast chain-id --rpc-url "$RPC_URL"
cast code "$INSTANCE_ADDRESS" --rpc-url "$RPC_URL"Expect chain ID 100 and non-empty bytecode.
For a Solady proxy, set FACTORY_ADDRESS to the factory that deployed it. The factory stores the proxy administrator.
cast implementation "$INSTANCE_ADDRESS" --rpc-url "$RPC_URL"
cast call "$FACTORY_ADDRESS" 'adminOf(address)(address)' "$INSTANCE_ADDRESS" --rpc-url "$RPC_URL"
cast call "$INSTANCE_ADDRESS" 'owner()(address)' --rpc-url "$RPC_URL"Compare the implementation address with the expected release. Verify who controls the proxy administrator and the contract owner.
Deploy and upgrade
Use Foundry to build the contracts. Use the Go tool ge-publish to deploy implementations and initialize proxies. Use different addresses for the owner and proxy administrator. Check the protocol's compiler and EVM settings before you build bytecode for verification.
Run a Gnosis node for a local RPC endpoint.