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
  • BaseEvent
  • EthereumBaseEvent

Was this helpful?

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

event-contracts-base

BaseEvent

onRelaysLoaded

Changes status to Pending

function onRelaysLoaded() virtual internal

loadRelays

Gets address of the current relayer round

function loadRelays() internal view

_checkVoteReceiver

Checks if vote receiver is this address

function _checkVoteReceiver(address voteReceiver)

Parameters:

Name
Type
Description

voteReceiver

address

Address of the receiver of the vote

receiveRoundAddress

Based on the round contract retrieves round address

function receiveRoundAddress(
        address roundContract,
        uint32 roundNum
    ) external onlyStaking

Parameters:

Name
Type
Description

roundContract

address

The address of the round contract

roundNum

uint32

The roundโ€™s number

receiveRoundRelays

Loads relayers based on their keys

function receiveRoundRelays(uint[] keys) external onlyRelayRound

Parameters:

Name
Type
Description

keys

uint[]

Keys of the roundโ€™s relayers

EthereumBaseEvent

confirm

Confirm event. Can be called only by relayer which is in charge at this round. Can be called only when event configuration is in Pending status

function confirm(address voteReceiver) public eventPending

Parameters:

Name
Type
Description

signature

bytes

relayer's signature of the Everscale event data

voteReceiver

address

Address of the receiver of the vote (event contract address)

Events emitted:

  • Confirm

reject

Reject event. Can be called only by relayer which is in charge at this round. Can be called only when event configuration is in Pending status.

function reject(address voteReceiver) public eventPending

Parameters:

Name
Type
Description

voteReceiver

address

Address of the receiver of the vote (event contract address)

Events emitted:

  • Reject

Previousevent-configuration-contractsNextevent-contracts-dao

Last updated 2 years ago

Was this helpful?

๐Ÿ› ๏ธ