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)

    • assetInfo: string | AssetInfo

      asset info describing the fungible token

    Returns FungiblePostCondition

Generated using TypeDoc