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

Was this helpful?

  1. Integrate
  2. Octus Bridge Contracts
  3. Ethereum
  4. MultiVault Section

MultiVaultToken

_transfer

Moves amount of tokens from sender to recipient.

function transfer(address to, uint256 amount) public virtual override returns (bool)

Parameters:

Name
Type
Description

to

address

Recipient’s address

amount

uint256

Amount of tokens to transfer

Return value:

Type
Description

bool

True if transfer is successful, false if not

Events emitted:

  • Transfer

_mint

Creates amount tokens and assigns them to account, increasing the total supply

function _mint(address account, uint256 amount) internal virtual

Parameters:

Name
Type
Description

account

address

Address of the account where to assign created tokens

amount

uint256

Amount of tokens to be created

Events emitted:

  • Transfer

_burn

Destroys amount tokens from account, reducing the total supply.

function _burn(address account, uint256 amount) internal virtual

Parameters:

Name
Type
Description

account

address

Account address in which tokens should be destroyed

amount

uint256

Amount of tokens to be destroyed

Events emitted:

  • Transfer

_approve

Sets amount as the allowance of spender over the owner s tokens.

function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual

Parameters:

Name
Type
Description

owner

address

Address of the owner whose tokens will be spent

spender

address

Address of the owner’s tokens spender

amount

uint256

Allowed amount of tokens which spender can use

Events emitted:

  • Approval

_spendAllowance

Updates owner s allowance for spender based on spent amount.

function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual

Parameters:

Name
Type
Description

owner

address

Address of the owner whose tokens will be spent

spender

address

Address of the owner’s tokens spender

amount

uint256

Allowed amount of tokens which spender can use

PreviousMultiVaultNextStrategies Section

Last updated 2 years ago

Was this helpful?

🛠️