Giter Site home page Giter Site logo

Comments (6)

nforced avatar nforced commented on August 26, 2024 1

I agree, just wanted to share it 😉

from php-erc20.

nathanielajayi7 avatar nathanielajayi7 commented on August 26, 2024

What even is that !!!?

from php-erc20.

nforced avatar nforced commented on August 26, 2024
line = {int} 26
function = "call"
class = "Lessmore92\Ethereum\Foundation\ERC20"
type = "->"
args = {array} ['name']
...
call_user_func_array([$this->contract->at($this->contractAddress), 'call'], $params); line 81

web3.php/src/Contracts/SolidityType.php line 263

I don't know what event you are talking about, it's just a call to get the name, but it's looks it's not a problem with this lib.
So there aren't many options here except to handle the error if that's an option.

from php-erc20.

nathanielajayi7 avatar nathanielajayi7 commented on August 26, 2024
line = {int} 26
function = "call"
class = "Lessmore92\Ethereum\Foundation\ERC20"
type = "->"
args = {array} ['name']
...
call_user_func_array([$this->contract->at($this->contractAddress), 'call'], $params); line 81

web3.php/src/Contracts/SolidityType.php line 263

I don't know what event you are talking about, it's just a call to get the name, but it's looks it's not a problem with this lib. So there aren't many options here except to handle the error if that's an option.

I was referring to the name of the Token because it seems the character are not using standard encoding for text? Anyway, you can try

try { //get name }catch(Throwable $e){ //Fallback }

The problem is not with the library

from php-erc20.

27078566 avatar 27078566 commented on August 26, 2024

The account balance is enough to initiate USDT transfer, but prompt insufficient funds for gas * price + value

from php-erc20.

27078566 avatar 27078566 commented on August 26, 2024

Ask for help on how to set parameters. Use the default gaslimits (50000) and real-time gas (76044395808) to prompt me TX fee (XX ether) exceeds the configured cap (1.00 ether)

from php-erc20.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.