Registry
The Registry serves as a public on-chain record of all contracts deployed via the FrostySDK and as a point of entry for the Frosty Cross-Chain Indexer, which aggregates data across all of the EVM-compatible chains to which the FrostySDK has been deployed. The data is available to be consumed by other indexers, or utilized on-chain by other smart contracts.
Getting Started Module Methods Smart Contract Methods
Getting Started
To begin we'll import the FrostySDK, chain configurations, and the Registry module.
Then we'll setup our signer (via wagmi/ethers) and create a new instance of the FrostySDK.
Module Methods
query Query the registry for all deployments by a specified deployer account.
getContract Get an ethers contract instance of the Registry contract.
query
Query the registry for all deployments by a specified deployer account.
sdk (SDK) An instance of the FrostySDK, configured with a chain and signer.
address (string) The address of the deployer account.
getContract
Get an ethers contract instance of the Registry contract.
sdk (SDK) An instance of the FrostySDK, configured with a chain and signer.
Smart Contract Methods
register Registers a contract with the Registry.
remove Removes a contract from the Registry.
query Query the registry for all deployments by a specified deployer account.
register
Registers a contract with the Registry.
_deployer (address) The address of the deployer account.
_deployment (address) The address of the deployed contract.
_key (string) An identifier which is emitted but not stored, and may be used to reference different types of deployments.
remove
Removes a contract from the Registry.
_deployer (address) The address of the deployer account.
_deployment (address) The address of the deployed contract to remove.
query
Query the registry for all deployments by a specified deployer account.
address (string) The address of the deployer account.
Last updated