Function getContractAddresses

  • Get contract addresses by chain id

    Parameters

    Returns {
        Controller: `0x${string}`;
        BookManager: `0x${string}`;
        BookViewer: `0x${string}`;
        Rebalancer: `0x${string}`;
        Strategy: `0x${string}`;
        Minter: `0x${string}`;
        Operator: `0x${string}`;
        VoteLockedCloberToken: `0x${string}`;
        ElectionGovernor: `0x${string}`;
        KeepersRegistry: `0x${string}`;
    }

    Contract addresses

    • Controller: `0x${string}`
    • BookManager: `0x${string}`
    • BookViewer: `0x${string}`
    • Rebalancer: `0x${string}`
    • Strategy: `0x${string}`
    • Minter: `0x${string}`
    • Operator: `0x${string}`
    • VoteLockedCloberToken: `0x${string}`
    • ElectionGovernor: `0x${string}`
    • KeepersRegistry: `0x${string}`

    Example

    import { getContractAddresses } from '@clober/v2-sdk'

    const addresses = await getContractAddresses({
    chainId: 421614,
    })