Asterizm
  • What is Asterizm
    • Overview
    • Architecture
    • Benefits
    • Supported chains
      • Non-EVM chains integration plan
    • Frequently asked questions
    • White paper
    • GitHub
  • Infrastructure
    • Overview
    • Asterizm Connector
      • Client smart contract abstraction
      • Initializer smart contract
      • Translator smart contract
    • Client off-chain module
    • Asterizm Relayer
    • Asterizm Interfaces
      • IAsterizmConfigEnv
      • IConfig
      • IAsterizmEnv
      • IClientReceiverContract
      • IInitializerReceiver
      • IInitializerSender
      • IMultiChainToken
      • INonce
      • ITranslator
  • Guides
    • Transaction flow
    • Getting started
      • 1. Deploy your smart contracts
        • AsterizmDemo contract
        • Client contracts implementation logic
        • Solana integration logic
      • 2. Implement off-chain module
        • Simple implementation (shell script)
        • Default implementation (manual)
      • 3. Important! One final pre-flight check
    • External relays
      • Relay deployment and configuration
      • List of external relays
        • Chainlink
          • Mainnet
          • Testnet
    • Source chain notifications
    • Refund Logic
    • Error messages
      • EVM
        • Source chain
        • Destination chain
      • TVM and TON
      • Solana
    • Fee management
    • Code examples
    • Multi-Owner (Sender) System
  • Advanced
    • Best practices
    • Asset transfer
    • Debugging
  • Technical reference
    • Mainnet
    • Testnet
    • Smart contract audits
    • SDK
Powered by GitBook
On this page
  1. Infrastructure
  2. Asterizm Interfaces

IAsterizmEnv

PreviousIConfigNextIClientReceiverContract

Last updated 6 months ago

The IAsterizmEnv interface defines a set of data transfer objects (DTOs) used to manage cross-chain transactions. These DTOs enable the handling of transaction data, from initialization to validation.

Structs

BaseTransferDirectionDto

Defines source and destination chain details for cross-chain transactions.

Fields: srcChainId, srcAddress, dstChainId, dstAddress

ClInitTransferRequestDto

Represents the client’s request to initiate a transfer.

Fields: dstChainId, dstAddress, feeAmount, txId, transferHash

InternalClInitTransferRequestDto

Internal structure for initializing a client transfer.

Fields: dstChainId, dstAddress, feeAmount, payload

IzAsterizmReceiveRequestDto

Used for processing received transfer requests on the initializer's side.

Fields: srcChainId, srcAddress, dstChainId, dstAddress, txId, transferHash

ClAsterizmReceiveRequestDto

Client-side structure for receiving transfers.

Fields: srcChainId, srcAddress, dstChainId, dstAddress, txId, transferHash, payload

TrSendMessageRequestDto

Structure with details for sending messages between chains using the translator.

Fields: srcAddress, dstChainId, dstAddress, txId, transferHash, transferResultNotifyFlag

TrTransferMessageRequestDto

Structure that specifies message transfer with gas limits for the translator.

Fields: gasLimit, payload

IzInitTransferRequestDto

Defines the initializer's transfer request, including relay details and fees.

Fields: dstChainId, dstAddress, transferHash, txId, relay, transferResultNotifyFlag, feeToken

IzReceivePayloadRequestDto

Used by the initializer to process received payloads.

Fields: srcChainId, srcAddress, dstChainId, dstAddress, gasLimit, txId, transferHash

IzRetryPayloadRequestDto

Handles retrying payload delivery with additional control parameters.

Fields: srcChainId, srcAddress, dstChainId, dstAddress, nonce, gasLimit, forceOrder, useEncryption, transferHash, payload