项目作者: adibas03

项目描述 :
A quick online tool to abi-encode and abi-decode constructor arguments used in ethereum's solidity. https://adibas03.github.io/online-ethereum-abi-encoder-decoder/
高级语言: JavaScript
项目地址: git://github.com/adibas03/online-ethereum-abi-encoder-decoder.git
创建时间: 2017-11-23T10:41:21Z
项目社区:https://github.com/adibas03/online-ethereum-abi-encoder-decoder

开源协议:GNU General Public License v3.0

下载


online-ethereum-abi-encoder-decoder

online-ethereum-abi-encoder-decoder

A quick online tool to abi-encode constructor arguments used in solidity. The encoded data can be used to deploy the contract or verify the contract on Etherscan : https://etherscan.io/verifyContract

Usage

Encode

  • Add the value types, each seperated by a comma
  • Add the values to match the number of types entered, each seperated by a comma , (No spaces), using square brakets [] to wrap arrays
  1. Types:
  2. address,uint256,address[],uint256[]
  3. Values:
  4. 0x0000000000000000000000000000000000000000,5,[0xEC66d98e5a7DdBFEA66345ceA8626B5403AF1315,0xD6FAcd899F03C4aFce389ea51D73e8FD7D8A53E2,0x8c3720060f8cFDf8b8d4DA5698F4f51a48A0828a,0x9a9e6588AF6d1bC42572B0E3c3D2F827dabA64Ac,0x4A7a9f1Ac903A94f8Ed8E91BD0c7B5307d29EC18],[40,12,12,12,24]

Decode

  • Add the value types, each seperated by a comma
  • Add the encoded data to be decoded
  1. Types:
  2. address,uint256,address[],uint256[]
  3. Encoded data:
  4. 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000005000000000000000000000000ec66d98e5a7ddbfea66345cea8626b5403af1315000000000000000000000000d6facd899f03c4afce389ea51d73e8fd7d8a53e20000000000000000000000008c3720060f8cfdf8b8d4da5698f4f51a48a0828a0000000000000000000000009a9e6588af6d1bc42572b0e3c3d2f827daba64ac0000000000000000000000004a7a9f1ac903a94f8ed8e91bd0c7b5307d29ec1800000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000018

url

Live / Demo

Contribute

https://github.com/adibas03/online-ethereum-abi-encoder-decoder/issues

Contribution

Buy me a Coffee or a Beer
Ethereum: 0x965D1C9987BD2c34e151E63d60AFf8E9dB6b1561