Proxy Contracts
To ensure future upgradeability while allowing clients to rely on fixed contract addresses, we offer a set of proxy contracts. Any contract or off-chain client can interact with them directly - the transactions are automatically routed to the correct destination.
You can find the addresses of the proxy contracts in the Deployed Contracts section.

Finding the Underlying Contract

Off-chain clients will often need to read data from an underlying contract. They can retrieve the individual addresses of underlying contracts from the proxy contract's storage. The generic storage structure follows:
CameLIGO
Michelson
1
type proxy_storage = {
2
contract: address;
3
4
(* ... more fields outside of this interoperability spec *)
5
}
Copied!
1
storage (pair
2
(address %contract)
3
(
4
# ... more fields outside of this interoperability spec
5
)
6
);
Copied!
Off-chain clients must not rely on a particular storage layout. They should always use annotations to find the correct value.
Last modified 10mo ago