LogoLogo
▶️ App🔩 Sources🔒 Audit💬 Community
Octus Bridge (EN)
Octus Bridge (EN)
  • 🏠Welcome to Octus Bridge
  • 💻USE
    • 🚀Getting started
      • How it works
        • Cross-chain transfers
        • Governance
        • Relayers
        • Staking
      • Roles
      • How to connect wallets
      • Glossary
      • Everscale
      • How to get EVER
    • 🌉Bridge
      • Cross-chain transfer
        • Interface
        • How to
          • Transferring from another network to Everscale
          • Transferring between two outside networks
          • Find my transaction
          • How to return the transfer fee
      • Liquidity requests
      • History
        • Interface
          • Transfer rates
          • All transfers
      • Concepts
        • How Octus Bridge transfers work
        • Available chains and assets
        • Universal Bridge
        • Invisible Bridge
    • 💰Staking
      • My stake
        • Interface
          • My staking performance
          • My staking balance
          • User stake
          • Reward rounds
          • Transactions
        • How to
          • How to Stake
          • How to Claim
          • How to Redeem
      • Explorer
        • Interface
          • Explorer
          • Stakeholders
      • Concepts
        • About Octus Bridge Staking
        • How does Staking work?
    • 🗳️Governance
      • Overview
        • Interface
          • DAO overview
          • Recent proposals
          • TOP voters by voting power
      • Proposals
        • Interface
          • My votes
          • Proposals with my votes
          • Governance proposals
        • How to
          • How to Vote
      • Create proposals
        • Interface
        • How to
          • How to create a proposal
      • Concepts
        • Bridge DAO
        • BRIDGE token
        • BRIDGE economics
        • Proposals
        • Get BRIDGE Tokens
    • ⛓️Relayers
      • How to
        • How to become a relayer
      • Concepts
        • Octus Bridge relayers
    • 📜Litepaper
  • 🛠️Integrate
    • Octus Bridge Integration Guide
    • Octus Bridge Contracts
      • Everscale
        • Bridge section
          • event-configuration-contracts
          • event-contracts-base
          • event-contracts-dao
          • event-contracts-multivault
          • event-contracts-staking
          • event-contracts-token-transfer
          • Factory
          • Bridge
          • Connector
        • DAO Section
          • DAORoot
          • Proposal
        • Staking Section
          • Base
          • Elections
          • Encoder
          • RelayRound
          • Staking
          • StakingV1_1
          • StakingRootDeployer
          • UserData
        • Utils Section
          • Delegate
          • DummyRound
          • Receiver
      • Ethereum
        • Bridge Section
          • Bridge
          • StakingRelayVerifier
        • MultiVault Section
          • MultiVault
          • MultiVaultToken
        • Strategies Section
          • BaseStrategy
          • Convex3crv
          • ConvexAIEth
          • ConvexCrvLp
        • Vault Section
          • Vault
        • DAO
        • Registry
    • Bridge Relay Node
    • Token Contracts
    • Open API
      • Bridge API
        • Relayers
        • DAO
        • Staking
        • Transfers
      • DAO API
        • Proposals
        • Voters
        • Votes
  • see also
    • FlatQube
    • EVER Wallet
    • Broxus Github
Powered by GitBook
On this page
  • EthereumEventConfigurationFactory
  • EverscaleEventConfigurationFactory
  • ProxyTokenTransferFactory

Was this helpful?

  1. Integrate
  2. Octus Bridge Contracts
  3. Everscale
  4. Bridge section

Factory

EthereumEventConfigurationFactory

deploy

Creates new contract instance of EthereumEventConfiguration.

function deploy(
        address _owner,
        IEthereumEventConfiguration.BasicConfiguration basicConfiguration,
        IEthereumEventConfiguration.EthereumEventConfiguration networkConfiguration
    ) external view reserveMinBalance(MIN_CONTRACT_BALANCE)

Parameters:

Name
Type
Description

_owner

address

The address of the event configuration owner

basicConfiguration

BasicConfiguration

Basic configuration for event including the event code, event initial balance etc.

networkConfiguration

EthereumEventConfiguration

The configuration of the ethereum event, including event emitter, chain id, start and end block number etc.

deriveConfigurationAddress

Initializes state by setting contract, base and network configurations and config code and returns configuration address based on the state initialized.

function deriveConfigurationAddress(
        IEthereumEventConfiguration.BasicConfiguration basicConfiguration,
        IEthereumEventConfiguration.EthereumEventConfiguration networkConfiguration
    ) external view returns(address)

Parameters:

Name
Type
Description

basicConfiguration

BasicConfiguration

Basic configuration for event including the event code, event initial balance etc.

networkConfiguration

EthereumEventConfiguration

The configuration of the ethereum event, including event emitter, chain id, start and end block number etc.

networkConfiguration

EthereumEventConfiguration

The configuration of the ethereum event, including event emitter, chain id, start and end block number etc.

Return values:

Type
Description

address

The configuration address

EverscaleEventConfigurationFactory

deploy

Creates new contract instance of EverscaleEventConfiguration.

function deploy( address _owner, IEverscaleEventConfiguration.BasicConfiguration basicConfiguration, IEverscaleEventConfiguration.EverscaleEventConfiguration networkConfiguration ) external view reserveMinBalance(MIN_CONTRACT_BALANCE)

Parameters:

Name
Type
Description

_owner

address

The address of the event configuration owner

basicConfiguration

BasicConfiguration

Basic configuration for event including the event code, event initial balance etc.

networkConfiguration

EverscaleEventConfiguration

The configuration of the everscale event, including event emitter, start and end block number etc.

deriveConfigurationAddress

Initializes state by setting contract, base and network configurations and config code and returns configuration address based on the state initialized.

function deriveConfigurationAddress(
        IEverscaleEventConfiguration.BasicConfiguration basicConfiguration,
        IEverscaleEventConfiguration.EverscaleEventConfiguration networkConfiguration
    ) external view returns(address)

Parameters:

Name
Type
Description

basicConfiguration

BasicConfiguration

Basic configuration for event including the event code, event initial balance etc.

networkConfiguration

EverscaleEventConfiguration

The configuration of the everscale event, including event emitter, start and end block number etc.

Return values:

Type
Description

address

The configuration address

ProxyTokenTransferFactory

deploy

Creates new contract instance of ProxyTokenTransfer.

function deploy(address _owner, uint _randomNonce) external reserveMinBalance(MIN_CONTRACT_BALANCE)

Parameters:

Name
Type
Description

_owner

address

The address of the deployed contract owner

_randomNonce

uint

Value used for building the initial state

deriveProxyAddress

Initializes state by setting contract, variables and proxy code and returns proxy address based on the state initialized.

function deriveProxyAddress(
        uint _randomNonce
    ) external view returns(address)

Parameters:

Name
Type
Description

_randomNonce

uint

Value used for building the initial state

Return values:

Type
Description

address

Proxy address used for token transfer

Previousevent-contracts-token-transferNextBridge

Last updated 2 years ago

Was this helpful?

🛠️