EVM Precompiles
Pointer

Pointer Precompile

Address: 0x000000000000000000000000000000000000100b

This precompile enables EVM clients to add pointers to the CosmWasm contracts.

Functions

Transactions

  • addNativePointer: Adds a native pointer for the contract.

      /// Adds a native pointer for the contract.
      /// @param token The native token to add.
      /// @return An Ethereum address of the pointer.
      function addNativePointer(
          string memory token
      ) external returns (address ret);
  • addCW20Pointer: Adds a CW20 pointer for the contract.

    /// Adds a CW20 pointer for the contract.
    /// @param cwAddr The CW20 contract address to add.
    /// @return An Ethereum address of the pointer.
    function addCW20Pointer(
          string memory cwAddr
    ) external returns (address ret);
  • addCW20Pointer: Adds a CW721 pointer for the contract.

    /// Adds a CW721 pointer for the contract.
    /// @param cwAddr The CW721 contract address to add.
    /// @return An Ethereum address of the pointer.
    function addCW721Pointer(
        string memory cwAddr
    ) external returns (address ret);

View the Pointer precompile source code and the contract ABI here (opens in a new tab).