• Appends the given value to the existing value associated with the given key of the specified address.

    Remarks

    Can only be called at smart contract generation time by the parent smart contract to the child's address.

    Throws

    • if the key does not exist in the datastore.
    • if the contract at the given address does not exist
    • if the caller is not authorized to modify the datastore.
    • [compilation only] if the key and value type are neither string, StaticArray<u8>, or Args.

    Type Parameters

    • T

      Can be either string, Args, or StaticArray<u8>.

    Parameters

    • address: Address

      The child smart contract address.

    • key: T

      The key whose data the value will be appended to.

    • value: T

      The data that will be appended to the existing data associated with the key.

    Returns void

Generated using TypeDoc