ISuperTransmuter

Git Source

Inherits: IStateSyncer

Author: Zeropoint Labs.

SPDX-License-Identifier: Apache-2.0

interface for Super Transmuter

Functions

registerTransmuter

this overrides registerTransmuter from original transmuter implementation so that users cannot insert name, symbol, and decimals

anyone can register a transmuter for an existent superform

function registerTransmuter(uint256 superformId, bytes memory extraData_) external returns (address);

Parameters

NameTypeDescription
superformIduint256the superform to register a transmuter for
extraData_bytesis an optional param to broadcast changes to all chains

stateSyncBroadcast

allows sync register new superform ids using broadcast state registry

function stateSyncBroadcast(bytes memory data_) external payable;

Parameters

NameTypeDescription
data_bytesis the crosschain payload