Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Creating a FunctionInfo is no longer restricted to signers #963

@gnattishness

Description

@gnattishness

Url

https://aptos.dev/en/build/smart-contracts/fungible-asset#registering-the-hook-function

Describe the content issue

The following excerpt of fungible-asset.mdx is inaccurate now that 0x1::fungible_asset::new_function_info_from_address() is public.

For security reasons, you need the signer of the module (the deployer or code owner) to create a FunctionInfo.

I also noticed a couple other inaccuracies with the module new_function_info() is defined in.

Pr incoming

Section

move-and-smart-contracts

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationmove-and-smart-contractsAll content under https://aptos.dev/en/build/smart-contracts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions