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
  • MultiVaultEverscaleEventAlien
  • MultiVaultEverscaleEventNative
  • MultiVaultEVMEventAlien
  • MultiVaultEVMEventNative

Was this helpful?

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

event-contracts-multivault

MultiVaultEverscaleEventAlien

afterSignatureCheck

Returns DAO event in slice format.

function afterSignatureCheck(TvmSlice body, TvmCell /*message*/) private inline view returns (TvmSlice)

Parameters:

Name
Type
Description

body

TvmSlice

Contains data such as functionId

TvmCell

Return values:

Type
Description

TvmSlice

DAO event represented in slice format

close

When event is confirmed/rejected transfer back gas used for triggering event.

function close() external view

onInit

Initialize alien token.

function onInit() override internal

receiveTokenMeta

Receives meta token.

function receiveTokenMeta(
        uint256 base_chainId_,
        uint160 base_token_,
        string name,
        string symbol,
        uint8 decimals
    ) external override

Parameters:

Name
Type
Description

base_chainId_

uint256

EVM network chain ID

base_token_

uint160

EVM token address

name

string

Token name

symbol

string

Token symbol

decimals

uint8

Token decimals

receiveAlienTokenRoot

Sets token root and loads relayers.

function receiveAlienTokenRoot(
        address token_
    ) external override

Parameters:

Name
Type
Description

token_

address

The address of the alien token to receive

onRelaysLoaded

Updates event data and does the change for status.

function onRelaysLoaded() override internal

MultiVaultEverscaleEventNative

afterSignatureCheck

Returns DAO event info in slice format.

function afterSignatureCheck(TvmSlice body, TvmCell /*message*/) private inline view returns (TvmSlice)

Parameters:

Name
Type
Description

body

TvmSlice

Contains data such as functionId

TvmCell

Return values:

Type
Description

TvmSlice

DAO event represented in slice format

close

When event is confirmed/rejected transfer back gas used for triggering event.

function close() external view

onInit

Initializes native token.

function onInit() override internal

receiveProxyTokenWallet

Sets token wallet address and loads relayers.

function receiveProxyTokenWallet(address tokenWallet_) external override

Parameters:

Name
Type
Description

tokenWallet_

address

The address of the token wallet

onRelaysLoaded

Updates event data and does the change for status.

function onRelaysLoaded() override internal

MultiVaultEVMEventAlien

afterSignatureCheck

Returns DAO event info in slice format.

function afterSignatureCheck(
        TvmSlice body,
        TvmCell
    ) private inline view returns (TvmSlice)

Parameters:

Name
Type
Description

body

TvmSlice

Contains data such as functionId

TvmCell

Return values:

Type
Description

TvmSlice

DAO event represented in slice format

onInit

Initializes evm alien token by decoding event data, sets recipient address and gets details about ethereum event configuration.

function onInit() override internal

receiveConfigurationDetails

Gets configuration details based on proxy about alien token root.

function receiveConfigurationDetails(
        IEthereumEventConfiguration.BasicConfiguration,
        IEthereumEventConfiguration.EthereumEventConfiguration _networkConfiguration,
        TvmCell
    ) external override

Parameters:

Name
Type
Description

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.

TvmCell

receiveAlienTokenRoot

Sets token root based on token_ param and loads relayers.

function receiveAlienTokenRoot(address token_) external override

Return values:

Name
Type
Description

token_

address

The address of the alien token to receive

onConfirm

Encodes token root, amount and recipient's address to cell format and confirms event.

function onConfirm() internal override

MultiVaultEVMEventNative

afterSignatureCheck

Returns DAO event info in slice format.

function afterSignatureCheck(TvmSlice body, TvmCell /*message*/) private inline view returns (TvmSlice)

Parameters:

Name
Type
Description

body

TvmSlice

Contains data such as functionId

TvmCell

Return values:

Type
Description

TvmSlice

DAO event represented in slice format

onInit

Initializes native token event and gets details about event configuration.

function onInit() override internal

receiveConfigurationDetails

Retrieves wallet based on proxy.

function receiveConfigurationDetails(
        IEthereumEventConfiguration.BasicConfiguration,
        IEthereumEventConfiguration.EthereumEventConfiguration _networkConfiguration,
        TvmCell
    ) external override

Parameters:

Name
Type
Description

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.

TvmCell

receiveProxyTokenWallet

Sets token wallet address and loads relayers.

function receiveProxyTokenWallet(address tokenWallet_) external override

Parameters:

Name
Type
Description

tokenWallet_

address

The address of the token wallet

onConfirm

Encodes token wallet, amount and recipient's address to cell format and confirms event.

function onConfirm() internal override
Previousevent-contracts-daoNextevent-contracts-staking

Last updated 2 years ago

Was this helpful?

🛠️