@cfxlabsinc/b2b-services
    Preparing search index...

    Each deploy, timelock and NTT op's args (packages/wallet-api/README.md § Deploy and timelock ops, § NTT ops).

    type WalletApiEvmDeployOpArgs = {
        "evmDeploy.fundPaymaster": EvmDeployCommon;
        "evmDeploy.grant": EvmDeployCommon & { grant: WalletApiEvmGrant };
        "evmDeploy.implementation": EvmDeployCommon & {
            contract: EvmUpgradeable;
            expectedInitCodeHash: string;
            release: EvmReleaseTag;
        };
        "evmDeploy.paymaster": EvmDeployCommon;
        "evmDeploy.proxy": EvmDeployCommon & { contract: EvmUpgradeable };
        "evmDeploy.timelock": EvmDeployCommon;
        "ntt.pause": EvmDeployCommon;
        "ntt.setInboundLimit": EvmDeployCommon & {
            limit: string;
            peerChainId: number;
        };
        "ntt.setOutboundLimit": EvmDeployCommon & { limit: string };
        "ntt.setPeer": EvmDeployCommon & {
            inboundLimit: string;
            peerChainId: number;
        };
        "ntt.unpause": EvmDeployCommon;
        "timelock.cancelDelay": EvmDeployCommon;
        "timelock.cancelUpgrade": EvmDeployCommon & { proxy: EvmUpgradeable };
        "timelock.executeDelay": EvmDeployCommon & { delaySeconds: number };
        "timelock.executeUpgrade": EvmUpgradeArgs;
        "timelock.scheduleDelay": EvmDeployCommon & { delaySeconds: number };
        "timelock.scheduleUpgrade": EvmUpgradeArgs;
    }
    Index
    "evmDeploy.fundPaymaster": EvmDeployCommon
    "evmDeploy.grant": EvmDeployCommon & { grant: WalletApiEvmGrant }
    "evmDeploy.implementation": EvmDeployCommon & {
        contract: EvmUpgradeable;
        expectedInitCodeHash: string;
        release: EvmReleaseTag;
    }

    Type Declaration

    • contract: EvmUpgradeable
    • expectedInitCodeHash: string

      keccak256 of the init code, from the release manifest's creationCodeHash.

    • release: EvmReleaseTag
    "evmDeploy.paymaster": EvmDeployCommon
    "evmDeploy.proxy": EvmDeployCommon & { contract: EvmUpgradeable }
    "evmDeploy.timelock": EvmDeployCommon
    "ntt.pause": EvmDeployCommon

    Pauses the chain's NttManager, as EVM_NTT_PAUSER or else EVM_NTT_OWNER. Refused NOT_FINAL while a pause is mined but not yet finalized.

    "ntt.setInboundLimit": EvmDeployCommon & { limit: string; peerChainId: number }

    Refused PEER_NOT_SET until ntt.setPeer has set that chain's peer.

    "ntt.setOutboundLimit": EvmDeployCommon & { limit: string }
    "ntt.setPeer": EvmDeployCommon & { inboundLimit: string; peerChainId: number }

    Sets the chain file's pinned peer and the inbound limit from it, as EVM_NTT_OWNER. alreadyDeployed when the manager holds the pin; ntt.setInboundLimit changes the limit. Correcting a differing peer replaces the live peer and resets its inbound limit to inboundLimit.

    Type Declaration

    • inboundLimit: string

      In this chain's token base units; must fit NTT's uint64 at 8 decimals, with no dust.

    • peerChainId: number

      A Wormhole chain id (Solana is 1) the chain file pins, else PEER_NOT_CONFIGURED.

    "ntt.unpause": EvmDeployCommon

    Unpauses the chain's NttManager, as EVM_NTT_OWNER; NOT_FINAL as ntt.pause.

    "timelock.cancelDelay": EvmDeployCommon

    Cancels the timelock's one pending delay change.

    "timelock.cancelUpgrade": EvmDeployCommon & { proxy: EvmUpgradeable }

    Cancels the proxy's one pending upgrade, named by its stored schedule.

    "timelock.executeDelay": EvmDeployCommon & { delaySeconds: number }
    "timelock.executeUpgrade": EvmUpgradeArgs
    "timelock.scheduleDelay": EvmDeployCommon & { delaySeconds: number }

    Type Declaration

    • delaySeconds: number

      At most 30 days.

    "timelock.scheduleUpgrade": EvmUpgradeArgs