Skip to content

decode error  #107

@phpmac

Description

@phpmac
recipient: value out of range (argument="value", value=20, code=INVALID_ARGUMENT, version=bytes/5.7.0)
    at Logger.makeError (/Users/a/Downloads/hardhat/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
    at Logger.throwError (/Users/a/Downloads/hardhat/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
    at Logger.throwArgumentError (/Users/a/Downloads/hardhat/node_modules/@ethersproject/logger/src.ts/index.ts:285:21)
    at hexZeroPad (/Users/a/Downloads/hardhat/node_modules/@ethersproject/bytes/src.ts/index.ts:323:16)
    at AddressCoder.decode (/Users/a/Downloads/hardhat/node_modules/@ethersproject/abi/src.ts/coders/address.ts:28:37)
    at /Users/a/Downloads/hardhat/node_modules/@ethersproject/abi/src.ts/coders/array.ts:108:31
    at Array.forEach (<anonymous>)
    at unpack (/Users/a/Downloads/hardhat/node_modules/@ethersproject/abi/src.ts/coders/array.ts:89:12)
    at TupleCoder.decode (/Users/a/Downloads/hardhat/node_modules/@ethersproject/abi/src.ts/coders/tuple.ts:58:47)
    at AbiCoder.decode (/Users/a/Downloads/hardhat/node_modules/@ethersproject/abi/src.ts/abi-coder.ts:118:22) {
  reason: 'value out of range',
  code: 'INVALID_ARGUMENT',
  argument: 'value',
  value: 20,
  baseType: 'address',
  type: 'address'
}

https://etherscan.io/tx/0x6335ebc4c023c16e9a3a01a195ed999717a9b6c5688eb68620ecafddddee296e

input data is 0xa9059cbb066e82b0c41d5457288a8db0d6c295d92a9844d8fbe948a56a93be730b9b948a0000000000000000000000000000000000000000000000000000000035a4e900

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions