Function makeAuctionManagerDeploy

  • Creates a Deploy for the Auction Manager contract.

    This function generates a Deploy that interacts with the Auction Manager contract on the Casper network. It supports operations such as delegation, un-delegation, and validator change management.

    Returns

    A deploy object that can be signed and sent to the network.

    Throws

    Throws an error if required parameters are missing or invalid.

    Example

    import { makeAuctionManagerDeploy, AuctionManagerEntryPoint } from 'casper-js-sdk';

    const deploy = makeAuctionManagerDeploy({
    contractEntryPoint: AuctionManagerEntryPoint.delegate,
    delegatorPublicKeyHex: "0123456789abcdef...",
    validatorPublicKeyHex: "0123456789awedef...",
    amount: "500000000000",
    });

    Parameters

    Returns Deploy

Generated using TypeDoc