2022 Developer Survey is open! Take survey.

Questions tagged [arbitrum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Generate L2 message in Arbitrum

One of the ways of sending an L1 message to L2 in Arbitrum is through the Inbox contract and its sendL2Message(bytes messageData) function. https://developer.offchainlabs.com/docs/sol_contract_docs/...
user avatar
  • 265
0 votes
1 answer
69 views

Convert/cast an address to uint256

Following these details on the values that make part of the calldata that goes into an L2 message in Arbitrum: https://developer.offchainlabs.com/docs/arbos_formats#l2-messages How do you convert/...
user avatar
  • 265
0 votes
1 answer
18 views

Sending message/instruction from a governance system on Arbitrum to mint tokens on mainnet using Gnosis Zodiac Bridge

I am working with a DAO that has their governance/voting system on Arbitrum, and their Gnosis Safe treasury wallet on mainnet. The Gnosis Safe on mainnet contains minting keys to mint their native ...
user avatar
  • 1
0 votes
2 answers
21 views

I Minted on Arbitrum - But contract was meant to be on ETH

I went to mint a contract on ETH today, was a bit of a cluster - I somehow managed to mint it on Arbitrum is there any way the devs are able to get my ETH back. It is only 0.1 ETH but its the ...
user avatar
0 votes
1 answer
135 views

Uniswap V3 multihop swap exactInput() reverts

I try a multihop swap from GBP to CHF. Doing exactOutput works perfect. However, exactInput ends in a revert "Fail, with Error 'ST'": const route = new Route([GBPUSDPool, USDEURPool, ...
user avatar
  • 189
1 vote
1 answer
75 views

delegatecall approve of an ERC20 contract

I try to call approve from a contract of another ERC20 contract: The delegate call: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Delegate { address public constant f24 = ...
user avatar
  • 189
0 votes
0 answers
22 views

Multichain token: Claim erc20 on L2 requiring balance of erc721 on Mainnet

So, I'm working on an NFT project on mainnet and we want it to have its own currency on L2 so its actually a frictionless currency. We are looking into Arbitrum and Polygon. I've noticed that first ...
user avatar
0 votes
0 answers
26 views

Is it possible to point a ERC721 TokenURI from an L1 to a tokenURI on an L2 (i.e. Ethereum to Arbitrum or Polygon)?

Is it possible to point a ERC721 TokenURI from L1 to a tokenURI on an L2 (i.e. Ethereum to Arbitrum or Polygon)? Other than using a centralized oracle, is there anyway to link data between an L1 and ...
user avatar
0 votes
1 answer
93 views

Automated Eth deposits onto L2 (e.g. Arbitrum, Optimism, Polygon/Matic etc.)

I would like to build a bridge between L1 and L2 that will send Eth from the smart contract on L1 to the smart contract on L2 automatically. So one will be able to deposit Eth on a smart-contract ...
user avatar
0 votes
0 answers
96 views

type: '0x2' Compatibility on Arbitrum Testnet

On Ropsten and Rinkeby Ethereum Testnets I have to specify "type: '0x2'" with my "send" transactions since the implementation of EIP-1559. However, on Arbitrum Testnet, if I ...
user avatar
  • 281
1 vote
0 answers
48 views

Arbitrum and Ethereum Interoperability

I have a contract deployed on Ethereum that have a public view that returns one data i need that data on a contract on Arbitrum I have seen the documentation of arbitrum and I have seen that it is ...
user avatar
1 vote
0 answers
49 views

What are the benefits of using hard coded gas values in smart contract?

I was reading the docs of Arbitrum and found this hard coded gas values should be adjusted (or better yet, removed entirely if possible (it's probably possible; really now, why are you hard-coding a ...
user avatar
  • 2,341