Function makeContractFungiblePostCondition

  • Generates a fungible token post condition with a contract principal

    Returns a fungible token post condition object

    Parameters

    • address: string

      the c32check address

    • contractName: string

      the name of the contract

    • conditionCode: FungibleConditionCode

      the condition code

    • amount: IntegerType

      the amount of fungible tokens (in their respective base unit)

    • asset: `${string}.${string}::${string}` | Asset

      asset info describing the fungible token

    Returns FungiblePostCondition

Generated using TypeDoc